Eclipse SUMO - Simulation of Urban MObility
MSDevice_Tripinfo Class Reference

A device which collects info on the vehicle trip (mainly on departure and arrival) More...

#include <MSDevice_Tripinfo.h>

Inheritance diagram for MSDevice_Tripinfo:
Collaboration diagram for MSDevice_Tripinfo:

Public Types

enum  Notification {
  NOTIFICATION_DEPARTED, NOTIFICATION_JUNCTION, NOTIFICATION_SEGMENT, NOTIFICATION_LANE_CHANGE,
  NOTIFICATION_TELEPORT, NOTIFICATION_PARKING, NOTIFICATION_ARRIVED, NOTIFICATION_VAPORIZED,
  NOTIFICATION_TELEPORT_ARRIVED, NOTIFICATION_PARKING_REROUTE
}
 Definition of a vehicle state. More...
 

Public Member Functions

void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
const std::string deviceName () const
 return the name for this type of device More...
 
void generateOutput () const
 Called on writing tripinfo output. More...
 
const std::string & getDescription () const
 
SUMOVehiclegetHolder () const
 Returns the vehicle that holds this device. More...
 
const std::string & getID () const
 Returns the id. More...
 
const MSLanegetLane () const
 Returns the lane the reminder works on. More...
 
SUMOVehicle::NumericalID getNumericalID () const
 
virtual std::string getParameter (const std::string &key) const
 try to retrieve the given parameter from this device. Throw exception for unsupported key More...
 
void loadState (const SUMOSAXAttributes &attrs)
 Loads the state of the device from the given description. More...
 
void saveState (OutputDevice &out) const
 Saves the state of the device. More...
 
void setDescription (const std::string &description)
 
void setID (const std::string &newID)
 resets the id More...
 
virtual void setParameter (const std::string &key, const std::string &value)
 try to set the given parameter for this device. Throw exception for unsupported key More...
 
 ~MSDevice_Tripinfo ()
 Destructor. More...
 
Methods called on vehicle movement / state change, overwriting MSDevice
bool notifyMove (SUMOTrafficObject &veh, double oldPos, double newPos, double newSpeed)
 Checks for waiting steps when the vehicle moves. More...
 
bool notifyEnter (SUMOTrafficObject &veh, MSMoveReminder::Notification reason, const MSLane *enteredLane=0)
 Saves departure info on insertion. More...
 
bool notifyLeave (SUMOTrafficObject &veh, double lastPos, MSMoveReminder::Notification reason, const MSLane *enteredLane=0)
 Saves arrival info. More...
 
Interface methods, to be derived by subclasses
void updateDetector (SUMOTrafficObject &veh, double entryPos, double leavePos, SUMOTime entryTime, SUMOTime currentTime, SUMOTime leaveTime, bool cleanUp)
 

Static Public Member Functions

static void addPedestrianData (double walkLength, SUMOTime walkDuration, SUMOTime walkTimeLoss)
 record tripinfo data for pedestrians More...
 
static void addRideData (double rideLength, SUMOTime rideDuration, SUMOVehicleClass vClass, const std::string &line, SUMOTime waitingTime)
 record tripinfo data for rides More...
 
static void buildTransportableDevices (MSTransportable &p, std::vector< MSTransportableDevice * > &into)
 Build devices for the given person, if needed. More...
 
static void buildVehicleDevices (SUMOVehicle &v, std::vector< MSVehicleDevice * > &into)
 Build devices for the given vehicle, if needed. More...
 
static bool checkOptions (OptionsCont &oc)
 check device-specific options More...
 
static void cleanup ()
 resets counters More...
 
static void cleanupAll ()
 perform cleanup for all devices More...
 
static void generateOutputForUnfinished ()
 generate output for vehicles which are still in the network More...
 
static double getAvgDepartDelay ()
 
static double getAvgDuration ()
 
static double getAvgRideDuration ()
 
static double getAvgRideRouteLength ()
 
static double getAvgRideWaitingTime ()
 
static double getAvgRouteLength ()
 accessors for GUINet-Parameters More...
 
static double getAvgTimeLoss ()
 
static double getAvgWaitingTime ()
 
static double getAvgWalkDuration ()
 
static double getAvgWalkRouteLength ()
 
static double getAvgWalkTimeLoss ()
 
static std::mt19937 * getEquipmentRNG ()
 
template<class T >
static std::string getIDSecure (const T *obj, const std::string &fallBack="NULL")
 get an identifier for Named-like object which may be Null More...
 
static void insertOptions (OptionsCont &oc)
 Inserts MSDevice_Tripinfo-options. More...
 
static std::string printStatistics ()
 get statistics for printing to stdout More...
 

Protected Member Functions

void notifyMoveInternal (const SUMOTrafficObject &veh, const double frontOnLane, const double timeOnLane, const double meanSpeedFrontOnLane, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane, const double)
 Internal notification about the vehicle moves, see MSMoveReminder::notifyMoveInternal() More...
 
void removeFromVehicleUpdateValues (SUMOTrafficObject &veh)
 

Static Protected Member Functions

Helper methods for device assignment
static void insertDefaultAssignmentOptions (const std::string &deviceName, const std::string &optionsTopic, OptionsCont &oc, const bool isPerson=false)
 Adds common command options that allow to assign devices to vehicles. More...
 
template<class DEVICEHOLDER >
static bool equippedByDefaultAssignmentOptions (const OptionsCont &oc, const std::string &deviceName, DEVICEHOLDER &v, bool outputOptionSet, const bool isPerson=false)
 Determines whether a vehicle should get a certain device. More...
 
Helper methods for parsing parameters
static std::string getStringParam (const SUMOVehicle &v, const OptionsCont &oc, std::string paramName, std::string deflt, bool required)
 
static double getFloatParam (const SUMOVehicle &v, const OptionsCont &oc, std::string paramName, double deflt, bool required)
 
static bool getBoolParam (const SUMOVehicle &v, const OptionsCont &oc, std::string paramName, bool deflt, bool required)
 

Protected Attributes

std::string myDescription
 a description of this moveReminder More...
 
SUMOVehiclemyHolder
 The vehicle that stores the device. More...
 
std::string myID
 The name of the object. More...
 
MSLane *const myLane
 Lane on which the reminder works. More...
 

Private Member Functions

 MSDevice_Tripinfo (const MSDevice_Tripinfo &)
 Invalidated copy constructor. More...
 
 MSDevice_Tripinfo (SUMOVehicle &holder, const std::string &id)
 Constructor. More...
 
MSDevice_Tripinfooperator= (const MSDevice_Tripinfo &)
 Invalidated assignment operator. More...
 

Private Attributes

bool myAmWaiting
 Whether the vehicle is currently waiting. More...
 
std::string myArrivalLane
 The lane the vehicle arrived at. More...
 
double myArrivalPos
 The position on the lane the vehicle arrived at. More...
 
double myArrivalPosLat
 The lateral position on the lane the vehicle arrived at. More...
 
double myArrivalSpeed
 The speed when arriving. More...
 
SUMOTime myArrivalTime
 The vehicle's arrival time. More...
 
std::string myDepartLane
 The lane the vehicle departed at. More...
 
double myDepartPosLat
 The lateral depart position. More...
 
double myDepartSpeed
 The speed on departure. More...
 
std::map< SUMOTrafficObject *, std::pair< SUMOTime, double > > myLastVehicleUpdateValues
 
SUMOTime myMesoTimeLoss
 The time loss when compared to the desired and allowed speed. More...
 
SUMOTime myParkingStarted
 The time when parking started. More...
 
double myRouteLength
 The route length. More...
 
SUMOTime myStoppingTime
 The overall intentional stopping time. More...
 
int myWaitingCount
 The overall number of unintended stops. More...
 
SUMOTime myWaitingTime
 The overall waiting time. More...
 

Static Private Attributes

static std::mt19937 myEquipmentRNG
 A random number generator used to choose from vtype/route distributions and computing the speed factors. More...
 
static std::map< std::string, std::set< std::string > > myExplicitIDs
 vehicles which explicitly carry a device, sorted by device, first More...
 
static std::set< const MSDevice_Tripinfo *, ComparatorNumericalIdLessmyPendingOutput
 devices which may still need to produce output More...
 
static int myRideAbortCount
 
static int myRideBikeCount
 
static int myRideBusCount
 
static int myRideCount
 
static int myRideRailCount
 
static SUMOTime myTotalDepartDelay
 
static SUMOTime myTotalDuration
 
static SUMOTime myTotalRideDuration
 
static double myTotalRideRouteLength
 
static double myTotalRideWaitingTime
 
static double myTotalRouteLength
 
static SUMOTime myTotalTimeLoss
 
static SUMOTime myTotalWaitingTime
 
static SUMOTime myTotalWalkDuration
 
static double myTotalWalkRouteLength
 
static SUMOTime myTotalWalkTimeLoss
 
static double myVehicleCount
 global tripinfo statistics More...
 
static SUMOTime myWaitingDepartDelay
 
static int myWalkCount
 

Detailed Description

A device which collects info on the vehicle trip (mainly on departure and arrival)

Each device collects departure time, lane and speed and the same for arrival.

See also
MSDevice

Definition at line 47 of file MSDevice_Tripinfo.h.

Member Enumeration Documentation

◆ Notification

Definition of a vehicle state.

Enumerator
NOTIFICATION_DEPARTED 

The vehicle has departed (was inserted into the network)

NOTIFICATION_JUNCTION 

The vehicle arrived at a junction.

NOTIFICATION_SEGMENT 

The vehicle changes the segment (meso only)

NOTIFICATION_LANE_CHANGE 

The vehicle changes lanes (micro only)

NOTIFICATION_TELEPORT 

The vehicle is being teleported.

NOTIFICATION_PARKING 

The vehicle starts or ends parking.

NOTIFICATION_ARRIVED 

The vehicle arrived at its destination (is deleted)

NOTIFICATION_VAPORIZED 

The vehicle got vaporized.

NOTIFICATION_TELEPORT_ARRIVED 

The vehicle was teleported out of the net.

NOTIFICATION_PARKING_REROUTE 

The vehicle needs another parking area.

Definition at line 91 of file MSMoveReminder.h.

Constructor & Destructor Documentation

◆ ~MSDevice_Tripinfo()

MSDevice_Tripinfo::~MSDevice_Tripinfo ( )

Destructor.

Definition at line 115 of file MSDevice_Tripinfo.cpp.

References myPendingOutput.

◆ MSDevice_Tripinfo() [1/2]

MSDevice_Tripinfo::MSDevice_Tripinfo ( SUMOVehicle holder,
const std::string &  id 
)
private

Constructor.

Parameters
[in]holderThe vehicle that holds this device
[in]idThe ID of the device

Definition at line 95 of file MSDevice_Tripinfo.cpp.

Referenced by buildVehicleDevices().

◆ MSDevice_Tripinfo() [2/2]

MSDevice_Tripinfo::MSDevice_Tripinfo ( const MSDevice_Tripinfo )
private

Invalidated copy constructor.

Member Function Documentation

◆ addPedestrianData()

void MSDevice_Tripinfo::addPedestrianData ( double  walkLength,
SUMOTime  walkDuration,
SUMOTime  walkTimeLoss 
)
static

record tripinfo data for pedestrians

Definition at line 324 of file MSDevice_Tripinfo.cpp.

References myTotalWalkDuration, myTotalWalkRouteLength, myTotalWalkTimeLoss, and myWalkCount.

Referenced by MSPerson::MSPersonStage_Walking::tripInfoOutput().

◆ addRideData()

void MSDevice_Tripinfo::addRideData ( double  rideLength,
SUMOTime  rideDuration,
SUMOVehicleClass  vClass,
const std::string &  line,
SUMOTime  waitingTime 
)
static

◆ addTo()

void Named::addTo ( const StoringVisitor cont) const
inlineinherited

Adds this object to the given container.

Parameters
[in,filled]cont The container to add this item to

Definition at line 126 of file Named.h.

References Named::StoringVisitor::add().

◆ buildTransportableDevices()

void MSDevice::buildTransportableDevices ( MSTransportable p,
std::vector< MSTransportableDevice * > &  into 
)
staticinherited

Build devices for the given person, if needed.

Parameters
[in]pThe person for which a device may be built
[filled]into The vector to store the built device in

Definition at line 112 of file MSDevice.cpp.

References MSTransportableDevice_FCD::buildDevices(), and MSTransportableDevice_Routing::buildDevices().

Referenced by MSTransportable::MSTransportable().

◆ buildVehicleDevices()

void MSDevice_Tripinfo::buildVehicleDevices ( SUMOVehicle v,
std::vector< MSVehicleDevice * > &  into 
)
static

Build devices for the given vehicle, if needed.

The options are read and evaluated whether a tripinfo-device shall be built for the given vehicle.

The built device is stored in the given vector.

Parameters
[in]vThe vehicle for which a device may be built
[filled]into The vector to store the built device in

Definition at line 81 of file MSDevice_Tripinfo.cpp.

References MSDevice::equippedByDefaultAssignmentOptions(), OptionsCont::getBool(), SUMOTrafficObject::getID(), OptionsCont::getOptions(), OptionsCont::isSet(), MSDevice_Tripinfo(), and myPendingOutput.

Referenced by MSDevice::buildVehicleDevices().

◆ checkOptions()

bool MSDevice::checkOptions ( OptionsCont oc)
staticinherited

check device-specific options

Parameters
[filled]oc The options container with the user-defined options

Definition at line 86 of file MSDevice.cpp.

References MSDevice_Routing::checkOptions().

Referenced by MSFrame::checkOptions().

◆ cleanup()

◆ cleanupAll()

void MSDevice::cleanupAll ( )
staticinherited

perform cleanup for all devices

Definition at line 119 of file MSDevice.cpp.

References MSDevice_FCD::cleanup(), MSRoutingEngine::cleanup(), and cleanup().

Referenced by MSNet::clearAll().

◆ deviceName()

const std::string MSDevice_Tripinfo::deviceName ( ) const
inlinevirtual

return the name for this type of device

Implements MSDevice.

Definition at line 140 of file MSDevice_Tripinfo.h.

◆ equippedByDefaultAssignmentOptions()

template<class DEVICEHOLDER >
bool MSDevice::equippedByDefaultAssignmentOptions ( const OptionsCont oc,
const std::string &  deviceName,
DEVICEHOLDER &  v,
bool  outputOptionSet,
const bool  isPerson = false 
)
staticprotectedinherited

◆ generateOutput()

◆ generateOutputForUnfinished()

◆ getAvgDepartDelay()

double MSDevice_Tripinfo::getAvgDepartDelay ( )
static

Definition at line 428 of file MSDevice_Tripinfo.cpp.

References myTotalDepartDelay, myVehicleCount, and STEPS2TIME.

Referenced by GUINet::getAvgDepartDelay(), and printStatistics().

◆ getAvgDuration()

double MSDevice_Tripinfo::getAvgDuration ( )
static

◆ getAvgRideDuration()

double MSDevice_Tripinfo::getAvgRideDuration ( )
static

Definition at line 467 of file MSDevice_Tripinfo.cpp.

References myRideCount, myTotalRideDuration, and STEPS2TIME.

Referenced by printStatistics().

◆ getAvgRideRouteLength()

double MSDevice_Tripinfo::getAvgRideRouteLength ( )
static

Definition at line 485 of file MSDevice_Tripinfo.cpp.

References myRideCount, and myTotalRideRouteLength.

Referenced by printStatistics().

◆ getAvgRideWaitingTime()

double MSDevice_Tripinfo::getAvgRideWaitingTime ( )
static

Definition at line 476 of file MSDevice_Tripinfo.cpp.

References myRideCount, myTotalRideWaitingTime, and STEPS2TIME.

Referenced by printStatistics().

◆ getAvgRouteLength()

double MSDevice_Tripinfo::getAvgRouteLength ( )
static

accessors for GUINet-Parameters

Definition at line 390 of file MSDevice_Tripinfo.cpp.

References myTotalRouteLength, and myVehicleCount.

Referenced by GUINet::getAvgRouteLength(), GUINet::getAvgTripSpeed(), and printStatistics().

◆ getAvgTimeLoss()

double MSDevice_Tripinfo::getAvgTimeLoss ( )
static

Definition at line 418 of file MSDevice_Tripinfo.cpp.

References myTotalTimeLoss, myVehicleCount, and STEPS2TIME.

Referenced by GUINet::getAvgTimeLoss(), and printStatistics().

◆ getAvgWaitingTime()

double MSDevice_Tripinfo::getAvgWaitingTime ( )
static

Definition at line 408 of file MSDevice_Tripinfo.cpp.

References myTotalWaitingTime, myVehicleCount, and STEPS2TIME.

Referenced by GUINet::getAvgWaitingTime(), and printStatistics().

◆ getAvgWalkDuration()

double MSDevice_Tripinfo::getAvgWalkDuration ( )
static

Definition at line 447 of file MSDevice_Tripinfo.cpp.

References myTotalWalkDuration, myWalkCount, and STEPS2TIME.

Referenced by GUINet::getAvgWalkDuration(), and printStatistics().

◆ getAvgWalkRouteLength()

double MSDevice_Tripinfo::getAvgWalkRouteLength ( )
static

Definition at line 438 of file MSDevice_Tripinfo.cpp.

References myTotalWalkRouteLength, and myWalkCount.

Referenced by GUINet::getAvgWalkRouteLength(), and printStatistics().

◆ getAvgWalkTimeLoss()

double MSDevice_Tripinfo::getAvgWalkTimeLoss ( )
static

Definition at line 457 of file MSDevice_Tripinfo.cpp.

References myTotalWalkTimeLoss, myWalkCount, and STEPS2TIME.

Referenced by GUINet::getAvgWalkTimeLoss(), and printStatistics().

◆ getBoolParam()

bool MSDevice::getBoolParam ( const SUMOVehicle v,
const OptionsCont oc,
std::string  paramName,
bool  deflt,
bool  required 
)
staticprotectedinherited

◆ getDescription()

const std::string& MSMoveReminder::getDescription ( ) const
inlineinherited

Definition at line 230 of file MSMoveReminder.h.

References MSMoveReminder::myDescription.

◆ getEquipmentRNG()

static std::mt19937* MSDevice::getEquipmentRNG ( )
inlinestaticinherited

◆ getFloatParam()

◆ getHolder()

SUMOVehicle& MSVehicleDevice::getHolder ( ) const
inlineinherited

Returns the vehicle that holds this device.

Returns
The vehicle that holds this device

Definition at line 74 of file MSVehicleDevice.h.

References MSVehicleDevice::myHolder.

Referenced by MSChargingStation::addChargeValueForOutput().

◆ getID()

const std::string& Named::getID ( ) const
inlineinherited

Returns the id.

Returns
The stored id

Definition at line 76 of file Named.h.

References Named::myID.

Referenced by MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSPModel_Remote::add(), MSPModel_Striping::add(), LaneStoringVisitor::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), MSDetectorControl::add(), Named::StoringVisitor::add(), ShapeContainer::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), ROVehicle::addStop(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSNet::addStoppingPlace(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), libsumo::Helper::applySubscriptionFilters(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportable::Stage_Waiting::beginEventOutput(), MSTransportable::Stage_Driving::beginEventOutput(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), GNETLSEditorFrame::buildIinternalLanes(), NBEdge::buildInnerEdges(), NGEdge::buildNBEdge(), NIVissimEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSVehicle::canReverse(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSEdge::checkAndRegisterBiDirEdge(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSDevice_Battery::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), ROJTRRouter::compute(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), NGNet::connect(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSActuatedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSTransportable::Stage_Waiting::endEventOutput(), MSTransportable::Stage_Driving::endEventOutput(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), METriggeredCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitchStates::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSSwitches::execute(), MSVTypeProbe::execute(), MSCalibrator::execute(), MSPModel_Striping::MovePedestrians::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), libsumo::Helper::findCloserLane(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), libsumo::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), NBTrafficLightDefinition::forbids(), NBNodeCont::generateNodeClusters(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), libsumo::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), libsumo::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBNodeShapeComputer::getDefaultRadius(), NBTrafficLightDefinition::getDescription(), MSLink::getDescription(), GUIPerson::getDestinationEdgeID(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), libsumo::Lane::getEdgeID(), GUIMEVehicle::getEdgeID(), GUIPerson::getEdgeID(), MSMeanData::getEdgeID(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSCalibrator::getID(), NBEdge::getID(), libsumo::LaneArea::getLaneID(), libsumo::InductionLoop::getLaneID(), libsumo::Vehicle::getLaneID(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSLane::getLinkTo(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), libsumo::Simulation::getParameter(), GUITrafficLightLogicWrapper::getParameterWindow(), GUILane::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), libsumo::Person::getRoadID(), libsumo::Vehicle::getRoadID(), MSLCM_LC2013::getRoundaboutDistBonus(), libsumo::Vehicle::getRouteID(), MSVehicle::getSafeFollowSpeed(), libsumo::Person::getStage(), MSContainer::MSContainerStage_Driving::getStageSummary(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSContainer::MSContainerStage_Tranship::getStageSummary(), MSPerson::MSPersonStage_Driving::getStageSummary(), MSTransportable::Stage_Trip::getStageSummary(), MSTransportable::Stage_Waiting::getStageSummary(), MSNet::getStoppingPlaceID(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), MSRailSignal::getTLLinkID(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSEdge::getWaitingVehicle(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSVehicle::haveValidStopEdges(), libsumo::POI::highlight(), MSVehicle::ignoreRed(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBTrafficLightLogicCont::insert(), NBNodeCont::insert(), MSEdge::insertVehicle(), MSLane::integrateNewVehicles(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), MESegment::jamThresholdForSpeed(), NBNodeShapeComputer::joinSameDirectionEdges(), NBEdgeCont::joinSameNodeConnectingEdges(), MSAbstractLaneChangeModel::laneChangeOutput(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), ODDistrictCont::makeDistricts(), MSE2Collector::makeVehicleInfo(), MSSOTLE2Sensors::meanVehiclesSpeed(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), MSCalibrator::MSCalibrator(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSE2Collector::MSE2Collector(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_Example::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Bluelight::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_ToC::notifyMove(), MSE2Collector::notifyMove(), MSDevice_SSM::notifyMove(), GUIViewTraffic::onGamingClick(), MSLink::opened(), RORouteHandler::openRoute(), RODFNet::idComp::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), AGStreet::print(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MEVehicle::processStop(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), MSLink::removeApproaching(), MSVehicle::removePassedDriveItems(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), GNENet::renameJunction(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_ToC::requestToC(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), RONet::saveAndRemoveRoutesUntil(), ROVehicle::saveAsXML(), ROPerson::Ride::saveAsXML(), MSTransportableDevice_Routing::saveState(), MSDevice_Routing::saveState(), MSDevice::saveState(), MSDevice_Vehroutes::saveState(), saveState(), MSBaseVehicle::saveState(), MSLane::saveState(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSLink::setApproaching(), NBNodeCont::setAsTLControlled(), GNEEdge::setAttribute(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NLEdgeControlBuilder::setDefaultStopOffsets(), MSChargingStation::setEfficency(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), NIXMLEdgesHandler::setNodes(), NIImporter_OpenDrive::setNodeSecure(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), MSLink::setRequestInformation(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSSOTLTrafficLightLogic::trySwitch(), PolygonDynamics::update(), MSDevice_SSM::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffsets(), MSVehicle::updateDriveItems(), GNETLSEditorFrame::TLSJunction::updateJunctionDescription(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), NBNodeTypeComputer::validateRailCrossings(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), NBParking::write(), MSEmissionExport::write(), MSBatteryExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSMeanData::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSQueueExport::writeLane(), MSFullExport::writeLane(), MSXMLRawOut::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMOPolygon::writeXML(), MSRouteProbe::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSE2Collector::writeXMLOutput(), and RONet::~RONet().

◆ getIDSecure()

template<class T >
static std::string Named::getIDSecure ( const T *  obj,
const std::string &  fallBack = "NULL" 
)
inlinestaticinherited

get an identifier for Named-like object which may be Null

Definition at line 69 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::changeOpposite(), MSVehicle::checkRewindLinkLanes(), DijkstraRouter< E, V >::compute(), AStarRouter< E, V >::compute(), NBEdge::computeEdge2Edges(), NBEdge::computeLanes2Edges(), NBOwnTLDef::computeLogicAndConts(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_W99::followSpeed(), MSCFModel_CACC::followSpeed(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), NBEdge::init(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), operator<<(), NBEdge::recheckLanes(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_LC2013::saveBlockerLength(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), toString(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().

◆ getLane()

const MSLane* MSMoveReminder::getLane ( ) const
inlineinherited

◆ getNumericalID()

SUMOVehicle::NumericalID MSVehicleDevice::getNumericalID ( ) const
inlineinherited

Definition at line 78 of file MSVehicleDevice.h.

References SUMOVehicle::getNumericalID(), and MSVehicleDevice::myHolder.

◆ getParameter()

virtual std::string MSDevice::getParameter ( const std::string &  key) const
inlinevirtualinherited

try to retrieve the given parameter from this device. Throw exception for unsupported key

Reimplemented in MSDevice_ToC, MSDevice_SSM, MSDevice_Routing, MSDevice_Bluelight, MSDevice_Example, MSDevice_DriverState, MSDevice_Transportable, MSTransportableDevice_Routing, and MSDevice_Battery.

Definition at line 143 of file MSDevice.h.

References MSDevice::deviceName().

◆ getStringParam()

std::string MSDevice::getStringParam ( const SUMOVehicle v,
const OptionsCont oc,
std::string  paramName,
std::string  deflt,
bool  required 
)
staticprotectedinherited

◆ insertDefaultAssignmentOptions()

void MSDevice::insertDefaultAssignmentOptions ( const std::string &  deviceName,
const std::string &  optionsTopic,
OptionsCont oc,
const bool  isPerson = false 
)
staticprotectedinherited

◆ insertOptions()

void MSDevice_Tripinfo::insertOptions ( OptionsCont oc)
static

Inserts MSDevice_Tripinfo-options.

Parameters
[filled]oc The options container to add the options to

Definition at line 74 of file MSDevice_Tripinfo.cpp.

References OptionsCont::addOptionSubTopic(), and MSDevice::insertDefaultAssignmentOptions().

Referenced by MSDevice::insertOptions().

◆ loadState()

void MSDevice_Tripinfo::loadState ( const SUMOSAXAttributes attrs)
virtual

Loads the state of the device from the given description.

Parameters
[in]attrsXML attributes describing the current state

Reimplemented from MSDevice.

Definition at line 511 of file MSDevice_Tripinfo.cpp.

References SUMOSAXAttributes::getString(), MSGlobals::gUseMesoSim, myDepartLane, myDepartPosLat, myDepartSpeed, myRouteLength, and SUMO_ATTR_STATE.

◆ notifyEnter()

bool MSDevice_Tripinfo::notifyEnter ( SUMOTrafficObject veh,
MSMoveReminder::Notification  reason,
const MSLane enteredLane = 0 
)
virtual

◆ notifyLeave()

bool MSDevice_Tripinfo::notifyLeave ( SUMOTrafficObject veh,
double  lastPos,
MSMoveReminder::Notification  reason,
const MSLane enteredLane = 0 
)
virtual

◆ notifyMove()

bool MSDevice_Tripinfo::notifyMove ( SUMOTrafficObject veh,
double  oldPos,
double  newPos,
double  newSpeed 
)
virtual

Checks for waiting steps when the vehicle moves.

Parameters
[in]vehVehicle that asks this reminder.
[in]oldPosPosition before move.
[in]newPosPosition after move with newSpeed.
[in]newSpeedMoving speed.
Returns
True (always).

Reimplemented from MSMoveReminder.

Definition at line 146 of file MSDevice_Tripinfo.cpp.

References DELTA_T, SUMOTrafficObject::isStopped(), myAmWaiting, myStoppingTime, myWaitingCount, myWaitingTime, and SUMO_const_haltingSpeed.

◆ notifyMoveInternal()

void MSDevice_Tripinfo::notifyMoveInternal ( const SUMOTrafficObject veh,
const double  frontOnLane,
const double  timeOnLane,
const double  meanSpeedFrontOnLane,
const double  meanSpeedVehicleOnLane,
const double  travelledDistanceFrontOnLane,
const double  travelledDistanceVehicleOnLane,
const double   
)
protectedvirtual

◆ operator=()

MSDevice_Tripinfo& MSDevice_Tripinfo::operator= ( const MSDevice_Tripinfo )
private

Invalidated assignment operator.

◆ printStatistics()

◆ removeFromVehicleUpdateValues()

void MSMoveReminder::removeFromVehicleUpdateValues ( SUMOTrafficObject veh)
protectedinherited

◆ saveState()

void MSDevice_Tripinfo::saveState ( OutputDevice out) const
virtual

Saves the state of the device.

Parameters
[in]outThe OutputDevice to write the information into

Reimplemented from MSDevice.

Definition at line 495 of file MSDevice_Tripinfo.cpp.

References OutputDevice::closeTag(), Named::getID(), MSGlobals::gUseMesoSim, myDepartLane, myDepartPosLat, myDepartSpeed, myRouteLength, OutputDevice::openTag(), SUMO_ATTR_ID, SUMO_ATTR_STATE, SUMO_TAG_DEVICE, toString(), and OutputDevice::writeAttr().

◆ setDescription()

void MSMoveReminder::setDescription ( const std::string &  description)
inlineinherited

◆ setID()

void Named::setID ( const std::string &  newID)
inlineinherited

◆ setParameter()

virtual void MSDevice::setParameter ( const std::string &  key,
const std::string &  value 
)
inlinevirtualinherited

try to set the given parameter for this device. Throw exception for unsupported key

Reimplemented in MSDevice_ToC, MSDevice_SSM, MSDevice_Routing, MSDevice_Bluelight, MSDevice_Example, MSDevice_DriverState, MSTransportableDevice_Routing, and MSDevice_Battery.

Definition at line 148 of file MSDevice.h.

References MSDevice::deviceName(), and UNUSED_PARAMETER.

◆ updateDetector()

void MSMoveReminder::updateDetector ( SUMOTrafficObject veh,
double  entryPos,
double  leavePos,
SUMOTime  entryTime,
SUMOTime  currentTime,
SUMOTime  leaveTime,
bool  cleanUp 
)
inherited

Field Documentation

◆ myAmWaiting

bool MSDevice_Tripinfo::myAmWaiting
private

Whether the vehicle is currently waiting.

Definition at line 201 of file MSDevice_Tripinfo.h.

Referenced by notifyMove().

◆ myArrivalLane

std::string MSDevice_Tripinfo::myArrivalLane
private

The lane the vehicle arrived at.

Definition at line 216 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), and notifyLeave().

◆ myArrivalPos

double MSDevice_Tripinfo::myArrivalPos
private

The position on the lane the vehicle arrived at.

Definition at line 219 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), and notifyLeave().

◆ myArrivalPosLat

double MSDevice_Tripinfo::myArrivalPosLat
private

The lateral position on the lane the vehicle arrived at.

Definition at line 222 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), and notifyLeave().

◆ myArrivalSpeed

double MSDevice_Tripinfo::myArrivalSpeed
private

The speed when arriving.

Definition at line 225 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), and notifyLeave().

◆ myArrivalTime

SUMOTime MSDevice_Tripinfo::myArrivalTime
private

The vehicle's arrival time.

Definition at line 213 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), and notifyLeave().

◆ myDepartLane

std::string MSDevice_Tripinfo::myDepartLane
private

The lane the vehicle departed at.

Definition at line 189 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), loadState(), notifyEnter(), and saveState().

◆ myDepartPosLat

double MSDevice_Tripinfo::myDepartPosLat
private

The lateral depart position.

Definition at line 195 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), loadState(), notifyEnter(), and saveState().

◆ myDepartSpeed

double MSDevice_Tripinfo::myDepartSpeed
private

The speed on departure.

Definition at line 192 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), loadState(), notifyEnter(), and saveState().

◆ myDescription

std::string MSMoveReminder::myDescription
protectedinherited

a description of this moveReminder

Definition at line 242 of file MSMoveReminder.h.

Referenced by MSMoveReminder::getDescription(), and MSMoveReminder::setDescription().

◆ myEquipmentRNG

std::mt19937 MSDevice::myEquipmentRNG
staticprivateinherited

A random number generator used to choose from vtype/route distributions and computing the speed factors.

Definition at line 189 of file MSDevice.h.

Referenced by MSDevice::equippedByDefaultAssignmentOptions(), and MSDevice::getEquipmentRNG().

◆ myExplicitIDs

std::map< std::string, std::set< std::string > > MSDevice::myExplicitIDs
staticprivateinherited

vehicles which explicitly carry a device, sorted by device, first

Definition at line 186 of file MSDevice.h.

Referenced by MSDevice::equippedByDefaultAssignmentOptions().

◆ myHolder

◆ myID

◆ myLane

◆ myLastVehicleUpdateValues

std::map<SUMOTrafficObject*, std::pair<SUMOTime, double> > MSMoveReminder::myLastVehicleUpdateValues
privateinherited

◆ myMesoTimeLoss

SUMOTime MSDevice_Tripinfo::myMesoTimeLoss
private

The time loss when compared to the desired and allowed speed.

Definition at line 228 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), and notifyMoveInternal().

◆ myParkingStarted

SUMOTime MSDevice_Tripinfo::myParkingStarted
private

The time when parking started.

Definition at line 210 of file MSDevice_Tripinfo.h.

Referenced by notifyEnter(), and notifyLeave().

◆ myPendingOutput

std::set< const MSDevice_Tripinfo *, ComparatorNumericalIdLess > MSDevice_Tripinfo::myPendingOutput
staticprivate

devices which may still need to produce output

Definition at line 234 of file MSDevice_Tripinfo.h.

Referenced by buildVehicleDevices(), generateOutput(), generateOutputForUnfinished(), and ~MSDevice_Tripinfo().

◆ myRideAbortCount

int MSDevice_Tripinfo::myRideAbortCount
staticprivate

Definition at line 254 of file MSDevice_Tripinfo.h.

Referenced by addRideData(), cleanup(), and printStatistics().

◆ myRideBikeCount

int MSDevice_Tripinfo::myRideBikeCount
staticprivate

Definition at line 253 of file MSDevice_Tripinfo.h.

Referenced by addRideData(), cleanup(), and printStatistics().

◆ myRideBusCount

int MSDevice_Tripinfo::myRideBusCount
staticprivate

Definition at line 251 of file MSDevice_Tripinfo.h.

Referenced by addRideData(), cleanup(), and printStatistics().

◆ myRideCount

int MSDevice_Tripinfo::myRideCount
staticprivate

◆ myRideRailCount

int MSDevice_Tripinfo::myRideRailCount
staticprivate

Definition at line 252 of file MSDevice_Tripinfo.h.

Referenced by addRideData(), cleanup(), and printStatistics().

◆ myRouteLength

double MSDevice_Tripinfo::myRouteLength
private

The route length.

Definition at line 231 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), loadState(), notifyEnter(), notifyLeave(), and saveState().

◆ myStoppingTime

SUMOTime MSDevice_Tripinfo::myStoppingTime
private

The overall intentional stopping time.

Definition at line 207 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), notifyEnter(), notifyMove(), and notifyMoveInternal().

◆ myTotalDepartDelay

SUMOTime MSDevice_Tripinfo::myTotalDepartDelay
staticprivate

Definition at line 242 of file MSDevice_Tripinfo.h.

Referenced by cleanup(), generateOutput(), and getAvgDepartDelay().

◆ myTotalDuration

SUMOTime MSDevice_Tripinfo::myTotalDuration
staticprivate

Definition at line 239 of file MSDevice_Tripinfo.h.

Referenced by cleanup(), generateOutput(), and getAvgDuration().

◆ myTotalRideDuration

SUMOTime MSDevice_Tripinfo::myTotalRideDuration
staticprivate

Definition at line 257 of file MSDevice_Tripinfo.h.

Referenced by addRideData(), cleanup(), and getAvgRideDuration().

◆ myTotalRideRouteLength

double MSDevice_Tripinfo::myTotalRideRouteLength
staticprivate

Definition at line 256 of file MSDevice_Tripinfo.h.

Referenced by addRideData(), cleanup(), and getAvgRideRouteLength().

◆ myTotalRideWaitingTime

double MSDevice_Tripinfo::myTotalRideWaitingTime
staticprivate

Definition at line 255 of file MSDevice_Tripinfo.h.

Referenced by addRideData(), cleanup(), and getAvgRideWaitingTime().

◆ myTotalRouteLength

double MSDevice_Tripinfo::myTotalRouteLength
staticprivate

Definition at line 238 of file MSDevice_Tripinfo.h.

Referenced by cleanup(), generateOutput(), and getAvgRouteLength().

◆ myTotalTimeLoss

SUMOTime MSDevice_Tripinfo::myTotalTimeLoss
staticprivate

Definition at line 241 of file MSDevice_Tripinfo.h.

Referenced by cleanup(), generateOutput(), and getAvgTimeLoss().

◆ myTotalWaitingTime

SUMOTime MSDevice_Tripinfo::myTotalWaitingTime
staticprivate

Definition at line 240 of file MSDevice_Tripinfo.h.

Referenced by cleanup(), generateOutput(), and getAvgWaitingTime().

◆ myTotalWalkDuration

SUMOTime MSDevice_Tripinfo::myTotalWalkDuration
staticprivate

Definition at line 247 of file MSDevice_Tripinfo.h.

Referenced by addPedestrianData(), cleanup(), and getAvgWalkDuration().

◆ myTotalWalkRouteLength

double MSDevice_Tripinfo::myTotalWalkRouteLength
staticprivate

Definition at line 246 of file MSDevice_Tripinfo.h.

Referenced by addPedestrianData(), cleanup(), and getAvgWalkRouteLength().

◆ myTotalWalkTimeLoss

SUMOTime MSDevice_Tripinfo::myTotalWalkTimeLoss
staticprivate

Definition at line 248 of file MSDevice_Tripinfo.h.

Referenced by addPedestrianData(), cleanup(), and getAvgWalkTimeLoss().

◆ myVehicleCount

double MSDevice_Tripinfo::myVehicleCount
staticprivate

◆ myWaitingCount

int MSDevice_Tripinfo::myWaitingCount
private

The overall number of unintended stops.

Definition at line 204 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), and notifyMove().

◆ myWaitingDepartDelay

SUMOTime MSDevice_Tripinfo::myWaitingDepartDelay
staticprivate

Definition at line 243 of file MSDevice_Tripinfo.h.

Referenced by cleanup(), generateOutputForUnfinished(), and printStatistics().

◆ myWaitingTime

SUMOTime MSDevice_Tripinfo::myWaitingTime
private

The overall waiting time.

Definition at line 198 of file MSDevice_Tripinfo.h.

Referenced by generateOutput(), notifyMove(), and notifyMoveInternal().

◆ myWalkCount

int MSDevice_Tripinfo::myWalkCount
staticprivate

The documentation for this class was generated from the following files: