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, SUMOVehicle *_vehicle, const bool _willPass)
 Constructor.
 

Data Fields

SUMOTime arrivalTime
 The time the vehicle's front arrives at the link.
 
SUMOTime leavingTime
 The estimated time at which the vehicle leaves the link.
 
SUMOVehicle * vehicle
 The vehicle.
 
bool willPass
 Whether the vehicle wants to pass the link (.
 

Detailed Description

A structure holding the information about vehicles approaching a link.

Definition at line 76 of file MSLink.h.

Constructor & Destructor Documentation

MSLink::ApproachingVehicleInformation::ApproachingVehicleInformation ( const SUMOTime  _arrivalTime,
const SUMOTime  _leavingTime,
SUMOVehicle *  _vehicle,
const bool  _willPass 
)
inline

Constructor.

Definition at line 78 of file MSLink.h.

Field Documentation

SUMOTime MSLink::ApproachingVehicleInformation::arrivalTime

The time the vehicle's front arrives at the link.

Definition at line 82 of file MSLink.h.

SUMOTime MSLink::ApproachingVehicleInformation::leavingTime

The estimated time at which the vehicle leaves the link.

Definition at line 84 of file MSLink.h.

SUMOVehicle* MSLink::ApproachingVehicleInformation::vehicle

The vehicle.

Definition at line 86 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 88 of file MSLink.h.


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