Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSLink::ApproachingPersonInformation Struct Reference

A structure holding the information about persons approaching a pedestrian crossing link. More...

#include <MSLink.h>

Public Member Functions

 ApproachingPersonInformation (const SUMOTime _arrivalTime, const SUMOTime _leavingTime)
 Constructor.

Data Fields

const SUMOTime arrivalTime
 The time the vehicle's front arrives at the link.
const SUMOTime leavingTime
 The estimated time at which the vehicle leaves the link.

Detailed Description

A structure holding the information about persons approaching a pedestrian crossing link.

Definition at line 168 of file MSLink.h.

Constructor & Destructor Documentation

◆ ApproachingPersonInformation()

MSLink::ApproachingPersonInformation::ApproachingPersonInformation ( const SUMOTime _arrivalTime,
const SUMOTime _leavingTime )
inline

Constructor.

Parameters
[in]waitingTimeThe time during which the vehicle is waiting at this link this needs to be placed here because MSVehicle::myWaitingTime is updated in between calls to opened() causing order dependencies

Definition at line 174 of file MSLink.h.

References arrivalTime, and leavingTime.

Field Documentation

◆ arrivalTime

const SUMOTime MSLink::ApproachingPersonInformation::arrivalTime

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

Definition at line 177 of file MSLink.h.

Referenced by ApproachingPersonInformation().

◆ leavingTime

const SUMOTime MSLink::ApproachingPersonInformation::leavingTime

The estimated time at which the vehicle leaves the link.

Definition at line 179 of file MSLink.h.

Referenced by ApproachingPersonInformation().


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