Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSTransportable Class Reference

#include <MSTransportable.h>

Inheritance diagram for MSTransportable:
[legend]
Collaboration diagram for MSTransportable:
[legend]

Public Types

typedef std::vector< MSStage * > MSTransportablePlan
 the structure holding the plan of a transportable
typedef long long int NumericalID

Public Member Functions

SUMOTime abortStage (SUMOTime step)
 Abort current stage (used for aborting waiting for a vehicle).
void addTo (const StoringVisitor &cont) const
 Adds this object to the given container.
void appendStage (MSStage *stage, int next=-1)
 Appends the given stage to the current plan.
virtual bool checkAccess (const MSStage *const prior, const bool waitAtStop=true)
virtual double getAngle () const override
 return the current angle of the transportable
const MSEdgegetArrivalEdge () const
 returns the final arrival edge
double getArrivalPos () const
 returns the final arrival pos
const MSLanegetBackLane () const override
 Returns the lane the where the rear of the object is currently at.
PositionVector getBoundingBox () const
 return the bounding box of the person
virtual double getChosenSpeedFactor () const override
 the current speed factor of the transportable (where applicable)
MSStagegetCurrentStage () const
 Return the current stage.
std::string getCurrentStageDescription () const
 Returns the current stage description as a string.
int getCurrentStageIndex () const
 Return the index of the current stage.
MSStageType getCurrentStageType () const
 the current stage type of the transportable
SUMOTime getDeparture () const
 logs depart time of the current stage
SUMOTime getDesiredDepart () const
 Returns the desired departure time.
const MSEdgegetDestination () const
 Returns the current destination.
MSDevicegetDevice (const std::type_info &type) const override
 Returns a device of the given type if it exists or nullptr if not.
const std::vector< MSTransportableDevice * > & getDevices () const
 Returns this vehicle's devices.
virtual int getDirection () const
 Return the movement directon on the edge.
const MSEdgegetEdge () const override
 Returns the current edge.
virtual double getEdgePos () const
 Return the position on the edge.
const MSEdgegetFromEdge () const
 Returns the departure edge.
const std::string & getID () const
 Returns the id.
const MSLanegetLane () const override
 Returns the current lane (may be nullptr).
const MSEdgegetNextDestination () const
 Returns the destination after the current destination.
virtual const MSEdgegetNextEdgePtr () const override
 returns the next edge ptr (used by walking persons)
MSStagegetNextStage (int offset) const
 Return the next (or previous) stage denoted by the offset.
int getNumRemainingStages () const
 Return the number of remaining stages (including the current).
int getNumStages () const
 Return the total number stages in this person's plan.
const SUMOVehicleParametergetParameter () const override
 Returns the vehicle's parameter (including departure definition).
virtual Position getPosition () const
 Return the Network coordinate of the transportable.
const MSEdgegetRerouteDestination () const override
 Returns the end point for reroutes (usually the last edge of the route).
SumoRNGgetRNG () const override
 returns the associated RNG
int getRNGIndex () const override
 returns the index of the associated RNG
int getRoutePosition () const override
 return the index of the edge within the route
virtual int getRoutingMode () const override
 return routing mode (configures router choice but also handling of transient permission changes)
MSVehicleTypegetSingularType ()
 Replaces the current vehicle type with a new one used by this vehicle only.
virtual double getSpeed () const override
 the current speed of the transportable
std::string getStageSummary (int stageIndex) const
 return textual summary for the given stage
MSStageType getStageType (int next) const
 the stage type for the nth next stage
const std::set< NumericalIDgetUpcomingEdgeIDs () const override
 returns the numerical IDs of edges to be used (possibly of future stages)
SUMOVehiclegetVehicle () const
 The vehicle associated with this transportable.
const MSVehicleTypegetVehicleType () const override
 Returns the object's "vehicle" type.
const SUMOVTypeParametergetVTypeParameter () const override
 Returns the object's "vehicle" type parameter.
virtual double getWaitingSeconds () const
 the time this transportable spent waiting in seconds
bool hasArrived () const override
 return whether the person has reached the end of its plan
bool hasDeparted () const
 return whether the transportable has started its plan
virtual bool hasInfluencer () const override
 whether the vehicle is individually influenced (via TraCI or special parameters)
virtual bool ignoreTransientPermissions () const
 Returns whether this object is ignoring transient permission changes (during routing).
virtual bool isSelected () const override
 whether this transportable is selected in the GUI
virtual bool isVehicle () const
 Whether it is a vehicle.
bool isWaiting4Vehicle () const
 Whether the transportable waits for a vehicle.
bool isWaitingFor (const SUMOVehicle *vehicle) const
 Whether the transportable waits for the given vehicle in the current step.
void loadState (const std::string &state)
 Reconstructs the current state.
 MSTransportable (const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportablePlan *plan, const bool isPerson)
 constructor
virtual bool proceed (MSNet *net, SUMOTime time, const bool vehicleArrived=false)
void removeStage (int next, bool stayInSim=true)
 removes the nth next stage
bool replaceRoute (ConstMSRoutePtr route, const std::string &info, bool onInit=false, int offset=0, bool addStops=true, bool removeStops=true, std::string *msgReturn=nullptr) override
 Replaces the current route by the given one.
void replaceVehicleType (const MSVehicleType *type) override
 Replaces the current vehicle type by the one given.
bool reroute (SUMOTime t, const std::string &info, MSTransportableRouter &router, const bool onInit=false, const bool withTaz=false, const bool silent=false, const MSEdge *sink=nullptr)
void rerouteParkingArea (MSStoppingPlace *orig, MSStoppingPlace *replacement)
 adapt plan when the vehicle reroutes and now stops at replacement instead of orig
void routeOutput (OutputDevice &os, const bool withRouteLength) const
 Called on writing vehroute output.
void saveState (OutputDevice &out)
 Saves the current state into the given stream.
void setAbortWaiting (const SUMOTime timeout)
void setDeparted (SUMOTime now)
 logs depart time of the current stage
void setID (const std::string &newID) override
 set the id (inherited from Named but forbidden for transportables)
void setJunctionModelParameter (const std::string &key, const std::string &value)
 set individual junction model paramete (not type related)
void setSpeed (double speed)
 set the speed for all present and future (walking) stages and modify the vType so that stages added later are also affected
void tripInfoOutput (OutputDevice &os) const
 Called on writing tripinfo output.
virtual ~MSTransportable ()
 destructor
inherited from SUMOTrafficObject
bool isPerson () const override
 Whether it is a person.
bool isContainer () const override
 Whether it is a container.
std::string getObjectType ()
NumericalID getNumericalID () const override
 return the numerical ID which is only for internal usage
bool isStopped () const override
 Returns whether the object is at a stop.
double getSlope () const override
 Returns the slope of the road at object's position in degrees.
SUMOVehicleClass getVClass () const override
 Returns the object's access class.
virtual bool isJammed () const
 whether the transportable (persons) is jammed as defined by the current pedestrian model
double getMaxSpeed () const override
 Returns the maximum speed (the minimum of desired and physical maximum speed).
SUMOTime getWaitingTime (const bool accumulated=false) const override
double getPreviousSpeed () const override
 Returns the object's previous speed.
double getAcceleration () const override
 Returns the object's acceleration.
double getPositionOnLane () const override
 Get the object's position along the lane.
double getBackPositionOnLane (const MSLane *lane) const override
 Get the object's back position along the given lane.
Position getPosition (const double) const override
 Return current position (x/y, cartesian).
Helper methods for parsing parameters from the object itself, it's type or the global OptionsCont
std::string getStringParam (const std::string &paramName, const bool required=false, const std::string &deflt="") const
 Retrieve a string parameter for the traffic object.
double getFloatParam (const std::string &paramName, const bool required=false, const double deflt=INVALID_DOUBLE, bool checkDist=true) const
 Retrieve a floating point parameter for the traffic object.
bool getBoolParam (const std::string &paramName, const bool required=false, const bool deflt=false) const
 Retrieve a boolean parameter for the traffic object.
SUMOTime getTimeParam (const std::string &paramName, const bool required=false, const SUMOTime deflt=SUMOTime_MIN) const
 Retrieve a time parameter for the traffic object.

Static Public Member Functions

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

Protected Attributes

std::vector< MSTransportableDevice * > myDevices
 The devices this transportable has.
std::string myID
 The name of the object.
const SUMOVehicleParametermyParameter
 the plan of the transportable
MSTransportablePlanmyPlan
 the plan of the transportable
MSTransportablePlan::iterator myStep
 the iterator over the route
const MSVehicleTypemyVType
 This transportable's type. (mainly used for drawing related information Note sure if it is really necessary.
bool myWriteEvents
 Whether events shall be written.

Private Member Functions

 MSTransportable (const MSTransportable &)
 Invalidated copy constructor.
MSTransportableoperator= (const MSTransportable &)
 Invalidated assignment operator.

Private Attributes

WrappingCommand< MSTransportable > * myAbortCommand
const bool myAmPerson
const NumericalID myNumericalID

Static Private Attributes

static NumericalID myCurrentNumericalIndex = 0

Detailed Description

The class holds a simulated moveable object

Definition at line 59 of file MSTransportable.h.

Member Typedef Documentation

◆ MSTransportablePlan

the structure holding the plan of a transportable

Definition at line 119 of file MSTransportable.h.

◆ NumericalID

typedef long long int SUMOTrafficObject::NumericalID
inherited

Definition at line 56 of file SUMOTrafficObject.h.

Constructor & Destructor Documentation

◆ MSTransportable() [1/2]

MSTransportable::MSTransportable ( const SUMOVehicleParameter * pars,
MSVehicleType * vtype,
MSTransportablePlan * plan,
const bool isPerson )

◆ ~MSTransportable()

◆ MSTransportable() [2/2]

MSTransportable::MSTransportable ( const MSTransportable & )
private

Invalidated copy constructor.

References MSTransportable().

Member Function Documentation

◆ abortStage()

SUMOTime MSTransportable::abortStage ( SUMOTime step)

Abort current stage (used for aborting waiting for a vehicle).

Definition at line 300 of file MSTransportable.cpp.

References MSTransportableControl::erase(), MSNet::getContainerControl(), Named::getID(), MSNet::getInstance(), MSNet::getPersonControl(), isPerson(), proceed(), MSTransportableControl::registerTeleportAbortWait(), time2string(), TL, and WRITE_WARNINGF.

Referenced by setAbortWaiting().

Here is the caller graph for this function:

◆ 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 118 of file Named.h.

References Named::StoringVisitor::add().

◆ appendStage()

void MSTransportable::appendStage ( MSStage * stage,
int next = -1 )

◆ checkAccess()

virtual bool MSTransportable::checkAccess ( const MSStage *const prior,
const bool waitAtStop = true )
inlinevirtual

Reimplemented in MSPerson.

Definition at line 131 of file MSTransportable.h.

References UNUSED_PARAMETER.

Referenced by proceed().

Here is the caller graph for this function:

◆ getAcceleration()

double MSTransportable::getAcceleration ( ) const
inlineoverridevirtual

Returns the object's acceleration.

Returns
The acceleration

Implements SUMOTrafficObject.

Definition at line 103 of file MSTransportable.h.

◆ getAngle()

double MSTransportable::getAngle ( ) const
overridevirtual

return the current angle of the transportable

Implements SUMOTrafficObject.

Reimplemented in GUIContainer.

Definition at line 197 of file MSTransportable.cpp.

References MSNet::getInstance().

Referenced by GUIContainer::getAngle(), getBoundingBox(), MSLink::getFuturePosition(), GUIPerson::getGUIAngle(), GUIPerson::getNaviDegree(), MSLink::isOnComingPed(), LIBSUMO_NAMESPACE::Person::moveToXY(), GUIPerson::setFunctionalColor(), MSFullExport::writePersons(), MSFCDExport::writeTransportable(), and MSXMLRawOut::writeTransportable().

Here is the caller graph for this function:

◆ getArrivalEdge()

const MSEdge * MSTransportable::getArrivalEdge ( ) const
inline

returns the final arrival edge

Definition at line 331 of file MSTransportable.h.

References myPlan.

Referenced by LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), and getRerouteDestination().

Here is the caller graph for this function:

◆ getArrivalPos()

double MSTransportable::getArrivalPos ( ) const
inline

returns the final arrival pos

Definition at line 326 of file MSTransportable.h.

References myPlan.

Referenced by LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSPerson::checkAccess(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), and GUIContainer::getParameterWindow().

Here is the caller graph for this function:

◆ getBackLane()

const MSLane * MSTransportable::getBackLane ( ) const
inlineoverridevirtual

Returns the lane the where the rear of the object is currently at.

Returns
The current back lane or nullptr if the object is not on a lane

Implements SUMOTrafficObject.

Definition at line 190 of file MSTransportable.h.

References getLane().

◆ getBackPositionOnLane()

double MSTransportable::getBackPositionOnLane ( const MSLane * lane) const
overridevirtual

Get the object's back position along the given lane.

Returns
The position of the object (in m from the given lane's begin)

Implements SUMOTrafficObject.

Definition at line 182 of file MSTransportable.cpp.

References getEdgePos(), MSVehicleType::getLength(), and getVehicleType().

◆ getBoolParam()

bool SUMOTrafficObject::getBoolParam ( const std::string & paramName,
const bool required = false,
const bool deflt = false ) const
inherited

Retrieve a boolean parameter for the traffic object.

Parameters
paramNamethe parameter name
requiredwhether it is an error if the parameter is not set
defltthe default value to take if the parameter is not set (the default in the OptionsCont takes precedence)
Returns
the bool value

Definition at line 85 of file SUMOTrafficObject.cpp.

References Named::getID(), getStringParam(), isPerson(), isVehicle(), TL, StringUtils::toBool(), toString(), and WRITE_ERRORF.

Referenced by MSDevice_GLOSA::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), and MSTransportableControl::erase().

Here is the caller graph for this function:

◆ getBoundingBox()

PositionVector MSTransportable::getBoundingBox ( ) const

return the bounding box of the person

Definition at line 467 of file MSTransportable.cpp.

References getAngle(), MSVehicleType::getLength(), getPosition(), getVehicleType(), PositionVector::move2side(), and PositionVector::reverse().

◆ getChosenSpeedFactor()

virtual double MSTransportable::getChosenSpeedFactor ( ) const
inlineoverridevirtual

the current speed factor of the transportable (where applicable)

Implements SUMOTrafficObject.

Reimplemented in MSPerson.

Definition at line 218 of file MSTransportable.h.

Referenced by getMaxSpeed(), GUIContainer::getParameterWindow(), saveState(), and tripInfoOutput().

Here is the caller graph for this function:

◆ getCurrentStage()

◆ getCurrentStageDescription()

std::string MSTransportable::getCurrentStageDescription ( ) const
inline

Returns the current stage description as a string.

Definition at line 238 of file MSTransportable.h.

References myAmPerson.

Referenced by GUIContainer::getParameterWindow(), GUIPerson::getParameterWindow(), LIBSUMO_NAMESPACE::Person::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSXMLRawOut::writeTransportable().

Here is the caller graph for this function:

◆ getCurrentStageIndex()

int MSTransportable::getCurrentStageIndex ( ) const
inline

Return the index of the current stage.

Definition at line 268 of file MSTransportable.h.

References myPlan, and myStep.

Referenced by MSPModel_JuPedSim::add(), GUIContainer::getParameterWindow(), GUIPerson::getStageIndexDescription(), MSStageDriving::proceed(), and MSStageTrip::setArrived().

Here is the caller graph for this function:

◆ getCurrentStageType()

◆ getDeparture()

SUMOTime MSTransportable::getDeparture ( ) const

logs depart time of the current stage

Definition at line 166 of file MSTransportable.cpp.

References myPlan.

Referenced by MSTransportableControl::erase().

Here is the caller graph for this function:

◆ getDesiredDepart()

SUMOTime MSTransportable::getDesiredDepart ( ) const

Returns the desired departure time.

Definition at line 156 of file MSTransportable.cpp.

References myParameter.

◆ getDestination()

const MSEdge * MSTransportable::getDestination ( ) const
inline

Returns the current destination.

Definition at line 171 of file MSTransportable.h.

Referenced by MSStageDriving::canLeaveVehicle(), MSPerson::checkAccess(), GUIPerson::getDestinationEdgeID(), GUIContainer::getParameterWindow(), MSPerson::MSPersonStage_Access::getStageSummary(), MSDevice_Transportable::notifyLeave(), and rerouteParkingArea().

Here is the caller graph for this function:

◆ getDevice()

MSDevice * MSTransportable::getDevice ( const std::type_info & type) const
overridevirtual

Returns a device of the given type if it exists or nullptr if not.

Implements SUMOTrafficObject.

Definition at line 600 of file MSTransportable.cpp.

References myDevices.

Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSFCDExport::hasOwnOutput(), and MSDevice_FCDReplay::FCDHandler::updateTrafficObjects().

Here is the caller graph for this function:

◆ getDevices()

const std::vector< MSTransportableDevice * > & MSTransportable::getDevices ( ) const
inline

Returns this vehicle's devices.

Returns
This vehicle's devices

Definition at line 388 of file MSTransportable.h.

References myDevices.

◆ getDirection()

int MSTransportable::getDirection ( ) const
virtual

Return the movement directon on the edge.

Reimplemented in GUIContainer, and GUIPerson.

Definition at line 187 of file MSTransportable.cpp.

Referenced by MSE3Collector::enter(), GUIContainer::getDirection(), GUIPerson::getDirection(), MSE3Collector::leave(), and MSE3Collector::MSE3EntryReminder::notifyMove().

Here is the caller graph for this function:

◆ getEdge()

◆ getEdgePos()

◆ getFloatParam()

double SUMOTrafficObject::getFloatParam ( const std::string & paramName,
const bool required = false,
const double deflt = INVALID_DOUBLE,
bool checkDist = true ) const
inherited

Retrieve a floating point parameter for the traffic object.

Parameters
paramNamethe parameter name
requiredwhether it is an error if the parameter is not set
defltthe default value to take if the parameter is not set (the default in the OptionsCont takes precedence)
checkDistwhether the given value may be a distribution definition
Returns
the float value

Definition at line 58 of file SUMOTrafficObject.cpp.

References Named::getID(), getStringParam(), isPerson(), Distribution_Parameterized::isValid(), isVehicle(), Distribution_Parameterized::sample(), TL, StringUtils::toDouble(), toString(), and WRITE_ERRORF.

Referenced by MSDevice_Bluelight::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSPModel_JuPedSim::execute(), MSDevice_ToC::getDynamicMRMProbability(), MSDevice_ToC::getOpenGapParams(), MSPerson::MSPerson(), MSTriggeredRerouter::overtakingTrain(), MSDevice_Battery::readParameterValue(), and MSBaseVehicle::reroute().

Here is the caller graph for this function:

◆ getFromEdge()

const MSEdge * MSTransportable::getFromEdge ( ) const
inline

Returns the departure edge.

Definition at line 195 of file MSTransportable.h.

Referenced by GUIPerson::getFromEdgeID(), GUIContainer::getParameterWindow(), and removeStage().

Here is the caller graph for this function:

◆ getID()

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

Returns the id.

Returns
The stored id

Definition at line 74 of file Named.h.

References myID.

Referenced by MSDriveWay::_saveState(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSCFModel_EIDM::_v(), MSCFModel_IDM::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSTransportableControl::abortAnyWaitingForVehicle(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), AccessEdge< E, L, N, V >::AccessEdge(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSDetectorControl::add(), MSDetectorControl::add(), MSDetectorControl::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), ShapeContainer::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), MSTractionSubstation::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSDriveWay::addParallelFoes(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSDriveWay::addReversalFoes(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), MSDriveWay::addSidings(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSBaseVehicle::addStop(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSPModel_JuPedSim::addWaitingSet(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), MSPModel_Interacting::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), NIVisumTL::build(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), MSTransportableDevice_Routing::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSDriveWay::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSDriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDriveWay::buildSubFoe(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSDevice_Taxi::cancelCustomer(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSDriveWay::canUseSiding(), CarEdge< E, L, N, V >::CarEdge(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSCFModel_CC::changeWholePlatoonLane(), MSTLLogicControl::check2Switch(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSDriveWay::checkCrossingFlanks(), MSLane::checkFailure(), MSDriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSRoute::checkRemoval(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSTriggeredRerouter::checkStopSwitch(), MSLCM_SL2015::checkStrategicChange(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), NLHandler::closeEdge(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), MSVehicle::computeFurtherLanes(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBRampsComputer::computeRamps(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSDriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::correctConflicting(), NBOwnTLDef::corridorLike(), MSSOTLE2Sensors::countVehicles(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSPrograms::createTLS(), GUINet::createTLWrapper(), NBNodeCont::customTLID(), libsumo::Helper::debugPrint(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSEdge::dictionaryHint(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUILane::drawGL(), MSDevice_SSM::Encounter::Encounter(), MSE3Collector::enter(), MSParkingArea::enter(), NEMAPhase::enter(), MSDriveWay::enterDriveWay(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), MSStoppingPlaceRerouter::evaluateDestination(), Command_RouteReplacement::execute(), Command_SaveTLSSwitches::execute(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSPModel_JuPedSim::execute(), MSPModel_Striping::MovePedestrians::execute(), MSVTypeProbe::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignalControl::findDeadlockFoes(), MSDriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSStopOut::generateOutputForUnfinished(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), LIBSUMO_NAMESPACE::Edge::getBidiEdge(), LIBSUMO_NAMESPACE::Lane::getBidiLane(), SUMOTrafficObject::getBoolParam(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDriveWay::getClickableTLLinkID(), LIBSUMO_NAMESPACE::Simulation::getCollisions(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), MSDriveWay::getDepartureDriveway(), MSLink::getDescription(), MSRailSignalConstraint_Predecessor::getDescription(), NBTrafficLightDefinition::getDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSRailSignal::LinkInfo::getDriveWay(), GUIVehicle::getDriveWays(), MSSimpleTrafficLightLogic::getEarliest(), GUIMEVehicle::getEdgeID(), GUIPerson::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSMeanData::getEdgeID(), MSDevice_SSM::getExtraTime(), MSLane::getFirstVehicleInformation(), SUMOTrafficObject::getFloatParam(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSDriveWay::getJunctionLinkID(), GUIPerson::getLaneID(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), NEMALogic::getLaneInfoFromNEMAState(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), MSDevice_SSM::getMDRAC_PRT(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSRailSignal::getNewDrivewayID(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSDevice_SSM::getOutputFilename(), MSOverheadWire::getOverheadWireSegmentName(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), MSBaseVehicle::getPrefixedParameter(), MSCFModel_CC::getRadarMeasurements(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), LIBSUMO_NAMESPACE::Vehicle::getRoadID(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::Vehicle::getRouteID(), LIBSUMO_NAMESPACE::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Access::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), SUMOTrafficObject::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), SUMOTrafficObject::getTimeParam(), MSDriveWay::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSStageTrip::getVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSEdge::getWaitingVehicle(), MSStoppingPlaceRerouter::getWeight(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSDriveWay::hasJoin(), MSDriveWay::hasLinkConflict(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSRailSignalControl::haveDeadlock(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_RandomCircling::idle(), MSIdling_Stop::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), NBNode::indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeader(), MSActuatedTrafficLightLogic::init(), MSCalibrator::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSMeanData::init(), MSRailSignal::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSPModel_JuPedSim::initialize(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSEdge::insertVehicle(), MSLane::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSLane::integrateNewVehicles(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::isLeader(), MESegment::isOpen(), MSCFModel_CC::isPlatoonLaneChangeSafe(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSVehicle::leaveLaneBack(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MEVehicle::loadState(), MSActuatedTrafficLightLogic::loadState(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSDriveWay::match(), MEVehicle::mayProceed(), MSMeanData::MeanDataValues::MeanDataValues(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSTransportableDevice_FCDReplay::move(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Emissions::MSDevice_Emissions(), MSDevice_StationFinder::MSDevice_StationFinder(), MSDevice_ToC::MSDevice_ToC(), MSDevice_Transportable::MSDevice_Transportable(), MSE2Collector::MSE2Collector(), MSE3Collector::MSE3EntryReminder::MSE3EntryReminder(), MSE3Collector::MSE3LeaveReminder::MSE3LeaveReminder(), MSParkingArea::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), NBLoadedTLDef::myCompute(), MSCalibrator::myStartElement(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), GUIE2Collector::MyWrapper::MyWrapper(), GUIE3Collector::MyWrapper::MyWrapper(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIMEInductLoop::MyWrapper::MyWrapper(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), MSPModel_Interacting::nextBlocking(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_ElecHybrid::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSDriveWay::notifyEnter(), MSE2Collector::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDriveWay::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_StationFinder::notifyMove(), MSE2Collector::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSDriveWay::notifyReroute(), GNETLSEditorFrame::TLSPrograms::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), MSEdge::transportable_by_position_sorter::operator()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSBaseVehicle::optimizeSkipped(), MSLaneChangerSublane::outputLCStarted(), MSTriggeredRerouter::overtakingTrain(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_stopPoints(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), PedestrianEdge< E, L, N, V >::PedestrianEdge(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSDevice_StationFinder::planOpportunisticCharging(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSDevice_Taxi::prepareStop(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), PublicTransportEdge< E, L, N, V >::PublicTransportEdge(), MSDevice_Battery::readParameterValue(), MSOffTrafficLightLogic::rebuildPhase(), NBEdgeCont::recheckPostProcessConnections(), NBLoadedSUMOTLDef::reconstructLogic(), MSNet::registerCollision(), MSPModel_Striping::registerCrossingApproach(), MSLink::removeApproaching(), MSLink::removeApproachingPerson(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::removeUnwishedNodes(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), MSPerson::replaceWalk(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), MSDevice_SSM::requestsTrajectories(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), MSStageTrip::reroute(), GUIVehicle::rerouteDRTStop(), MSTransportable::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSDevice_StationFinder::rerouteToChargingStation(), MSDriveWay::reserve(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROVehicle::saveAsXML(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Battery::saveState(), MSDevice_Routing::saveState(), MSDevice_StationFinder::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSLane::saveState(), MSSimpleTrafficLightLogic::saveState(), MSTransportable::saveState(), MSTransportableDevice_Routing::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), NBNodeCont::setAsTLControlled(), GNEJunction::setAttribute(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), MSDevice_Battery::setMaximumChargeRate(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSActuatedTrafficLightLogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSLane::setPartialOccupation(), libsumo::Helper::setRemoteControlled(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingThreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSDispatch_TraCI::splitReservation(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSRailSignal::storeTraCIVehicles(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNETLSEditorFrame::TLSPrograms::switchProgram(), MSDevice_StationFinder::teleportToChargingStation(), MELoop::teleportVehicle(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSPerson::MSPersonStage_Access::tripInfoOutput(), MSTransportable::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSActuatedTrafficLightLogic::trySwitch(), MSSOTLTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSPModel_Interacting::unregisterCrossingApproach(), MSDevice_SSM::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), MSRailSignal::updateCurrentPhase(), MSVehicle::updateDriveItems(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSDispatch::updateReservationFromPos(), MSSwarmTrafficLightLogic::updateSensitivities(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), MSInductLoop::VehicleData::VehicleData(), MSE2Collector::VehicleInfo::VehicleInfo(), MSCalibrator::VehicleRemover::VehicleRemover(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSBatteryExport::write(), MSElecHybridExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSDriveWay::writeBlocks(), MSRailSignal::writeBlocks(), MSDriveWay::writeDepatureBlocks(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSMeanData::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), MSEmissionExport::writeEmissions(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), MSTractionSubstation::writeOut(), MSNet::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSFullExport::writePersons(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSAmitranTrajectories::writeVehicle(), MSXMLRawOut::writeVehicle(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMOPolygon::writeXML(), MSCalibrator::writeXMLOutput(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().

◆ getIDSecure()

template<class T>
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 67 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSDriveWay::addSidings(), MSLaneChanger::avoidDeadlock(), NLEdgeControlBuilder::build(), MSDriveWay::canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSTriggeredRerouter::checkStopSwitch(), AFRouter< E, N, V, M >::compute(), AStarRouter< _IntermodalEdge, _IntermodalTrip, _MapMatcher >::compute(), DijkstraRouter< _IntermodalEdge, _IntermodalTrip >::compute(), AFBuild< E, N, V, M >::computeArcFlagsAux(), AFCentralizedSPTree< E, N, V >::computeCentralizedSPTree(), NBNode::computeLanes2Lanes(), NBOwnTLDef::computeLogicAndConts(), Node2EdgeRouter< E, N, V, M >::computeNode2Edge(), Node2EdgeRouter< E, N, V, M >::computeNode2Edges(), MSDriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), NBPTLineCont::findWay(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSDriveWay::hasLinkConflict(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSDriveWay::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), NBConnection::operator<<, MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSCriticalFollowerDistanceInfo::toString(), MSLeaderDistanceInfo::toString(), MSLeaderInfo::toString(), toString(), toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().

◆ getLane()

const MSLane * MSTransportable::getLane ( ) const
inlineoverridevirtual

Returns the current lane (may be nullptr).

Implements SUMOTrafficObject.

Definition at line 186 of file MSTransportable.h.

Referenced by getBackLane(), GUIPerson::getLaneID(), and LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount().

Here is the caller graph for this function:

◆ getMaxSpeed()

double MSTransportable::getMaxSpeed ( ) const
overridevirtual

Returns the maximum speed (the minimum of desired and physical maximum speed).

Returns
The objects's maximum speed

Implements SUMOTrafficObject.

Definition at line 638 of file MSTransportable.cpp.

References getChosenSpeedFactor(), getMaxSpeed(), getVehicleType(), and MIN2().

Referenced by MSPModel_JuPedSim::add(), MSLink::checkWalkingAreaFoe(), MSPModel_JuPedSim::execute(), MSLink::getFuturePosition(), MSStageWalking::getMaxSpeed(), getMaxSpeed(), LIBSUMO_NAMESPACE::Person::getWalkingDistance(), MSPerson::MSPersonStage_Access::proceed(), MSStageTrip::reroute(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), and MSPModel_JuPedSim::tryPedestrianInsertion().

Here is the caller graph for this function:

◆ getNextDestination()

const MSEdge * MSTransportable::getNextDestination ( ) const
inline

Returns the destination after the current destination.

Definition at line 176 of file MSTransportable.h.

References myStep.

◆ getNextEdgePtr()

virtual const MSEdge * MSTransportable::getNextEdgePtr ( ) const
inlineoverridevirtual

returns the next edge ptr (used by walking persons)

Implements SUMOTrafficObject.

Reimplemented in MSPerson.

Definition at line 278 of file MSTransportable.h.

◆ getNextStage()

MSStage * MSTransportable::getNextStage ( int offset) const
inline

◆ getNumericalID()

NumericalID MSTransportable::getNumericalID ( ) const
inlineoverridevirtual

return the numerical ID which is only for internal usage

Implements SUMOTrafficObject.

Definition at line 75 of file MSTransportable.h.

References myNumericalID.

◆ getNumRemainingStages()

int MSTransportable::getNumRemainingStages ( ) const
inline

◆ getNumStages()

int MSTransportable::getNumStages ( ) const
inline

Return the total number stages in this person's plan.

Definition at line 258 of file MSTransportable.h.

References myPlan.

Referenced by LIBSUMO_NAMESPACE::Person::getEdges(), GUIContainer::getParameterWindow(), LIBSUMO_NAMESPACE::Person::getStage(), GUIPerson::getStageIndexDescription(), GUIContainer::GUIContainerPopupMenu::onCmdShowPlan(), and GUIPerson::GUIPersonPopupMenu::onCmdShowPlan().

Here is the caller graph for this function:

◆ getObjectType()

std::string MSTransportable::getObjectType ( )
inline

Definition at line 71 of file MSTransportable.h.

References myAmPerson.

Referenced by MSTransportableControl::abortAnyWaitingForVehicle(), and setJunctionModelParameter().

Here is the caller graph for this function:

◆ getParameter()

◆ getPosition() [1/2]

Position MSTransportable::getPosition ( ) const
virtual

Return the Network coordinate of the transportable.

Reimplemented in GUIContainer, and GUIPerson.

Definition at line 192 of file MSTransportable.cpp.

References MSNet::getInstance().

Referenced by getBoundingBox(), GUIPerson::getGUIPosition(), GUIContainer::getPosition(), GUIPerson::getPosition(), and getPosition().

Here is the caller graph for this function:

◆ getPosition() [2/2]

Position MSTransportable::getPosition ( const double offset) const
inlineoverridevirtual

Return current position (x/y, cartesian).

If the object is not in the net, Position::INVALID.

Parameters
[in]offsetoptional offset in longitudinal direction
Returns
The current position (in cartesian coordinates)
See also
myLane

Implements SUMOTrafficObject.

Definition at line 113 of file MSTransportable.h.

References getPosition().

Referenced by MSStageWalking::activateEntryReminders(), MSLink::checkWalkingAreaFoe(), MSLink::getFuturePosition(), MSLink::isOnComingPed(), MSPModel_Striping::PState::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSFullExport::writePersons(), and MSFCDExport::writeTransportable().

Here is the caller graph for this function:

◆ getPositionOnLane()

double MSTransportable::getPositionOnLane ( ) const
inlineoverridevirtual

Get the object's position along the lane.

Returns
The position of the object (in m from the lane's begin)

Implements SUMOTrafficObject.

Definition at line 107 of file MSTransportable.h.

References getEdgePos().

Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSStageWalking::moveToNextEdge(), and replaceRoute().

Here is the caller graph for this function:

◆ getPreviousSpeed()

double MSTransportable::getPreviousSpeed ( ) const
inlineoverridevirtual

Returns the object's previous speed.

Returns
The object's previous speed

Implements SUMOTrafficObject.

Definition at line 99 of file MSTransportable.h.

References getSpeed().

◆ getRerouteDestination()

const MSEdge * MSTransportable::getRerouteDestination ( ) const
inlineoverridevirtual

Returns the end point for reroutes (usually the last edge of the route).

Returns
The rerouting end point

Implements SUMOTrafficObject.

Definition at line 339 of file MSTransportable.h.

References getArrivalEdge().

Referenced by reroute().

Here is the caller graph for this function:

◆ getRNG()

SumoRNG * MSTransportable::getRNG ( ) const
overridevirtual

returns the associated RNG

Implements SUMOTrafficObject.

Definition at line 91 of file MSTransportable.cpp.

References getEdge(), and MSEdge::getLanes().

◆ getRNGIndex()

int MSTransportable::getRNGIndex ( ) const
overridevirtual

returns the index of the associated RNG

Implements SUMOTrafficObject.

Definition at line 96 of file MSTransportable.cpp.

References getEdge(), and MSEdge::getLanes().

Referenced by MSRoutingEngine::reroute().

Here is the caller graph for this function:

◆ getRoutePosition()

int MSTransportable::getRoutePosition ( ) const
inlineoverridevirtual

return the index of the edge within the route

Implements SUMOTrafficObject.

Definition at line 273 of file MSTransportable.h.

Referenced by MSDetectorFileOutput::vehicleApplies().

Here is the caller graph for this function:

◆ getRoutingMode()

int MSTransportable::getRoutingMode ( ) const
overridevirtual

return routing mode (configures router choice but also handling of transient permission changes)

Todo
: allow configuring routing mode

Implements SUMOTrafficObject.

Definition at line 650 of file MSTransportable.cpp.

References libsumo::ROUTING_MODE_DEFAULT.

◆ getSingularType()

MSVehicleType & MSTransportable::getSingularType ( )

Replaces the current vehicle type with a new one used by this vehicle only.

If the currently used vehicle type is already marked as being used by this vehicle only, no new type is created.

Returns
The new modifiable vehicle type
See also
MSTransportable::myVType

Definition at line 456 of file MSTransportable.cpp.

References Named::getID(), myVType, and replaceVehicleType().

Referenced by TraCIServerAPI_Person::processSet(), setSpeed(), and MSDevice_FCDReplay::FCDHandler::updateTrafficObjects().

Here is the caller graph for this function:

◆ getSlope()

double MSTransportable::getSlope ( ) const
overridevirtual

Returns the slope of the road at object's position in degrees.

Returns
The slope

Implements SUMOTrafficObject.

Definition at line 623 of file MSTransportable.cpp.

References getEdge(), getEdgePos(), and MSEdge::getLanes().

◆ getSpeed()

double MSTransportable::getSpeed ( ) const
overridevirtual

the current speed of the transportable

Implements SUMOTrafficObject.

Reimplemented in GUIContainer, and GUIPerson.

Definition at line 207 of file MSTransportable.cpp.

Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSPModel_JuPedSim::execute(), getPreviousSpeed(), GUIContainer::getSpeed(), GUIPerson::getSpeed(), MSE2Collector::notifyMovePerson(), MSE3Collector::notifyMovePerson(), MSInductLoop::notifyMovePerson(), MSFullExport::writePersons(), and MSFCDExport::writeTransportable().

Here is the caller graph for this function:

◆ getStageSummary()

std::string MSTransportable::getStageSummary ( int stageIndex) const

return textual summary for the given stage

Definition at line 485 of file MSTransportable.cpp.

References myAmPerson, and myPlan.

Referenced by GUIContainer::GUIContainerPopupMenu::onCmdShowPlan(), and GUIPerson::GUIPersonPopupMenu::onCmdShowPlan().

Here is the caller graph for this function:

◆ getStageType()

MSStageType MSTransportable::getStageType ( int next) const
inline

the stage type for the nth next stage

Definition at line 228 of file MSTransportable.h.

References myPlan, and myStep.

Referenced by GUIPerson::getStopDuration(), LIBSUMO_NAMESPACE::Person::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPerson::Influencer::postProcessRemoteControl(), and LIBSUMO_NAMESPACE::Person::rerouteTraveltime().

Here is the caller graph for this function:

◆ getStringParam()

std::string SUMOTrafficObject::getStringParam ( const std::string & paramName,
const bool required = false,
const std::string & deflt = "" ) const
inherited

Retrieve a string parameter for the traffic object.

Parameters
paramNamethe parameter name
requiredwhether it is an error if the parameter is not set
defltthe default value to take if the parameter is not set (the default in the OptionsCont takes precedence)
Returns
the string value

Definition at line 33 of file SUMOTrafficObject.cpp.

References OptionsCont::exists(), Named::getID(), OptionsCont::getOptions(), Parameterised::getParameter(), getParameter(), OptionsCont::getValueString(), getVTypeParameter(), isPerson(), OptionsCont::isSet(), isVehicle(), and TLF.

Referenced by MSDevice_Battery::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), getBoolParam(), getFloatParam(), getTimeParam(), MSBaseVehicle::initTransientModelParams(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_Transportable::MSDevice_Transportable(), and MSTransportableDevice_Routing::MSTransportableDevice_Routing().

Here is the caller graph for this function:

◆ getTimeParam()

SUMOTime SUMOTrafficObject::getTimeParam ( const std::string & paramName,
const bool required = false,
const SUMOTime deflt = SUMOTime_MIN ) const
inherited

Retrieve a time parameter for the traffic object.

Parameters
paramNamethe parameter name
requiredwhether it is an error if the parameter is not set
defltthe default value to take if the parameter is not set (the default in the OptionsCont takes precedence)
Returns
the time value

Definition at line 98 of file SUMOTrafficObject.cpp.

References Named::getID(), getStringParam(), isPerson(), isVehicle(), string2time(), time2string(), TL, and WRITE_ERRORF.

Referenced by MSTransportableDevice_Routing::buildDevices(), and MSDevice_Routing::buildVehicleDevices().

Here is the caller graph for this function:

◆ getUpcomingEdgeIDs()

const std::set< SUMOTrafficObject::NumericalID > MSTransportable::getUpcomingEdgeIDs ( ) const
overridevirtual

returns the numerical IDs of edges to be used (possibly of future stages)

Implements SUMOTrafficObject.

Definition at line 493 of file MSTransportable.cpp.

References myPlan, and myStep.

◆ getVClass()

SUMOVehicleClass MSTransportable::getVClass ( ) const
overridevirtual

Returns the object's access class.

Returns
The object's access class

Implements SUMOTrafficObject.

Definition at line 644 of file MSTransportable.cpp.

References MSVehicleType::getVehicleClass(), and getVehicleType().

Referenced by MSPModel_Striping::add(), MSPModel_JuPedSim::execute(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSPModel_Striping::PState::moveToXY().

Here is the caller graph for this function:

◆ getVehicle()

SUMOVehicle * MSTransportable::getVehicle ( ) const
inline

The vehicle associated with this transportable.

Definition at line 312 of file MSTransportable.h.

Referenced by MSTransportableDevice_FCDReplay::move(), MSDetectorFileOutput::personApplies(), reroute(), and MSFullExport::writePersons().

Here is the caller graph for this function:

◆ getVehicleType()

const MSVehicleType & MSTransportable::getVehicleType ( ) const
inlineoverridevirtual

Returns the object's "vehicle" type.

Returns
The vehicle's type

Implements SUMOTrafficObject.

Definition at line 144 of file MSTransportable.h.

References myVType.

Referenced by MSPModel_JuPedSim::add(), MSBaseVehicle::addTransportable(), MSPerson::checkAccess(), MSLink::checkWalkingAreaFoe(), GUIContainer::drawAction_drawAsImage(), GUIContainer::drawAction_drawAsPoly(), GUIPerson::drawGL(), MSPModel_JuPedSim::execute(), getBackPositionOnLane(), getBoundingBox(), GUIPerson::getCenteringBoundary(), MSPerson::getImpatience(), getMaxSpeed(), MSPModel_Striping::getNextLaneObstacles(), GUIContainer::getScaleVisual(), GUIPerson::getScaleVisual(), getVClass(), MSPModel_Striping::getVehicleObstacles(), LIBSUMO_NAMESPACE::Person::getWalkingDistance2D(), MSLane::handleIntermodalCollisionBetween(), MSTransportableControl::loadAnyWaiting(), LIBSUMO_NAMESPACE::Person::moveTo(), MSStageWalking::moveToNextEdge(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPModel_Striping::PState::moveToXY(), MSDevice_Transportable::notifyMove(), MSE2Collector::notifyMovePerson(), MSE3Collector::notifyMovePerson(), MSInductLoop::notifyMovePerson(), MSBaseVehicle::removeTransportable(), MSBaseVehicle::removeTransportableMass(), routeOutput(), saveState(), GUIContainer::setFunctionalColor(), GUIPerson::setFunctionalColor(), tripInfoOutput(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSFullExport::writePersons(), and MSFCDExport::writeTransportable().

Here is the caller graph for this function:

◆ getVTypeParameter()

const SUMOVTypeParameter & MSTransportable::getVTypeParameter ( ) const
inlineoverridevirtual

Returns the object's "vehicle" type parameter.

Returns
The object's type parameter

Implements SUMOTrafficObject.

Definition at line 151 of file MSTransportable.h.

References myVType.

Referenced by MSPModel_JuPedSim::add(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Person::getWalkingDistance(), MSPModel_Striping::PState::PState(), MSStageTrip::reroute(), and LIBSUMO_NAMESPACE::Person::rerouteTraveltime().

Here is the caller graph for this function:

◆ getWaitingSeconds()

double MSTransportable::getWaitingSeconds ( ) const
virtual

the time this transportable spent waiting in seconds

Reimplemented in GUIContainer, and GUIPerson.

Definition at line 202 of file MSTransportable.cpp.

References STEPS2TIME.

Referenced by GUIContainer::getWaitingSeconds(), GUIPerson::getWaitingSeconds(), and MSPedestrianPushButton::isActiveForEdge().

Here is the caller graph for this function:

◆ getWaitingTime()

SUMOTime MSTransportable::getWaitingTime ( const bool accumulated = false) const
overridevirtual

Implements SUMOTrafficObject.

Definition at line 632 of file MSTransportable.cpp.

◆ hasArrived()

bool MSTransportable::hasArrived ( ) const
overridevirtual

◆ hasDeparted()

bool MSTransportable::hasDeparted ( ) const

return whether the transportable has started its plan

Definition at line 510 of file MSTransportable.cpp.

References myPlan, and myStep.

Referenced by MSTransportableControl::fixLoadCount().

Here is the caller graph for this function:

◆ hasInfluencer()

virtual bool MSTransportable::hasInfluencer ( ) const
inlineoverridevirtual

whether the vehicle is individually influenced (via TraCI or special parameters)

Implements SUMOTrafficObject.

Reimplemented in MSPerson.

Definition at line 392 of file MSTransportable.h.

◆ ignoreTransientPermissions()

virtual bool SUMOTrafficObject::ignoreTransientPermissions ( ) const
inlinevirtualinherited

Returns whether this object is ignoring transient permission changes (during routing).

Reimplemented in MSBaseVehicle.

Definition at line 182 of file SUMOTrafficObject.h.

Referenced by MSEdge::prohibits().

Here is the caller graph for this function:

◆ isContainer()

bool MSTransportable::isContainer ( ) const
inlineoverridevirtual

Whether it is a container.

Returns
true for containers, false otherwise

Reimplemented from SUMOTrafficObject.

Definition at line 67 of file MSTransportable.h.

References myAmPerson.

Referenced by routeOutput().

Here is the caller graph for this function:

◆ isJammed()

virtual bool MSTransportable::isJammed ( ) const
inlinevirtual

whether the transportable (persons) is jammed as defined by the current pedestrian model

Reimplemented in MSPerson.

Definition at line 88 of file MSTransportable.h.

◆ isPerson()

◆ isSelected()

virtual bool MSTransportable::isSelected ( ) const
inlineoverridevirtual

whether this transportable is selected in the GUI

Implements SUMOTrafficObject.

Reimplemented in GUIContainer, GUIPerson, and MSPerson.

Definition at line 397 of file MSTransportable.h.

◆ isStopped()

bool MSTransportable::isStopped ( ) const
inlineoverridevirtual

Returns whether the object is at a stop.

Returns
Whether it has stopped

Implements SUMOTrafficObject.

Definition at line 79 of file MSTransportable.h.

References getCurrentStageType(), and WAITING.

◆ isVehicle()

◆ isWaiting4Vehicle()

bool MSTransportable::isWaiting4Vehicle ( ) const
inline

Whether the transportable waits for a vehicle.

Definition at line 302 of file MSTransportable.h.

Referenced by GUIContainer::drawGL(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GUIPerson::getGUIAngle(), and GUIPerson::getGUIPosition().

Here is the caller graph for this function:

◆ isWaitingFor()

bool MSTransportable::isWaitingFor ( const SUMOVehicle * vehicle) const
inline

Whether the transportable waits for the given vehicle in the current step.

Definition at line 297 of file MSTransportable.h.

Referenced by MSEdge::getWaitingVehicle(), MSTransportableControl::hasAnyWaiting(), and MSTransportableControl::loadAnyWaiting().

Here is the caller graph for this function:

◆ loadState()

void MSTransportable::loadState ( const std::string & state)

Reconstructs the current state.

Definition at line 692 of file MSTransportable.cpp.

References myParameter, myPlan, and myStep.

Referenced by MSStateHandler::myEndElement().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

References MSTransportable().

◆ proceed()

◆ removeStage()

void MSTransportable::removeStage ( int next,
bool stayInSim = true )

◆ replaceRoute()

bool MSTransportable::replaceRoute ( ConstMSRoutePtr route,
const std::string & info,
bool onInit = false,
int offset = 0,
bool addStops = true,
bool removeStops = true,
std::string * msgReturn = nullptr )
overridevirtual

Replaces the current route by the given one.

Implements SUMOTrafficObject.

Definition at line 366 of file MSTransportable.cpp.

References getPositionOnLane(), and isPerson().

◆ replaceVehicleType()

void MSTransportable::replaceVehicleType ( const MSVehicleType * type)
overridevirtual

Replaces the current vehicle type by the one given.

If the currently used vehicle type is marked as being used by this vehicle only, it is deleted, first. The new, given type is then assigned to "myVType".

Parameters
[in]typeThe new vehicle type
See also
MSTransportable::myVType

Implements SUMOTrafficObject.

Definition at line 440 of file MSTransportable.cpp.

References MSVehicleType::getID(), Named::getID(), MSNet::getInstance(), MSVehicleType::getParameter(), MSVehicleType::getVehicleClass(), MSNet::getVehicleControl(), isPerson(), myVType, MSVehicleControl::removeVType(), SVC_PEDESTRIAN, TL, toString(), VTYPEPARS_VEHICLECLASS_SET, SUMOVTypeParameter::wasSet(), and WRITE_WARNINGF.

Referenced by getSingularType().

Here is the caller graph for this function:

◆ reroute()

bool MSTransportable::reroute ( SUMOTime t,
const std::string & info,
MSTransportableRouter & router,
const bool onInit = false,
const bool withTaz = false,
const bool silent = false,
const MSEdge * sink = nullptr )

Definition at line 376 of file MSTransportable.cpp.

References appendStage(), getCurrentStage(), getEdge(), getEdgePos(), MSStageMoving::getEdges(), getNextStage(), getNumRemainingStages(), getRerouteDestination(), MSStageMoving::getRoute(), MSStageMoving::getRouteStep(), MSStage::getTrip(), getVehicle(), removeStage(), and MSStageTrip::reroute().

Referenced by MSRoutingEngine::reroute().

Here is the caller graph for this function:

◆ rerouteParkingArea()

◆ routeOutput()

void MSTransportable::routeOutput ( OutputDevice & os,
const bool withRouteLength ) const

Called on writing vehroute output.

Parameters
[in]osThe stream to write the information into
Exceptions
IOErrornot yet implemented

Definition at line 268 of file MSTransportable.cpp.

References OutputDevice::closeTag(), DEFAULT_CONTAINERTYPE_ID, DEFAULT_PEDTYPE_ID, MSVehicleType::getID(), MSNet::getInstance(), OptionsCont::getOptions(), getVehicleType(), hasArrived(), isContainer(), isPerson(), OutputDevice::lf(), myAmPerson, myParameter, myPlan, SUMO_TAG_CONTAINER, SUMO_TAG_PERSON, time2string(), and OutputDevice::writeAttr().

Referenced by MSTransportableControl::erase().

Here is the caller graph for this function:

◆ saveState()

◆ setAbortWaiting()

void MSTransportable::setAbortWaiting ( const SUMOTime timeout)

Definition at line 288 of file MSTransportable.cpp.

References abortStage(), MSEventControl::addEvent(), MSNet::getBeginOfTimestepEvents(), MSNet::getInstance(), myAbortCommand, and SIMSTEP.

Referenced by MSTransportableControl::abortAnyWaitingForVehicle(), MSTransportableControl::addWaiting(), and MSTransportableControl::loadAnyWaiting().

Here is the caller graph for this function:

◆ setDeparted()

void MSTransportable::setDeparted ( SUMOTime now)

logs depart time of the current stage

Definition at line 161 of file MSTransportable.cpp.

Referenced by MSTransportableControl::checkWaiting().

Here is the caller graph for this function:

◆ setID()

void MSTransportable::setID ( const std::string & newID)
overridevirtual

set the id (inherited from Named but forbidden for transportables)

Reimplemented from Named.

Definition at line 151 of file MSTransportable.cpp.

References TL.

◆ setJunctionModelParameter()

void MSTransportable::setJunctionModelParameter ( const std::string & key,
const std::string & value )

◆ setSpeed()

void MSTransportable::setSpeed ( double speed)

set the speed for all present and future (walking) stages and modify the vType so that stages added later are also affected

Definition at line 357 of file MSTransportable.cpp.

References getSingularType(), myPlan, myStep, and MSVehicleType::setMaxSpeed().

◆ tripInfoOutput()

void MSTransportable::tripInfoOutput ( OutputDevice & os) const

Called on writing tripinfo output.

Parameters
[in]osThe stream to write the information into
Exceptions
IOErrornot yet implemented

Definition at line 213 of file MSTransportable.cpp.

References OutputDevice::closeTag(), getChosenSpeedFactor(), Named::getID(), getVehicleType(), isPerson(), myPlan, OutputDevice::openTag(), SUMO_ATTR_DEPART, SUMO_ATTR_DURATION, SUMO_ATTR_ID, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_TIMELOSS, SUMO_ATTR_TRAVELTIME, SUMO_ATTR_TYPE, SUMO_ATTR_WAITINGTIME, SUMOTime_MAX, time2string(), and OutputDevice::writeAttr().

Referenced by MSTransportableControl::erase().

Here is the caller graph for this function:

Field Documentation

◆ myAbortCommand

WrappingCommand<MSTransportable>* MSTransportable::myAbortCommand
private

Definition at line 437 of file MSTransportable.h.

Referenced by setAbortWaiting().

◆ myAmPerson

const bool MSTransportable::myAmPerson
private

◆ myCurrentNumericalIndex

SUMOTrafficObject::NumericalID MSTransportable::myCurrentNumericalIndex = 0
staticprivate

Definition at line 439 of file MSTransportable.h.

Referenced by MSTransportable().

◆ myDevices

std::vector<MSTransportableDevice*> MSTransportable::myDevices
protected

The devices this transportable has.

Definition at line 430 of file MSTransportable.h.

Referenced by getDevice(), getDevices(), MSTransportable(), proceed(), and ~MSTransportable().

◆ myID

std::string Named::myID
protectedinherited

The name of the object.

Definition at line 125 of file Named.h.

Referenced by MSDriveWay::addBidiFoes(), MSE2Collector::addDetectorToLanes(), MSDriveWay::addFoes(), MSDriveWay::addParallelFoes(), MSDriveWay::addReversalFoes(), MSDriveWay::addSwitchFoes(), RODFDetector::buildDestinationDistribution(), MSDriveWay::buildDriveWay(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), getID(), NBEdge::getLaneID(), NEMALogic::getPhaseObj(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), GNEPoly::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), NBEdge::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), Named(), NBNode::NBNode(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBNode::reinit(), NBEdge::reinitNodes(), RORoute::RORoute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeAggregatedChargingStationOutput(), MSDriveWay::writeBlocks(), MSDriveWay::writeBlockVehicles(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().

◆ myNumericalID

const NumericalID MSTransportable::myNumericalID
private

Definition at line 435 of file MSTransportable.h.

Referenced by getNumericalID(), and MSTransportable().

◆ myParameter

const SUMOVehicleParameter* MSTransportable::myParameter
protected

the plan of the transportable

Definition at line 414 of file MSTransportable.h.

Referenced by getDesiredDepart(), getParameter(), loadState(), MSTransportable(), routeOutput(), saveState(), and ~MSTransportable().

◆ myPlan

◆ myStep

◆ myVType

const MSVehicleType* MSTransportable::myVType
protected

This transportable's type. (mainly used for drawing related information Note sure if it is really necessary.

Definition at line 418 of file MSTransportable.h.

Referenced by getSingularType(), GUIContainer::getTypeParameterWindow(), GUIPerson::getTypeParameterWindow(), getVehicleType(), getVTypeParameter(), MSTransportable(), replaceVehicleType(), and ~MSTransportable().

◆ myWriteEvents

bool MSTransportable::myWriteEvents
protected

Whether events shall be written.

Definition at line 421 of file MSTransportable.h.


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