Keeps last movement schedule. More...
Public Member Functions | |
DestinationPoint () | |
Public Attributes | |
Vector | m_finalPosition |
Final destination to be reached before next schedule. More... | |
Vector | m_speed |
Speed of the last movement (needed to derive reached destination at next schedule = start + velocity * actuallyTravelled) More... | |
Vector | m_startPosition |
Start position of last movement. More... | |
EventId | m_stopEvent |
Event scheduling node's stop. More... | |
double | m_targetArrivalTime |
When a station arrives to a destination. More... | |
double | m_travelStartTime |
Travel start time is needed to calculate actually traveled time. More... | |
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 85 of file ns2-mobility-helper.cc.
|
inline |
Definition at line 93 of file ns2-mobility-helper.cc.
Vector ns3::DestinationPoint::m_finalPosition |
Final destination to be reached before next schedule.
Replaced with actually reached if needed.
Definition at line 89 of file ns2-mobility-helper.cc.
Referenced by ns3::Ns2MobilityHelper::ConfigNodesMovements(), and ns3::SetMovement().
Vector ns3::DestinationPoint::m_speed |
Speed of the last movement (needed to derive reached destination at next schedule = start + velocity * actuallyTravelled)
Definition at line 88 of file ns2-mobility-helper.cc.
Referenced by ns3::SetMovement().
Vector ns3::DestinationPoint::m_startPosition |
Start position of last movement.
Definition at line 87 of file ns2-mobility-helper.cc.
Referenced by ns3::SetMovement().
EventId ns3::DestinationPoint::m_stopEvent |
Event scheduling node's stop.
May be canceled if needed.
Definition at line 90 of file ns2-mobility-helper.cc.
Referenced by ns3::SetMovement().
double ns3::DestinationPoint::m_targetArrivalTime |
When a station arrives to a destination.
Definition at line 92 of file ns2-mobility-helper.cc.
Referenced by ns3::SetMovement().
double ns3::DestinationPoint::m_travelStartTime |
Travel start time is needed to calculate actually traveled time.
Definition at line 91 of file ns2-mobility-helper.cc.
Referenced by ns3::SetMovement().