![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSTransportable.h>
Public Types | |
typedef std::vector< MSStage * > | MSTransportablePlan |
the structure holding the plan of a transportable More... | |
typedef long long int | NumericalID |
Public Member Functions | |
SUMOTime | abortStage (SUMOTime step) |
Abort current stage (used for aborting waiting for a vehicle) More... | |
void | addTo (const StoringVisitor &cont) const |
Adds this object to the given container. More... | |
void | appendStage (MSStage *stage, int next=-1) |
Appends the given stage to the current plan. More... | |
virtual bool | checkAccess (const MSStage *const prior, const bool waitAtStop=true) |
virtual double | getAngle () const |
return the current angle of the transportable More... | |
const MSEdge * | getArrivalEdge () const |
returns the final arrival edge More... | |
double | getArrivalPos () const |
returns the final arrival pos More... | |
PositionVector | getBoundingBox () const |
return the bounding box of the person More... | |
virtual double | getChosenSpeedFactor () const |
the current speed factor of the transportable (where applicable) More... | |
MSStage * | getCurrentStage () const |
Return the current stage. More... | |
std::string | getCurrentStageDescription () const |
Returns the current stage description as a string. More... | |
MSStageType | getCurrentStageType () const |
the current stage type of the transportable More... | |
SUMOTime | getDeparture () const |
logs depart time of the current stage More... | |
SUMOTime | getDesiredDepart () const |
Returns the desired departure time. More... | |
const MSEdge * | getDestination () const |
Returns the current destination. More... | |
MSTransportableDevice * | getDevice (const std::type_info &type) const |
Returns a device of the given type if it exists or 0. More... | |
const std::vector< MSTransportableDevice * > & | getDevices () const |
Returns this vehicle's devices. More... | |
virtual int | getDirection () const |
Return the movement directon on the edge. More... | |
const MSEdge * | getEdge () const |
Returns the current edge. More... | |
virtual double | getEdgePos () const |
Return the position on the edge. More... | |
ConstMSEdgeVector | getEdges (int next) const |
Return the edges of the nth next stage. More... | |
const MSEdge * | getFromEdge () const |
Returns the departure edge. More... | |
const std::string & | getID () const |
Returns the id. More... | |
const MSLane * | getLane () const |
Returns the current lane (may be nullptr) More... | |
const MSEdge * | getNextDestination () const |
Returns the destination after the current destination. More... | |
virtual const MSEdge * | getNextEdgePtr () const |
returns the next edge ptr (used by walking persons) More... | |
MSStage * | getNextStage (int next) const |
Return the current stage. More... | |
int | getNumRemainingStages () const |
Return the number of remaining stages (including the current) More... | |
int | getNumStages () const |
Return the total number stages in this persons plan. More... | |
const SUMOVehicleParameter & | getParameter () const |
Returns the vehicle's parameter (including departure definition) More... | |
virtual Position | getPosition () const |
Return the Network coordinate of the transportable. More... | |
SumoRNG * | getRNG () const |
returns the associated RNG More... | |
int | getRoutePosition () const |
return index of edge within route More... | |
MSVehicleType & | getSingularType () |
Replaces the current vehicle type with a new one used by this vehicle only. More... | |
virtual double | getSpeed () const |
the current speed of the transportable More... | |
std::string | getStageSummary (int stageIndex) const |
return textual summary for the given stage More... | |
MSStageType | getStageType (int next) const |
the stage type for the nth next stage More... | |
SUMOVehicle * | getVehicle () const |
The vehicle associated with this transportable. More... | |
const MSVehicleType & | getVehicleType () const |
Returns the object's "vehicle" type. More... | |
virtual double | getWaitingSeconds () const |
the time this transportable spent waiting in seconds More... | |
bool | hasArrived () const |
return whether the person has reached the end of its plan More... | |
bool | hasDeparted () const |
return whether the transportable has started it's plan More... | |
virtual bool | hasInfluencer () const |
whether the vehicle is individually influenced (via TraCI or special parameters) More... | |
virtual bool | isSelected () const |
whether this transportable is selected in the GUI More... | |
virtual bool | isVehicle () const |
Whether it is a vehicle. More... | |
bool | isWaiting4Vehicle () const |
Whether the transportable waits for a vehicle. More... | |
bool | isWaitingFor (const SUMOVehicle *vehicle) const |
Whether the transportable waits for the given vehicle in the current step. More... | |
void | loadState (const std::string &state) |
Reconstructs the current state. More... | |
MSTransportable (const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportablePlan *plan, const bool isPerson) | |
constructor More... | |
virtual bool | proceed (MSNet *net, SUMOTime time, const bool vehicleArrived=false) |
void | removeStage (int next, bool stayInSim=true) |
removes the nth next stage More... | |
void | replaceVehicleType (MSVehicleType *type) |
Replaces the current vehicle type by the one given. More... | |
void | rerouteParkingArea (MSStoppingPlace *orig, MSStoppingPlace *replacement) |
adapt plan when the vehicle reroutes and now stops at replacement instead of orig More... | |
void | routeOutput (OutputDevice &os, const bool withRouteLength) const |
Called on writing vehroute output. More... | |
void | saveState (OutputDevice &out) |
Saves the current state into the given stream. More... | |
void | setAbortWaiting (const SUMOTime timeout) |
void | setDeparted (SUMOTime now) |
logs depart time of the current stage More... | |
void | setID (const std::string &newID) |
set the id (inherited from Named but forbidden for transportables) More... | |
void | setJunctionModelParameter (const std::string &key, const std::string &value) |
set individual junction model paramete (not type related) More... | |
void | setSpeed (double speed) |
set the speed for all present and future (walking) stages and modify the vType so that stages added later are also affected More... | |
void | tripInfoOutput (OutputDevice &os) const |
Called on writing tripinfo output. More... | |
virtual | ~MSTransportable () |
destructor More... | |
inherited from SUMOTrafficObject | |
bool | isPerson () const |
Whether it is a person. More... | |
bool | isContainer () const |
Whether it is a container. More... | |
std::string | getObjectType () |
NumericalID | getNumericalID () const |
return the numerical ID which is only for internal usage More... | |
bool | isStopped () const |
Returns whether the object is at a stop. More... | |
double | getSlope () const |
Returns the slope of the road at object's position in degrees. More... | |
SUMOVehicleClass | getVClass () const |
Returns the object's access class. More... | |
double | getMaxSpeed () const |
Returns the maximum speed (the minimum of desired and physical maximum speed) More... | |
SUMOTime | getWaitingTime () const |
double | getPreviousSpeed () const |
Returns the object's previous speed. More... | |
double | getAcceleration () const |
Returns the object's acceleration. More... | |
double | getPositionOnLane () const |
Get the object's position along the lane. More... | |
double | getBackPositionOnLane (const MSLane *lane) const |
Get the object's back position along the given lane. More... | |
Position | getPosition (const double) const |
Return current position (x/y, cartesian) More... | |
Static Public Member Functions | |
template<class T > | |
static std::string | getIDSecure (const T *obj, const std::string &fallBack="NULL") |
get an identifier for Named-like object which may be Null More... | |
Protected Attributes | |
std::vector< MSTransportableDevice * > | myDevices |
The devices this transportable has. More... | |
std::string | myID |
The name of the object. More... | |
const SUMOVehicleParameter * | myParameter |
the plan of the transportable More... | |
MSTransportablePlan * | myPlan |
the plan of the transportable More... | |
MSTransportablePlan::iterator | myStep |
the iterator over the route More... | |
MSVehicleType * | myVType |
This transportable's type. (mainly used for drawing related information Note sure if it is really necessary. More... | |
bool | myWriteEvents |
Whether events shall be written. More... | |
Private Member Functions | |
MSTransportable (const MSTransportable &) | |
Invalidated copy constructor. More... | |
MSTransportable & | operator= (const MSTransportable &) |
Invalidated assignment operator. More... | |
Private Attributes | |
WrappingCommand< MSTransportable > * | myAbortCommand |
const bool | myAmPerson |
const NumericalID | myNumericalID |
Static Private Attributes | |
static NumericalID | myCurrentNumericalIndex = 0 |
The class holds a simulated moveable object
Definition at line 59 of file MSTransportable.h.
typedef std::vector<MSStage*> MSTransportable::MSTransportablePlan |
the structure holding the plan of a transportable
Definition at line 114 of file MSTransportable.h.
|
inherited |
Definition at line 48 of file SUMOTrafficObject.h.
MSTransportable::MSTransportable | ( | const SUMOVehicleParameter * | pars, |
MSVehicleType * | vtype, | ||
MSTransportablePlan * | plan, | ||
const bool | isPerson | ||
) |
constructor
Definition at line 50 of file MSTransportable.cpp.
References MSDevice::buildTransportableDevices(), myDevices, myPlan, and myStep.
|
virtual |
destructor
Definition at line 61 of file MSTransportable.cpp.
References DRIVING, getCurrentStageType(), MSNet::getInstance(), MSStageDriving::getOriginStop(), MSStageDriving::getVehicle(), MSNet::getVehicleControl(), MSVehicleType::isVehicleSpecific(), myDevices, myParameter, myPlan, myStep, myVType, MSStoppingPlace::removeTransportable(), SUMOVehicle::removeTransportable(), and MSVehicleControl::removeVType().
|
private |
Invalidated copy constructor.
Abort current stage (used for aborting waiting for a vehicle)
Definition at line 255 of file MSTransportable.cpp.
References MSTransportableControl::erase(), Named::getID(), MSNet::getInstance(), MSNet::getPersonControl(), isPerson(), proceed(), time2string(), TL, and WRITE_WARNINGF.
Referenced by setAbortWaiting().
|
inlineinherited |
Adds this object to the given container.
[in,filled] | cont The container to add this item to |
Definition at line 118 of file Named.h.
References Named::StoringVisitor::add().
void MSTransportable::appendStage | ( | MSStage * | stage, |
int | next = -1 |
||
) |
Appends the given stage to the current plan.
Definition at line 268 of file MSTransportable.cpp.
References Named::getID(), myPlan, myStep, and toString().
Referenced by LIBSUMO_NAMESPACE::Person::appendDrivingStage(), LIBSUMO_NAMESPACE::Person::appendStage(), LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), LIBSUMO_NAMESPACE::Person::moveToXY(), removeStage(), LIBSUMO_NAMESPACE::Person::replaceStage(), MSPerson::reroute(), rerouteParkingArea(), and MSStageTrip::setArrived().
|
inlinevirtual |
Reimplemented in MSPerson.
Definition at line 126 of file MSTransportable.h.
References UNUSED_PARAMETER.
Referenced by proceed().
|
inlinevirtual |
Returns the object's acceleration.
Implements SUMOTrafficObject.
Definition at line 98 of file MSTransportable.h.
|
virtual |
return the current angle of the transportable
Implements SUMOTrafficObject.
Reimplemented in GUIContainer.
Definition at line 179 of file MSTransportable.cpp.
References MSNet::getCurrentTimeStep(), and MSNet::getInstance().
Referenced by GUIContainer::getAngle(), getBoundingBox(), GUIPerson::getGUIAngle(), GUIPerson::getNaviDegree(), GUIPerson::setFunctionalColor(), MSFCDExport::writeTransportable(), and MSXMLRawOut::writeTransportable().
|
inline |
returns the final arrival edge
Definition at line 307 of file MSTransportable.h.
References myPlan.
Referenced by LIBSUMO_NAMESPACE::Person::appendWaitingStage(), and LIBSUMO_NAMESPACE::Person::convertTraCIStage().
|
inline |
returns the final arrival pos
Definition at line 302 of file MSTransportable.h.
References myPlan.
Referenced by LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), GUIContainer::getParameterWindow(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), and MSPerson::reroute().
|
virtual |
Get the object's back position along the given lane.
Implements SUMOTrafficObject.
Definition at line 164 of file MSTransportable.cpp.
References getEdgePos(), MSVehicleType::getLength(), and getVehicleType().
PositionVector MSTransportable::getBoundingBox | ( | ) | const |
return the bounding box of the person
Definition at line 343 of file MSTransportable.cpp.
References PositionVector::append(), getAngle(), MSVehicleType::getLength(), getPosition(), getVehicleType(), PositionVector::move2side(), and PositionVector::reverse().
|
inlinevirtual |
the current speed factor of the transportable (where applicable)
Implements SUMOTrafficObject.
Reimplemented in MSPerson.
Definition at line 199 of file MSTransportable.h.
Referenced by getMaxSpeed(), GUIContainer::getParameterWindow(), saveState(), and tripInfoOutput().
|
inline |
Return the current stage.
Definition at line 224 of file MSTransportable.h.
References myStep.
Referenced by MSTransportableControl::abortAnyWaitingForVehicle(), GUIPerson::drawAction_drawWalkingareaPath(), GUIPerson::drawGLAdditional(), GUIPerson::getDestinationStopID(), GUIPerson::getGUIPosition(), GUIContainer::getParameterWindow(), GUIPerson::getStageArrivalPos(), GUIPerson::getStopDuration(), GUIPerson::getVehicleID(), MSPerson::isJammed(), MSTransportableControl::loadAnyWaiting(), LIBSUMO_NAMESPACE::Person::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSDevice_Transportable::notifyMove(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), MSEdge::transportable_by_position_sorter::operator()(), MSPerson::Influencer::postProcessRemoteControl(), and MSDevice_Transportable::~MSDevice_Transportable().
|
inline |
Returns the current stage description as a string.
Definition at line 219 of file MSTransportable.h.
References myAmPerson.
Referenced by GUIContainer::getParameterWindow(), GUIPerson::getParameterWindow(), LIBSUMO_NAMESPACE::Person::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSXMLRawOut::writeTransportable().
|
inline |
the current stage type of the transportable
Definition at line 204 of file MSTransportable.h.
Referenced by MSPModel_Remote::add(), MSPModel_Striping::add(), GUIContainer::drawGL(), GUIPerson::drawGLAdditional(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GUIPerson::getGUIAngle(), GUIPerson::getGUIPosition(), MSPerson::getNextEdgePtr(), GUIContainer::getPosition(), isStopped(), rerouteParkingArea(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), and ~MSTransportable().
SUMOTime MSTransportable::getDeparture | ( | ) | const |
logs depart time of the current stage
Definition at line 148 of file MSTransportable.cpp.
References myPlan.
Referenced by MSTransportableControl::erase().
SUMOTime MSTransportable::getDesiredDepart | ( | ) | const |
Returns the desired departure time.
Definition at line 138 of file MSTransportable.cpp.
References SUMOVehicleParameter::depart, and myParameter.
Referenced by tripInfoOutput().
|
inline |
Returns the current destination.
Definition at line 156 of file MSTransportable.h.
Referenced by MSStageDriving::canLeaveVehicle(), GUIPerson::getDestinationEdgeID(), GUIContainer::getParameterWindow(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSDevice_Transportable::notifyLeave(), and rerouteParkingArea().
MSTransportableDevice * MSTransportable::getDevice | ( | const std::type_info & | type | ) | const |
Returns a device of the given type if it exists or 0.
Definition at line 464 of file MSTransportable.cpp.
References myDevices.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute(), and MSFCDExport::hasOwnOutput().
|
inline |
Returns this vehicle's devices.
Definition at line 353 of file MSTransportable.h.
References myDevices.
|
virtual |
Return the movement directon on the edge.
Reimplemented in GUIContainer, and GUIPerson.
Definition at line 169 of file MSTransportable.cpp.
Referenced by MSE3Collector::enter(), GUIContainer::getDirection(), GUIPerson::getDirection(), MSE3Collector::leave(), and MSE3Collector::MSE3EntryReminder::notifyMove().
|
inlinevirtual |
Returns the current edge.
Implements SUMOTrafficObject.
Definition at line 166 of file MSTransportable.h.
Referenced by MSTransportableControl::abortWaitingForVehicle(), MSPerson::MSPersonStage_Walking::activateEntryReminders(), MSPModel_Striping::add(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), GUIPerson::getEdgeID(), GUIContainer::getParameterWindow(), GUIContainer::getPosition(), getRNG(), LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount(), getSlope(), LIBSUMO_NAMESPACE::Person::getSlope(), MSFCDExport::hasOwnOutput(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPerson::MSPersonStage_Walking::proceed(), GUIPerson::proceed(), removeStage(), and LIBSUMO_NAMESPACE::Person::rerouteTraveltime().
|
virtual |
Return the position on the edge.
Reimplemented in GUIContainer, and GUIPerson.
Definition at line 159 of file MSTransportable.cpp.
References MSNet::getCurrentTimeStep(), and MSNet::getInstance().
Referenced by getBackPositionOnLane(), GUIContainer::getEdgePos(), GUIPerson::getEdgePos(), getPositionOnLane(), getSlope(), LIBSUMO_NAMESPACE::Person::getSlope(), MSTransportableControl::hasAnyWaiting(), MSTransportableControl::loadAnyWaiting(), LIBSUMO_NAMESPACE::Person::moveToXY(), removeStage(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), MSPerson::MSPersonStage_Walking::walkDistance(), MSFCDExport::writeTransportable(), and MSXMLRawOut::writeTransportable().
|
inline |
Return the edges of the nth next stage.
Definition at line 236 of file MSTransportable.h.
References myPlan, and myStep.
Referenced by LIBSUMO_NAMESPACE::Person::getEdges(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), and MSDetectorFileOutput::vehicleApplies().
|
inline |
Returns the departure edge.
Definition at line 176 of file MSTransportable.h.
Referenced by GUIPerson::getFromEdgeID(), and GUIContainer::getParameterWindow().
|
inlineinherited |
Returns the id.
Definition at line 74 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSTransportableControl::abortAnyWaitingForVehicle(), MSLaneChangerSublane::abortLCManeuver(), abortStage(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicleTransfer::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), NIXMLEdgesHandler::addEdge(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLCM_SL2015::addLCSpeedAdvice(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSTriggeredRerouter::addParkValues(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSRouteHandler::addVehicleStopsToImplicitRoute(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), NIVisumTL::build(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSE2Collector::checkPositioning(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), MSRouteHandler::closeFlow(), RORouteHandler::closeRouteDistribution(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), NBNodeShapeComputer::computeEdgeBoundaries(), MSVehicle::computeFurtherLanes(), MSDevice_SSM::computeGlobalMeasures(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSDefinition::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), MSDevice_ToC::deactivateDeliberateLCs(), MSRailSignal::DriveWay::deadlockLaneOccupied(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSRoute::dict_saveState(), MSEdge::dictionaryHint(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUILane::drawGL(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MSE3Collector::enter(), NEMAPhase::enter(), MSParkingArea::enter(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), Command_RouteReplacement::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), MSStopOut::generateOutputForUnfinished(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), LIBSUMO_NAMESPACE::Simulation::getCollisions(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), MSStop::getDescription(), NBTrafficLightDefinition::getDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSSimpleTrafficLightLogic::getEarliest(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFirstVehicleInformation(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), NBEdge::getID(), MSRailSignal::getJunctionLinkID(), RORouteHandler::getJunctionTaz(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_ToC::getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSimpleDriverState::getPerceivedHeadway(), MSSimpleDriverState::getPerceivedSpeedDifference(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), MSBaseVehicle::getPrefixedParameter(), MSCFModel_CC::getRadarMeasurements(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), LIBSUMO_NAMESPACE::Vehicle::getRoadID(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::Vehicle::getRouteID(), LIBSUMO_NAMESPACE::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), GUIBaseVehicle::getScaleValue(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageTrip::getStageSummary(), MSStageWaiting::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), MSDevice::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), MSRailSignal::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSRailSignalConstraint::getVehID(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSRailSignal::hasOncomingRailTraffic(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), NBNode::indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSCalibrator::init(), NBEdge::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSTrafficLightLogic::initMesoTLSPenalties(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), MSPModel_Striping::initWalkingAreaPaths(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSLane::insertVehicle(), MSEdge::insertVehicle(), MSLane::integrateNewVehicles(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), NBNodeCont::joinSameJunctions(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), MEVehicle::mayProceed(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSParkingArea::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), MSLCM_SL2015::mustOvertakeStopped(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_ToC::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSDefinition::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSEdge::transportable_by_position_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSLaneChangerSublane::outputLCStarted(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_stopPoints(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSLCM_SL2015::preventSliding(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSRailSignalControl::registerProtectedDriveway(), MSLink::removeApproaching(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), replaceVehicleType(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSPerson::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), rerouteParkingArea(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MEVehicle::resumeFromStopping(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSLane::safeInsertionSpeed(), LIBSUMO_NAMESPACE::RouteProbe::sampleCurrentRouteID(), LIBSUMO_NAMESPACE::RouteProbe::sampleLastRouteID(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCHelper::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSBaseVehicle::saveState(), MSLane::saveState(), saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSSimpleTrafficLightLogic::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), MSStageTrip::setArrived(), NBNodeCont::setAsTLControlled(), MSSimpleDriverState::setAwareness(), NLEdgeControlBuilder::setDefaultStopOffset(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), NBEdge::setGeometry(), MSBaseVehicle::setJunctionModelParameter(), setJunctionModelParameter(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSDispatch_TraCI::splitReservation(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSStopOut::stopStarted(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), MSDevice_ToC::switchHolderType(), GNETLSEditorFrame::TLSDefinition::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSVehicle::updateDriveItems(), MSRailSignal::updateDriveway(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSRailSignalConstraint_Predecessor::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSDevice_SSM::writePositions(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSXMLRawOut::writeVehicle(), MSAmitranTrajectories::writeVehicle(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 67 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::avoidDeadlock(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSLaneChanger::resolveDeadlock(), MSLCHelper::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), MSVehicle::updateBestLanes(), MSAbstractLaneChangeModel::updateShadowLane(), and MSLaneChanger::yieldToDeadlockOncoming().
|
inlinevirtual |
Returns the current lane (may be nullptr)
Implements SUMOTrafficObject.
Definition at line 171 of file MSTransportable.h.
Referenced by LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount(), and MSPerson::MSPersonStage_Access::proceed().
|
virtual |
Returns the maximum speed (the minimum of desired and physical maximum speed)
Implements SUMOTrafficObject.
Definition at line 500 of file MSTransportable.cpp.
References getChosenSpeedFactor(), getMaxSpeed(), getVehicleType(), and MIN2().
Referenced by LIBSUMO_NAMESPACE::Person::appendWalkingStage(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), getMaxSpeed(), MSPerson::MSPersonStage_Walking::getMaxSpeed(), MSPModel_Striping::nextBlocking(), MSPerson::MSPersonStage_Access::proceed(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), MSStageTrip::setArrived(), and MSPerson::MSPersonStage_Walking::tripInfoOutput().
|
inline |
Returns the destination after the current destination.
Definition at line 161 of file MSTransportable.h.
References myStep.
|
inlinevirtual |
returns the next edge ptr (used by walking persons)
Implements SUMOTrafficObject.
Reimplemented in MSPerson.
Definition at line 254 of file MSTransportable.h.
|
inline |
Return the current stage.
Definition at line 229 of file MSTransportable.h.
References myPlan, and myStep.
Referenced by LIBSUMO_NAMESPACE::Person::getStage(), MSStageDriving::loadState(), MSPerson::reroute(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), and MSStageTrip::setArrived().
|
inlinevirtual |
return the numerical ID which is only for internal usage
Implements SUMOTrafficObject.
Definition at line 75 of file MSTransportable.h.
References myNumericalID.
int MSTransportable::getNumRemainingStages | ( | ) | const |
Return the number of remaining stages (including the current)
Definition at line 195 of file MSTransportable.cpp.
References myPlan, and myStep.
Referenced by MSStageDriving::canLeaveVehicle(), LIBSUMO_NAMESPACE::Person::getEdges(), GUIContainer::getParameterWindow(), LIBSUMO_NAMESPACE::Person::getStage(), GUIPerson::getStageIndexDescription(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSStageDriving::proceed(), LIBSUMO_NAMESPACE::Person::remove(), LIBSUMO_NAMESPACE::Person::removeStage(), LIBSUMO_NAMESPACE::Person::replaceStage(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), and MSStageTrip::setArrived().
int MSTransportable::getNumStages | ( | ) | const |
Return the total number stages in this persons plan.
Definition at line 201 of file MSTransportable.cpp.
References myPlan.
Referenced by LIBSUMO_NAMESPACE::Person::getEdges(), GUIContainer::getParameterWindow(), LIBSUMO_NAMESPACE::Person::getStage(), GUIPerson::getStageIndexDescription(), GUIContainer::GUIContainerPopupMenu::onCmdShowPlan(), GUIPerson::GUIPersonPopupMenu::onCmdShowPlan(), MSStageDriving::proceed(), and MSStageTrip::setArrived().
|
inline |
Definition at line 71 of file MSTransportable.h.
References myAmPerson.
Referenced by MSTransportableControl::abortAnyWaitingForVehicle(), and setJunctionModelParameter().
|
inlinevirtual |
Returns the vehicle's parameter (including departure definition)
Implements SUMOTrafficObject.
Definition at line 135 of file MSTransportable.h.
References myParameter.
Referenced by MSTransportableControl::add(), MSTransportableDevice_Routing::buildDevices(), MSStageDriving::canLeaveVehicle(), MSTransportableControl::checkWaiting(), MSTransportableControl::erase(), MSTransportableControl::fixLoadCount(), GUIContainer::getParameterWindow(), GUIPerson::getParameterWindow(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), MSStageDriving::proceed(), MSStageTrip::setArrived(), GUIContainer::setFunctionalColor(), GUIPerson::setFunctionalColor(), and setJunctionModelParameter().
|
virtual |
Return the Network coordinate of the transportable.
Reimplemented in GUIContainer, and GUIPerson.
Definition at line 174 of file MSTransportable.cpp.
References MSNet::getCurrentTimeStep(), and MSNet::getInstance().
Referenced by getBoundingBox(), GUIPerson::getGUIPosition(), GUIContainer::getPosition(), GUIPerson::getPosition(), and getPosition().
|
inlinevirtual |
Return current position (x/y, cartesian)
If the object is not in the net, Position::INVALID.
[in] | offset | optional offset in longitudinal direction |
Implements SUMOTrafficObject.
Definition at line 108 of file MSTransportable.h.
References getPosition().
Referenced by MSLink::checkWalkingAreaFoe(), MSLink::isInFront(), MSPModel_Striping::PState::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSFCDExport::writeTransportable().
|
inlinevirtual |
Get the object's position along the lane.
Implements SUMOTrafficObject.
Definition at line 102 of file MSTransportable.h.
References getEdgePos().
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute(), and MSPerson::MSPersonStage_Walking::moveToNextEdge().
|
inlinevirtual |
Returns the object's previous speed.
Implements SUMOTrafficObject.
Definition at line 94 of file MSTransportable.h.
References getSpeed().
|
virtual |
returns the associated RNG
Implements SUMOTrafficObject.
Definition at line 87 of file MSTransportable.cpp.
References getEdge(), and MSEdge::getLanes().
|
inlinevirtual |
return index of edge within route
Implements SUMOTrafficObject.
Definition at line 249 of file MSTransportable.h.
Referenced by MSDetectorFileOutput::vehicleApplies().
MSVehicleType & MSTransportable::getSingularType | ( | ) |
Replaces the current vehicle type with a new one used by this vehicle only.
If the currently used vehicle type is already marked as being used by this vehicle only, no new type is created.
Definition at line 332 of file MSTransportable.cpp.
References MSVehicleType::buildSingularType(), MSVehicleType::getID(), Named::getID(), MSVehicleType::isVehicleSpecific(), myVType, and replaceVehicleType().
Referenced by TraCIServerAPI_Person::processSet(), and setSpeed().
|
virtual |
Returns the slope of the road at object's position in degrees.
Implements SUMOTrafficObject.
Definition at line 487 of file MSTransportable.cpp.
References getEdge(), getEdgePos(), and MSEdge::getLanes().
|
virtual |
the current speed of the transportable
Implements SUMOTrafficObject.
Reimplemented in GUIContainer, and GUIPerson.
Definition at line 189 of file MSTransportable.cpp.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute(), getPreviousSpeed(), GUIContainer::getSpeed(), GUIPerson::getSpeed(), MSE2Collector::notifyMovePerson(), MSInductLoop::notifyMovePerson(), MSE3Collector::notifyMovePerson(), and MSFCDExport::writeTransportable().
std::string MSTransportable::getStageSummary | ( | int | stageIndex | ) | const |
return textual summary for the given stage
Definition at line 361 of file MSTransportable.cpp.
References myAmPerson, and myPlan.
Referenced by GUIContainer::GUIContainerPopupMenu::onCmdShowPlan(), and GUIPerson::GUIPersonPopupMenu::onCmdShowPlan().
|
inline |
the stage type for the nth next stage
Definition at line 209 of file MSTransportable.h.
References myPlan, and myStep.
Referenced by GUIPerson::getStopDuration(), LIBSUMO_NAMESPACE::Person::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPerson::Influencer::postProcessRemoteControl(), and LIBSUMO_NAMESPACE::Person::rerouteTraveltime().
|
virtual |
Returns the object's access class.
Implements SUMOTrafficObject.
Definition at line 505 of file MSTransportable.cpp.
References MSVehicleType::getVehicleClass(), and getVehicleType().
Referenced by MSPModel_Striping::add(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSPModel_Striping::PState::moveToXY().
|
inline |
The vehicle associated with this transportable.
Definition at line 288 of file MSTransportable.h.
Referenced by MSDetectorFileOutput::personApplies().
|
inlinevirtual |
Returns the object's "vehicle" type.
Implements SUMOTrafficObject.
Definition at line 139 of file MSTransportable.h.
References myVType.
Referenced by MSLink::checkWalkingAreaFoe(), GUIContainer::drawAction_drawAsImage(), GUIContainer::drawAction_drawAsPoly(), GUIPerson::drawGL(), getBackPositionOnLane(), getBoundingBox(), GUIPerson::getCenteringBoundary(), getMaxSpeed(), MSPModel_Striping::getNextLaneObstacles(), getVClass(), MSPModel_Striping::getVehicleObstacles(), LIBSUMO_NAMESPACE::Person::moveTo(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPModel_Striping::PState::moveToXY(), MSPModel_Striping::nextBlocking(), MSE2Collector::notifyMovePerson(), MSInductLoop::notifyMovePerson(), MSE3Collector::notifyMovePerson(), routeOutput(), saveState(), GUIContainer::setFunctionalColor(), GUIPerson::setFunctionalColor(), and tripInfoOutput().
|
virtual |
the time this transportable spent waiting in seconds
Reimplemented in GUIContainer, and GUIPerson.
Definition at line 184 of file MSTransportable.cpp.
References MSNet::getCurrentTimeStep(), MSNet::getInstance(), and STEPS2TIME.
Referenced by GUIContainer::getWaitingSeconds(), GUIPerson::getWaitingSeconds(), and MSPedestrianPushButton::isActiveForEdge().
|
virtual |
Implements SUMOTrafficObject.
Definition at line 495 of file MSTransportable.cpp.
References MSNet::getCurrentTimeStep(), and MSNet::getInstance().
|
virtual |
return whether the person has reached the end of its plan
Implements SUMOTrafficObject.
Definition at line 369 of file MSTransportable.cpp.
References myPlan, and myStep.
Referenced by MSTransportableControl::erase(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), GUIPerson::getDirection(), GUIPerson::getEdgeID(), GUIPerson::getEdgePos(), GUIPerson::getFromEdgeID(), GUIPerson::getGUIAngle(), GUIPerson::getGUIPosition(), GUIPerson::getNaviDegree(), GUIPerson::getPosition(), GUIPerson::getSpeed(), GUIPerson::getStageArrivalPos(), GUIPerson::getStageIndexDescription(), GUIPerson::getStopDuration(), GUIPerson::getVehicleID(), GUIPerson::getWaitingSeconds(), and routeOutput().
bool MSTransportable::hasDeparted | ( | ) | const |
return whether the transportable has started it's plan
Definition at line 374 of file MSTransportable.cpp.
References myPlan, and myStep.
Referenced by MSTransportableControl::fixLoadCount().
|
inlinevirtual |
whether the vehicle is individually influenced (via TraCI or special parameters)
Implements SUMOTrafficObject.
Reimplemented in MSPerson.
Definition at line 357 of file MSTransportable.h.
|
inlinevirtual |
Whether it is a container.
Reimplemented from SUMOTrafficObject.
Definition at line 67 of file MSTransportable.h.
References myAmPerson.
Referenced by routeOutput().
|
inlinevirtual |
Whether it is a person.
Reimplemented from SUMOTrafficObject.
Definition at line 63 of file MSTransportable.h.
References myAmPerson.
Referenced by MSStageWaiting::abort(), MSStageDriving::abort(), abortStage(), MSPModel_NonInteracting::add(), MSPModel_Striping::add(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSEdge::addTransportable(), MSBaseVehicle::addTransportable(), MSVehicle::addTransportable(), MSBaseVehicle::allowsBoarding(), MSTransportableControl::checkWaiting(), MSDevice_Taxi::dispatchShared(), MSTransportableControl::erase(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Walking::getStageDescription(), MSEdge::getWaitingVehicle(), MSTransportableControl::loadAnyWaiting(), MSPModel_NonInteracting::loadState(), MSStageWaiting::loadState(), MSStageTranship::moveToNextEdge(), MSStageDriving::proceed(), MSStageTranship::proceed(), MSStageWaiting::proceed(), MSStageDriving::registerWaiting(), MSEdge::removeTransportable(), replaceVehicleType(), routeOutput(), tripInfoOutput(), and MSStageDriving::tripInfoOutput().
|
inlinevirtual |
whether this transportable is selected in the GUI
Implements SUMOTrafficObject.
Reimplemented in MSPerson, GUIContainer, and GUIPerson.
Definition at line 362 of file MSTransportable.h.
|
inlinevirtual |
Returns whether the object is at a stop.
Implements SUMOTrafficObject.
Definition at line 79 of file MSTransportable.h.
References getCurrentStageType(), and WAITING.
|
inlinevirtualinherited |
Whether it is a vehicle.
Reimplemented in MSBaseVehicle.
Definition at line 59 of file SUMOTrafficObject.h.
Referenced by libsumo::Helper::debugPrint(), MSE3Collector::enter(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Tripinfo::notifyIdle(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyIdle(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_SSM::notifyLeave(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Example::notifyMove(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyMoveInternal(), and MSDetectorFileOutput::vehicleApplies().
|
inline |
Whether the transportable waits for a vehicle.
Definition at line 278 of file MSTransportable.h.
Referenced by GUIContainer::drawGL(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GUIPerson::getGUIAngle(), and GUIPerson::getGUIPosition().
|
inline |
Whether the transportable waits for the given vehicle in the current step.
Definition at line 273 of file MSTransportable.h.
Referenced by MSEdge::getWaitingVehicle(), MSTransportableControl::hasAnyWaiting(), and MSTransportableControl::loadAnyWaiting().
void MSTransportable::loadState | ( | const std::string & | state | ) |
Reconstructs the current state.
Definition at line 541 of file MSTransportable.cpp.
References myParameter, myPlan, myStep, and SUMOVehicleParameter::parametersSet.
Referenced by MSStateHandler::myEndElement().
|
private |
Invalidated assignment operator.
|
virtual |
Reimplemented in GUIPerson.
Definition at line 92 of file MSTransportable.cpp.
References ACCESS, MSTransportableControl::addArrived(), checkAccess(), DRIVING, MSStage::getDestination(), MSStage::getDestinationStop(), MSStage::getEdge(), MSNet::getInstance(), MSStage::getOriginStop(), MSNet::getPersonControl(), MSStage::getStageType(), myDevices, myPlan, myStep, MSMoveReminder::NOTIFICATION_DEPARTED, MSStoppingPlace::removeTransportable(), MSEdge::removeTransportable(), MSStage::setArrived(), TRIP, WAITING_FOR_DEPART, and WALKING.
Referenced by abortStage(), MSTransportableControl::checkWaiting(), MSStageTranship::moveToNextEdge(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), MSDevice_Transportable::notifyLeave(), MSDevice_Transportable::notifyMove(), MSPerson::MSPersonStage_Walking::proceed(), MSStageTrip::proceed(), GUIPerson::proceed(), and removeStage().
void MSTransportable::removeStage | ( | int | next, |
bool | stayInSim = true |
||
) |
removes the nth next stage
Definition at line 284 of file MSTransportable.cpp.
References appendStage(), MSTransportableControl::erase(), getEdge(), getEdgePos(), MSNet::getInstance(), MSNet::getPersonControl(), myPlan, myStep, proceed(), and SIMSTEP.
Referenced by LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Person::remove(), LIBSUMO_NAMESPACE::Person::removeStage(), LIBSUMO_NAMESPACE::Person::replaceStage(), MSPerson::reroute(), and rerouteParkingArea().
|
virtual |
Replaces the current vehicle type by the one given.
If the currently used vehicle type is marked as being used by this vehicle only, it is deleted, first. The new, given type is then assigned to "myVType".
[in] | type | The new vehicle type |
Implements SUMOTrafficObject.
Definition at line 316 of file MSTransportable.cpp.
References MSVehicleType::getID(), Named::getID(), MSNet::getInstance(), MSVehicleType::getParameter(), MSVehicleType::getVehicleClass(), MSNet::getVehicleControl(), isPerson(), MSVehicleType::isVehicleSpecific(), myVType, MSVehicleControl::removeVType(), SVC_PEDESTRIAN, TL, toString(), VTYPEPARS_VEHICLECLASS_SET, SUMOVTypeParameter::wasSet(), and WRITE_WARNINGF.
Referenced by getSingularType().
void MSTransportable::rerouteParkingArea | ( | MSStoppingPlace * | orig, |
MSStoppingPlace * | replacement | ||
) |
adapt plan when the vehicle reroutes and now stops at replacement instead of orig
Definition at line 380 of file MSTransportable.cpp.
References appendStage(), DRIVING, MSStage::getArrivalPos(), MSStageDriving::getArrivalPos(), MSStoppingPlace::getBeginLanePosition(), getCurrentStageType(), MSStage::getDestination(), getDestination(), MSStage::getDestinationStop(), MSLane::getEdge(), MSStoppingPlace::getEndLanePosition(), MSStage::getFromEdge(), Named::getID(), MSStoppingPlace::getLane(), MSStageDriving::getLines(), MSStage::getStageType(), MSStageDriving::getVehicle(), myAmPerson, myPlan, myStep, removeStage(), MSStage::setArrivalPos(), MSStage::setDestination(), MSStageDriving::setOrigin(), SIMTIME, TL, TRIP, WAITING, WALKING, and WRITE_WARNING.
void MSTransportable::routeOutput | ( | OutputDevice & | os, |
const bool | withRouteLength | ||
) | const |
Called on writing vehroute output.
[in] | os | The stream to write the information into |
IOError | not yet implemented |
Definition at line 223 of file MSTransportable.cpp.
References OutputDevice::closeTag(), DEFAULT_CONTAINERTYPE_ID, DEFAULT_PEDTYPE_ID, MSVehicleType::getID(), MSNet::getInstance(), OptionsCont::getOptions(), getVehicleType(), hasArrived(), isContainer(), isPerson(), OutputDevice::lf(), myAmPerson, myParameter, myPlan, MSStage::routeOutput(), SUMO_TAG_CONTAINER, SUMO_TAG_PERSON, time2string(), SUMOVehicleParameter::write(), OutputDevice::writeAttr(), and Parameterised::writeParams().
Referenced by MSTransportableControl::erase().
void MSTransportable::saveState | ( | OutputDevice & | out | ) |
Saves the current state into the given stream.
Definition at line 511 of file MSTransportable.cpp.
References ACCESS, OutputDevice::closeTag(), getChosenSpeedFactor(), Named::getID(), OptionsCont::getOptions(), getVehicleType(), gPrecision, gPrecisionRandom, MAX2(), myAmPerson, myParameter, myPlan, myStep, SUMOVehicleParameter::parametersSet, MSStage::routeOutput(), OutputDevice::setPrecision(), SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_STATE, SUMO_TAG_CONTAINER, SUMO_TAG_PERSON, TRIP, VEHPARS_SPEEDFACTOR_SET, SUMOVehicleParameter::wasSet(), SUMOVehicleParameter::write(), and OutputDevice::writeAttr().
void MSTransportable::setAbortWaiting | ( | const SUMOTime | timeout | ) |
Definition at line 243 of file MSTransportable.cpp.
References abortStage(), MSEventControl::addEvent(), WrappingCommand< T >::deschedule(), MSNet::getBeginOfTimestepEvents(), MSNet::getInstance(), myAbortCommand, and SIMSTEP.
Referenced by MSTransportableControl::abortAnyWaitingForVehicle(), MSTransportableControl::addWaiting(), and MSTransportableControl::loadAnyWaiting().
void MSTransportable::setDeparted | ( | SUMOTime | now | ) |
logs depart time of the current stage
Definition at line 143 of file MSTransportable.cpp.
|
virtual |
set the id (inherited from Named but forbidden for transportables)
Reimplemented from Named.
Definition at line 133 of file MSTransportable.cpp.
void MSTransportable::setJunctionModelParameter | ( | const std::string & | key, |
const std::string & | value | ||
) |
set individual junction model paramete (not type related)
Definition at line 475 of file MSTransportable.cpp.
References Named::getID(), getObjectType(), getParameter(), SUMOVehicleParameter::parametersSet, SUMO_ATTR_JM_IGNORE_IDS, SUMO_ATTR_JM_IGNORE_TYPES, toString(), and VEHPARS_JUNCTIONMODEL_PARAMS_SET.
void MSTransportable::setSpeed | ( | double | speed | ) |
set the speed for all present and future (walking) stages and modify the vType so that stages added later are also affected
Definition at line 307 of file MSTransportable.cpp.
References getSingularType(), myPlan, myStep, and MSVehicleType::setMaxSpeed().
void MSTransportable::tripInfoOutput | ( | OutputDevice & | os | ) | const |
Called on writing tripinfo output.
[in] | os | The stream to write the information into |
IOError | not yet implemented |
Definition at line 207 of file MSTransportable.cpp.
References OutputDevice::closeTag(), getChosenSpeedFactor(), getDesiredDepart(), Named::getID(), getVehicleType(), isPerson(), myPlan, OutputDevice::openTag(), time2string(), and OutputDevice::writeAttr().
Referenced by MSTransportableControl::erase().
|
private |
Definition at line 399 of file MSTransportable.h.
Referenced by setAbortWaiting().
|
private |
Definition at line 395 of file MSTransportable.h.
Referenced by getCurrentStageDescription(), getObjectType(), getStageSummary(), isContainer(), isPerson(), rerouteParkingArea(), routeOutput(), and saveState().
|
staticprivate |
Definition at line 401 of file MSTransportable.h.
|
protected |
The devices this transportable has.
Definition at line 392 of file MSTransportable.h.
Referenced by getDevice(), getDevices(), MSTransportable(), proceed(), and ~MSTransportable().
|
protectedinherited |
The name of the object.
Definition at line 125 of file Named.h.
Referenced by MSE2Collector::addDetectorToLanes(), RODFDetector::buildDestinationDistribution(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), MSRoute::release(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), Named::setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
private |
Definition at line 397 of file MSTransportable.h.
Referenced by getNumericalID().
|
protected |
the plan of the transportable
Definition at line 376 of file MSTransportable.h.
Referenced by getDesiredDepart(), getParameter(), loadState(), routeOutput(), saveState(), and ~MSTransportable().
|
protected |
the plan of the transportable
Definition at line 386 of file MSTransportable.h.
Referenced by appendStage(), MSPerson::checkAccess(), getArrivalEdge(), getArrivalPos(), getDeparture(), getEdges(), getNextStage(), getNumRemainingStages(), getNumStages(), getStageSummary(), getStageType(), hasArrived(), hasDeparted(), loadState(), MSTransportable(), proceed(), removeStage(), rerouteParkingArea(), routeOutput(), saveState(), setSpeed(), tripInfoOutput(), and ~MSTransportable().
|
protected |
the iterator over the route
Definition at line 389 of file MSTransportable.h.
Referenced by appendStage(), MSPerson::checkAccess(), getCurrentStage(), getEdges(), getNextDestination(), getNextStage(), getNumRemainingStages(), getStageType(), hasArrived(), hasDeparted(), loadState(), MSTransportable(), proceed(), removeStage(), rerouteParkingArea(), saveState(), setSpeed(), and ~MSTransportable().
|
protected |
This transportable's type. (mainly used for drawing related information Note sure if it is really necessary.
Definition at line 380 of file MSTransportable.h.
Referenced by getSingularType(), GUIContainer::getTypeParameterWindow(), GUIPerson::getTypeParameterWindow(), getVehicleType(), replaceVehicleType(), and ~MSTransportable().
|
protected |
Whether events shall be written.
Definition at line 383 of file MSTransportable.h.