Eclipse SUMO - Simulation of Urban MObility
MSVehicleTransfer::VehicleInformation Struct Reference

Holds the information needed to move the vehicle over the network. More...

#include <MSVehicleTransfer.h>

Collaboration diagram for MSVehicleTransfer::VehicleInformation:
[legend]

Public Member Functions

bool operator< (const VehicleInformation &v2) const
 sort by vehicle ID for repeatable parallel simulation More...
 
 VehicleInformation (SUMOTime t, MSVehicle *veh, SUMOTime proceedTime, bool parking, bool jumping)
 Constructor. More...
 

Data Fields

bool myJumping
 whether the vehicle is or was jumping More...
 
bool myParking
 whether the vehicle is or was parking More...
 
SUMOTime myProceedTime
 The time at which the vehicle should be moved virtually one edge further. More...
 
SUMOTime myTransferTime
 the time at which this vehicle was removed from the network More...
 
MSVehiclemyVeh
 The vehicle itself. More...
 

Detailed Description

Holds the information needed to move the vehicle over the network.

Definition at line 126 of file MSVehicleTransfer.h.

Constructor & Destructor Documentation

◆ VehicleInformation()

MSVehicleTransfer::VehicleInformation::VehicleInformation ( SUMOTime  t,
MSVehicle veh,
SUMOTime  proceedTime,
bool  parking,
bool  jumping 
)
inline

Constructor.

Parameters
[in]vehThe teleported vehicle
[in]insertTimeThe time the vehicle was inserted at
[in]proceedTimeThe time at which the vehicle should be moved virtually one edge further

Definition at line 143 of file MSVehicleTransfer.h.

Member Function Documentation

◆ operator<()

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.

Field Documentation

◆ myJumping

bool MSVehicleTransfer::VehicleInformation::myJumping

whether the vehicle is or was jumping

Definition at line 136 of file MSVehicleTransfer.h.

Referenced by MSVehicleTransfer::checkInsertions().

◆ myParking

bool MSVehicleTransfer::VehicleInformation::myParking

whether the vehicle is or was parking

Definition at line 134 of file MSVehicleTransfer.h.

Referenced by MSVehicleTransfer::checkInsertions().

◆ myProceedTime

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().

◆ myTransferTime

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().

◆ myVeh

MSVehicle* MSVehicleTransfer::VehicleInformation::myVeh

The vehicle itself.

Definition at line 130 of file MSVehicleTransfer.h.

Referenced by MSVehicleTransfer::checkInsertions(), and operator<().


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