Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

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.

Inheritance diagram for ANSimMobility:

Inheritance graph
[legend]
Collaboration diagram for ANSimMobility:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Module_Class_Members (ANSimMobility, LineSegmentsMobilityBase, 0)
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.

Author:
Andras Varga


The documentation for this class was generated from the following files:
Generated on Fri Jan 12 08:29:36 2007 for Mobility Framework by  doxygen 1.4.4