Public Member Functions | Protected Member Functions | Protected Attributes

ANSimMobility Class Reference
[mobility - modules handling the mobility of the hosts]

Uses the <position_change> elements of the ANSim tool's trace file. See NED file for more info. More...

#include <ANSimMobility.h>

Inherits LineSegmentsMobilityBase.

Collaboration diagram for ANSimMobility:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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.

Author:
Andras Varga

Definition at line 33 of file ANSimMobility.h.


The documentation for this class was generated from the following files: