Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSE2Collector::MoveNotificationInfo Struct Reference

Values collected in notifyMove and needed in detectorUpdate() to calculate the accumulated quantities for the detector. These are temporarily stored in myMoveNotifications for each step. More...

Public Member Functions

 MoveNotificationInfo (std::string _vehID, double _oldPos, double _newPos, double _speed, double _accel, double _distToDetectorEnd, double _timeOnDetector, double _lengthOnDetector, double _timeLoss, double _waitingTime, bool _onDetector)
virtual ~MoveNotificationInfo ()

Data Fields

double accel
 Acceleration in the last integration step.
double distToDetectorEnd
 Distance left till the detector end after the last integration step (may become negative if the vehicle passes beyond the detector end).
std::string id
 Vehicle's id.
double lengthOnDetector
 The length of the part of the vehicle on the detector at the end of the last time step.
double newPos
 Position after the last integration step (relative to the vehicle's entry lane on the detector).
double oldPos
 Position before the last integration step (relative to the vehicle's entry lane on the detector).
bool onDetector
 whether the vehicle is on the detector at the end of the current timestep
double speed
 Speed after the last integration step.
double timeLoss
 timeloss during the last integration step
double timeOnDetector
 Time spent on the detector during the last integration step.
double waitingTime
 the current (consecutive) waitingTime on the detector in s

Detailed Description

Values collected in notifyMove and needed in detectorUpdate() to calculate the accumulated quantities for the detector. These are temporarily stored in myMoveNotifications for each step.

Definition at line 159 of file MSE2Collector.h.

Constructor & Destructor Documentation

◆ MoveNotificationInfo()

MSE2Collector::MoveNotificationInfo::MoveNotificationInfo ( std::string _vehID,
double _oldPos,
double _newPos,
double _speed,
double _accel,
double _distToDetectorEnd,
double _timeOnDetector,
double _lengthOnDetector,
double _timeLoss,
double _waitingTime,
bool _onDetector )
inline

◆ ~MoveNotificationInfo()

virtual MSE2Collector::MoveNotificationInfo::~MoveNotificationInfo ( )
inlinevirtual

Definition at line 173 of file MSE2Collector.h.

Field Documentation

◆ accel

double MSE2Collector::MoveNotificationInfo::accel

Acceleration in the last integration step.

Definition at line 184 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification(), and MoveNotificationInfo().

◆ distToDetectorEnd

double MSE2Collector::MoveNotificationInfo::distToDetectorEnd

Distance left till the detector end after the last integration step (may become negative if the vehicle passes beyond the detector end).

Definition at line 186 of file MSE2Collector.h.

Referenced by MSE2Collector::buildJam(), MSE2Collector::compareMoveNotification(), MoveNotificationInfo(), and MSE2Collector::processJams().

◆ id

std::string MSE2Collector::MoveNotificationInfo::id

Vehicle's id.

Definition at line 176 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification(), and MoveNotificationInfo().

◆ lengthOnDetector

double MSE2Collector::MoveNotificationInfo::lengthOnDetector

The length of the part of the vehicle on the detector at the end of the last time step.

Definition at line 190 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification(), MoveNotificationInfo(), and MSE2Collector::processJams().

◆ newPos

double MSE2Collector::MoveNotificationInfo::newPos

Position after the last integration step (relative to the vehicle's entry lane on the detector).

Definition at line 180 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification(), and MoveNotificationInfo().

◆ oldPos

double MSE2Collector::MoveNotificationInfo::oldPos

Position before the last integration step (relative to the vehicle's entry lane on the detector).

Definition at line 178 of file MSE2Collector.h.

Referenced by MoveNotificationInfo().

◆ onDetector

bool MSE2Collector::MoveNotificationInfo::onDetector

whether the vehicle is on the detector at the end of the current timestep

Definition at line 196 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification(), and MoveNotificationInfo().

◆ speed

double MSE2Collector::MoveNotificationInfo::speed

Speed after the last integration step.

Definition at line 182 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification(), and MoveNotificationInfo().

◆ timeLoss

double MSE2Collector::MoveNotificationInfo::timeLoss

timeloss during the last integration step

Definition at line 192 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification(), and MoveNotificationInfo().

◆ timeOnDetector

double MSE2Collector::MoveNotificationInfo::timeOnDetector

Time spent on the detector during the last integration step.

Definition at line 188 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification(), and MoveNotificationInfo().

◆ waitingTime

double MSE2Collector::MoveNotificationInfo::waitingTime

the current (consecutive) waitingTime on the detector in s

Definition at line 194 of file MSE2Collector.h.

Referenced by MoveNotificationInfo(), and MSE2Collector::processJams().


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