Eclipse SUMO - Simulation of Urban MObility
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, bool _onDetector)
 
virtual ~MoveNotificationInfo ()
 

Data Fields

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

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,
bool  _onDetector 
)
inline

Definition at line 160 of file MSE2Collector.h.

◆ ~MoveNotificationInfo()

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

Definition at line 172 of file MSE2Collector.h.

Field Documentation

◆ accel

double MSE2Collector::MoveNotificationInfo::accel

Acceleration in the last integration step.

Definition at line 183 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification().

◆ 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 185 of file MSE2Collector.h.

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

◆ id

std::string MSE2Collector::MoveNotificationInfo::id

Vehicle's id.

Definition at line 175 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification().

◆ 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 189 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification(), 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 179 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification().

◆ oldPos

double MSE2Collector::MoveNotificationInfo::oldPos

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

Definition at line 177 of file MSE2Collector.h.

◆ onDetector

bool MSE2Collector::MoveNotificationInfo::onDetector

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

Definition at line 193 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification().

◆ speed

double MSE2Collector::MoveNotificationInfo::speed

Speed after the last integration step.

Definition at line 181 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification().

◆ timeLoss

double MSE2Collector::MoveNotificationInfo::timeLoss

timeloss during the last integration step

Definition at line 191 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification().

◆ timeOnDetector

double MSE2Collector::MoveNotificationInfo::timeOnDetector

Time spent on the detector during the last integration step.

Definition at line 187 of file MSE2Collector.h.

Referenced by MSE2Collector::integrateMoveNotification().


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