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.

References myJumping, myParking, myProceedTime, myTransferTime, and myVeh.

Referenced by operator<().

Here is the caller graph for this function:

Member Function Documentation

◆ operator<()

bool MSVehicleTransfer::VehicleInformation::operator< ( const VehicleInformation & v2) const

sort by vehicle ID for repeatable parallel simulation

Definition at line 49 of file MSVehicleTransfer.cpp.

References MSBaseVehicle::getNumericalID(), myVeh, and VehicleInformation().

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(), and VehicleInformation().

◆ myParking

bool MSVehicleTransfer::VehicleInformation::myParking

whether the vehicle is or was parking

Definition at line 134 of file MSVehicleTransfer.h.

Referenced by MSVehicleTransfer::checkInsertions(), and VehicleInformation().

◆ 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(), and VehicleInformation().

◆ 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(), and VehicleInformation().

◆ myVeh

MSVehicle* MSVehicleTransfer::VehicleInformation::myVeh

The vehicle itself.

Definition at line 130 of file MSVehicleTransfer.h.

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


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