src/mobility/hierarchical-mobility-model.h
changeset 5227 ecb08c1fc273
parent 4356 08cfbddc55f9
child 6273 8d70de29d514
equal deleted inserted replaced
5225:9c612cb88d6b 5227:ecb08c1fc273
    78   /**
    78   /**
    79    * Sets the child mobility model to a new one.  If before there
    79    * Sets the child mobility model to a new one.  If before there
    80    * already existed a child model, then the child mobility model
    80    * already existed a child model, then the child mobility model
    81    * current position is also modified to ensure that the composite
    81    * current position is also modified to ensure that the composite
    82    * position is preserved.
    82    * position is preserved.
       
    83    * \param model new mobility model child
    83    */
    84    */
    84   void SetChild (Ptr<MobilityModel> model);
    85   void SetChild (Ptr<MobilityModel> model);
    85   /**
    86   /**
    86    * Sets the parent mobility model to a new one.  If before there
    87    * Sets the parent mobility model to a new one.  If before there
    87    * already existed a child model, then the child mobility model
    88    * already existed a child model, then the child mobility model
    88    * current position is also modified to ensure that the composite
    89    * current position is also modified to ensure that the composite
    89    * position is preserved.
    90    * position is preserved.
       
    91    * \param model new mobility model parent
    90    */
    92    */
    91   void SetParent (Ptr<MobilityModel> model);
    93   void SetParent (Ptr<MobilityModel> model);
    92   
    94   
    93 private:
    95 private:
    94   virtual Vector DoGetPosition (void) const;
    96   virtual Vector DoGetPosition (void) const;