Eclipse SUMO - Simulation of Urban MObility
|
Representation of a vehicle. More...
#include <SUMOVehicle.h>
Public Types | |
typedef long long int | NumericalID |
Public Member Functions | |
virtual bool | abortNextStop (int nextStopIndex=0)=0 |
deletes the next stop at the given index if it exists | |
virtual bool | addStop (const SUMOVehicleParameter::Stop &stopPar, std::string &errorMsg, SUMOTime untilOffset=0, ConstMSEdgeVector::const_iterator *searchStart=0)=0 |
Adds a stop. | |
void | addTo (const StoringVisitor &cont) const |
Adds this object to the given container. | |
virtual bool | addTraciStop (SUMOVehicleParameter::Stop stop, std::string &errorMsg)=0 |
virtual void | addTransportable (MSTransportable *transportable)=0 |
Adds a person or container to this vehicle. | |
virtual bool | allowsBoarding (const MSTransportable *t) const =0 |
whether the given transportable is allowed to board this vehicle | |
virtual double | getAcceleration () const =0 |
Returns the object's acceleration. | |
virtual double | getAngle () const =0 |
Get the vehicle's angle. | |
virtual double | getArrivalPos () const =0 |
Returns this vehicle's desired arrivalPos for its current route (may change on reroute) | |
virtual const MSLane * | getBackLane () const =0 |
Returns the lane the where the rear of the object is currently at. | |
virtual double | getBackPositionOnLane (const MSLane *lane) const =0 |
Get the object's back position along the given lane. | |
virtual PositionVector | getBoundingBox (double offset=0) const =0 |
get bounding rectangle | |
virtual double | getBrakeGap (bool delayed=false) const =0 |
get distance for coming to a stop (used for rerouting checks) | |
virtual double | getChosenSpeedFactor () const =0 |
virtual int | getContainerNumber () const =0 |
Returns the number of containers. | |
virtual const std::vector< MSTransportable * > & | getContainers () const =0 |
retrieve riding containers | |
virtual const ConstMSEdgeVector::const_iterator & | getCurrentRouteEdge () const =0 |
Returns an iterator pointing to the current edge in this vehicles route. | |
virtual SUMOTime | getDepartDelay () const =0 |
virtual double | getDepartPos () const =0 |
Returns this vehicle's real departure position. | |
virtual SUMOTime | getDeparture () const =0 |
Returns this vehicle's real departure time. | |
virtual MSDevice * | getDevice (const std::type_info &type) const =0 |
Returns a device of the given type if it exists or nullptr if not. | |
virtual const std::vector< MSVehicleDevice * > & | getDevices () const =0 |
Returns this vehicle's devices. | |
virtual const MSEdge * | getEdge () const =0 |
Returns the edge the object is currently at. | |
virtual EnergyParams * | getEmissionParameters () const =0 |
Returns the vehicle's emission model parameter. | |
const std::string & | getID () const |
Returns the id. | |
virtual double | getImpatience () const =0 |
Returns this vehicles impatience. | |
virtual const MSLane * | getLane () const =0 |
Returns the lane the object is currently at. | |
virtual SUMOTime | getLastActionTime () const =0 |
virtual double | getLateralPositionOnLane () const =0 |
Get the vehicle's lateral position on the lane. | |
virtual double | getLength () const =0 |
Returns the vehicles's length. | |
virtual double | getMaxSpeed () const =0 |
Returns the object's maximum speed (minimum of technical and desired maximum speed) | |
virtual const MSEdge * | getNextEdgePtr () const =0 |
returns the next edge (possibly an internal edge) | |
virtual MSParkingArea * | getNextParkingArea ()=0 |
virtual MSStop & | getNextStop ()=0 |
virtual const SUMOVehicleParameter::Stop * | getNextStopParameter () const =0 |
Returns parameters of the next stop or nullptr. | |
virtual int | getNumberReroutes () const =0 |
Returns the number of new routes this vehicle got. | |
virtual NumericalID | getNumericalID () const =0 |
return the numerical ID which is only for internal usage | |
virtual double | getOdometer () const =0 |
Returns the distance that was already driven by this vehicle. | |
virtual const SUMOVehicleParameter & | getParameter () const =0 |
Returns the vehicle's parameter (including departure definition) | |
virtual std::vector< std::string > | getPersonIDList () const =0 |
Returns the list of persons. | |
virtual int | getPersonNumber () const =0 |
Returns the number of persons. | |
virtual const std::vector< MSTransportable * > & | getPersons () const =0 |
retrieve riding persons | |
virtual Position | getPosition (const double offset=0) const =0 |
Return current position (x/y, cartesian) | |
virtual double | getPositionOnLane () const =0 |
Get the object's position along the lane. | |
virtual double | getPreviousSpeed () const =0 |
Returns the object's previous speed. | |
virtual const MSEdge * | getRerouteDestination () const =0 |
Returns the end point for reroutes (usually the last edge of the route) | |
virtual ConstMSEdgeVector::const_iterator | getRerouteOrigin () const =0 |
Returns the starting point for reroutes (usually the current edge) | |
virtual SumoRNG * | getRNG () const =0 |
Returns the associated RNG for this object. | |
virtual int | getRNGIndex () const =0 |
virtual const MSRoute & | getRoute () const =0 |
Returns the current route. | |
virtual int | getRoutePosition () const =0 |
return index of edge within route | |
virtual ConstMSRoutePtr | getRoutePtr () const =0 |
Returns the current route. | |
virtual int | getRouteValidity (bool update=true, bool silent=false, std::string *msgReturn=nullptr)=0 |
computes validity attributes for the current route | |
virtual int | getRoutingMode () const =0 |
virtual double | getSlope () const =0 |
Returns the slope of the road at object's position in degrees. | |
virtual double | getSpeed () const =0 |
Returns the object's current speed. | |
virtual std::vector< std::pair< int, double > > | getStopIndices () const =0 |
return list of route indices and stop positions for the remaining stops | |
virtual const std::list< MSStop > & | getStops () const =0 |
virtual SUMOTime | getTimeLoss () const =0 |
virtual const std::set< NumericalID > | getUpcomingEdgeIDs () const =0 |
returns the numerical IDs of edges to be used (possibly of future stages) | |
virtual SUMOVehicleClass | getVClass () const =0 |
Returns the object's access class. | |
virtual const MSVehicleType & | getVehicleType () const =0 |
Returns the object's "vehicle" type. | |
virtual const SUMOVTypeParameter & | getVTypeParameter () const =0 |
Returns the object's "vehicle" type parameter. | |
virtual SUMOTime | getWaitingTime (const bool accumulated=false) const =0 |
virtual bool | hasArrived () const =0 |
Returns whether this object has arrived. | |
virtual bool | hasDeparted () const =0 |
Returns whether this vehicle has departed. | |
virtual bool | hasInfluencer () const =0 |
whether the vehicle is individually influenced (via TraCI or special parameters) | |
virtual bool | hasStops () const =0 |
Returns whether the vehicle has to stop somewhere. | |
virtual bool | hasValidRoute (std::string &msg, ConstMSRoutePtr route=0) const =0 |
Validates the current or given route. | |
virtual bool | hasValidRouteStart (std::string &msg)=0 |
checks wether the vehicle can depart on the first edge | |
virtual bool | ignoreTransientPermissions () const |
Returns whether this object is ignoring transient permission changes (during routing) | |
virtual bool | isContainer () const |
Whether it is a container. | |
virtual bool | isFrontOnLane (const MSLane *) const =0 |
Returns the information whether the front of the vehhicle is on the given lane. | |
virtual bool | isIdling () const =0 |
Returns whether the vehicle is idling (waiting to re-enter the net. | |
virtual bool | isLineStop (double position) const =0 |
returns whether the vehicle serves a public transport line that serves the given stop | |
virtual bool | isOnRoad () const =0 |
Returns the information whether the vehicle is on a road (is simulated) | |
virtual bool | isParking () const =0 |
Returns the information whether the vehicle is parked. | |
virtual bool | isPerson () const |
Whether it is a person. | |
virtual bool | isRemoteControlled () const =0 |
Returns the information whether the vehicle is fully controlled via TraCI. | |
virtual bool | isSelected () const =0 |
whether this object is selected in the GUI | |
virtual bool | isStopped () const =0 |
Returns whether the vehicle is at a stop and waiting for a person or container to continue. | |
virtual bool | isStoppedInRange (const double pos, const double tolerance, bool checkFuture=false) const =0 |
Returns whether the vehicle is stopped in the range of the given position. | |
virtual bool | isStoppedParking () const =0 |
Returns whether the vehicle is at a stop and parking. | |
virtual bool | isStoppedTriggered () const =0 |
Returns whether the vehicle is at a stop and waiting for a person or container to continue. | |
virtual bool | isVehicle () const |
Whether it is a vehicle. | |
virtual void | onDepart ()=0 |
Called when the vehicle is inserted into the network. | |
virtual SUMOTime | remainingStopDuration () const =0 |
Returns the remaining stop duration for a stopped vehicle or 0. | |
virtual void | removeTransportable (MSTransportable *t)=0 |
removes a person or container | |
virtual void | replaceParameter (const SUMOVehicleParameter *newParameter)=0 |
Replaces the vehicle's parameter. | |
virtual bool | replaceParkingArea (MSParkingArea *parkingArea, std::string &errorMsg)=0 |
Replaces a stop. | |
virtual bool | replaceRoute (ConstMSRoutePtr route, const std::string &info, bool onInit=false, int offset=0, bool addStops=true, bool removeStops=true, std::string *msgReturn=nullptr)=0 |
Replaces the current route by the given one. | |
virtual bool | replaceRouteEdges (ConstMSEdgeVector &edges, double cost, double savings, const std::string &info, bool onInit=false, bool check=false, bool removeStops=true, std::string *msgReturn=nullptr)=0 |
Replaces the current route by the given edges. | |
virtual void | replaceVehicleType (MSVehicleType *type)=0 |
Replaces the current vehicle type by the one given. | |
virtual bool | reroute (SUMOTime t, const std::string &info, SUMOAbstractRouter< MSEdge, SUMOVehicle > &router, const bool onInit=false, const bool withTaz=false, const bool silent=false, const MSEdge *sink=nullptr)=0 |
Performs a rerouting using the given router. | |
virtual void | setArrivalPos (double arrivalPos)=0 |
Sets this vehicle's desired arrivalPos for its current route. | |
virtual void | setChosenSpeedFactor (const double factor)=0 |
virtual void | setID (const std::string &newID) |
resets the id | |
virtual bool | stopsAt (MSStoppingPlace *stop) const =0 |
Returns whether the vehicle stops at the given stopping place. | |
virtual bool | stopsAtEdge (const MSEdge *edge) const =0 |
Returns whether the vehicle stops at the given edge. | |
virtual const MSEdge * | succEdge (int nSuccs) const =0 |
Returns the nSuccs'th successor of edge the vehicle is currently at. | |
SUMOVehicle (const std::string &id) | |
Constructor. | |
virtual void | unregisterWaiting ()=0 |
mark vehicle as active | |
virtual bool | wasRemoteControlled (SUMOTime lookBack=DELTA_T) const =0 |
Returns the information whether the vehicle is fully controlled via TraCI. | |
virtual | ~SUMOVehicle () |
Destructor. | |
parking memory io | |
virtual void | rememberBlockedParkingArea (const MSStoppingPlace *pa, bool local)=0 |
virtual SUMOTime | sawBlockedParkingArea (const MSStoppingPlace *pa, bool local) const =0 |
virtual void | rememberParkingAreaScore (const MSStoppingPlace *pa, const std::string &score)=0 |
virtual void | resetParkingAreaScores ()=0 |
virtual int | getNumberParkingReroutes () const =0 |
virtual void | setNumberParkingReroutes (int value)=0 |
virtual void | rememberBlockedChargingStation (const MSStoppingPlace *cs, bool local)=0 |
virtual SUMOTime | sawBlockedChargingStation (const MSStoppingPlace *cs, bool local) const =0 |
virtual void | rememberChargingStationScore (const MSStoppingPlace *cs, const std::string &score)=0 |
virtual void | resetChargingStationScores ()=0 |
state io | |
virtual void | saveState (OutputDevice &out)=0 |
Saves the states of a vehicle. | |
virtual void | loadState (const SUMOSAXAttributes &attrs, const SUMOTime offset)=0 |
Loads the state of this vehicle from the given description. | |
Helper methods for parsing parameters from the object itself, it's type or the global OptionsCont | |
std::string | getStringParam (const std::string ¶mName, const bool required=false, const std::string &deflt="") const |
Retrieve a string parameter for the traffic object. | |
double | getFloatParam (const std::string ¶mName, const bool required=false, const double deflt=INVALID_DOUBLE) const |
Retrieve a floating point parameter for the traffic object. | |
bool | getBoolParam (const std::string ¶mName, const bool required=false, const bool deflt=false) const |
Retrieve a boolean parameter for the traffic object. | |
SUMOTime | getTimeParam (const std::string ¶mName, const bool required=false, const SUMOTime deflt=SUMOTime_MIN) const |
Retrieve a time parameter for the traffic object. | |
Static Public Member Functions | |
template<class T > | |
static std::string | getIDSecure (const T *obj, const std::string &fallBack="NULL") |
get an identifier for Named-like object which may be Null | |
Protected Attributes | |
std::string | myID |
The name of the object. | |
Representation of a vehicle.
Definition at line 62 of file SUMOVehicle.h.
|
inherited |
Definition at line 56 of file SUMOTrafficObject.h.
|
inline |
Constructor.
Definition at line 66 of file SUMOVehicle.h.
|
inlinevirtual |
Destructor.
Definition at line 69 of file SUMOVehicle.h.
|
pure virtual |
deletes the next stop at the given index if it exists
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::customerArrived(), MSDevice_Taxi::dispatchShared(), and MSDevice_StationFinder::rerouteToChargingStation().
|
pure virtual |
Adds a stop.
The stop is put into the sorted list.
[in] | stop | The stop to add |
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::dispatchShared(), and MSDevice_ToC::triggerMRM().
|
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().
|
pure virtual |
schedule a new stop for the vehicle; each time a stop is reached, the vehicle will wait for the given duration before continuing on its route
[in] | stop | Stop parameters |
[out] | errorMsg | returned error message |
Implemented in MSBaseVehicle, and MSVehicle.
Referenced by MSIdling_Stop::idle().
|
pure virtual |
Adds a person or container to this vehicle.
[in] | transportable | The person/container to add |
Implemented in MSBaseVehicle, and MSVehicle.
Referenced by MSTransportableControl::loadAnyWaiting(), MSStageDriving::loadState(), and MSStageDriving::proceed().
|
pure virtual |
whether the given transportable is allowed to board this vehicle
Implemented in MSBaseVehicle.
Referenced by MSTransportableControl::hasAnyWaiting(), and MSTransportableControl::loadAnyWaiting().
|
pure virtualinherited |
Returns the object's acceleration.
Implemented in MSBaseVehicle, MSVehicle, and MSTransportable.
Referenced by MSE2Collector::makeMoveNotification(), MSDevice_Battery::notifyMove(), MSDevice_Emissions::notifyMove(), MSDevice_Emissions::notifyMoveInternal(), MSMeanData_Harmonoise::MSLaneMeanDataValues::notifyMoveInternal(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyMoveInternal(), MSElecHybridExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), MSAmitranTrajectories::writeVehicle(), and MSFullExport::writeVehicles().
|
pure virtual |
Get the vehicle's angle.
Implements SUMOTrafficObject.
Implemented in GUIVehicle, GUIMEVehicle, MEVehicle, and MSVehicle.
Referenced by MSDevice_ElecHybrid::acceleration(), libsumo::Helper::applySubscriptionFilterFieldOfVision(), MSDevice_ElecHybrid::consumption(), LIBSUMO_NAMESPACE::Vehicle::getAngle(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), GUIBaseVehicle::setFunctionalColor(), MSFCDExport::write(), MSEmissionExport::write(), and MSFullExport::writeVehicles().
|
pure virtual |
Returns this vehicle's desired arrivalPos for its current route (may change on reroute)
Implemented in MSBaseVehicle.
Referenced by MSStoppingPlaceRerouter::evaluateDestination(), MSDevice_Tripinfo::notifyLeave(), MSStoppingPlaceRerouter::reroute(), MSStageDriving::setArrived(), and MSDevice_Vehroutes::writeOutput().
|
pure virtualinherited |
Returns the lane the where the rear of the object is currently at.
Implemented in MEVehicle, MSVehicle, and MSTransportable.
Referenced by MSDriveWay::notifyLeaveBack().
|
pure virtualinherited |
Get the object's back position along the given lane.
Implemented in MEVehicle, MSVehicle, and MSTransportable.
Referenced by MSE2Collector::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), and MSInductLoop::notifyEnter().
|
inherited |
Retrieve a boolean parameter for the traffic object.
paramName | the parameter name |
required | whether it is an error if the parameter is not set |
deflt | the default value to take if the parameter is not set (the default in the OptionsCont takes precedence) |
Definition at line 76 of file SUMOTrafficObject.cpp.
References Named::getID(), SUMOTrafficObject::getStringParam(), SUMOTrafficObject::isPerson(), SUMOTrafficObject::isVehicle(), TL, StringUtils::toBool(), toString(), and WRITE_ERRORF.
Referenced by MSDevice_GLOSA::buildVehicleDevices(), and MSDevice_ToC::buildVehicleDevices().
|
pure virtual |
get bounding rectangle
Implemented in MEVehicle, and MSVehicle.
Referenced by GUIPerson::getGUIPosition().
|
pure virtual |
get distance for coming to a stop (used for rerouting checks)
Implemented in MEVehicle, and MSVehicle.
Referenced by MSBaseVehicle::addStop(), MSLink::blockedByFoe(), MSDriveWay::foeDriveWayOccupied(), MSStop::getEndPos(), MSDevice_Taxi::prepareStop(), MSBaseVehicle::replaceRoute(), MSStoppingPlaceRerouter::reroute(), and MSBaseVehicle::reroute().
|
pure virtualinherited |
Implemented in MSBaseVehicle, MSPerson, and MSTransportable.
Referenced by MSDevice_Tripinfo::generateOutput(), MSLane::getVehicleMaxSpeed(), MSRoutingEngine::initRouter(), MSEdge::validateDepartSpeed(), MSVehicleControl::vehicleDeparted(), and MSDevice_Vehroutes::writeOutput().
|
pure virtual |
Returns the number of containers.
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::customerArrived(), MSStageDriving::proceed(), and MSDevice_Taxi::updateMove().
|
pure virtual |
retrieve riding containers
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::dispatchShared(), and MSFCDExport::write().
|
pure virtual |
Returns an iterator pointing to the current edge in this vehicles route.
Implemented in MSBaseVehicle.
Referenced by MSDevice_SSM::findFoeConflictLane(), MSDriveWay::foeDriveWayOccupied(), MSDriveWay::getDepartureDriveway(), MSRailSignal::LinkInfo::getDriveWay(), MSDriveWay::notifyEnter(), MSTriggeredRerouter::triggerRouting(), MSDetectorFileOutput::vehicleApplies(), and MSDevice_Vehroutes::writeOutput().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSDevice_Tripinfo::generateOutput(), and MSDevice_Routing::notifyEnter().
|
pure virtual |
Returns this vehicle's real departure position.
Implemented in MSBaseVehicle.
Referenced by MSDevice_Tripinfo::generateOutput(), MSDevice_Vehroutes::writeOutput(), and MSDevice_Vehroutes::writeXMLRoute().
|
pure virtual |
Returns this vehicle's real departure time.
Implemented in MSBaseVehicle.
Referenced by MSDevice_StationFinder::estimateConsumption(), MSDevice_Tripinfo::generateOutput(), MSDevice_StationFinder::notifyMove(), MSVehicleControl::vehicleDeparted(), MSDevice_Vehroutes::writeOutput(), and MSAmitranTrajectories::writeVehicle().
|
pure virtualinherited |
Returns a device of the given type if it exists or nullptr if not.
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSDevice_Transportable::addTransportable(), MSInsertionControl::checkCandidates(), MSStateHandler::closeVehicle(), MSFCDExport::hasOwnOutput(), MSTransportableDevice_FCDReplay::move(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_Example::notifyMove(), MSDevice_Transportable::notifyMove(), MSDevice_Transportable::removeTransportable(), MSRailSignal::LinkInfo::reroute(), MSTriggeredRerouter::triggerRouting(), MSDevice_FCDReplay::FCDHandler::updateTrafficObjects(), MSElecHybridExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), and MSNet::writeOutput().
|
pure virtual |
Returns this vehicle's devices.
Implemented in MSBaseVehicle.
Referenced by MSStateHandler::closeVehicle(), MSDevice_Tripinfo::generateOutput(), and MSDevice_Tripinfo::generateOutputForUnfinished().
|
pure virtualinherited |
Returns the edge the object is currently at.
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSStageDriving::abort(), MSDevice_Vehroutes::addRoute(), MSStageDriving::canLeaveVehicle(), MSInsertionControl::checkCandidates(), MSDispatch::computePickupTime(), libsumo::Helper::debugPrint(), MSDevice_Taxi::dispatchShared(), MSStoppingPlaceRerouter::evaluateDestination(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSDevice_SSM::findFoeConflictLane(), MSDevice_Tripinfo::generateOutput(), MSStopOut::generateOutputForUnfinished(), MSDriveWay::getDepartureDriveway(), MSStageDriving::getEdge(), MSStop::getEndPos(), MSDevice_BTsender::getLocation(), MSVehicleControl::getVehicleMeanSpeeds(), MSFCDExport::hasOwnOutput(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), MSDevice_ElecHybrid::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSDriveWay::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Vehroutes::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Transportable::notifyMoveInternal(), MSDevice_Tripinfo::notifyMoveInternal(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSStoppingPlaceRerouter::reroute(), MSStageDriving::setArrived(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSTriggeredRerouter::triggerRouting(), MSInsertionControl::tryInsert(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSRailSignalControl::vehicleStateChanged(), MSFCDExport::write(), and MSEmissionExport::write().
|
pure virtual |
Returns the vehicle's emission model parameter.
Implemented in MSBaseVehicle.
Referenced by MSDevice_ElecHybrid::acceleration(), MSDevice_ElecHybrid::computeChargedEnergy(), MSDevice_ElecHybrid::consumption(), MSDevice_StationFinder::estimateConsumption(), MSDevice_Battery::getParameter(), MSDevice_ElecHybrid::getParameter(), MSDevice_ElecHybrid::getParameterDouble(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Emissions::notifyIdle(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyIdle(), MSDevice_Battery::notifyMove(), MSDevice_Emissions::notifyMove(), MSDevice_Emissions::notifyMoveInternal(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyMoveInternal(), MSDevice_Battery::setParameter(), MSDevice_ElecHybrid::setParameter(), MSEmissionExport::write(), and MSFullExport::writeVehicles().
|
inherited |
Retrieve a floating point parameter for the traffic object.
paramName | the parameter name |
required | whether it is an error if the parameter is not set |
deflt | the default value to take if the parameter is not set (the default in the OptionsCont takes precedence) |
Definition at line 58 of file SUMOTrafficObject.cpp.
References Named::getID(), SUMOTrafficObject::getStringParam(), SUMOTrafficObject::isPerson(), Distribution_Parameterized::isValid(), SUMOTrafficObject::isVehicle(), Distribution_Parameterized::sample(), TL, toString(), and WRITE_ERRORF.
Referenced by MSDevice_Bluelight::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Taxi::dispatchShared(), MSPModel_JuPedSim::execute(), MSDevice_ToC::getDynamicMRMProbability(), MSDevice_ToC::getOpenGapParams(), MSPModel_Striping::moveInDirectionOnLane(), MSDevice_GLOSA::notifyEnter(), MSDevice_Bluelight::notifyMove(), and MSDevice_Battery::readParameterValue().
|
inlineinherited |
Returns the id.
Definition at line 74 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSDriveWay::_saveState(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), MSDevice_GLOSA::adaptSpeed(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSDetectorControl::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSDriveWay::addBidiFoes(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), NIXMLEdgesHandler::addEdge(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSDriveWay::addParallelFoes(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), MSDriveWay::addSidings(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSPModel_JuPedSim::addWaitingSet(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Interacting::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), NIVisumTL::build(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSDriveWay::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSDriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDriveWay::buildSubFoe(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::cancelCustomer(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSDriveWay::canUseSiding(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSCFModel_CC::changeWholePlatoonLane(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSDriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSDriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSE2Collector::checkPositioning(), MSRoute::checkRemoval(), 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(), RORouteHandler::closeRouteDistribution(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), MSDispatch_GreedyClosest::computeDispatch(), NBNodeShapeComputer::computeEdgeBoundaries(), MSVehicle::computeFurtherLanes(), MSDevice_SSM::computeGlobalMeasures(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), NBRampsComputer::computeRamps(), 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(), MSDriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::correctConflicting(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSDefinition::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), MSDevice_ToC::deactivateDeliberateLCs(), 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(), 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(), MSStoppingPlaceRerouter::evaluateDestination(), 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(), MSPModel_JuPedSim::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignalControl::findDeadlockFoes(), MSDriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), MSDevice_StationFinder::generateOutput(), MSStopOut::generateOutputForUnfinished(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), LIBSUMO_NAMESPACE::Edge::getBidiEdge(), LIBSUMO_NAMESPACE::Lane::getBidiLane(), SUMOTrafficObject::getBoolParam(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSDriveWay::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), NBNodeShapeComputer::getDefaultRadius(), MSDriveWay::getDepartureDriveway(), MSLink::getDescription(), MSStop::getDescription(), MSRailSignalConstraint_Predecessor::getDescription(), NBTrafficLightDefinition::getDescription(), MSStageTrip::getDestinationDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSRailSignal::LinkInfo::getDriveWay(), GUIVehicle::getDriveWays(), MSSimpleTrafficLightLogic::getEarliest(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSLane::getFirstVehicleInformation(), SUMOTrafficObject::getFloatParam(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSPModel_InteractingState::getID(), MSPModel_Striping::PStateVehicle::getID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSDriveWay::getJunctionLinkID(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), NEMALogic::getLaneInfoFromNEMAState(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), MSDevice_SSM::getMDRAC_PRT(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSRailSignal::getNewDrivewayID(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSStageTrip::getOriginDescription(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_StationFinder::getParameter(), 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(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), SUMOTrafficObject::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), SUMOTrafficObject::getTimeParam(), MSDriveWay::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSStageTrip::getVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSStoppingPlaceRerouter::getWeight(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSDriveWay::hasJoin(), MSDriveWay::hasLinkConflict(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSRailSignalControl::haveDeadlock(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::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(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSPModel_JuPedSim::initialize(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSLane::insertVehicle(), MSEdge::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSLane::integrateNewVehicles(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::isLeader(), MESegment::isOpen(), MSCFModel_CC::isPlatoonLaneChangeSafe(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSVehicle::leaveLaneBack(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSDriveWay::match(), MEVehicle::mayProceed(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSDevice_FCDReplay::move(), MSTransportableDevice_FCDReplay::move(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), 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(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSPModel_Interacting::nextBlocking(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), 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(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDriveWay::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(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), 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_StationFinder::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(), MSPModel_Striping::PState::PState(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSPModel_Striping::registerCrossingApproach(), MSLink::removeApproaching(), MSLink::removeApproachingPerson(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), MSPerson::replaceWalk(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSStageTrip::reroute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_StationFinder::rerouteToChargingStation(), MSDriveWay::reserve(), 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(), MSStageWalking::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_LC2013::saveBlockerLength(), MSLane::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Battery::saveState(), MSDevice_Routing::saveState(), MSDevice_StationFinder::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(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), NBNodeCont::setAsTLControlled(), GNEJunction::setAttribute(), MSSimpleDriverState::setAwareness(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), NLEdgeControlBuilder::setDefaultStopOffset(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), NBEdge::setGeometry(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), MSDevice_Battery::setMaximumChargeRate(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingThreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSStopOut::stopStarted(), MSRailSignal::storeTraCIVehicles(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), MSDevice_ToC::switchHolderType(), GNETLSEditorFrame::TLSDefinition::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), MSDevice_StationFinder::teleportToChargingStation(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSPModel_Interacting::unregisterCrossingApproach(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSLCM_SL2015::updateCFRelated(), MSDevice_StationFinder::updateChargeLimit(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSRailSignal::updateCurrentPhase(), MSVehicle::updateDriveItems(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSDispatch::updateReservationFromPos(), 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(), MSDriveWay::writeBlocks(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), MSDriveWay::writeDepatureBlocks(), 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_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), 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(), MSDriveWay::addSidings(), MSLaneChanger::avoidDeadlock(), MSDriveWay::canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), MSDriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), NBPTLineCont::findWay(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSDriveWay::hasLinkConflict(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), 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(), MSDevice_Bluelight::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().
|
pure virtual |
Returns this vehicles impatience.
Implemented in MSBaseVehicle.
|
pure virtualinherited |
Returns the lane the object is currently at.
Implemented in MEVehicle, MSVehicle, and MSTransportable.
Referenced by MSStageDriving::abort(), MSBaseVehicle::addStop(), libsumo::Helper::applySubscriptionFilters(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), GUIBaseVehicle::drawOnPos(), MSDevice_StationFinder::estimateConsumption(), Command_RouteReplacement::execute(), MSStopOut::generateOutputForUnfinished(), LIBSUMO_NAMESPACE::Vehicle::getDrivingDistance(), LIBSUMO_NAMESPACE::Vehicle::getDrivingDistance2D(), MSStageDriving::getEdge(), MSStageDriving::getLane(), MSStoppingPlace::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), LIBSUMO_NAMESPACE::Vehicle::getLeader(), MSDevice_BTsender::getLocation(), MSBaseVehicle::getRNG(), MSBaseVehicle::getRNGIndex(), MSBaseVehicle::insertStop(), LIBSUMO_NAMESPACE::Vehicle::isOnInit(), MSTransportableDevice_FCDReplay::move(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_SSM::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Friction::notifyMove(), MSDevice_ToC::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSDevice_Taxi::prepareStop(), LIBSUMO_NAMESPACE::Vehicle::remove(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceStop(), MSDevice_ToC::requestToC(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSBaseVehicle::rerouteBetweenStops(), MSStageDriving::setArrived(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), and MSFCDExport::write().
|
pure virtual |
Implemented in MEVehicle, and MSVehicle.
Referenced by MSLink::blockedByFoe().
|
pure virtual |
Get the vehicle's lateral position on the lane.
Implemented in MSBaseVehicle, and MSVehicle.
Referenced by MSLink::opened(), and MSFCDExport::write().
|
pure virtual |
Returns the vehicles's length.
Implemented in MSBaseVehicle.
Referenced by MSStageDriving::canLeaveVehicle(), MSDriveWay::canUseSiding(), MSStoppingPlace::getLastFreePos(), MSDevice_StationFinder::getLastStepStoppingPlaceOccupancy(), MSDevice_StationFinder::getStoppingPlaceCapacity(), and MSDevice_StationFinder::getStoppingPlaceOccupancy().
|
pure virtualinherited |
Returns the object's maximum speed (minimum of technical and desired maximum speed)
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSDevice_StationFinder::estimateConsumption(), MSEdge::getTravelTimeAggregated(), MSLane::getVehicleMaxSpeed(), and MSTriggeredRerouter::triggerRouting().
|
pure virtualinherited |
returns the next edge (possibly an internal edge)
Implemented in MSBaseVehicle, MSVehicle, MSPerson, and MSTransportable.
Referenced by MSDetectorFileOutput::vehicleApplies().
|
pure virtual |
returns the next imminent stop in the stop queue
Implemented in MSBaseVehicle.
Referenced by MSStoppingPlaceRerouter::reroute(), and MSTriggeredRerouter::triggerRouting().
|
pure virtual |
returns the next imminent stop in the stop queue
Implemented in MSBaseVehicle.
Referenced by MSVehicleControl::abortWaiting(), MSDevice_Taxi::dispatchShared(), MSIdling_Stop::idle(), MSDevice_Transportable::notifyMove(), MSDevice_StationFinder::teleportToChargingStation(), MSDevice_Transportable::transferAtSplitOrJoin(), and MSDevice_Taxi::updateMove().
|
pure virtual |
Returns parameters of the next stop or nullptr.
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::cancelCurrentCustomers(), MSDriveWay::conflictLaneOccupied(), MSStopOut::generateOutputForUnfinished(), MSDriveWay::hasJoin(), and MSDevice_StationFinder::rerouteToChargingStation().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSTriggeredRerouter::getNumberStoppingPlaceReroutes().
|
pure virtual |
Returns the number of new routes this vehicle got.
Implemented in MSBaseVehicle.
Referenced by MSDevice_Tripinfo::generateOutput(), and MSDevice_Vehroutes::writeXMLRoute().
|
pure virtualinherited |
return the numerical ID which is only for internal usage
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSVehicleDevice::getNumericalID(), MSVehicleDevice::ComparatorNumericalVehicleIdLess::operator()(), MSMoveReminder::removeFromVehicleUpdateValues(), MSMoveReminder::updateDetector(), and MSDevice_Vehroutes::writeOutput().
|
pure virtual |
Returns the distance that was already driven by this vehicle.
Implemented in MSBaseVehicle.
Referenced by MSStageDriving::getDistance(), MSStageDriving::setArrived(), MSStageDriving::setVehicle(), MSElecHybridExport::write(), MSFCDExport::write(), and MSElecHybridExport::writeAggregated().
|
pure virtualinherited |
Returns the vehicle's parameter (including departure definition)
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSVehicleControl::abortWaiting(), MSVehicleContainer::add(), MSRouteHandler::addRideOrTransport(), MSVehicleControl::addVehicle(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSRouteHandler::closeVehicle(), MSDevice_Taxi::compatibleLine(), MSRailSignal::constraintsAllow(), MSParkingArea::enter(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSDevice_Tripinfo::generateOutput(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSEdge::getDepartLaneMeso(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_SSM::getOutputFilename(), SUMOTrafficObject::getStringParam(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSStoppingPlaceRerouter::getWeight(), MSVehicleControl::handleTriggeredDepart(), MSRailSignalControl::haveDeadlock(), MSLink::ignoreFoe(), MSRailSignal::initDriveWays(), MSEdge::insertVehicle(), MSStageDriving::isWaitingFor(), MSDevice_Routing::MSDevice_Routing(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_Vehroutes::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSCalibrator::VehicleRemover::notifyLeave(), MSDevice_Routing::preInsertionReroute(), MSStageDriving::proceed(), MSDevice_Battery::readParameterValue(), MSVehicleContainer::remove(), MSDevice_SSM::requestsTrajectories(), MSStageTrip::reroute(), MSDevice_Taxi::setParameter(), MSStageDriving::setVehicle(), MSDevice_ToC::setVehicleColor(), MSTriggeredRerouter::triggerRouting(), MSInsertionControl::tryInsert(), MSDevice_SSM::useGeoCoords(), MSEdge::validateDepartSpeed(), MSVehicleControl::vehicleDeparted(), MSRailSignalControl::vehicleStateChanged(), MSDevice_SSM::writeLanesPositions(), MSDevice_Vehroutes::writeOutput(), MSDevice_SSM::writePositions(), and MSDevice_Vehroutes::writeXMLRoute().
|
pure virtual |
|
pure virtual |
Returns the number of persons.
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::customerArrived(), MSStageDriving::proceed(), and MSDevice_Taxi::updateMove().
|
pure virtual |
retrieve riding persons
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::dispatchShared(), MSTriggeredRerouter::triggerRouting(), and MSFCDExport::write().
|
pure virtualinherited |
Return current position (x/y, cartesian)
If the object is not in the net, Position::INVALID.
[in] | offset | optional offset in longitudinal direction |
Implemented in GUIVehicle, GUIMEVehicle, MEVehicle, MSVehicle, and MSTransportable.
Referenced by libsumo::Helper::applySubscriptionFilterFieldOfVision(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), MSVTypeProbe::execute(), MSDevice_StationFinder::findChargingStation(), LIBSUMO_NAMESPACE::Vehicle::getPosition(), MSStageDriving::getPosition(), LIBSUMO_NAMESPACE::Vehicle::highlight(), PolygonDynamics::initTrackedPosition(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_ToC::notifyMove(), MSDevice_ToC::requestToC(), MSDevice_FCD::shapeFilter(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), PolygonDynamics::update(), MSElecHybridExport::write(), MSFCDExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), and MSFullExport::writeVehicles().
|
pure virtualinherited |
Get the object's position along the lane.
Implemented in MEVehicle, MSVehicle, and MSTransportable.
Referenced by MSBaseVehicle::addStop(), MSDispatch::computePickupTime(), MSDevice_Taxi::dispatchShared(), GUIBaseVehicle::drawStopLabels(), MSParkingArea::enter(), MSStoppingPlace::enter(), MSStoppingPlaceRerouter::evaluateDestination(), MSVTypeProbe::execute(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSDevice_Tripinfo::generateOutput(), LIBSUMO_NAMESPACE::Vehicle::getDrivingDistance(), LIBSUMO_NAMESPACE::Vehicle::getDrivingDistance2D(), MSStageDriving::getEdgePos(), MSStop::getEndPos(), LIBSUMO_NAMESPACE::Vehicle::getLanePosition(), MSStoppingPlace::getLastFreePos(), MSParkingArea::getLotIndex(), MSBaseVehicle::getOdometer(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSBaseVehicle::insertStop(), MSE2Collector::makeVehicleInfo(), MSTransportableDevice_FCDReplay::move(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSInductLoop::notifyEnter(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_ToC::notifyMove(), MSDevice_Battery::notifyParking(), MSBaseVehicle::onDepart(), MSOverheadWire::vehicle_position_sorter::operator()(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceStop(), MSDevice_ToC::requestToC(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSBaseVehicle::rerouteBetweenStops(), MSStageDriving::setArrived(), MSStopOut::stopEnded(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSDevice_ToC::triggerUpwardToC(), MSElecHybridExport::write(), MSFCDExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), MSDevice_Vehroutes::writeOutput(), MSXMLRawOut::writeVehicle(), and MSFullExport::writeVehicles().
|
pure virtualinherited |
Returns the object's previous speed.
Implemented in MSBaseVehicle, MSVehicle, and MSTransportable.
Referenced by MSE2Collector::calculateTimeLossAndTimeOnDetector(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSInductLoop::notifyMove(), MSInstantInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), and MSE3Collector::MSE3EntryReminder::notifyMove().
|
pure virtualinherited |
Returns the end point for reroutes (usually the last edge of the route)
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSTriggeredRerouter::triggerRouting().
|
pure virtual |
Returns the starting point for reroutes (usually the current edge)
This differs from myCurrEdge depending on braking distance and rail signals
Implemented in MSBaseVehicle, and MSVehicle.
Referenced by MSDevice_Taxi::dispatchShared(), and MSStoppingPlaceRerouter::evaluateDestination().
|
pure virtualinherited |
Returns the associated RNG for this object.
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSLink::blockedAtTime(), MSIdling_RandomCircling::idle(), MSDevice_Friction::notifyMove(), MSStoppingPlaceRerouter::reroute(), and MSTriggeredRerouter::triggerRouting().
|
pure virtualinherited |
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSDevice_Taxi::dispatchShared(), MSDevice_StationFinder::estimateConsumption(), MSDevice_StationFinder::getRouter(), MSStoppingPlaceRerouter::getRouter(), MSDevice_Routing::notifyEnter(), MSDevice_Taxi::prepareStop(), MSDevice_StationFinder::rerouteToChargingStation(), MSDevice_StationFinder::teleportToChargingStation(), and MSTriggeredRerouter::triggerRouting().
|
pure virtual |
Returns the current route.
Implemented in MSBaseVehicle.
Referenced by MSRouteHandler::addRideOrTransport(), MSDevice_Taxi::dispatchShared(), MSDevice_StationFinder::estimateConsumption(), MSStoppingPlaceRerouter::evaluateDestination(), Command_RouteReplacement::execute(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSDevice_SSM::findFoeConflictLane(), MSDriveWay::foeDriveWayOccupied(), MSDevice_Tripinfo::generateOutput(), MSDriveWay::getDepartureDriveway(), MSRailSignal::LinkInfo::getDriveWay(), MSVehicleControl::handleTriggeredDepart(), MSIdling_RandomCircling::idle(), MSRailSignal::initDriveWays(), MSDriveWay::notifyEnter(), MSDevice_Routing::preInsertionReroute(), MSStoppingPlaceRerouter::reroute(), MSRailSignal::LinkInfo::reroute(), MSTriggeredRerouter::triggerRouting(), MSDevice_FCDReplay::FCDHandler::updateTrafficObjects(), MSDetectorFileOutput::vehicleApplies(), MSEmissionExport::write(), MSDevice_Vehroutes::writeOutput(), MSFullExport::writeVehicles(), and MSDevice_Vehroutes::writeXMLRoute().
|
pure virtualinherited |
return index of edge within route
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSDevice_Vehroutes::addRoute(), MSDevice_Taxi::dispatchShared(), MSDevice_StationFinder::estimateConsumption(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSDevice_Tripinfo::generateOutput(), MSRailSignal::LinkInfo::getDriveWay(), MSIdling_RandomCircling::idle(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_BTreceiver::notifyMove(), and MSDevice_BTsender::notifyMove().
|
pure virtual |
Returns the current route.
Implemented in MSBaseVehicle.
Referenced by MSDevice_Vehroutes::addRoute(), and MSRouteProbe::notifyEnter().
|
pure virtual |
computes validity attributes for the current route
Implemented in MSBaseVehicle.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSEdge::insertVehicle(), and MSInsertionControl::tryInsert().
|
pure virtualinherited |
Implemented in MSBaseVehicle, and MSTransportable.
|
pure virtualinherited |
Returns the slope of the road at object's position in degrees.
Implemented in MEVehicle, MSVehicle, and MSTransportable.
Referenced by MSDevice_ElecHybrid::acceleration(), MSDevice_ElecHybrid::consumption(), MSBaseVehicle::getEmissions(), LIBSUMO_NAMESPACE::Vehicle::getSlope(), MSDevice_Battery::notifyMove(), MSDevice_Emissions::notifyMove(), MSDevice_Emissions::notifyMoveInternal(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyMoveInternal(), MSElecHybridExport::write(), MSFCDExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), and MSFullExport::writeVehicles().
|
pure virtualinherited |
Returns the object's current speed.
Implemented in MEVehicle, MSVehicle, MSTransportable, GUIContainer, and GUIPerson.
Referenced by MSChargingStation::addChargeValueForOutput(), MSLink::blockedAtTime(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSInductLoop::collectVehiclesOnDet(), MSE3Collector::detectorUpdate(), GUIBaseVehicle::drawOnPos(), MSE3Collector::enter(), MSVTypeProbe::execute(), MSVehicle::Influencer::gapControlSpeed(), MSRailSignal::LinkInfo::getDriveWay(), MSBaseVehicle::getEmissions(), MSVehicleControl::getHaltingVehicleNo(), MSBaseVehicle::getHarmonoise_NoiseEmissions(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSStoppingPlace::getLastFreePos(), MSCFModel_CC::getRadarMeasurements(), GUIBaseVehicle::getScaleValue(), MSStageDriving::getSpeed(), LIBSUMO_NAMESPACE::Vehicle::getSpeed(), LIBSUMO_NAMESPACE::Vehicle::getSpeedWithoutTraCI(), MSVehicleControl::getVehicleMeanSpeeds(), MSBaseVehicle::isParking(), MSE3Collector::leave(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSInstantInductLoop::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_Battery::notifyParking(), MSNet::registerCollision(), MSLink::setApproaching(), MSElecHybridExport::write(), MSFCDExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), MSXMLRawOut::writeVehicle(), MSAmitranTrajectories::writeVehicle(), and MSFullExport::writeVehicles().
|
pure virtual |
return list of route indices and stop positions for the remaining stops
Implemented in MSBaseVehicle.
Referenced by MSStoppingPlaceRerouter::evaluateDestination().
|
pure virtual |
returns the list of stops not yet reached in the stop queue
Implemented in MSBaseVehicle.
Referenced by MSDevice_StationFinder::alreadyPlannedCharging(), MSDevice_Taxi::customerArrived(), MSDevice_Taxi::dispatchShared(), MSStoppingPlace::getLastFreePos(), MSDevice_Taxi::hasFuturePickup(), MSDriveWay::hasJoin(), MSDevice_Vehroutes::notifyStopEnded(), and MSStoppingPlaceRerouter::reroute().
|
inherited |
Retrieve a string parameter for the traffic object.
paramName | the parameter name |
required | whether it is an error if the parameter is not set |
deflt | the default value to take if the parameter is not set (the default in the OptionsCont takes precedence) |
Definition at line 33 of file SUMOTrafficObject.cpp.
References OptionsCont::exists(), Named::getID(), OptionsCont::getOptions(), SUMOTrafficObject::getParameter(), Parameterised::getParameter(), OptionsCont::getValueString(), SUMOTrafficObject::getVTypeParameter(), SUMOTrafficObject::isPerson(), OptionsCont::isSet(), SUMOTrafficObject::isVehicle(), and TLF.
Referenced by MSDevice_ToC::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), SUMOTrafficObject::getBoolParam(), SUMOTrafficObject::getFloatParam(), MSDevice_Taxi::getParameter(), SUMOTrafficObject::getTimeParam(), MSBaseVehicle::initTransientModelParams(), MSDevice_Taxi::MSDevice_Taxi(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), and MSDevice_Taxi::prepareStop().
|
pure virtual |
Implemented in MEVehicle, and MSVehicle.
Referenced by MSStageDriving::setArrived(), and MSStageDriving::setVehicle().
|
inherited |
Retrieve a time parameter for the traffic object.
paramName | the parameter name |
required | whether it is an error if the parameter is not set |
deflt | the default value to take if the parameter is not set (the default in the OptionsCont takes precedence) |
Definition at line 89 of file SUMOTrafficObject.cpp.
References Named::getID(), SUMOTrafficObject::getStringParam(), SUMOTrafficObject::isPerson(), SUMOTrafficObject::isVehicle(), string2time(), time2string(), TL, and WRITE_ERRORF.
Referenced by MSTransportableDevice_Routing::buildDevices(), and MSDevice_Routing::buildVehicleDevices().
|
pure virtualinherited |
returns the numerical IDs of edges to be used (possibly of future stages)
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSTriggeredRerouter::getCurrentReroute(), and MSTriggeredRerouter::triggerRouting().
|
pure virtualinherited |
Returns the object's access class.
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSVehicleControl::addVehicle(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_Taxi::dispatchShared(), MSDevice_StationFinder::estimateConsumption(), MSDevice_Tripinfo::generateOutput(), MSRoutingEngine::getEffortExtra(), MSDevice_StationFinder::getRouter(), MSDevice_Taxi::getStopLane(), MSLane::getVehicleMaxSpeed(), MSIdling_RandomCircling::idle(), MSRoutingEngine::initRouter(), MSDevice_Routing::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), MSDetectorFileOutput::personApplies(), MSDevice_Taxi::prepareStop(), MSEdge::prohibits(), MSDevice_Routing::reroute(), MSRoutingEngine::reroute(), MSDevice_StationFinder::rerouteToChargingStation(), MSStageDriving::setVehicle(), MSDevice_StationFinder::teleportToChargingStation(), MSTriggeredRerouter::triggerRouting(), MSVehicleControl::vehicleDeparted(), MSRailSignalControl::vehicleStateChanged(), MSDevice_Vehroutes::writeOutput(), and MSDevice_Vehroutes::writeXMLRoute().
|
pure virtualinherited |
Returns the object's "vehicle" type.
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), MSTriggeredRerouter::applies(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_FCDReplay::FCDHandler::checkRoute(), MSLink::computeFoeArrivalTimeBraking(), MSDevice_SSM::computeGlobalMeasures(), MSRailSignal::constraintsAllow(), MSParkingArea::enter(), MSStoppingPlace::enter(), MSDevice_StationFinder::evaluateCustomComponents(), MSVTypeProbe::execute(), MSDevice_SSM::filterByConflictType(), MSStoppingPlace::fits(), MSDriveWay::foeDriveWayOccupied(), MSDevice_StationFinder::freeSpaceAtChargingStation(), MSDevice_Tripinfo::generateOutput(), MSEdge::getDepartLaneMeso(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSParkingArea::getLastFreePos(), MSStoppingPlace::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSDevice_StationFinder::getLastStepStoppingPlaceOccupancy(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_SSM::getOutputFilename(), MSDevice_StationFinder::getStoppingPlaceCapacity(), MSDevice_StationFinder::getStoppingPlaceOccupancy(), MSStoppingPlaceRerouter::getWeight(), MSIdling_Stop::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSEdge::insertVehicle(), MSTransportableControl::loadAnyWaiting(), MSE2Collector::makeVehicleInfo(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_ToC::MSDevice_ToC(), MSMeanData_Amitran::MSLaneMeanDataValues::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSDevice_Emissions::notifyIdle(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyIdle(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_Emissions::notifyMove(), MSDevice_Transportable::notifyMove(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSInstantInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_StationFinder::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSDevice_Emissions::notifyMoveInternal(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSMeanData_Harmonoise::MSLaneMeanDataValues::notifyMoveInternal(), MSMeanData_Amitran::MSLaneMeanDataValues::notifyMoveInternal(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyMoveInternal(), MSLink::opened(), MSDevice_Taxi::prepareStop(), MSStageDriving::proceed(), MSDevice_Battery::readParameterValue(), MSNet::registerCollision(), MSDispatch::remainingCapacity(), MSDevice_SSM::requestsTrajectories(), MSLink::setApproaching(), MSStageDriving::setVehicle(), MSStopOut::stopEnded(), MSLane::succLinkSec(), MSDevice_SSM::useGeoCoords(), MSEdge::validateDepartSpeed(), MSDetectorFileOutput::vehicleApplies(), MSVehicleControl::vehicleDeparted(), MSInstantInductLoop::write(), MSFCDExport::write(), MSEmissionExport::write(), MSDevice_SSM::writeLanesPositions(), MSDevice_Vehroutes::writeOutput(), MSDevice_SSM::writePositions(), MSAmitranTrajectories::writeVehicle(), and MSFullExport::writeVehicles().
|
pure virtualinherited |
Returns the object's "vehicle" type parameter.
Implemented in MSBaseVehicle, and MSTransportable.
Referenced by SUMOTrafficObject::getStringParam().
|
pure virtualinherited |
Implemented in MEVehicle, MSVehicle, and MSTransportable.
Referenced by MSRailSignal::constraintsAllow(), MSDriveWay::foeDriveWayOccupied(), MSBaseVehicle::getImpatience(), MSBaseVehicle::getWaitingSeconds(), MSDevice_Tripinfo::notifyMoveInternal(), and MSTriggeredRerouter::triggerRouting().
|
pure virtualinherited |
Returns whether this object has arrived.
Implemented in MEVehicle, MSBaseVehicle, MSVehicle, and MSTransportable.
Referenced by MSStateHandler::closeVehicle(), and MSMeanData::MeanDataValues::notifyMove().
|
pure virtual |
Returns whether this vehicle has departed.
Implemented in MSBaseVehicle.
Referenced by MSVehicleControl::abortWaiting(), MSDevice_Vehroutes::addRoute(), MSStateHandler::closeVehicle(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSDevice_Tripinfo::generateOutput(), MSDevice_Tripinfo::generateOutputForUnfinished(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), MSDriveWay::hasJoin(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), MSDevice_Routing::loadState(), MSStageDriving::proceed(), MSDevice_Tripinfo::saveState(), MSStageDriving::setVehicle(), and MSRailSignalControl::vehicleStateChanged().
|
pure virtualinherited |
whether the vehicle is individually influenced (via TraCI or special parameters)
Implemented in MEVehicle, MSVehicle, MSPerson, MSTransportable, and MSBaseVehicle.
|
pure virtual |
Returns whether the vehicle has to stop somewhere.
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::dispatchShared(), MSStoppingPlace::getLastFreePos(), MSIdling_Stop::idle(), and MSDevice_StationFinder::rerouteToChargingStation().
|
pure virtual |
Validates the current or given route.
[out] | msg | Description why the route is not valid (if it is the case) |
[in] | route | The route to check (or 0 if the current route shall be checked) |
Implemented in MSBaseVehicle.
Referenced by Command_RouteReplacement::execute(), MSRailSignalControl::vehicleStateChanged(), and MSDevice_Vehroutes::writeOutput().
|
pure virtual |
checks wether the vehicle can depart on the first edge
Implemented in MSBaseVehicle, and MSVehicle.
Referenced by MSDevice_Routing::preInsertionReroute().
|
inlinevirtualinherited |
Returns whether this object is ignoring transient permission changes (during routing)
Reimplemented in MSBaseVehicle.
Definition at line 182 of file SUMOTrafficObject.h.
Referenced by MSEdge::prohibits().
|
inlinevirtualinherited |
Whether it is a container.
Reimplemented in MSTransportable.
Definition at line 81 of file SUMOTrafficObject.h.
|
pure virtual |
Returns the information whether the front of the vehhicle is on the given lane.
Implemented in MSBaseVehicle, and MSVehicle.
|
pure virtual |
Returns whether the vehicle is idling (waiting to re-enter the net.
Implemented in MEVehicle, and MSVehicle.
Referenced by MSBaseVehicle::getEmissions(), MSBaseVehicle::getHarmonoise_NoiseEmissions(), and MSEmissionExport::write().
|
pure virtual |
returns whether the vehicle serves a public transport line that serves the given stop
Implemented in MSBaseVehicle.
|
pure virtual |
Returns the information whether the vehicle is on a road (is simulated)
Implemented in MEVehicle, MSBaseVehicle, and MSVehicle.
Referenced by MSVTypeProbe::execute(), MSDriveWay::foeDriveWayOccupied(), MSVehicleControl::getHaltingVehicleNo(), MSVehicleControl::getVehicleMeanSpeeds(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), LIBSUMO_NAMESPACE::Vehicle::isVisible(), MSFCDExport::isVisible(), MSInsertionControl::tryInsert(), MSDevice_SSM::updateAndWriteOutput(), MSElecHybridExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), MSNet::writeOutput(), MSAmitranTrajectories::writeVehicle(), and MSFullExport::writeVehicles().
|
pure virtual |
Returns the information whether the vehicle is parked.
Implemented in MSBaseVehicle.
Referenced by GUIVehicleControl::insertVehicleIDs(), LIBSUMO_NAMESPACE::Vehicle::isVisible(), MSFCDExport::isVisible(), and MSDevice_Battery::notifyMove().
|
inlinevirtualinherited |
Whether it is a person.
Reimplemented in MSTransportable.
Definition at line 74 of file SUMOTrafficObject.h.
Referenced by MSE3Collector::enter(), SUMOTrafficObject::getBoolParam(), SUMOTrafficObject::getFloatParam(), SUMOTrafficObject::getStringParam(), SUMOTrafficObject::getTimeParam(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSE2Collector::notifyEnter(), MSInductLoop::notifyEnter(), MSE2Collector::notifyLeave(), MSInductLoop::notifyLeave(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), and MSDetectorFileOutput::vehicleApplies().
|
pure virtual |
Returns the information whether the vehicle is fully controlled via TraCI.
Implemented in MSBaseVehicle, and MSVehicle.
Referenced by MSVehicleControl::getHaltingVehicleNo(), MSVehicleControl::getVehicleMeanSpeeds(), and MSFCDExport::isVisible().
|
pure virtualinherited |
whether this object is selected in the GUI
Implemented in GUIVehicle, MSBaseVehicle, MSPerson, MSTransportable, GUIContainer, and GUIPerson.
Referenced by MSLink::blockedByFoe().
|
pure virtual |
Returns whether the vehicle is at a stop and waiting for a person or container to continue.
Implements SUMOTrafficObject.
Implemented in MSBaseVehicle.
Referenced by MSVehicleControl::getVehicleMeanSpeeds(), MSDriveWay::hasJoin(), MSDevice_Transportable::notifyMove(), MSDevice_StationFinder::notifyMove(), MSDevice_Transportable::removeTransportable(), MSDevice_StationFinder::teleportToChargingStation(), MSDevice_Taxi::updateMove(), and MSDevice_Routing::wrappedRerouteCommandExecute().
|
pure virtual |
Returns whether the vehicle is stopped in the range of the given position.
Implemented in MSBaseVehicle.
Referenced by MSTransportableControl::hasAnyWaiting(), and MSTransportableControl::loadAnyWaiting().
|
pure virtual |
Returns whether the vehicle is at a stop and parking.
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::dispatchShared().
|
pure virtual |
Returns whether the vehicle is at a stop and waiting for a person or container to continue.
Implemented in MSBaseVehicle.
Referenced by MSVehicleControl::abortWaiting(), and MSDevice_Taxi::dispatchShared().
|
inlinevirtualinherited |
Whether it is a vehicle.
Reimplemented in MSBaseVehicle.
Definition at line 67 of file SUMOTrafficObject.h.
Referenced by libsumo::Helper::debugPrint(), MSE3Collector::enter(), SUMOTrafficObject::getBoolParam(), SUMOTrafficObject::getFloatParam(), SUMOTrafficObject::getStringParam(), SUMOTrafficObject::getTimeParam(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSDriveWay::notifyEnter(), MSDevice_Tripinfo::notifyIdle(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyIdle(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_SSM::notifyLeave(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Example::notifyMove(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyMoveInternal(), MSTriggeredRerouter::triggerRouting(), and MSDetectorFileOutput::vehicleApplies().
|
pure virtual |
Loads the state of this vehicle from the given description.
Implemented in MEVehicle, and MSVehicle.
Referenced by MSStateHandler::closeVehicle().
|
pure virtual |
Called when the vehicle is inserted into the network.
Sets optional information about departure time, informs the vehicle control about a further running vehicle.
Implemented in MSBaseVehicle.
|
pure virtual |
Returns the remaining stop duration for a stopped vehicle or 0.
Implemented in MEVehicle, and MSVehicle.
Referenced by MSStoppingPlace::getLastFreePos().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSDevice_StationFinder::rememberBlockedStoppingPlace().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSTriggeredRerouter::rememberBlockedStoppingPlace().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSDevice_StationFinder::rememberStoppingPlaceScore().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSTriggeredRerouter::rememberStoppingPlaceScore().
|
pure virtual |
removes a person or container
Implemented in MSBaseVehicle.
Referenced by MSStageDriving::abort(), and MSTransportable::~MSTransportable().
|
pure virtual |
Replaces the vehicle's parameter.
Implemented in MSBaseVehicle.
Referenced by MSTriggeredRerouter::triggerRouting().
|
pure virtual |
Replaces a stop.
The stop replace the next stop into the sorted list.
[in] | stop | The stop to add |
Implemented in MSBaseVehicle.
Referenced by MSTriggeredRerouter::triggerRouting().
|
pure virtualinherited |
Replaces the current route by the given one.
Implemented in MEVehicle, MSBaseVehicle, MSVehicle, and MSTransportable.
Referenced by Command_RouteReplacement::execute(), MSDevice_Routing::preInsertionReroute(), and MSTriggeredRerouter::triggerRouting().
|
pure virtual |
Replaces the current route by the given edges.
It is possible that the new route is not accepted, if a) it does not contain the vehicle's current edge, or b) something fails on insertion into the routes container (see in-line comments).
[in] | edges | The new list of edges to pass |
[in] | onInit | Whether the vehicle starts with this route |
[in] | check | Whether the route should be checked for validity |
[in] | removeStops | Whether stops should be removed if they do not fit onto the new route |
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::dispatchShared(), MSIdling_RandomCircling::idle(), MSStageTrip::reroute(), MSTriggeredRerouter::triggerRouting(), and MSDevice_FCDReplay::FCDHandler::updateTrafficObjects().
|
pure virtualinherited |
Replaces the current vehicle type by the one given.
If the currently used vehicle type is marked as being used by this object only, it is deleted, first. The new, given type is then assigned to "myVType".
[in] | type | The new vehicle type |
Implemented in MSBaseVehicle, MSVehicle, and MSTransportable.
Referenced by MSCalibrator::VehicleRemover::notifyEnter(), and MSCalibrator::VehicleRemover::notifyLeave().
|
pure virtual |
Performs a rerouting using the given router.
Tries to find a new route between the current edge and the destination edge, first. Tries to replace the current route by the new one using replaceRoute.
[in] | t | The time for which the route is computed |
[in] | router | The router to use |
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::dispatchShared(), MSDevice_Routing::notifyEnter(), MSRoutingEngine::reroute(), and MSTriggeredRerouter::triggerRouting().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSDevice_StationFinder::resetStoppingPlaceScores().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSTriggeredRerouter::resetStoppingPlaceScores().
|
pure virtual |
Saves the states of a vehicle.
Implemented in MEVehicle, MSBaseVehicle, and MSVehicle.
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSDevice_StationFinder::sawBlockedStoppingPlace().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSTriggeredRerouter::sawBlockedStoppingPlace().
|
pure virtual |
Sets this vehicle's desired arrivalPos for its current route.
Implemented in MSBaseVehicle.
Referenced by MSStageTrip::reroute(), and MSTriggeredRerouter::triggerRouting().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSStateHandler::closeVehicle(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSRoutingEngine::initRouter(), and MSEdge::validateDepartSpeed().
|
inlinevirtualinherited |
resets the id
[in] | newID | The new id of this object |
Reimplemented in MSBaseVehicle, MSTransportable, and NBLoadedSUMOTLDef.
Definition at line 82 of file Named.h.
References Named::myID.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), NBLoadedSUMOTLDef::setID(), and IntermodalNetwork< E, L, N, V >::splitEdge().
|
pure virtual |
Implemented in MSBaseVehicle.
Referenced by MSParkingArea::enter(), and MSTriggeredRerouter::setNumberStoppingPlaceReroutes().
|
pure virtual |
Returns whether the vehicle stops at the given stopping place.
Implemented in MSBaseVehicle.
Referenced by MSStageDriving::isWaitingFor().
|
pure virtual |
Returns whether the vehicle stops at the given edge.
Implemented in MSBaseVehicle.
Referenced by MSStageDriving::isWaitingFor().
|
pure virtual |
Returns the nSuccs'th successor of edge the vehicle is currently at.
If the rest of the route (counted from the current edge) than nSuccs, 0 is returned.
[in] | nSuccs | The number of edge to look forward |
Implemented in MSBaseVehicle.
Referenced by MSLane::succLinkSec().
|
pure virtual |
mark vehicle as active
Implemented in MSBaseVehicle.
Referenced by MSDevice_Taxi::dispatchShared().
Returns the information whether the vehicle is fully controlled via TraCI.
Implemented in MSBaseVehicle, and MSVehicle.
Referenced by LIBSUMO_NAMESPACE::Vehicle::isVisible().
|
protectedinherited |
The name of the object.
Definition at line 125 of file Named.h.
Referenced by MSDriveWay::addBidiFoes(), MSE2Collector::addDetectorToLanes(), MSDriveWay::addFoes(), MSDriveWay::addParallelFoes(), MSDriveWay::addReversalFoes(), MSDriveWay::addSwitchFoes(), RODFDetector::buildDestinationDistribution(), MSDriveWay::buildDriveWay(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), NEMALogic::getPhaseObj(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSSOTLTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), Named::setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeAggregatedChargingStationOutput(), MSDriveWay::writeBlocks(), MSDriveWay::writeBlockVehicles(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().