Eclipse SUMO - Simulation of Urban MObility
MSStageTrip Class Reference

#include <MSStageTrip.h>

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

Public Types

typedef std::map< std::string, std::string > Map
 parameters map More...
 

Public Member Functions

virtual void abort (MSTransportable *)
 abort this stage (TraCI) More...
 
void clearParameter ()
 Clears the parameter map. More...
 
MSStageclone () const
 
double getAngle (SUMOTime now) const
 returns the angle of the transportable More...
 
virtual double getArrivalPos () const
 
virtual double getArrivalPosLat () const
 
SUMOTime getArrived () const
 get arrival time of stage More...
 
double getCosts () const
 Returns the costs of the stage. More...
 
SUMOTime getDeparted () const
 get departure time of stage More...
 
const MSEdgegetDestination () const
 returns the destination edge More...
 
std::string getDestinationDescription () const
 
MSStoppingPlacegetDestinationStop () const
 returns the destination stop (if any) More...
 
virtual int getDirection () const
 Return the movement directon on the edge. More...
 
double getDistance () const
 get travel distance in this stage More...
 
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double. More...
 
std::vector< double > getDoubles (const std::string &key, std::vector< double > defaultValue=std::vector< double >()) const
 Returns the value for a given key converted to a list of doubles. More...
 
SUMOTime getDuration () const
 trip doesn't participate in plan summary More...
 
const MSEdgegetEdge () const
 Returns the current edge. More...
 
double getEdgeAngle (const MSEdge *e, double at) const
 get angle of the edge at a certain position More...
 
double getEdgePos (SUMOTime now) const
 
Position getEdgePosition (const MSEdge *e, double at, double offset) const
 get position on edge e at length at with orthogonal offset More...
 
virtual double getEdgePosLat (SUMOTime now) const
 
virtual ConstMSEdgeVector getEdges () const
 the edges of the current stage More...
 
virtual const MSEdgegetFromEdge () const
 
const std::string & getGroup () const
 return the id of the group of transportables traveling together More...
 
virtual const MSLanegetLane () const
 Returns the current lane (if applicable) More...
 
Position getLanePosition (const MSLane *lane, double at, double offset) const
 get position on lane at length at with orthogonal offset More...
 
std::string getOriginDescription () const
 
MSStoppingPlacegetOriginStop () const
 returns the origin stop (if any). only needed for MSStageTrip More...
 
virtual const std::string getParameter (const std::string &key, const std::string defaultValue="") const
 Returns the value for a given key. More...
 
const Parameterised::MapgetParametersMap () const
 Returns the inner key/value map. More...
 
std::string getParametersStr (const std::string kvsep="=", const std::string sep="|") const
 Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". More...
 
Position getPosition (SUMOTime now) const
 returns the position of the transportable More...
 
virtual int getRoutePosition () const
 return index of current edge within route More...
 
virtual double getSpeed () const
 the speed of the transportable More...
 
std::string getStageDescription (const bool isPerson) const
 return (brief) string representation of the current stage More...
 
std::string getStageSummary (const bool isPerson) const
 return string summary of the current stage More...
 
MSStageType getStageType () const
 
virtual SUMOTime getTimeLoss (const MSTransportable *transportable) const
 
SUMOTime getTravelTime () const
 
virtual SUMOVehiclegetVehicle () const
 Current vehicle in which the transportable is driving (or nullptr) More...
 
virtual SUMOTime getWaitingTime () const
 
virtual SUMOTime getWaitingTime (SUMOTime now) const
 the time this transportable spent waiting More...
 
bool hasParameter (const std::string &key) const
 Returns whether the parameter is set. More...
 
virtual void init (MSTransportable *)
 initialization, e.g. for param-related events More...
 
virtual bool isWaiting4Vehicle () const
 Whether the transportable waits for a vehicle. More...
 
virtual bool isWaitingFor (const SUMOVehicle *vehicle) const
 Whether the transportable waits for the given vehicle. More...
 
bool isWalk () const
 Whether the transportable is walking. More...
 
virtual void loadState (MSTransportable *transportable, std::istringstream &state)
 Reconstructs the current state, standard implementation does nothing. More...
 
void markSet (int what)
 
void mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true)
 Adds or appends all given parameters from the map. More...
 
 MSStageTrip (const MSEdge *origin, MSStoppingPlace *fromStop, const MSEdge *destination, MSStoppingPlace *toStop, const SUMOTime duration, const SVCPermissions modeSet, const std::string &vTypes, const double speed, const double walkFactor, const std::string &group, const double departPosLat, const bool hasArrivalPos, const double arrivalPos)
 constructor More...
 
void proceed (MSNet *net, MSTransportable *transportable, SUMOTime now, MSStage *previous)
 proceeds to the next step More...
 
void routeOutput (const bool isPerson, OutputDevice &os, const bool withRouteLength, const MSStage *const previous) const
 Called on writing vehroute output. More...
 
virtual void saveState (std::ostringstream &out)
 Saves the current state into the given stream, standard implementation does nothing. More...
 
void setArrivalPos (double arrivalPos)
 
const std::string setArrived (MSNet *net, MSTransportable *transportable, SUMOTime now, const bool vehicleArrived)
 logs end of the step More...
 
void setCosts (double costs)
 Sets the costs of the stage. More...
 
void setDeparted (SUMOTime now)
 logs end of the step More...
 
void setDestination (const MSEdge *newDestination, MSStoppingPlace *newDestStop)
 
void setOrigin (const MSEdge *origin)
 change origin for parking area rerouting More...
 
virtual void setParameter (const std::string &key, const std::string &value)
 Sets a parameter. More...
 
void setParameters (const Parameterised &params)
 set the inner key/value map in map<string, string> format More...
 
void setParametersStr (const std::string &paramsString, const std::string kvsep="=", const std::string sep="|")
 set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" More...
 
virtual void setSpeed (double)
 sets the walking speed (ignored in other stages) More...
 
void tripInfoOutput (OutputDevice &os, const MSTransportable *const transportable) const
 Called on writing tripinfo output. More...
 
void unsetParameter (const std::string &key)
 Removes a parameter. More...
 
void updateParameters (const Parameterised::Map &mapArg)
 Adds or updates all given parameters from the map. More...
 
bool wasSet (int what) const
 
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice More...
 
virtual ~MSStageTrip ()
 destructor More...
 

Static Public Member Functions

static bool areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas) More...
 
static bool areParametersValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" More...
 

Protected Attributes

double myArrivalPos
 the longitudinal position at which we want to arrive More...
 
double myArrivalPosLat
 the lateral position at which we want to arrive More...
 
SUMOTime myArrived
 the time at which this stage ended More...
 
double myCosts
 The assigned or calculated costs. More...
 
SUMOTime myDeparted
 the time at which this stage started More...
 
const MSEdgemyDestination
 the next edge to reach by getting transported More...
 
MSStoppingPlacemyDestinationStop
 the stop to reach by getting transported (if any) More...
 
const std::string myGroup
 The id of the group of transportables traveling together. More...
 
int myParametersSet
 Information on which parameter were set (mainly for vehroute output) More...
 
MSStageType myType
 The type of this stage. More...
 

Static Protected Attributes

static const double ROADSIDE_OFFSET
 the offset for computing positions when standing at an edge More...
 

Private Member Functions

 MSStageTrip (const MSStageTrip &)
 Invalidated copy constructor. More...
 
MSStageTripoperator= (const MSStageTrip &)
 Invalidated assignment operator. More...
 

Static Private Member Functions

static bool isParameterValid (const std::string &value, const std::string &kvsep, const std::string &sep)
 check if given string can be parsed to a parameter of type "key=value" More...
 

Private Attributes

double myDepartPos
 The depart position. More...
 
const double myDepartPosLat
 The lateral depart position. More...
 
SUMOTime myDuration
 the time the trip should take (applies to only walking) More...
 
const bool myHaveArrivalPos
 whether an arrivalPos was in the input More...
 
Parameterised::Map myMap
 The key->value map. More...
 
const SVCPermissions myModeSet
 The allowed modes of transportation. More...
 
const MSEdgemyOrigin
 the origin edge More...
 
MSStoppingPlacemyOriginStop
 the origin edge More...
 
const double mySpeed
 The walking speed. More...
 
const std::string myVTypes
 The possible vehicles to use. More...
 
const double myWalkFactor
 The factor to apply to walking durations. More...
 

Detailed Description

A "placeholder" stage storing routing info which will result in real stages when routed

Definition at line 40 of file MSStageTrip.h.

Member Typedef Documentation

◆ Map

typedef std::map<std::string, std::string> Parameterised::Map
inherited

parameters map

Definition at line 45 of file Parameterised.h.

Constructor & Destructor Documentation

◆ MSStageTrip() [1/2]

MSStageTrip::MSStageTrip ( const MSEdge origin,
MSStoppingPlace fromStop,
const MSEdge destination,
MSStoppingPlace toStop,
const SUMOTime  duration,
const SVCPermissions  modeSet,
const std::string &  vTypes,
const double  speed,
const double  walkFactor,
const std::string &  group,
const double  departPosLat,
const bool  hasArrivalPos,
const double  arrivalPos 
)

constructor

Definition at line 51 of file MSStageTrip.cpp.

References TRIP.

Referenced by clone().

Here is the caller graph for this function:

◆ ~MSStageTrip()

MSStageTrip::~MSStageTrip ( )
virtual

destructor

Definition at line 70 of file MSStageTrip.cpp.

◆ MSStageTrip() [2/2]

MSStageTrip::MSStageTrip ( const MSStageTrip )
private

Invalidated copy constructor.

Member Function Documentation

◆ abort()

virtual void MSStage::abort ( MSTransportable )
inlinevirtualinherited

abort this stage (TraCI)

Reimplemented in MSStageDriving, MSStageWalking, and MSStageWaiting.

Definition at line 145 of file MSStage.h.

Referenced by GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject().

Here is the caller graph for this function:

◆ areAttributesValid()

bool Parameterised::areAttributesValid ( const std::string &  value,
bool  report = false,
const std::string  kvsep = "=",
const std::string  sep = "|" 
)
staticinherited

check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)

Definition at line 219 of file Parameterised.cpp.

References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.

Referenced by GNEFrameAttributeModules::GenericDataAttributes::areAttributesValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), and GNETAZRelData::isValid().

Here is the caller graph for this function:

◆ areParametersValid()

bool Parameterised::areParametersValid ( const std::string &  value,
bool  report = false,
const std::string  kvsep = "=",
const std::string  sep = "|" 
)
staticinherited

◆ clearParameter()

void Parameterised::clearParameter ( )
inherited

Clears the parameter map.

Definition at line 139 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NLHandler::beginEdgeParsing(), and GNESingleParametersDialog::onCmdAccept().

Here is the caller graph for this function:

◆ clone()

◆ getAngle()

double MSStageTrip::getAngle ( SUMOTime  now) const
virtual

returns the angle of the transportable

Implements MSStage.

Definition at line 91 of file MSStageTrip.cpp.

References MSStage::getEdgeAngle(), MSGlobals::gLefthand, M_PI, myDepartPos, and myOrigin.

◆ getArrivalPos()

◆ getArrivalPosLat()

virtual double MSStage::getArrivalPosLat ( ) const
inlinevirtualinherited

Definition at line 97 of file MSStage.h.

References MSStage::myArrivalPosLat.

Referenced by MSPerson::checkAccess().

Here is the caller graph for this function:

◆ getArrived()

SUMOTime MSStage::getArrived ( ) const
inherited

get arrival time of stage

Definition at line 133 of file MSStage.cpp.

References MSStage::myArrived.

Referenced by LIBSUMO_NAMESPACE::Person::getStage().

Here is the caller graph for this function:

◆ getCosts()

double MSStage::getCosts ( ) const
inlineinherited

Returns the costs of the stage.

Returns
The stage's costs (normally the time needed to pass it)

Definition at line 255 of file MSStage.h.

References MSStage::myCosts.

Referenced by MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), routeOutput(), and MSStageWalking::routeOutput().

Here is the caller graph for this function:

◆ getDeparted()

SUMOTime MSStage::getDeparted ( ) const
inherited

get departure time of stage

Definition at line 128 of file MSStage.cpp.

References MSStage::myDeparted.

Referenced by LIBSUMO_NAMESPACE::Person::getStage().

Here is the caller graph for this function:

◆ getDestination()

◆ getDestinationDescription()

std::string MSStageTrip::getDestinationDescription ( ) const

Definition at line 332 of file MSStageTrip.cpp.

References MSStoppingPlace::getElement(), Named::getID(), MSStage::myDestination, MSStage::myDestinationStop, and toString().

Referenced by getStageSummary(), and setArrived().

Here is the caller graph for this function:

◆ getDestinationStop()

◆ getDirection()

int MSStage::getDirection ( ) const
virtualinherited

Return the movement directon on the edge.

Reimplemented in MSStageMoving, and MSStageDriving.

Definition at line 95 of file MSStage.cpp.

References MSPModel::UNDEFINED_DIRECTION.

◆ getDistance()

double MSStageTrip::getDistance ( ) const
inlinevirtual

get travel distance in this stage

Implements MSStage.

Definition at line 67 of file MSStageTrip.h.

◆ getDouble()

double Parameterised::getDouble ( const std::string &  key,
const double  defaultValue 
) const
inherited

◆ getDoubles()

std::vector< double > Parameterised::getDoubles ( const std::string &  key,
std::vector< double >  defaultValue = std::vector<double>() 
) const
inherited

Returns the value for a given key converted to a list of doubles.

Parameters
[in]keyThe key to ask for
[in]defaultValueThe default value to return if no value is stored under the key
Returns
The value stored under the key

Definition at line 118 of file Parameterised.cpp.

References StringTokenizer::getVector(), Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.

Referenced by EnergyParams::EnergyParams().

Here is the caller graph for this function:

◆ getDuration()

SUMOTime MSStageTrip::getDuration ( ) const
inlinevirtual

trip doesn't participate in plan summary

Reimplemented from MSStage.

Definition at line 104 of file MSStageTrip.h.

◆ getEdge()

const MSEdge * MSStageTrip::getEdge ( ) const
virtual

Returns the current edge.

Reimplemented from MSStage.

Definition at line 98 of file MSStageTrip.cpp.

References myOrigin.

◆ getEdgeAngle()

double MSStage::getEdgeAngle ( const MSEdge e,
double  at 
) const
inherited

get angle of the edge at a certain position

Definition at line 183 of file MSStage.cpp.

References MSEdge::getLanes().

Referenced by MSPModel_NonInteracting::PState::getAngle(), MSPModel_NonInteracting::CState::getAngle(), MSStageDriving::getAngle(), getAngle(), and MSStageWaiting::getAngle().

Here is the caller graph for this function:

◆ getEdgePos()

double MSStageTrip::getEdgePos ( SUMOTime  now) const
virtual

Reimplemented from MSStage.

Definition at line 104 of file MSStageTrip.cpp.

References myDepartPos.

◆ getEdgePosition()

Position MSStage::getEdgePosition ( const MSEdge e,
double  at,
double  offset 
) const
inherited

get position on edge e at length at with orthogonal offset

Definition at line 172 of file MSStage.cpp.

References MSStage::getLanePosition(), and MSEdge::getLanes().

Referenced by MSStageDriving::getPosition(), getPosition(), MSStageWaiting::getPosition(), and MSStageWalking::proceed().

Here is the caller graph for this function:

◆ getEdgePosLat()

double MSStage::getEdgePosLat ( SUMOTime  now) const
virtualinherited

Definition at line 89 of file MSStage.cpp.

References MSStage::myArrivalPosLat.

Referenced by MSPerson::checkAccess(), and MSStageWalking::proceed().

Here is the caller graph for this function:

◆ getEdges()

ConstMSEdgeVector MSStage::getEdges ( ) const
virtualinherited

the edges of the current stage

Reimplemented in MSStageMoving, and MSStageDriving.

Definition at line 113 of file MSStage.cpp.

References MSStage::getDestination().

Referenced by LIBSUMO_NAMESPACE::Person::getEdges(), LIBSUMO_NAMESPACE::Person::getStage(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), setArrived(), and MSDetectorFileOutput::vehicleApplies().

Here is the caller graph for this function:

◆ getFromEdge()

const MSEdge * MSStage::getFromEdge ( ) const
virtualinherited

Reimplemented in MSStageMoving, and MSStageDriving.

Definition at line 77 of file MSStage.cpp.

References MSStage::myDestination.

Referenced by MSTransportable::rerouteParkingArea().

Here is the caller graph for this function:

◆ getGroup()

const std::string& MSStage::getGroup ( ) const
inlineinherited

return the id of the group of transportables traveling together

Definition at line 131 of file MSStage.h.

References MSStage::myGroup.

◆ getLane()

virtual const MSLane* MSStage::getLane ( ) const
inlinevirtualinherited

Returns the current lane (if applicable)

Reimplemented in MSStageMoving, and MSStageDriving.

Definition at line 121 of file MSStage.h.

◆ getLanePosition()

Position MSStage::getLanePosition ( const MSLane lane,
double  at,
double  offset 
) const
inherited

get position on lane at length at with orthogonal offset

Definition at line 177 of file MSStage.cpp.

References MSLane::getShape(), MSLane::interpolateLanePosToGeometryPos(), and PositionVector::positionAtOffset().

Referenced by MSPModel_NonInteracting::CState::computeDuration(), MSStage::getEdgePosition(), MSPModel_NonInteracting::PState::getPosition(), and MSPModel_Striping::PState::getPosition().

Here is the caller graph for this function:

◆ getOriginDescription()

std::string MSStageTrip::getOriginDescription ( ) const

Definition at line 325 of file MSStageTrip.cpp.

References MSStoppingPlace::getElement(), Named::getID(), myOrigin, myOriginStop, and toString().

Referenced by getStageSummary(), and setArrived().

Here is the caller graph for this function:

◆ getOriginStop()

MSStoppingPlace* MSStageTrip::getOriginStop ( ) const
inlinevirtual

returns the origin stop (if any). only needed for MSStageTrip

Reimplemented from MSStage.

Definition at line 57 of file MSStageTrip.h.

References myOriginStop.

◆ getParameter()

const std::string Parameterised::getParameter ( const std::string &  key,
const std::string  defaultValue = "" 
) const
virtualinherited

Returns the value for a given key.

Parameters
[in]keyThe key to ask for
[in]defaultValueThe default value to return if no value is stored under the key
Returns
The value stored under the key

Reimplemented in NEMALogic, MSSimpleTrafficLightLogic, and MSActuatedTrafficLightLogic.

Definition at line 90 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSVehicleType::check(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), GUIVehicle::getColorValue(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUIEdge::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), RORoutable::getMaxSpeed(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), GUIBaseVehicle::getOptionalName(), GUITrafficLightLogicWrapper::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSBaseVehicle::getPrefixedParameter(), GUIBaseVehicle::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), MSDevice::getStringParam(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSRailSignalConstraint::getVehID(), MSTriggeredRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), MSStageDriving::init(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), NIImporter_OpenStreetMap::insertNodeChecking(), MSAbstractLaneChangeModel::laneChangeOutput(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSDevice_GLOSA::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), MSVehicle::slowDownForSchedule(), NBEdgeCont::splitAt(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().

◆ getParametersMap()

const Parameterised::Map & Parameterised::getParametersMap ( ) const
inherited

Returns the inner key/value map.

Definition at line 145 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), NBEdge::addLane(), NBEdge::append(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), NLDetectorBuilder::endE3Detector(), GNEAccess::getACParametersMap(), GNECalibrator::getACParametersMap(), GNEDetector::getACParametersMap(), GNEMultiEntryExitDetector::getACParametersMap(), GNEOverheadWire::getACParametersMap(), GNEParkingSpace::getACParametersMap(), GNERerouter::getACParametersMap(), GNERouteProbe::getACParametersMap(), GNEStoppingPlace::getACParametersMap(), GNETAZ::getACParametersMap(), GNEVaporizer::getACParametersMap(), GNEVariableSpeedSign::getACParametersMap(), GNEDataInterval::getACParametersMap(), GNEDataSet::getACParametersMap(), GNEGenericData::getACParametersMap(), GNEContainer::getACParametersMap(), GNEPerson::getACParametersMap(), GNEPersonTrip::getACParametersMap(), GNERide::getACParametersMap(), GNERoute::getACParametersMap(), GNEStop::getACParametersMap(), GNEStopPlan::getACParametersMap(), GNETranship::getACParametersMap(), GNETransport::getACParametersMap(), GNEVehicle::getACParametersMap(), GNEVType::getACParametersMap(), GNEWalk::getACParametersMap(), GNEConnection::getACParametersMap(), GNECrossing::getACParametersMap(), GNEEdge::getACParametersMap(), GNEEdgeType::getACParametersMap(), GNEJunction::getACParametersMap(), GNELane::getACParametersMap(), GNELaneType::getACParametersMap(), GNEPOI::getACParametersMap(), GNEPoly::getACParametersMap(), MSRailSignalConstraint_Predecessor::getDescription(), NWWriter_OpenDrive::getDividerType(), GUILane::getParameterWindow(), GNESingleParametersDialog::GNESingleParametersDialog(), MSRailCrossing::init(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), MSPModel_JuPedSim::initialize(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), GUIParameterTableWindow::numParams(), GNESingleParametersDialog::onCmdReset(), GNEVType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), Parameterised::setParameters(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().

◆ getParametersStr()

std::string Parameterised::getParametersStr ( const std::string  kvsep = "=",
const std::string  sep = "|" 
) const
inherited

Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".

Definition at line 151 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEEntryExitDetector::getAttribute(), GNEInductionLoopDetector::getAttribute(), GNEInstantInductionLoopDetector::getAttribute(), GNELaneAreaDetector::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNELaneType::getAttribute(), GNEPOI::getAttribute(), and GNEPoly::getAttribute().

Here is the caller graph for this function:

◆ getPosition()

Position MSStageTrip::getPosition ( SUMOTime  now) const
virtual

returns the position of the transportable

Implements MSStage.

Definition at line 84 of file MSStageTrip.cpp.

References MSStage::getEdgePosition(), MSGlobals::gLefthand, myDepartPos, myOrigin, and MSStage::ROADSIDE_OFFSET.

◆ getRoutePosition()

virtual int MSStage::getRoutePosition ( ) const
inlinevirtualinherited

return index of current edge within route

Reimplemented in MSStageWalking.

Definition at line 195 of file MSStage.h.

Referenced by MSPModel_Striping::getNextLane().

Here is the caller graph for this function:

◆ getSpeed()

double MSStage::getSpeed ( ) const
virtualinherited

the speed of the transportable

Reimplemented in MSStageMoving, MSStageDriving, and MSPerson::MSPersonStage_Access.

Definition at line 107 of file MSStage.cpp.

◆ getStageDescription()

std::string MSStageTrip::getStageDescription ( const bool  isPerson) const
inlinevirtual

return (brief) string representation of the current stage

Implements MSStage.

Definition at line 72 of file MSStageTrip.h.

References UNUSED_PARAMETER.

◆ getStageSummary()

std::string MSStageTrip::getStageSummary ( const bool  isPerson) const
virtual

return string summary of the current stage

Implements MSStage.

Definition at line 339 of file MSStageTrip.cpp.

References getDestinationDescription(), and getOriginDescription().

◆ getStageType()

MSStageType MSStage::getStageType ( ) const
inlineinherited

Definition at line 126 of file MSStage.h.

References MSStage::myType.

Referenced by MSRouteHandler::addFlowTransportable(), MSPerson::checkAccess(), LIBSUMO_NAMESPACE::Person::getStage(), MSStageDriving::loadState(), MSStageWalking::proceed(), MSStageDriving::proceed(), MSTransportable::proceed(), MSTransportable::rerouteParkingArea(), MSStageDriving::routeOutput(), and routeOutput().

Here is the caller graph for this function:

◆ getTimeLoss()

SUMOTime MSStage::getTimeLoss ( const MSTransportable transportable) const
virtualinherited

Reimplemented in MSStageWalking, and MSStageDriving.

Definition at line 155 of file MSStage.cpp.

◆ getTravelTime()

SUMOTime MSStageTrip::getTravelTime ( ) const
inlinevirtual

Reimplemented from MSStage.

Definition at line 108 of file MSStageTrip.h.

◆ getVehicle()

virtual SUMOVehicle* MSStage::getVehicle ( ) const
inlinevirtualinherited

Current vehicle in which the transportable is driving (or nullptr)

Reimplemented in MSStageDriving.

Definition at line 181 of file MSStage.h.

Referenced by GUIPerson::getVehicleID().

Here is the caller graph for this function:

◆ getWaitingTime() [1/2]

SUMOTime MSStage::getWaitingTime ( ) const
virtualinherited

Reimplemented in MSStageDriving.

Definition at line 150 of file MSStage.cpp.

◆ getWaitingTime() [2/2]

SUMOTime MSStage::getWaitingTime ( SUMOTime  now) const
virtualinherited

the time this transportable spent waiting

Reimplemented in MSStageMoving, and MSStageDriving.

Definition at line 101 of file MSStage.cpp.

◆ hasParameter()

bool Parameterised::hasParameter ( const std::string &  key) const
inherited

Returns whether the parameter is set.

Parameters
[in]keyThe key to ask for
Returns
Whether the key is known

Definition at line 84 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by MSStageWalking::activateEntryReminders(), NBEdge::append(), MSVehicleType::build(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), NWWriter_DlrNavteq::getBrunnelType(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), MSStageDriving::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NIImporter_OpenStreetMap::load(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSVehicle::slowDownForSchedule(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().

Here is the caller graph for this function:

◆ init()

virtual void MSStage::init ( MSTransportable )
inlinevirtualinherited

initialization, e.g. for param-related events

Reimplemented in MSStageDriving.

Definition at line 78 of file MSStage.h.

◆ isParameterValid()

bool Parameterised::isParameterValid ( const std::string &  value,
const std::string &  kvsep,
const std::string &  sep 
)
staticprivateinherited

check if given string can be parsed to a parameter of type "key=value"

Definition at line 254 of file Parameterised.cpp.

References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().

Referenced by Parameterised::areAttributesValid(), and Parameterised::areParametersValid().

Here is the caller graph for this function:

◆ isWaiting4Vehicle()

virtual bool MSStage::isWaiting4Vehicle ( ) const
inlinevirtualinherited

Whether the transportable waits for a vehicle.

Reimplemented in MSStageDriving.

Definition at line 171 of file MSStage.h.

◆ isWaitingFor()

bool MSStage::isWaitingFor ( const SUMOVehicle vehicle) const
virtualinherited

Whether the transportable waits for the given vehicle.

Reimplemented in MSStageDriving.

Definition at line 167 of file MSStage.cpp.

◆ isWalk()

bool MSStageTrip::isWalk ( ) const
inlinevirtual

Whether the transportable is walking.

Reimplemented from MSStage.

Definition at line 120 of file MSStageTrip.h.

References myModeSet.

◆ loadState()

virtual void MSStage::loadState ( MSTransportable transportable,
std::istringstream &  state 
)
inlinevirtualinherited

Reconstructs the current state, standard implementation does nothing.

Reimplemented in MSStageWalking, MSStageWaiting, and MSStageDriving.

Definition at line 238 of file MSStage.h.

References UNUSED_PARAMETER.

◆ markSet()

void MSStage::markSet ( int  what)
inlineinherited

Definition at line 247 of file MSStage.h.

References MSStage::myParametersSet.

Referenced by setArrived().

Here is the caller graph for this function:

◆ mergeParameters()

void Parameterised::mergeParameters ( const Parameterised::Map mapArg,
const std::string  separator = " ",
bool  uniqueValues = true 
)
inherited

Adds or appends all given parameters from the map.

Parameters
[in]mapArgThe keys/values to insert

Definition at line 65 of file Parameterised.cpp.

References Parameterised::getParameter(), Parameterised::hasParameter(), and Parameterised::setParameter().

Referenced by NBEdge::append().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

◆ proceed()

void MSStageTrip::proceed ( MSNet net,
MSTransportable transportable,
SUMOTime  now,
MSStage previous 
)
virtual

proceeds to the next step

Implements MSStage.

Definition at line 318 of file MSStageTrip.cpp.

References MSTransportable::proceed().

◆ routeOutput()

◆ saveState()

virtual void MSStage::saveState ( std::ostringstream &  out)
inlinevirtualinherited

Saves the current state into the given stream, standard implementation does nothing.

Reimplemented in MSStageWalking, MSStageWaiting, and MSStageDriving.

Definition at line 232 of file MSStage.h.

References UNUSED_PARAMETER.

◆ setArrivalPos()

void MSStage::setArrivalPos ( double  arrivalPos)
inlineinherited

Definition at line 101 of file MSStage.h.

References MSStage::myArrivalPos.

Referenced by MSTransportable::rerouteParkingArea(), and setArrived().

Here is the caller graph for this function:

◆ setArrived()

const std::string MSStageTrip::setArrived ( MSNet net,
MSTransportable transportable,
SUMOTime  now,
const bool  vehicleArrived 
)
virtual

logs end of the step

Reimplemented from MSStage.

Definition at line 110 of file MSStageTrip.cpp.

References MSVehicleControl::addVehicle(), MSTransportable::appendStage(), MSVehicleControl::buildVehicle(), IntermodalRouter< E, L, N, V >::compute(), DEFAULT_BIKETYPE_ID, DEFAULT_TAXITYPE_ID, MSVehicleControl::deleteVehicle(), SUMOVehicleParameter::depart, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, MSGlobals::gCheckRoutes, MSStoppingPlace::getAccessPos(), MSStage::getArrivalPos(), MSStoppingPlace::getBeginLanePosition(), MSTransportable::getCurrentStageIndex(), MSNet::getCurrentTimeStep(), MSStage::getDestination(), getDestinationDescription(), MSStage::getDestinationStop(), MSStage::getEdges(), MSStoppingPlace::getEndLanePosition(), MSEdge::getFromJunction(), MSVehicleType::getID(), Named::getID(), MSNet::getInstance(), MSNet::getIntermodalRouter(), MSEdge::getLanes(), MSEdge::getLength(), MSTransportable::getMaxSpeed(), MSTransportable::getNextStage(), MSTransportable::getNumStages(), getOriginDescription(), MSTransportable::getParameter(), SUMOTrafficObject::getParameter(), MSEdge::getPermissions(), MSEdge::getPredecessors(), MSNet::getStoppingPlace(), MSEdge::getSuccessors(), MSEdge::getToJunction(), MSVehicleType::getVehicleClass(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), GIVEN, MSGlobals::gUseMesoSim, StringTokenizer::hasNext(), MSEdge::isTazConnector(), MSStage::markSet(), MAX2(), MIN2(), MSStage::myArrivalPos, myDepartPos, myDepartPosLat, MSStage::myDestination, MSStage::myDestinationStop, myDuration, MSStage::myGroup, myHaveArrivalPos, myModeSet, myOrigin, myOriginStop, mySpeed, myVTypes, myWalkFactor, RandHelper::rand(), RANDOM, SUMOVehicle::replaceRouteEdges(), MSStage::setArrivalPos(), SUMOVehicle::setArrivalPos(), MSStage::setArrived(), MSStage::setCosts(), Parameterised::setParameters(), SUMO_TAG_BUS_STOP, SVC_BICYCLE, SVC_IGNORING, SVC_PASSENGER, SVC_TAXI, TIME2STEPS, TL, toString(), TRIGGERED, VEHPARS_ARRIVALPOS_SET, VEHPARS_ARRIVALSPEED_SET, VEHPARS_DEPARTPOS_SET, VEHPARS_VTYPE_SET, MSStage::wasSet(), and WRITE_WARNINGF.

◆ setCosts()

void MSStage::setCosts ( double  costs)
inlineinherited

Sets the costs of the stage.

Parameters
[in]costsThe new stage costs

Definition at line 263 of file MSStage.h.

References MSStage::myCosts.

Referenced by setArrived().

Here is the caller graph for this function:

◆ setDeparted()

void MSStage::setDeparted ( SUMOTime  now)
inherited

logs end of the step

Definition at line 121 of file MSStage.cpp.

References MSStage::myDeparted.

◆ setDestination()

void MSStage::setDestination ( const MSEdge newDestination,
MSStoppingPlace newDestStop 
)
inherited

Definition at line 189 of file MSStage.cpp.

References MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getEndLanePosition(), MSStage::myArrivalPos, MSStage::myDestination, and MSStage::myDestinationStop.

Referenced by MSTransportable::rerouteParkingArea().

Here is the caller graph for this function:

◆ setOrigin()

void MSStageTrip::setOrigin ( const MSEdge origin)
inline

change origin for parking area rerouting

Definition at line 86 of file MSStageTrip.h.

References myOrigin.

◆ setParameter()

void Parameterised::setParameter ( const std::string &  key,
const std::string &  value 
)
virtualinherited

Sets a parameter.

Parameters
[in]keyThe parameter's name
[in]valueThe parameter's value

Reimplemented in NEMALogic, MSSimpleTrafficLightLogic, MSRailSignal, MSActuatedTrafficLightLogic, and MSRailCrossing.

Definition at line 45 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NBRailwayTopologyAnalyzer::addBidiEdge(), NLHandler::addDistrict(), RONetHandler::addParam(), ShapeHandler::addPOI(), NBOwnTLDef::buildNemaPhases(), MSParkingArea::enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSStateHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), GNESingleParametersDialog::onCmdAccept(), NBRailwayTopologyAnalyzer::reverseEdges(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), Parameterised::setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), Parameterised::updateParameters(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().

Here is the caller graph for this function:

◆ setParameters()

void Parameterised::setParameters ( const Parameterised params)
inherited

set the inner key/value map in map<string, string> format

Definition at line 167 of file Parameterised.cpp.

References Parameterised::getParametersMap(), and Parameterised::myMap.

Referenced by MSStageDriving::clone(), MSStageTranship::clone(), clone(), MSStageWaiting::clone(), MSStageWalking::clone(), and setArrived().

Here is the caller graph for this function:

◆ setParametersStr()

void Parameterised::setParametersStr ( const std::string &  paramsString,
const std::string  kvsep = "=",
const std::string  sep = "|" 
)
inherited

set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"

Parameters
[in]paramsStringA serialized key-value map
[in]kvsepThe separater between key and value
[in]sepThe separater between map entries

Definition at line 173 of file Parameterised.cpp.

References StringTokenizer::getVector(), Parameterised::myMap, and Parameterised::setParameter().

Referenced by MSDevice_Taxi::initDispatch(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEEntryExitDetector::setAttribute(), GNEInductionLoopDetector::setAttribute(), GNEInstantInductionLoopDetector::setAttribute(), GNELaneAreaDetector::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNEOverheadWire::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingSpace::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNETractionSubstation::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEPOI::setAttribute(), and GNEPoly::setAttribute().

Here is the caller graph for this function:

◆ setSpeed()

virtual void MSStage::setSpeed ( double  )
inlinevirtualinherited

sets the walking speed (ignored in other stages)

Reimplemented in MSStageWalking.

Definition at line 148 of file MSStage.h.

◆ tripInfoOutput()

void MSStageTrip::tripInfoOutput ( OutputDevice os,
const MSTransportable *const  transportable 
) const
inlinevirtual

Called on writing tripinfo output.

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

Implements MSStage.

Definition at line 98 of file MSStageTrip.h.

References UNUSED_PARAMETER.

◆ unsetParameter()

void Parameterised::unsetParameter ( const std::string &  key)
inherited

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 51 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_OpenStreetMap::insertEdge(), MSLane::isInsertionSuccess(), NIImporter_OpenStreetMap::load(), GNEVType::setAttribute(), and LIBSUMO_NAMESPACE::TrafficLight::swapParameters().

Here is the caller graph for this function:

◆ updateParameters()

void Parameterised::updateParameters ( const Parameterised::Map mapArg)
inherited

◆ wasSet()

bool MSStage::wasSet ( int  what) const
inlineinherited

Definition at line 243 of file MSStage.h.

References MSStage::myParametersSet.

Referenced by routeOutput(), MSStageWalking::routeOutput(), and setArrived().

Here is the caller graph for this function:

◆ writeParams()

void Parameterised::writeParams ( OutputDevice device) const
inherited

write Params in the given outputdevice

Definition at line 188 of file Parameterised.cpp.

References OutputDevice::closeTag(), StringUtils::escapeXML(), Parameterised::myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().

Referenced by MSStageWaiting::routeOutput(), MSTransportable::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), MSStop::write(), SUMOVTypeParameter::write(), SUMOVehicleParameter::Stop::write(), NBPTStop::write(), MSRailSignalConstraint_Predecessor::write(), GNEBusStop::writeAdditional(), GNECalibrator::writeAdditional(), GNECalibratorFlow::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEInductionLoopDetector::writeAdditional(), GNEInstantInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEOverheadWire::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), GNERerouter::writeAdditional(), GNERouteProbe::writeAdditional(), GNETAZ::writeAdditional(), GNETractionSubstation::writeAdditional(), GNEVaporizer::writeAdditional(), GNEVariableSpeedSign::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), NWWriter_SUMO::writeTrafficLight(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().

Here is the caller graph for this function:

Field Documentation

◆ myArrivalPos

◆ myArrivalPosLat

double MSStage::myArrivalPosLat
protectedinherited

the lateral position at which we want to arrive

Definition at line 278 of file MSStage.h.

Referenced by MSStageDriving::clone(), MSStage::getArrivalPosLat(), MSStage::getEdgePosLat(), and MSStageDriving::setArrived().

◆ myArrived

◆ myCosts

double MSStage::myCosts
protectedinherited

The assigned or calculated costs.

Definition at line 293 of file MSStage.h.

Referenced by MSStage::getCosts(), and MSStage::setCosts().

◆ myDeparted

◆ myDepartPos

double MSStageTrip::myDepartPos
private

The depart position.

Definition at line 147 of file MSStageTrip.h.

Referenced by getAngle(), getEdgePos(), getPosition(), and setArrived().

◆ myDepartPosLat

const double MSStageTrip::myDepartPosLat
private

The lateral depart position.

Definition at line 150 of file MSStageTrip.h.

Referenced by clone(), and setArrived().

◆ myDestination

◆ myDestinationStop

◆ myDuration

SUMOTime MSStageTrip::myDuration
private

the time the trip should take (applies to only walking)

Definition at line 132 of file MSStageTrip.h.

Referenced by clone(), and setArrived().

◆ myGroup

const std::string MSStage::myGroup
protectedinherited

The id of the group of transportables traveling together.

Definition at line 290 of file MSStage.h.

Referenced by MSStageDriving::abort(), MSStageDriving::clone(), clone(), MSStageDriving::BookReservation::execute(), MSStage::getGroup(), MSStageDriving::registerWaiting(), routeOutput(), and setArrived().

◆ myHaveArrivalPos

const bool MSStageTrip::myHaveArrivalPos
private

whether an arrivalPos was in the input

Definition at line 153 of file MSStageTrip.h.

Referenced by clone(), and setArrived().

◆ myMap

◆ myModeSet

const SVCPermissions MSStageTrip::myModeSet
private

The allowed modes of transportation.

Definition at line 135 of file MSStageTrip.h.

Referenced by clone(), isWalk(), routeOutput(), and setArrived().

◆ myOrigin

const MSEdge* MSStageTrip::myOrigin
private

the origin edge

Definition at line 126 of file MSStageTrip.h.

Referenced by clone(), getAngle(), getEdge(), getOriginDescription(), getPosition(), routeOutput(), setArrived(), and setOrigin().

◆ myOriginStop

MSStoppingPlace* MSStageTrip::myOriginStop
private

the origin edge

Definition at line 129 of file MSStageTrip.h.

Referenced by clone(), getOriginDescription(), getOriginStop(), and setArrived().

◆ myParametersSet

int MSStage::myParametersSet
protectedinherited

Information on which parameter were set (mainly for vehroute output)

Definition at line 296 of file MSStage.h.

Referenced by MSStage::markSet(), and MSStage::wasSet().

◆ mySpeed

const double MSStageTrip::mySpeed
private

The walking speed.

Definition at line 141 of file MSStageTrip.h.

Referenced by clone(), and setArrived().

◆ myType

◆ myVTypes

const std::string MSStageTrip::myVTypes
private

The possible vehicles to use.

Definition at line 138 of file MSStageTrip.h.

Referenced by clone(), routeOutput(), and setArrived().

◆ myWalkFactor

const double MSStageTrip::myWalkFactor
private

The factor to apply to walking durations.

Definition at line 144 of file MSStageTrip.h.

Referenced by clone(), routeOutput(), and setArrived().

◆ ROADSIDE_OFFSET

const double MSStage::ROADSIDE_OFFSET
staticprotectedinherited

the offset for computing positions when standing at an edge

Definition at line 299 of file MSStage.h.

Referenced by MSStageDriving::getPosition(), getPosition(), and MSStageWaiting::getPosition().


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