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