Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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
 
 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
 
MSVehiclemyVeh
 The vehicle itself.
 

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: