SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSLink::ApproachingVehicleInformation Struct Reference

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...
 
SUMOVehiclevehicle
 The vehicle. More...
 
bool willPass
 Whether the vehicle wants to pass the link (. More...
 

Detailed Description

A structure holding the information about vehicles approaching a link.

Definition at line 77 of file MSLink.h.

Constructor & Destructor Documentation

MSLink::ApproachingVehicleInformation::ApproachingVehicleInformation ( const SUMOTime  _arrivalTime,
const SUMOTime  _leavingTime,
SUMOReal  _arrivalSpeed,
SUMOReal  _leaveSpeed,
SUMOVehicle _vehicle,
const bool  _willPass 
)
inline

Constructor.

Definition at line 79 of file MSLink.h.

Field Documentation

SUMOReal MSLink::ApproachingVehicleInformation::arrivalSpeed

The estimated speed with which the vehicle arrives at the link (for headway computation)

Definition at line 91 of file MSLink.h.

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

The estimated speed with which the vehicle leaves the link (for headway computation)

Definition at line 93 of file MSLink.h.

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

Whether the vehicle wants to pass the link (.

Todo:
: check semantics)

Definition at line 97 of file MSLink.h.


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