Eclipse SUMO - Simulation of Urban MObility
|
Holds the information needed to move the vehicle over the network. More...
#include <MSVehicleTransfer.h>
Public Member Functions | |
bool | operator< (const VehicleInformation &v2) const |
sort by vehicle ID for repeatable parallel simulation | |
VehicleInformation (SUMOTime t, MSVehicle *veh, SUMOTime proceedTime, bool parking, bool jumping) | |
Constructor. | |
Data Fields | |
bool | myJumping |
whether the vehicle is or was jumping | |
bool | myParking |
whether the vehicle is or was parking | |
SUMOTime | myProceedTime |
The time at which the vehicle should be moved virtually one edge further. | |
SUMOTime | myTransferTime |
the time at which this vehicle was removed from the network | |
MSVehicle * | myVeh |
The vehicle itself. | |
Holds the information needed to move the vehicle over the network.
Definition at line 126 of file MSVehicleTransfer.h.
|
inline |
Constructor.
[in] | veh | The teleported vehicle |
[in] | insertTime | The time the vehicle was inserted at |
[in] | proceedTime | The time at which the vehicle should be moved virtually one edge further |
Definition at line 143 of file MSVehicleTransfer.h.
bool MSVehicleTransfer::VehicleInformation::operator< | ( | const VehicleInformation & | v2 | ) | const |
sort by vehicle ID for repeatable parallel simulation
Definition at line 48 of file MSVehicleTransfer.cpp.
References MSBaseVehicle::getNumericalID(), and myVeh.
bool MSVehicleTransfer::VehicleInformation::myJumping |
whether the vehicle is or was jumping
Definition at line 136 of file MSVehicleTransfer.h.
Referenced by MSVehicleTransfer::checkInsertions().
bool MSVehicleTransfer::VehicleInformation::myParking |
whether the vehicle is or was parking
Definition at line 134 of file MSVehicleTransfer.h.
Referenced by MSVehicleTransfer::checkInsertions().
SUMOTime MSVehicleTransfer::VehicleInformation::myProceedTime |
The time at which the vehicle should be moved virtually one edge further.
Definition at line 132 of file MSVehicleTransfer.h.
Referenced by MSVehicleTransfer::checkInsertions().
SUMOTime MSVehicleTransfer::VehicleInformation::myTransferTime |
the time at which this vehicle was removed from the network
Definition at line 128 of file MSVehicleTransfer.h.
Referenced by MSVehicleTransfer::checkInsertions().
MSVehicle* MSVehicleTransfer::VehicleInformation::myVeh |
The vehicle itself.
Definition at line 130 of file MSVehicleTransfer.h.
Referenced by MSVehicleTransfer::checkInsertions(), and operator<().