A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::DestinationPoint Struct Reference

Keeps last movement schedule. More...

+ Collaboration diagram for ns3::DestinationPoint:

Public Member Functions

 DestinationPoint ()
 

Public Attributes

Vector m_finalPosition
 
Vector m_speed
 
Vector m_startPosition
 
EventId m_stopEvent
 
double m_targetArrivalTime
 
double m_travelStartTime
 

Detailed Description

Keeps last movement schedule.

If new movement occurs during a current one, node stopping must be cancels (stored in a proper event ID), actually reached point must be calculated and new velocity must be calculated in accordance with actually reached destination.

Definition at line 84 of file ns2-mobility-helper.cc.

Constructor & Destructor Documentation

ns3::DestinationPoint::DestinationPoint ( )
inline

Definition at line 92 of file ns2-mobility-helper.cc.

Member Data Documentation

Vector ns3::DestinationPoint::m_finalPosition
Vector ns3::DestinationPoint::m_speed

Definition at line 87 of file ns2-mobility-helper.cc.

Referenced by ns3::SetMovement().

Vector ns3::DestinationPoint::m_startPosition

Definition at line 86 of file ns2-mobility-helper.cc.

Referenced by ns3::SetMovement().

EventId ns3::DestinationPoint::m_stopEvent

Definition at line 89 of file ns2-mobility-helper.cc.

Referenced by ns3::SetMovement().

double ns3::DestinationPoint::m_targetArrivalTime

Definition at line 91 of file ns2-mobility-helper.cc.

Referenced by ns3::SetMovement().

double ns3::DestinationPoint::m_travelStartTime

Definition at line 90 of file ns2-mobility-helper.cc.

Referenced by ns3::SetMovement().


The documentation for this struct was generated from the following file: