SUMO - Simulation of Urban MObility
|
A structure holding the information about vehicles approaching a link. More...
#include <MSLink.h>
Public Member Functions | |
ApproachingVehicleInformation (const SUMOTime _arrivalTime, const SUMOTime _leavingTime, SUMOReal _arrivalSpeed, SUMOReal _leaveSpeed, SUMOVehicle *_vehicle, const bool _willPass) | |
Constructor. More... | |
Data Fields | |
SUMOReal | arrivalSpeed |
The estimated speed with which the vehicle arrives at the link (for headway computation) More... | |
SUMOTime | arrivalTime |
The time the vehicle's front arrives at the link. More... | |
SUMOReal | leaveSpeed |
The estimated speed with which the vehicle leaves the link (for headway computation) More... | |
SUMOTime | leavingTime |
The estimated time at which the vehicle leaves the link. More... | |
SUMOVehicle * | vehicle |
The vehicle. More... | |
bool | willPass |
Whether the vehicle wants to pass the link (. More... | |
A structure holding the information about vehicles approaching a link.
SUMOReal MSLink::ApproachingVehicleInformation::arrivalSpeed |
SUMOTime MSLink::ApproachingVehicleInformation::arrivalTime |
The time the vehicle's front arrives at the link.
Definition at line 87 of file MSLink.h.
Referenced by GUIVehicle::drawGLAdditional().
SUMOReal MSLink::ApproachingVehicleInformation::leaveSpeed |
SUMOTime MSLink::ApproachingVehicleInformation::leavingTime |
The estimated time at which the vehicle leaves the link.
Definition at line 89 of file MSLink.h.
Referenced by GUIVehicle::drawGLAdditional().
SUMOVehicle* MSLink::ApproachingVehicleInformation::vehicle |
The vehicle.
Definition at line 95 of file MSLink.h.
Referenced by MSLink::vehicle_in_request_finder::operator()().
bool MSLink::ApproachingVehicleInformation::willPass |