![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSPerson.h>
Public Types | |
typedef std::map< std::string, std::string > | Map |
parameters map | |
Public Member Functions | |
void | abort (MSTransportable *) |
abort this stage (TraCI) | |
void | activateEntryReminders (MSTransportable *person) |
void | activateLeaveReminders (MSTransportable *person, const MSLane *lane, double lastPos, SUMOTime t, bool arrived) |
void | clearParameter () |
Clears the parameter map. | |
MSStage * | clone () const |
double | getAngle (SUMOTime now) const |
Returns the angle of the container. | |
double | getArrivalPos () const |
SUMOTime | getArrived () const |
get arrival time of stage | |
double | getConfiguredSpeed () const |
Returns the configured speed in this stage. | |
SUMOTime | getDeparted () const |
get departure time of stage | |
int | getDepartLane () const |
double | getDepartPos () const |
double | getDepartPosLat () const |
const MSEdge * | getDestination () const |
returns the destination edge | |
MSStoppingPlace * | getDestinationStop () const |
returns the destination stop (if any) | |
int | getDirection () const |
Return the movement directon on the edge. | |
double | getDistance () const |
get travel distance in this stage | |
double | getDouble (const std::string &key, const double defaultValue) const |
Returns the value for a given key converted to a double. | |
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. | |
const MSEdge * | getEdge () const |
Returns the current edge. | |
double | getEdgeAngle (const MSEdge *e, double at) const |
get angle of the edge at a certain position | |
double | getEdgePos (SUMOTime now) const |
Returns the offset from the start of the current edge measured in its natural direction. | |
Position | getEdgePosition (const MSEdge *e, double at, double offset) const |
get position on edge e at length at with orthogonal offset | |
ConstMSEdgeVector | getEdges () const |
the edges of the current stage | |
const MSEdge * | getFromEdge () const |
Returns first edge of the containers route. | |
const std::string & | getGroup () const |
return the id of the group of transportables traveling together | |
const MSLane * | getLane () const |
Returns the current lane. | |
Position | getLanePosition (const MSLane *lane, double at, double offset) const |
get position on lane at length at with orthogonal offset | |
double | getMaxSpeed (const MSTransportable *const person) const |
accessors to be used by MSPModel | |
const MSEdge * | getNextRouteEdge () const |
virtual MSStoppingPlace * | getOriginStop () const |
returns the origin stop (if any). only needed for MSStageTrip | |
virtual const std::string | getParameter (const std::string &key, const std::string defaultValue="") const |
Returns the value for a given key. | |
const Parameterised::Map & | getParametersMap () const |
Returns the inner key/value map. | |
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". | |
Position | getPosition (SUMOTime now) const |
Returns the position of the container. | |
const std::vector< const MSEdge * > & | getRoute () const |
int | getRoutePosition () const |
return index of current edge within route | |
const std::vector< constMSEdge * >::iterator | getRouteStep () const |
double | getSpeed () const |
Returns the speed of the container. | |
std::string | getStageDescription (const bool isPerson) const |
return (brief) string representation of the current stage | |
std::string | getStageSummary (const bool isPerson) const |
return string summary of the current stage | |
MSStageType | getStageType () const |
virtual MSTransportableStateAdapter * | getState () const |
virtual SUMOVehicle * | getVehicle () const |
Current vehicle in which the transportable is driving (or nullptr) | |
SUMOTime | getWaitingTime (SUMOTime now) const |
Returns the time the container spent waiting. | |
virtual bool | isWaiting4Vehicle () const |
Whether the transportable waits for a vehicle. | |
virtual bool | isWaitingFor (const SUMOVehicle *vehicle) const |
Whether the transportable waits for the given vehicle. | |
bool | knowsParameter (const std::string &key) const |
Returns whether the parameter is known. | |
void | loadState (MSTransportable *transportable, std::istringstream &state) |
Reconstructs the current state. | |
void | markSet (int what) |
bool | moveToNextEdge (MSTransportable *person, SUMOTime currentTime, int prevDir, MSEdge *nextInternal=nullptr) |
move forward and return whether the person arrived | |
MSPersonStage_Walking (const std::string &personID, const ConstMSEdgeVector &route, MSStoppingPlace *toStop, SUMOTime walkingTime, double speed, double departPos, double arrivalPos, double departPosLat, int departLane=-1, const std::string &routeID="") | |
constructor | |
virtual void | proceed (MSNet *net, MSTransportable *person, SUMOTime now, MSStage *previous) |
proceeds to the next step | |
virtual void | replaceRoute (MSTransportable *const transportable, const ConstMSEdgeVector &edges, int routeOffset) |
virtual void | routeOutput (const bool isPerson, OutputDevice &os, const bool withRouteLength, const MSStage *const previous) const |
Called on writing vehroute output. | |
void | saveState (std::ostringstream &out) |
Saves the current state into the given stream. | |
void | setArrivalPos (double arrivalPos) |
virtual const std::string | setArrived (MSNet *net, MSTransportable *transportable, SUMOTime now, const bool vehicleArrived) |
logs end of the step | |
void | setDeparted (SUMOTime now) |
logs end of the step | |
void | setDestination (const MSEdge *newDestination, MSStoppingPlace *newDestStop) |
virtual void | setParameter (const std::string &key, const std::string &value) |
Sets a parameter. | |
void | setParameters (const Parameterised ¶ms) |
set the inner key/value map in map<string, string> format | |
void | setParametersMap (const Parameterised::Map ¶msMap) |
set the inner key/value map in map<string, string> format | |
void | setParametersStr (const std::string ¶msString, const std::string kvsep="=", const std::string sep="|") |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" | |
virtual void | setRouteIndex (MSTransportable *const transportable, int routeOffset) |
place transportable on a previously passed edge | |
void | setSpeed (double speed) |
sets the walking speed (ignored in other stages) | |
virtual void | tripInfoOutput (OutputDevice &os, const MSTransportable *const transportable) const |
Called on writing tripinfo output. | |
void | unsetParameter (const std::string &key) |
Removes a parameter. | |
void | updateParameters (const Parameterised::Map &mapArg) |
Adds or updates all given parameters from the map. | |
bool | wasSet (int what) const |
void | writeParams (OutputDevice &device) const |
write Params in the given outputdevice | |
~MSPersonStage_Walking () | |
destructor | |
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) | |
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" | |
static const MSLane * | checkDepartLane (const MSEdge *edge, SUMOVehicleClass svc, int laneIndex, const std::string &id) |
interpret custom depart lane | |
Protected Attributes | |
double | myArrivalPos |
the position at which we want to arrive | |
SUMOTime | myArrived |
the time at which this stage ended | |
MSEdge * | myCurrentInternalEdge = nullptr |
The current internal edge this transportable is on or nullptr. | |
SUMOTime | myDeparted |
the time at which this stage started | |
int | myDepartLane |
the depart lane or -1 | |
double | myDepartPos |
the depart position | |
double | myDepartPosLat |
the lateral depart position | |
const MSEdge * | myDestination |
the next edge to reach by getting transported | |
MSStoppingPlace * | myDestinationStop |
the stop to reach by getting transported (if any) | |
const std::string | myGroup |
The id of the group of transportables traveling together. | |
int | myParametersSet |
Information on which parameter were set (mainly for vehroute output) | |
std::vector< const MSEdge * > | myRoute |
The route of the container. | |
std::string | myRouteID |
The original route id. | |
std::vector< constMSEdge * >::iterator | myRouteStep |
current step | |
double | mySpeed |
the speed of the transportable | |
MSTransportableStateAdapter * | myState |
state that is to be manipulated by MSPModel | |
MSStageType | myType |
The type of this stage. | |
Static Protected Attributes | |
static const double | ROADSIDE_OFFSET |
the offset for computing positions when standing at an edge | |
Private Member Functions | |
double | computeAverageSpeed () const |
MSPersonStage_Walking (const MSPersonStage_Walking &) | |
Invalidated copy constructor. | |
MSPersonStage_Walking & | operator= (const MSPersonStage_Walking &) |
Invalidated assignment operator. | |
double | walkDistance (bool partial=false) const |
compute total walking distance | |
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" | |
Private Attributes | |
std::vector< SUMOTime > * | myExitTimes |
optional exit time tracking for vehroute output | |
double | myInternalDistance |
distance walked on non-normal edges (i.e. walkingareas) | |
SUMOTime | myLastEdgeEntryTime |
the time the person entered the edge | |
Parameterised::Map | myMap |
The key->value map. | |
std::vector< MSMoveReminder * > | myMoveReminders |
the MoveReminders encountered while walking | |
SUMOTime | myWalkingTime |
the time the person is walking | |
A "real" stage performing the walking to an edge The walking does not need any route as it is not simulated. Only the duration is needed
Definition at line 68 of file MSPerson.h.
|
inherited |
parameters map
Definition at line 45 of file Parameterised.h.
MSPerson::MSPersonStage_Walking::MSPersonStage_Walking | ( | const std::string & | personID, |
const ConstMSEdgeVector & | route, | ||
MSStoppingPlace * | toStop, | ||
SUMOTime | walkingTime, | ||
double | speed, | ||
double | departPos, | ||
double | arrivalPos, | ||
double | departPosLat, | ||
int | departLane = -1 , |
||
const std::string & | routeID = "" |
||
) |
constructor
Definition at line 56 of file MSPerson.cpp.
References computeAverageSpeed(), SUMOVehicleParameter::interpretEdgePos(), MSStage::myArrivalPos, MSStageMoving::myDepartPos, MSStageMoving::mySpeed, SUMO_ATTR_ARRIVALPOS, and SUMO_ATTR_DEPARTPOS.
MSPerson::MSPersonStage_Walking::~MSPersonStage_Walking | ( | ) |
destructor
Definition at line 76 of file MSPerson.cpp.
|
private |
Invalidated copy constructor.
|
virtual |
abort this stage (TraCI)
Reimplemented from MSStage.
Definition at line 145 of file MSPerson.cpp.
References MSNet::getInstance(), MSTransportableControl::getMovementModel(), MSNet::getPersonControl(), and MSPModel::remove().
|
virtual |
Reimplemented from MSStageMoving.
Definition at line 379 of file MSPerson.cpp.
References MSTransportable::getEdge(), MSLane::getMoveReminders(), and MSMoveReminder::NOTIFICATION_JUNCTION.
void MSPerson::MSPersonStage_Walking::activateLeaveReminders | ( | MSTransportable * | person, |
const MSLane * | lane, | ||
double | lastPos, | ||
SUMOTime | t, | ||
bool | arrived | ||
) |
Definition at line 369 of file MSPerson.cpp.
References MSLane::getLength(), MSMoveReminder::NOTIFICATION_ARRIVED, and MSMoveReminder::NOTIFICATION_JUNCTION.
|
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 216 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().
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 197 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEEntryExitDetector::isValid(), GNEInductionLoopDetector::isValid(), GNEInstantInductionLoopDetector::isValid(), GNELaneAreaDetector::isValid(), GNEMultiEntryExitDetector::isValid(), GNEOverheadWire::isValid(), GNEParkingArea::isValid(), GNEParkingSpace::isValid(), GNERerouter::isValid(), GNERouteProbe::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNETractionSubstation::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEContainer::isValid(), GNEPerson::isValid(), GNERoute::isValid(), GNEStop::isValid(), GNEVehicle::isValid(), GNEVType::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNELane::isValid(), GNELaneType::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNETLSEditorFrame::TLSAttributes::isValidParameters(), and GNEFrameAttributeModules::GenericDataAttributes::onCmdSetParameters().
|
staticinherited |
interpret custom depart lane
Definition at line 119 of file MSStageMoving.cpp.
References MSEdge::getLanes(), OptionsCont::getOptions(), toString(), and WRITE_WARNING.
Referenced by MSPModel_Striping::add(), and MSRouteHandler::interpretDepartPosLat().
|
inherited |
Clears the parameter map.
Definition at line 120 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing().
|
virtual |
Implements MSStage.
Definition at line 82 of file MSPerson.cpp.
References MSRoute::dictionary(), MSRoute::distDictionary(), MSStage::getEdges(), MSRouteHandler::getParsingRNG(), TL, and WRITE_WARNINGF.
|
private |
Definition at line 157 of file MSPerson.cpp.
References STEPS2TIME.
Referenced by MSPersonStage_Walking().
|
virtualinherited |
Returns the angle of the container.
Implements MSStage.
Definition at line 79 of file MSStageMoving.cpp.
References MSTransportableStateAdapter::getAngle(), and MSStageMoving::myState.
|
inlinevirtual |
Reimplemented from MSStage.
Definition at line 135 of file MSPerson.h.
References MSStage::myArrivalPos.
|
inherited |
get arrival time of stage
Definition at line 122 of file MSStage.cpp.
References MSStage::myArrived.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
|
inlineinherited |
Returns the configured speed in this stage.
Definition at line 84 of file MSStageMoving.h.
References MSStageMoving::mySpeed.
|
inherited |
get departure time of stage
Definition at line 117 of file MSStage.cpp.
References MSStage::myDeparted.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
|
inlineinherited |
Definition at line 117 of file MSStageMoving.h.
References MSStageMoving::myDepartLane.
Referenced by MSPModel_Striping::add().
|
inlineinherited |
Definition at line 109 of file MSStageMoving.h.
References MSStageMoving::myDepartPos.
Referenced by MSPModel_NonInteracting::PState::computeDuration(), and MSPModel_NonInteracting::CState::computeDuration().
|
inlineinherited |
Definition at line 113 of file MSStageMoving.h.
References MSStageMoving::myDepartPosLat.
|
inherited |
returns the destination edge
Definition at line 61 of file MSStage.cpp.
References MSStage::myDestination.
Referenced by MSPerson::checkAccess(), MSStageDriving::getArrivalPos(), MSStage::getEdges(), MSStageDriving::getEdges(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSPModel_Striping::moveInDirectionOnLane(), MSRouteHandler::parseWalkPositions(), MSTransportable::proceed(), MSStageDriving::registerWaiting(), MSTransportable::rerouteParkingArea(), MSStageDriving::routeOutput(), MSStageWaiting::routeOutput(), and MSStageTrip::setArrived().
|
inlineinherited |
returns the destination stop (if any)
Definition at line 80 of file MSStage.h.
References MSStage::myDestinationStop.
Referenced by MSPerson::checkAccess(), GUIPerson::getDestinationStopID(), LIBSUMO_NAMESPACE::Person::getStage(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageDriving::loadState(), MSPModel_Striping::moveInDirectionOnLane(), MSDevice_Transportable::notifyMove(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), MSRouteHandler::parseWalkPositions(), MSStageDriving::proceed(), MSTransportable::proceed(), MSStageDriving::registerWaiting(), MSTransportable::rerouteParkingArea(), and MSStageTrip::setArrived().
|
virtualinherited |
Return the movement directon on the edge.
Reimplemented from MSStage.
Definition at line 68 of file MSStageMoving.cpp.
References MSTransportableStateAdapter::getDirection(), MSNet::getInstance(), MSStageMoving::myState, and MSPModel::UNDEFINED_DIRECTION.
|
inlinevirtual |
get travel distance in this stage
Implements MSStage.
Definition at line 89 of file MSPerson.h.
References walkDistance().
|
inherited |
Returns the value for a given key converted to a double.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 81 of file Parameterised.cpp.
References Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by MSDevice_Battery::buildVehicleDevices(), EnergyParams::EnergyParams(), MSSOTLPolicy5DStimulus::getStimCox(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionIn(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionOut(), MSSOTLPolicy5DStimulus::getStimCoxExpIn(), MSSOTLPolicy5DStimulus::getStimCoxExpOut(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionIn(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionOut(), MSSOTLPolicy5DStimulus::getStimDivisorIn(), MSSOTLPolicy5DStimulus::getStimDivisorOut(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionIn(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionOut(), MSSOTLPolicy5DStimulus::getStimOffsetIn(), MSSOTLPolicy5DStimulus::getStimOffsetOut(), MSActuatedTrafficLightLogic::init(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), and MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus().
|
inherited |
Returns the value for a given key converted to a list of doubles.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 99 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by EnergyParams::EnergyParams().
|
virtualinherited |
Returns the current edge.
Reimplemented from MSStage.
Definition at line 43 of file MSStageMoving.cpp.
References MSStageMoving::myCurrentInternalEdge, MSStageMoving::myRoute, and MSStageMoving::myRouteStep.
Referenced by MSPModel_NonInteracting::PState::computeDuration(), MSPModel_NonInteracting::MoveToNextEdge::execute(), MSPModel_NonInteracting::PState::getAngle(), MSPModel_NonInteracting::CState::getAngle(), MSPModel_NonInteracting::PState::getPosition(), MSStageTranship::moveToNextEdge(), MSStageMoving::replaceRoute(), and MSStageMoving::setRouteIndex().
|
inherited |
get angle of the edge at a certain position
Definition at line 149 of file MSStage.cpp.
References MSEdge::getLanes().
Referenced by MSPModel_NonInteracting::PState::getAngle(), MSPModel_NonInteracting::CState::getAngle(), MSStageDriving::getAngle(), MSStageTrip::getAngle(), and MSStageWaiting::getAngle().
|
virtualinherited |
Returns the offset from the start of the current edge measured in its natural direction.
Reimplemented from MSStage.
Definition at line 63 of file MSStageMoving.cpp.
References MSTransportableStateAdapter::getEdgePos(), and MSStageMoving::myState.
get position on edge e at length at with orthogonal offset
Definition at line 138 of file MSStage.cpp.
References MSStage::getLanePosition(), and MSEdge::getLanes().
Referenced by MSStageDriving::getPosition(), MSStageTrip::getPosition(), and MSStageWaiting::getPosition().
|
virtualinherited |
the edges of the current stage
Reimplemented from MSStage.
Definition at line 57 of file MSStageMoving.cpp.
References MSStageMoving::myRoute.
Referenced by MSPModel_NonInteracting::CState::computeDuration(), and LIBSUMO_NAMESPACE::Person::moveToXY().
|
virtualinherited |
Returns first edge of the containers route.
Reimplemented from MSStage.
Definition at line 52 of file MSStageMoving.cpp.
References MSStageMoving::myRoute.
Referenced by MSPModel_NonInteracting::CState::computeDuration().
|
inlineinherited |
return the id of the group of transportables traveling together
Definition at line 122 of file MSStage.h.
References MSStage::myGroup.
|
virtualinherited |
Returns the current lane.
Reimplemented from MSStage.
Definition at line 94 of file MSStageMoving.cpp.
References MSTransportableStateAdapter::getLane(), and MSStageMoving::myState.
get position on lane at length at with orthogonal offset
Definition at line 143 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().
|
virtual |
accessors to be used by MSPModel
Implements MSStageMoving.
Definition at line 399 of file MSPerson.cpp.
References MSTransportable::getMaxSpeed().
|
inlinevirtual |
Implements MSStageMoving.
Definition at line 139 of file MSPerson.h.
References MSStageMoving::myRoute, and MSStageMoving::myRouteStep.
|
inlinevirtualinherited |
returns the origin stop (if any). only needed for MSStageTrip
Reimplemented in MSStageDriving, and MSStageTrip.
Definition at line 85 of file MSStage.h.
Referenced by GUIPerson::getGUIPosition(), MSTransportableControl::loadAnyWaiting(), MSStageDriving::loadState(), MSStageDriving::proceed(), and MSTransportable::proceed().
|
virtualinherited |
Returns the value for a given key.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Reimplemented in MSActuatedTrafficLightLogic, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 71 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEGenericData::drawFilteredAttribute(), GNEConnection::drawGL(), GUIEdge::drawGL(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), 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(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSAbstractLaneChangeModel::laneChangeOutput(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSDevice_GLOSA::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), 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().
|
inherited |
Returns the inner key/value map.
Definition at line 126 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), 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(), 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(), MSBaseVehicle::initTransientModelParams(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), GNESingleParametersDialog::onCmdReset(), GNEVType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), Parameterised::setParameters(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().
|
inherited |
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
Definition at line 132 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().
Returns the position of the container.
Implements MSStage.
Definition at line 74 of file MSStageMoving.cpp.
References MSTransportableStateAdapter::getPosition(), Position::INVALID, and MSStageMoving::myState.
|
inlineinherited |
Definition at line 101 of file MSStageMoving.h.
References MSStageMoving::myRoute.
Referenced by GUIPerson::drawGLAdditional(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSPModel_Striping::PState::PState().
|
virtual |
return index of current edge within route
Reimplemented from MSStage.
Definition at line 393 of file MSPerson.cpp.
|
inlineinherited |
Definition at line 105 of file MSStageMoving.h.
References MSStageMoving::myRouteStep.
Referenced by LIBSUMO_NAMESPACE::Person::moveToXY().
|
virtualinherited |
Returns the speed of the container.
Reimplemented from MSStage.
Definition at line 89 of file MSStageMoving.cpp.
References MSTransportableStateAdapter::getSpeed(), and MSStageMoving::myState.
|
inlinevirtual |
return (brief) string representation of the current stage
Implements MSStage.
Definition at line 96 of file MSPerson.h.
References MSTransportable::isPerson(), and UNUSED_PARAMETER.
|
virtual |
return string summary of the current stage
Implements MSStage.
Definition at line 404 of file MSPerson.cpp.
References MSTransportable::getDestination(), and Named::getID().
|
inlineinherited |
Definition at line 117 of file MSStage.h.
References MSStage::myType.
Referenced by MSPerson::checkAccess(), LIBSUMO_NAMESPACE::Person::getStage(), MSStageDriving::loadState(), MSStageDriving::proceed(), MSTransportable::proceed(), MSTransportable::rerouteParkingArea(), MSStageDriving::routeOutput(), and MSStageTrip::routeOutput().
|
inlinevirtualinherited |
Definition at line 49 of file MSStageMoving.h.
References MSStageMoving::myState.
Referenced by GUIPerson::drawAction_drawWalkingareaPath(), MSPModel_NonInteracting::MoveToNextEdge::execute(), MSPerson::getNextEdgePtr(), MSPerson::isJammed(), LIBSUMO_NAMESPACE::Person::moveTo(), and MSPerson::Influencer::postProcessRemoteControl().
|
inlinevirtualinherited |
Current vehicle in which the transportable is driving (or nullptr)
Reimplemented in MSStageDriving.
Definition at line 162 of file MSStage.h.
Referenced by GUIPerson::getVehicleID().
Returns the time the container spent waiting.
Reimplemented from MSStage.
Definition at line 84 of file MSStageMoving.cpp.
References MSTransportableStateAdapter::getWaitingTime(), and MSStageMoving::myState.
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 251 of file Parameterised.cpp.
References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().
Referenced by Parameterised::areAttributesValid(), and Parameterised::areParametersValid().
|
inlinevirtualinherited |
Whether the transportable waits for a vehicle.
Reimplemented in MSStageDriving.
|
virtualinherited |
Whether the transportable waits for the given vehicle.
Reimplemented in MSStageDriving.
Definition at line 133 of file MSStage.cpp.
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 65 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::append(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), 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(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NIImporter_OpenStreetMap::load(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
|
virtual |
Reconstructs the current state.
Reimplemented from MSStage.
Definition at line 421 of file MSPerson.cpp.
References MSEdge::addTransportable(), MSLane::getEdge(), MSNet::getInstance(), MSTransportableStateAdapter::getLane(), MSTransportableControl::getMovementModel(), MSNet::getPersonControl(), and MSPModel::loadState().
|
inlineinherited |
Definition at line 228 of file MSStage.h.
References MSStage::myParametersSet.
Referenced by MSStageTrip::setArrived().
|
virtual |
move forward and return whether the person arrived
Implements MSStageMoving.
Definition at line 320 of file MSPerson.cpp.
References MSEdge::addTransportable(), MSTransportableControl::erase(), MSPModel::FORWARD, MSTransportable::getArrivalPos(), MSTransportable::getEdge(), MSPerson::getInfluencer(), MSNet::getInstance(), MSVehicleType::getLength(), MSNet::getPersonControl(), MSTransportable::getPositionOnLane(), MSTransportable::getVehicleType(), MSPerson::hasInfluencer(), MSPerson::Influencer::isRemoteControlled(), and MSTransportable::proceed().
|
private |
Invalidated assignment operator.
|
virtual |
proceeds to the next step
Implements MSStage.
Definition at line 107 of file MSPerson.cpp.
References MSPModel::add(), MSTransportableControl::erase(), OptionsCont::getBool(), MSStage::getEdge(), MSTransportable::getEdge(), MSStage::getEdgePos(), MSNet::getInstance(), MSTransportableControl::getMovementModel(), MSLane::getMoveReminders(), OptionsCont::getOptions(), MSNet::getPersonControl(), MSMoveReminder::NOTIFICATION_DEPARTED, and MSTransportable::proceed().
|
virtualinherited |
Definition at line 108 of file MSStageMoving.cpp.
References MSEdge::addTransportable(), MSStageMoving::getEdge(), MSStageMoving::myRoute, MSStageMoving::myRouteStep, and MSEdge::removeTransportable().
|
virtual |
Called on writing vehroute output.
[in] | os | The stream to write the information into |
[in] | withRouteLength | whether route length shall be written |
IOError | not yet implemented |
Implements MSStage.
Definition at line 281 of file MSPerson.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), MAX2(), OutputDevice::openTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DURATION, SUMO_ATTR_EDGES, SUMO_ATTR_ENDED, SUMO_ATTR_SPEED, SUMO_ATTR_STARTED, time2string(), toString(), VEHPARS_ARRIVALPOS_SET, and OutputDevice::writeAttr().
|
virtual |
Saves the current state into the given stream.
Reimplemented from MSStage.
Definition at line 414 of file MSPerson.cpp.
|
inlineinherited |
Definition at line 93 of file MSStage.h.
References MSStage::myArrivalPos.
Referenced by MSTransportable::rerouteParkingArea(), and MSStageTrip::setArrived().
|
virtualinherited |
logs end of the step
Reimplemented in MSStageDriving, and MSStageTrip.
Definition at line 127 of file MSStage.cpp.
References MSStage::myArrived.
Referenced by MSTransportable::proceed(), MSStageDriving::setArrived(), and MSStageTrip::setArrived().
|
inherited |
|
inherited |
Definition at line 155 of file MSStage.cpp.
References MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getEndLanePosition(), MSStage::myArrivalPos, MSStage::myDestination, and MSStage::myDestinationStop.
Referenced by MSTransportable::rerouteParkingArea().
|
virtualinherited |
Sets a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Reimplemented in MSRailCrossing, MSActuatedTrafficLightLogic, MSRailSignal, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 45 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::addDistrict(), RONetHandler::addParam(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NBEdge::append(), NBOwnTLDef::buildNemaPhases(), MSParkingArea::enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSStateHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), MSDevice_Bluelight::notifyMove(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), Parameterised::updateParameters(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 148 of file Parameterised.cpp.
References Parameterised::getParametersMap(), Parameterised::myMap, and Parameterised::setParameter().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 159 of file Parameterised.cpp.
References Parameterised::myMap, and Parameterised::setParameter().
Referenced by GNESingleParametersDialog::onCmdAccept().
|
inherited |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
[in] | paramsString | A serialized key-value map |
[in] | kvsep | The separater between key and value |
[in] | sep | The separater between map entries |
Definition at line 170 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().
|
virtualinherited |
place transportable on a previously passed edge
Definition at line 99 of file MSStageMoving.cpp.
References MSEdge::addTransportable(), MSStageMoving::getEdge(), MSStageMoving::myRoute, MSStageMoving::myRouteStep, and MSEdge::removeTransportable().
|
virtual |
sets the walking speed (ignored in other stages)
Reimplemented from MSStage.
Definition at line 151 of file MSPerson.cpp.
|
virtual |
Called on writing tripinfo output.
[in] | os | The stream to write the information into |
IOError | not yet implemented |
Implements MSStage.
Definition at line 256 of file MSPerson.cpp.
References MSDevice_Tripinfo::addPedestrianData(), OutputDevice::closeTag(), MSNet::getCurrentTimeStep(), MSNet::getInstance(), MSTransportable::getMaxSpeed(), OutputDevice::openTag(), TIME2STEPS, time2string(), toString(), and OutputDevice::writeAttr().
|
inherited |
Removes a parameter.
[in] | key | The 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().
|
inherited |
Adds or updates all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 57 of file Parameterised.cpp.
References Parameterised::setParameter().
Referenced by NIImporter_SUMO::_loadNetwork(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NLJunctionControlBuilder::closeTrafficLightLogic(), NBTrafficLightDefinition::compute(), NLDetectorBuilder::endE3Detector(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), and LIBSUMO_NAMESPACE::TrafficLight::swapConstraints().
|
private |
compute total walking distance
Definition at line 172 of file MSPerson.cpp.
References MSPModel::BACKWARD, MSPModel::canTraverse(), Position::distanceTo2D(), MSPModel::FORWARD, MSTransportable::getEdgePos(), MSEdge::getFromJunction(), MSNet::getInstance(), MSTransportableControl::getMovementModel(), MSNet::getPersonControl(), MSLane::getShape(), MSEdge::getToJunction(), MAX2(), SIMSTEP, MSPModel::UNDEFINED_DIRECTION, and MSPModel::usingInternalLanes().
Referenced by getDistance().
|
inlineinherited |
Definition at line 224 of file MSStage.h.
References MSStage::myParametersSet.
Referenced by MSStageTrip::routeOutput(), and MSStageTrip::setArrived().
|
inherited |
write Params in the given outputdevice
Definition at line 185 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().
|
protectedinherited |
the position at which we want to arrive
Definition at line 241 of file MSStage.h.
Referenced by MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageDriving::getAngle(), MSStageWaiting::getAngle(), getArrivalPos(), MSStage::getArrivalPos(), MSStageDriving::getArrivalPos(), MSStageTranship::getArrivalPos(), MSStage::getEdgePos(), MSStageDriving::getEdgePos(), MSStageDriving::getPosition(), MSStageWaiting::getPosition(), MSPersonStage_Walking(), MSStageTranship::MSStageTranship(), MSStageDriving::routeOutput(), MSStageTrip::routeOutput(), MSStage::setArrivalPos(), MSStageDriving::setArrived(), MSStageTrip::setArrived(), MSStage::setDestination(), MSStageTranship::tripInfoOutput(), MSStageWaiting::tripInfoOutput(), and MSStageDriving::unspecifiedArrivalPos().
|
protectedinherited |
the time at which this stage ended
Definition at line 247 of file MSStage.h.
Referenced by MSStageDriving::getAngle(), MSStage::getArrived(), MSStageDriving::getDirection(), MSStageTranship::getDistance(), MSStageDriving::getEdge(), MSStageDriving::getEdgePos(), MSStageDriving::getPosition(), MSStageDriving::isWaiting4Vehicle(), MSStageDriving::loadState(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSStageDriving::saveState(), MSStage::setArrived(), MSStageDriving::tripInfoOutput(), MSStageTranship::tripInfoOutput(), and MSStageWaiting::tripInfoOutput().
|
protectedinherited |
The current internal edge this transportable is on or nullptr.
Definition at line 138 of file MSStageMoving.h.
Referenced by MSStageMoving::getEdge().
|
protectedinherited |
the time at which this stage started
Definition at line 244 of file MSStage.h.
Referenced by MSStage::getDeparted(), MSStageTranship::getDistance(), MSStageDriving::loadState(), MSStageWaiting::loadState(), MSStageTranship::proceed(), MSStageWaiting::proceed(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageWaiting::routeOutput(), MSStageDriving::saveState(), MSStageWaiting::saveState(), MSStage::setDeparted(), MSStageDriving::tripInfoOutput(), MSStageTranship::tripInfoOutput(), and MSStageWaiting::tripInfoOutput().
|
protectedinherited |
the depart lane or -1
Definition at line 150 of file MSStageMoving.h.
Referenced by MSStageMoving::getDepartLane().
|
protectedinherited |
the depart position
Definition at line 144 of file MSStageMoving.h.
Referenced by MSStageTranship::clone(), MSStageMoving::getDepartPos(), MSPersonStage_Walking(), MSStageTranship::MSStageTranship(), MSStageTranship::proceed(), and MSStageTranship::tripInfoOutput().
|
protectedinherited |
the lateral depart position
Definition at line 147 of file MSStageMoving.h.
Referenced by MSStageMoving::getDepartPosLat().
|
protectedinherited |
the next edge to reach by getting transported
Definition at line 235 of file MSStage.h.
Referenced by MSStageDriving::abort(), MSStageDriving::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageDriving::getAngle(), MSStageWaiting::getAngle(), MSStage::getDestination(), MSStageTrip::getDestinationDescription(), MSStage::getEdge(), MSStageDriving::getEdge(), MSStage::getFromEdge(), MSStageDriving::getPosition(), MSStageWaiting::getPosition(), MSStageDriving::isWaitingFor(), MSStageWaiting::loadState(), MSStageTrip::routeOutput(), MSStageTrip::setArrived(), and MSStage::setDestination().
|
protectedinherited |
the stop to reach by getting transported (if any)
Definition at line 238 of file MSStage.h.
Referenced by MSStageDriving::abort(), MSStageDriving::canLeaveVehicle(), MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageTrip::getDestinationDescription(), MSStage::getDestinationStop(), MSStageDriving::getWaitingDescription(), MSStageDriving::isWaitingFor(), MSStageWaiting::loadState(), MSStageTranship::moveToNextEdge(), MSPerson::MSPersonStage_Access::MSPersonStage_Access(), MSStageWaiting::proceed(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSStageTrip::setArrived(), and MSStage::setDestination().
|
private |
optional exit time tracking for vehroute output
Definition at line 163 of file MSPerson.h.
|
protectedinherited |
The id of the group of transportables traveling together.
Definition at line 253 of file MSStage.h.
Referenced by MSStageDriving::abort(), MSStageDriving::clone(), MSStageTrip::clone(), MSStage::getGroup(), MSStageDriving::registerWaiting(), MSStageTrip::routeOutput(), and MSStageTrip::setArrived().
|
private |
distance walked on non-normal edges (i.e. walkingareas)
Definition at line 166 of file MSPerson.h.
|
private |
the time the person entered the edge
Definition at line 157 of file MSPerson.h.
|
privateinherited |
The key->value map.
Definition at line 137 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getDoubles(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::knowsParameter(), Parameterised::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), Parameterised::unsetParameter(), and Parameterised::writeParams().
|
private |
the MoveReminders encountered while walking
Definition at line 160 of file MSPerson.h.
|
protectedinherited |
Information on which parameter were set (mainly for vehroute output)
Definition at line 256 of file MSStage.h.
Referenced by MSStage::markSet(), and MSStage::wasSet().
|
protectedinherited |
The route of the container.
Definition at line 129 of file MSStageMoving.h.
Referenced by MSStageTranship::clone(), MSStageMoving::getEdge(), MSStageMoving::getEdges(), MSStageMoving::getFromEdge(), getNextRouteEdge(), MSStageTranship::getNextRouteEdge(), MSStageMoving::getRoute(), MSStageTranship::MSStageTranship(), MSStageTranship::proceed(), MSStageMoving::replaceRoute(), MSStageTranship::routeOutput(), and MSStageMoving::setRouteIndex().
|
protectedinherited |
The original route id.
Definition at line 132 of file MSStageMoving.h.
|
protectedinherited |
current step
Definition at line 135 of file MSStageMoving.h.
Referenced by MSStageMoving::getEdge(), getNextRouteEdge(), MSStageTranship::getNextRouteEdge(), MSStageMoving::getRouteStep(), MSStageTranship::proceed(), MSStageMoving::replaceRoute(), and MSStageMoving::setRouteIndex().
|
protectedinherited |
the speed of the transportable
Definition at line 141 of file MSStageMoving.h.
Referenced by MSStageTranship::clone(), MSStageMoving::getConfiguredSpeed(), MSStageTranship::getDistance(), MSStageTranship::getMaxSpeed(), MSPersonStage_Walking(), MSStageTranship::routeOutput(), and MSStageTranship::tripInfoOutput().
|
protectedinherited |
state that is to be manipulated by MSPModel
Definition at line 126 of file MSStageMoving.h.
Referenced by MSStageMoving::getAngle(), MSStageMoving::getDirection(), MSStageMoving::getEdgePos(), MSStageMoving::getLane(), MSStageMoving::getPosition(), MSStageMoving::getSpeed(), MSStageMoving::getState(), MSStageMoving::getWaitingTime(), MSStageTranship::proceed(), and MSStageMoving::~MSStageMoving().
|
protectedinherited |
The type of this stage.
Definition at line 250 of file MSStage.h.
Referenced by MSStageWaiting::abort(), MSStageWaiting::clone(), MSStage::getStageType(), MSStageWaiting::routeOutput(), and MSStageWaiting::tripInfoOutput().
|
private |
the time the person is walking
Definition at line 154 of file MSPerson.h.
|
staticprotectedinherited |
the offset for computing positions when standing at an edge
Definition at line 259 of file MSStage.h.
Referenced by MSStageDriving::getPosition(), MSStageTrip::getPosition(), and MSStageWaiting::getPosition().