Uses the <position_change> elements of the ANSim tool's trace file. See NED file for more info. More...
#include <ANSimMobility.h>
Inherits LineSegmentsMobilityBase.
Public Member Functions | |
virtual void | initialize (int) |
Initializes mobility model parameters. | |
Protected Member Functions | |
virtual void | setTargetPosition () |
Overridden from LineSegmentsMobilityBase. | |
void | extractDataFrom (cXMLElement *node) |
Utility: extract data from given <position_update> element. | |
virtual void | fixIfHostGetsOutside () |
Overridden from LineSegmentsMobilityBase. | |
Protected Attributes | |
int | nodeId |
we'll have to compare this to the <node_id> elements | |
cXMLElement * | nextPosChange |
points to the next <position_change> element |
Uses the <position_change> elements of the ANSim tool's trace file. See NED file for more info.
NOTE: Does not yet support 3-dimensional movement.
Definition at line 33 of file ANSimMobility.h.