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

A lane area vehicles can halt at. More...

#include <MSParkingArea.h>

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

Data Structures

struct  LotSpaceDefinition
 Representation of a single lot space. More...
 

Public Types

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

Public Member Functions

virtual bool addAccess (MSLane *lane, const double pos, double length)
 adds an access point to this stop
 
virtual void addLotEntry (double x, double y, double z, double width, double length, double angle, double slope)
 Add a lot entry to parking area.
 
void addTo (const StoringVisitor &cont) const
 Adds this object to the given container.
 
bool addTransportable (const MSTransportable *p)
 adds a transportable to this stop
 
void clearParameter ()
 Clears the parameter map.
 
void clearState ()
 Remove all vehicles before quick-loading state.
 
void enter (SUMOVehicle *veh)
 Called if a vehicle enters this stop.
 
void enter (SUMOVehicle *veh, bool parking)
 Called if a vehicle enters this stop.
 
bool fits (double pos, const SUMOVehicle &veh) const
 return whether the given vehicle fits at the given position
 
double getAccessDistance (const MSEdge *edge) const
 the distance from the access on the given edge to the stop, -1 on failure
 
double getAccessPos (const MSEdge *edge) const
 the position on the given edge which is connected to this stop, -1 on failure
 
const std::vector< std::tuple< MSLane *, double, double > > & getAllAccessPos () const
 lanes and positions connected to this stop
 
double getAngle () const
 Returns the lot rectangle angle.
 
double getBeginLanePosition () const
 Returns the begin position of this stop.
 
int getCapacity () const
 Returns the area capacity.
 
Position getCenterPos () const
 the position in the middle of the stop shape
 
const RGBColorgetColor () const
 
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double.
 
std::vector< double > getDoubles (const std::string &key, std::vector< double > defaultValue=std::vector< double >()) const
 Returns the value for a given key converted to a list of doubles.
 
SumoXMLTag getElement () const
 return the type of this stopping place
 
double getEndLanePosition () const
 Returns the end position of this stop.
 
double getGUIAngle (const SUMOVehicle &forVehicle) const
 Return the GUI angle of the lot where the vehicle is parked.
 
const std::string & getID () const
 Returns the id.
 
double getInsertionPosition (const SUMOVehicle &forVehicle) const
 Returns the insertion position of a parked vehicle.
 
const MSLanegetLane () const
 Returns the lane this stop is located at.
 
int getLastFreeLotAngle () const
 Return the angle of myLastFreeLot - the next parking lot only expected to be called after we have established there is space in the parking area.
 
double getLastFreeLotGUIAngle () const
 Return the GUI angle of myLastFreeLot - the angle the GUI uses to rotate into the next parking lot as above, only expected to be called after we have established there is space in the parking area.
 
double getLastFreePos () const
 
double getLastFreePos (const SUMOVehicle &forVehicle, double brakePos=0) const
 Returns the last free position on this stop.
 
double getLastFreePosWithReservation (SUMOTime t, const SUMOVehicle &forVehicle, double brakePos)
 Returns the last free position on this stop including reservatiosn from the current lane and time step.
 
int getLastStepOccupancy () const
 Returns the area occupancy at the end of the last simulation step.
 
double getLength () const
 Returns the lot rectangle length.
 
int getLotIndex (const SUMOVehicle *veh) const
 compute lot for this vehicle
 
int getManoeuverAngle (const SUMOVehicle &forVehicle) const
 Return the manoeuver angle of the lot where the vehicle is parked.
 
const std::string & getMyName () const
 
int getNumAlternatives () const
 get number alternatives
 
int getNumWaitingPersons () const
 get number of persons waiting at this stop
 
int getOccupancy () const
 Returns the area occupancy.
 
int getOccupancyIncludingBlocked () const
 Returns the area occupancy.
 
virtual const std::string getParameter (const std::string &key, const std::string defaultValue="") const
 Returns the value for a given key.
 
const Parameterised::MapgetParametersMap () const
 Returns the inner key/value map.
 
std::string getParametersStr (const std::string kvsep="=", const std::string sep="|") const
 Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
 
int getStoppedVehicleNumber () const
 Returns the number of stopped vehicles waiting on this stop.
 
std::vector< const SUMOVehicle * > getStoppedVehicles () const
 get list of vehicles waiting at this stop
 
double getStoppingPosition (const SUMOVehicle *veh) const
 For vehicles at the stop this gives the the actual stopping position of the vehicle. For all others the last free stopping position.
 
int getTransportableNumber () const
 Returns the number of transportables waiting on this stop.
 
std::vector< const MSTransportable * > getTransportables () const
 Returns the tranportables waiting on this stop.
 
double getVehicleAngle (const SUMOVehicle &forVehicle) const
 Returns the angle of parked vehicle.
 
Position getVehiclePosition (const SUMOVehicle &forVehicle) const
 Returns the position of parked vehicle.
 
double getVehicleSlope (const SUMOVehicle &forVehicle) const
 Returns the slope of parked vehicle.
 
int getWaitingCapacity () const
 get number of persons that can wait at this stop
 
void getWaitingPersonIDs (std::vector< std::string > &into) const
 get IDs of persons waiting at this stop
 
double getWaitingPositionOnLane (MSTransportable *t) const
 Returns the lane position corresponding to getWaitPosition()
 
Position getWaitPosition (MSTransportable *person) const
 Returns the next free waiting place for pedestrians / containers.
 
double getWidth () const
 Returns the lot rectangle width.
 
bool hasSpaceForTransportable () const
 whether there is still capacity for more transportables
 
bool knowsParameter (const std::string &key) const
 Returns whether the parameter is known.
 
void leaveFrom (SUMOVehicle *what)
 Called if a vehicle leaves this stop.
 
 MSParkingArea (const std::string &id, const std::vector< std::string > &lines, MSLane &lane, double begPos, double endPos, int capacity, double width, double length, double angle, const std::string &name, bool onRoad, const std::string &departPos, bool lefthand)
 Constructor.
 
void notifyEgressBlocked ()
 update state so that vehicles wishing to enter cooperate with exiting vehicles
 
bool parkOnRoad () const
 whether vehicles park on the road
 
void removeTransportable (const MSTransportable *p)
 Removes a transportable from this stop.
 
virtual void setID (const std::string &newID)
 resets the id
 
void setNumAlternatives (int alternatives)
 set number alternatives
 
virtual void setParameter (const std::string &key, const std::string &value)
 Sets a parameter.
 
void setParameters (const Parameterised &params)
 set the inner key/value map in map<string, string> format
 
void setParametersMap (const Parameterised::Map &paramsMap)
 set the inner key/value map in map<string, string> format
 
void setParametersStr (const std::string &paramsString, const std::string kvsep="=", const std::string sep="|")
 set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
 
void unsetParameter (const std::string &key)
 Removes a parameter.
 
SUMOTime updateOccupancy (SUMOTime currentTime)
 Called at the end of the time step.
 
void updateParameters (const Parameterised::Map &mapArg)
 Adds or updates all given parameters from the map.
 
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice
 
virtual ~MSParkingArea ()
 Destructor.
 

Static Public Member Functions

static bool areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)
 
static bool areParametersValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
 
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
 
static int getTransportablesAbreast (double length, SumoXMLTag element)
 

Protected Member Functions

void computeLastFreePos ()
 Computes the last free position on this stop.
 
int getTransportablesAbreast () const
 

Protected Attributes

std::vector< std::tuple< MSLane *, double, double > > myAccessPos
 lanes and positions connected to this stop
 
double myAngle
 The default angle of each parking space.
 
const double myBegPos
 The begin position this bus stop is located at.
 
int myCapacity
 Stop area total capacity.
 
const RGBColor myColor
 The color of the stopping place.
 
double myDepartPos
 custom departPos
 
DepartPosDefinition myDepartPosDefinition
 
bool myEgressBlocked
 whether a vehicle wants to exit but is blocked
 
const SumoXMLTag myElement
 the type of stopping place
 
const double myEndPos
 The end position this bus stop is located at.
 
std::map< const SUMOVehicle *, std::pair< double, double >, ComparatorNumericalIdLessmyEndPositions
 A map from objects (vehicles) to the areas they acquire after entering the stop.
 
std::string myID
 The name of the object.
 
const MSLanemyLane
 The lane this bus stop is located at.
 
int myLastFreeLot
 Last free lot number (-1 no free lot)
 
double myLastFreePos
 The last free position at this stop (variable)
 
const SUMOVehiclemyLastParking
 The length of the last parking vehicle (or 0 if there is none)
 
int myLastStepOccupancy
 Changes to the occupancy in the current time step.
 
double myLength
 The default length of each parking space.
 
std::vector< std::string > myLines
 The list of lines that are assigned to this stop.
 
const std::string myName
 The name of the stopping place.
 
int myNumAlternatives
 the number of alternative parkingAreas that are assigned to parkingAreaRerouter
 
bool myOnRoad
 Whether vehicles stay on the road.
 
const double myParkingFactor
 the scaled space capacity for parking vehicles
 
double myReservationMaxLength
 reservation max length
 
int myReservations
 number of reservations
 
SUMOTime myReservationTime
 track parking reservations from the lane for the current time step
 
int myRoadSideCapacity
 Stop area capacity configured via roadsideCapacity.
 
PositionVector myShape
 The roadside shape of this parkingArea.
 
std::vector< LotSpaceDefinitionmySpaceOccupancies
 All the spaces in this parking area.
 
const int myTransportableCapacity
 The number of transportables that can wait here.
 
const double myTransportableDepth
 row depth of waiting transportables
 
CommandmyUpdateEvent
 Event for updating the occupancy.
 
std::set< int > myWaitingSpots
 
std::map< const MSTransportable *, int > myWaitingTransportables
 Persons waiting at this stop (mapped to waiting position)
 
double myWidth
 The default width of each parking space.
 

Private Member Functions

 MSParkingArea (const MSParkingArea &)=delete
 Invalidated copy constructor.
 
MSParkingAreaoperator= (const MSParkingArea &)=delete
 Invalidated assignment operator.
 

Static Private Member Functions

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

Private Attributes

Parameterised::Map myMap
 The key->value map.
 

Detailed Description

A lane area vehicles can halt at.

The stop tracks the last free space a vehicle may halt at by being informed about a vehicle's entering and depart. It keeps the information about entered vehicles' begin and end position within an internal container ("myEndPositions") and is so able to compute the last free space.

Please note that using the last free space disallows vehicles to enter a free space in between other vehicles.

Definition at line 58 of file MSParkingArea.h.

Member Typedef Documentation

◆ Map

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

parameters map

Definition at line 45 of file Parameterised.h.

Constructor & Destructor Documentation

◆ MSParkingArea() [1/2]

MSParkingArea::MSParkingArea ( const std::string &  id,
const std::vector< std::string > &  lines,
MSLane lane,
double  begPos,
double  endPos,
int  capacity,
double  width,
double  length,
double  angle,
const std::string &  name,
bool  onRoad,
const std::string &  departPos,
bool  lefthand 
)

Constructor.

Parameters
[in]idThe id of the stop
[in]netThe net the stop belongs to
[in]linesNames of the lines that halt on this stop
[in]laneThe lane the stop is placed on
[in]begPosBegin position of the stop on the lane
[in]endPosEnd position of the stop on the lane
[in]capacityCapacity of the stop
[in]widthWidth of the default lot rectangle
[in]lengthLength of the default lot rectangle
[in]angleAngle of the default lot rectangle

Definition at line 45 of file MSParkingArea.cpp.

References addLotEntry(), GeomHelper::calculateLotSpaceAngle(), GeomHelper::calculateLotSpacePosition(), GeomHelper::calculateLotSpaceSlope(), computeLastFreePos(), Named::getID(), MSLane::getLength(), MSLane::getShape(), PositionVector::getSubpart(), MSLane::getWidth(), GIVEN, MSGlobals::gLefthand, MSLane::interpolateLanePosToGeometryPos(), MAX2(), MIN2(), PositionVector::move2side(), myAngle, MSStoppingPlace::myBegPos, myDepartPos, myDepartPosDefinition, MSStoppingPlace::myElement, MSStoppingPlace::myEndPos, MSStoppingPlace::myLane, myLength, myOnRoad, myShape, mySpaceOccupancies, myWidth, SUMOVehicleParameter::parseDepartPos(), SUMO_const_laneWidth, toString(), Position::x(), Position::y(), and Position::z().

◆ ~MSParkingArea()

MSParkingArea::~MSParkingArea ( )
virtual

Destructor.

Definition at line 109 of file MSParkingArea.cpp.

◆ MSParkingArea() [2/2]

MSParkingArea::MSParkingArea ( const MSParkingArea )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addAccess()

bool MSStoppingPlace::addAccess ( MSLane lane,
const double  pos,
double  length 
)
virtualinherited

adds an access point to this stop

Reimplemented in GUIBusStop.

Definition at line 311 of file MSStoppingPlace.cpp.

References Position::distanceTo(), MSLane::geometryPositionAtOffset(), MSStoppingPlace::myAccessPos, MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, and MSStoppingPlace::myLane.

Referenced by GUIBusStop::addAccess(), and NLTriggerBuilder::addAccess().

Here is the caller graph for this function:

◆ addLotEntry()

void MSParkingArea::addLotEntry ( double  x,
double  y,
double  z,
double  width,
double  length,
double  angle,
double  slope 
)
virtual

Add a lot entry to parking area.

Parameters
[in]xX position of the lot center
[in]yY position of the lot center
[in]zZ position of the lot center
[in]widthWidth of the lot rectangle
[in]lengthLength of the lot rectangle
[in]angleAngle of the lot rectangle
[in]slopeSlope of the lot rectangle
Returns
Whether the lot entry could be added

Reimplemented in GUIParkingArea.

Definition at line 113 of file MSParkingArea.cpp.

References computeLastFreePos(), MSParkingArea::LotSpaceDefinition::endPos, MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getLane(), MSLane::getLength(), getLength(), MSLane::getShape(), MSGlobals::gModelParkingManoeuver, MSParkingArea::LotSpaceDefinition::manoeuverAngle, myCapacity, MSStoppingPlace::myEndPos, mySpaceOccupancies, PositionVector::nearest_offset_to_point2D(), MSParkingArea::LotSpaceDefinition::position, RAD2DEG, MSParkingArea::LotSpaceDefinition::rotation, MSParkingArea::LotSpaceDefinition::sideIsLHS, PositionVector::transformToVectorCoordinates(), and Position::y().

Referenced by GUIParkingArea::addLotEntry(), NLTriggerBuilder::addLotEntry(), and MSParkingArea().

Here is the caller graph for this function:

◆ addTo()

void Named::addTo ( const StoringVisitor cont) const
inlineinherited

Adds this object to the given container.

Parameters
[in,filled]cont The container to add this item to

Definition at line 118 of file Named.h.

References Named::StoringVisitor::add().

◆ addTransportable()

bool MSStoppingPlace::addTransportable ( const MSTransportable p)
inherited

adds a transportable to this stop

Definition at line 221 of file MSStoppingPlace.cpp.

References MSStoppingPlace::hasSpaceForTransportable(), MSStoppingPlace::myWaitingSpots, and MSStoppingPlace::myWaitingTransportables.

Referenced by MSStageDriving::loadState(), MSStageWaiting::loadState(), MSStageTranship::moveToNextEdge(), MSDevice_Transportable::notifyMove(), and MSStageWaiting::proceed().

Here is the caller graph for this function:

◆ areAttributesValid()

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

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

Definition at line 216 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ areParametersValid()

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

◆ clearParameter()

void Parameterised::clearParameter ( )
inherited

Clears the parameter map.

Definition at line 120 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NLHandler::beginEdgeParsing().

Here is the caller graph for this function:

◆ clearState()

void MSStoppingPlace::clearState ( )
inherited

Remove all vehicles before quick-loading state.

Definition at line 347 of file MSStoppingPlace.cpp.

References MSStoppingPlace::computeLastFreePos(), MSStoppingPlace::myEndPositions, and MSStoppingPlace::myWaitingTransportables.

◆ computeLastFreePos()

void MSParkingArea::computeLastFreePos ( )
protected

Computes the last free position on this stop.

The last free position is the one, the last vehicle ends at. It is stored in myLastFreePos. If no vehicle halts, the last free position gets the value of myEndPos.

Definition at line 401 of file MSParkingArea.cpp.

References getCapacity(), getOccupancy(), MIN2(), MSStoppingPlace::myBegPos, myEgressBlocked, myLastFreeLot, MSStoppingPlace::myLastFreePos, and mySpaceOccupancies.

Referenced by addLotEntry(), enter(), leaveFrom(), MSParkingArea(), and notifyEgressBlocked().

Here is the caller graph for this function:

◆ enter() [1/2]

void MSParkingArea::enter ( SUMOVehicle veh)

Called if a vehicle enters this stop.

Stores the position of the entering vehicle in myEndPositions.

Recomputes the free space using "computeLastFreePos" then.

Parameters
[in]whatThe vehicle that enters the parking area
See also
computeLastFreePos

Definition at line 322 of file MSParkingArea.cpp.

References MSEventControl::addEvent(), computeLastFreePos(), MSNet::getEndOfTimestepEvents(), Named::getID(), MSNet::getInstance(), MSVehicleType::getLength(), getLotIndex(), MSVehicleType::getMinGap(), SUMOTrafficObject::getParameter(), SUMOTrafficObject::getPositionOnLane(), SUMOTrafficObject::getVehicleType(), MSStoppingPlace::myEndPositions, myLastFreeLot, MSStoppingPlace::myLastFreePos, mySpaceOccupancies, myUpdateEvent, SUMOVehicle::setNumberParkingReroutes(), Parameterised::setParameter(), SIMSTEP, time2string(), toString(), updateOccupancy(), and WRITE_WARNING.

Referenced by MSVehicle::processNextStop().

Here is the caller graph for this function:

◆ enter() [2/2]

void MSStoppingPlace::enter ( SUMOVehicle veh,
bool  parking 
)
inherited

Called if a vehicle enters this stop.

Stores the position of the entering vehicle in myEndPositions.

Recomputes the free space using "computeLastFreePos" then.

Parameters
[in]whatThe vehicle that enters the bus stop
[in]begThe begin halting position of the vehicle
[in]whatThe end halting position of the vehicle
See also
computeLastFreePos

Definition at line 95 of file MSStoppingPlace.cpp.

References MSStoppingPlace::computeLastFreePos(), MSVehicleType::getLengthWithGap(), MSVehicleType::getMinGap(), SUMOTrafficObject::getPositionOnLane(), SUMOTrafficObject::getVehicleType(), MSStoppingPlace::myEndPositions, and MSStoppingPlace::myParkingFactor.

Referenced by MSVehicle::leaveLane(), and MSVehicle::processNextStop().

Here is the caller graph for this function:

◆ fits()

bool MSStoppingPlace::fits ( double  pos,
const SUMOVehicle veh 
) const
inherited

return whether the given vehicle fits at the given position

Definition at line 145 of file MSStoppingPlace.cpp.

References MSVehicleType::getLength(), SUMOTrafficObject::getVehicleType(), MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, and MSStoppingPlace::myParkingFactor.

Referenced by MSStoppingPlace::getLastFreePos(), and MSVehicle::processNextStop().

Here is the caller graph for this function:

◆ getAccessDistance()

double MSStoppingPlace::getAccessDistance ( const MSEdge edge) const
inherited

the distance from the access on the given edge to the stop, -1 on failure

Definition at line 284 of file MSStoppingPlace.cpp.

References MSLane::getEdge(), MSStoppingPlace::myAccessPos, and MSStoppingPlace::myLane.

Referenced by MSPerson::checkAccess().

Here is the caller graph for this function:

◆ getAccessPos()

double MSStoppingPlace::getAccessPos ( const MSEdge edge) const
inherited

the position on the given edge which is connected to this stop, -1 on failure

Definition at line 270 of file MSStoppingPlace.cpp.

References MSLane::getEdge(), MSStoppingPlace::myAccessPos, MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, and MSStoppingPlace::myLane.

Referenced by MSStageDriving::canLeaveVehicle(), MSPerson::checkAccess(), MSPerson::MSPersonStage_Access::MSPersonStage_Access(), MSRouteHandler::parseWalkPositions(), MSStageDriving::proceed(), and MSStageTrip::setArrived().

Here is the caller graph for this function:

◆ getAllAccessPos()

const std::vector< std::tuple< MSLane *, double, double > > & MSStoppingPlace::getAllAccessPos ( ) const
inlineinherited

lanes and positions connected to this stop

Definition at line 197 of file MSStoppingPlace.h.

References MSStoppingPlace::myAccessPos.

Referenced by MSStageDriving::registerWaiting().

Here is the caller graph for this function:

◆ getAngle()

double MSParkingArea::getAngle ( ) const

Returns the lot rectangle angle.

Definition at line 501 of file MSParkingArea.cpp.

References myAngle.

Referenced by NLTriggerBuilder::parseAndAddLotEntry().

Here is the caller graph for this function:

◆ getBeginLanePosition()

◆ getCapacity()

int MSParkingArea::getCapacity ( ) const

Returns the area capacity.

Definition at line 507 of file MSParkingArea.cpp.

References myCapacity.

Referenced by MSTriggeredRerouter::addParkValues(), computeLastFreePos(), getLastFreePosWithReservation(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUIParkingArea::getParameterWindow(), MSVehicle::processNextStop(), and MSTriggeredRerouter::rerouteParkingArea().

Here is the caller graph for this function:

◆ getCenterPos()

Position MSStoppingPlace::getCenterPos ( ) const
inherited

the position in the middle of the stop shape

Definition at line 88 of file MSStoppingPlace.cpp.

References MSLane::getShape(), MSLane::getWidth(), MSLane::interpolateLanePosToGeometryPos(), MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, MSStoppingPlace::myLane, and PositionVector::positionAtOffset().

Referenced by GUIBusStop::drawGL(), GUIPerson::getGUIPosition(), and MSPerson::MSPersonStage_Access::MSPersonStage_Access().

Here is the caller graph for this function:

◆ getColor()

const RGBColor & MSStoppingPlace::getColor ( ) const
inherited

Definition at line 305 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myColor.

Referenced by GUIBusStop::drawGL().

Here is the caller graph for this function:

◆ getDouble()

◆ getDoubles()

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

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

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

Definition at line 99 of file Parameterised.cpp.

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

Referenced by EnergyParams::EnergyParams().

Here is the caller graph for this function:

◆ getElement()

SumoXMLTag MSStoppingPlace::getElement ( ) const
inlineinherited

return the type of this stopping place

Definition at line 210 of file MSStoppingPlace.h.

References MSStoppingPlace::myElement.

Referenced by MSStageTrip::getDestinationDescription(), MSStageTrip::getOriginDescription(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), and MSStageWaiting::routeOutput().

Here is the caller graph for this function:

◆ getEndLanePosition()

◆ getGUIAngle()

double MSParkingArea::getGUIAngle ( const SUMOVehicle forVehicle) const

Return the GUI angle of the lot where the vehicle is parked.

Definition at line 271 of file MSParkingArea.cpp.

References DEG2RAD, and mySpaceOccupancies.

Referenced by MSVehicle::Manoeuvre::configureExitManoeuvre().

Here is the caller graph for this function:

◆ getID()

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

Returns the id.

Returns
The stored id

Definition at line 74 of file Named.h.

References Named::myID.

Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSDetectorControl::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), 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(), MSTriggeredRerouter::addParkValues(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), 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_Striping::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(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::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(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSRailSignal::DriveWay::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(), 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(), MSRailSignal::DriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSDefinition::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), MSDevice_ToC::deactivateDeliberateLCs(), MSRailSignal::DriveWay::deadlockLaneOccupied(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), 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(), enter(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), Command_RouteReplacement::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), MSStopOut::generateOutputForUnfinished(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), MSStop::getDescription(), NBTrafficLightDefinition::getDescription(), MSStageTrip::getDestinationDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSSimpleTrafficLightLogic::getEarliest(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFirstVehicleInformation(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSPModel_Striping::PStateVehicle::getID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSRailSignal::getJunctionLinkID(), RORouteHandler::getJunctionTaz(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), getLastFreePos(), 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(), 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_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(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), MSDevice::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), MSRailSignal::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSRailSignalConstraint::getVehID(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSRailSignal::hasOncomingRailTraffic(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), 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(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), 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(), 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(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MEVehicle::mayProceed(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), MSLCM_SL2015::mustOvertakeStopped(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_StationFinder::notifyMove(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_ToC::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSDefinition::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSEdge::transportable_by_position_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSLaneChangerSublane::outputLCStarted(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_stopPoints(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSLCM_SL2015::preventSliding(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSRailSignalControl::registerProtectedDriveway(), MSLink::removeApproaching(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSPerson::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MEVehicle::resumeFromStopping(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_LC2013::saveBlockerLength(), MSLane::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSSimpleTrafficLightLogic::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), MSStageTrip::setArrived(), NBNodeCont::setAsTLControlled(), 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(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), 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(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), MSDevice_ToC::switchHolderType(), GNETLSEditorFrame::TLSDefinition::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSLCM_SL2015::updateCFRelated(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSVehicle::updateDriveItems(), MSRailSignal::updateDriveway(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSRailSignalConstraint_Predecessor::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSDevice_SSM::writePositions(), NWWriter_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().

◆ getIDSecure()

template<class T >
static std::string Named::getIDSecure ( const T *  obj,
const std::string &  fallBack = "NULL" 
)
inlinestaticinherited

get an identifier for Named-like object which may be Null

Definition at line 67 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::avoidDeadlock(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSRailSignal::DriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), MSRailSignal::DriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSRailSignal::DriveWay::reserve(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), toString(), toString(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), and MSLaneChanger::yieldToDeadlockOncoming().

◆ getInsertionPosition()

double MSParkingArea::getInsertionPosition ( const SUMOVehicle forVehicle) const

Returns the insertion position of a parked vehicle.

Definition at line 237 of file MSParkingArea.cpp.

References GIVEN, myDepartPos, myDepartPosDefinition, and mySpaceOccupancies.

Referenced by MSVehicleTransfer::checkInsertions().

Here is the caller graph for this function:

◆ getLane()

◆ getLastFreeLotAngle()

int MSParkingArea::getLastFreeLotAngle ( ) const

Return the angle of myLastFreeLot - the next parking lot only expected to be called after we have established there is space in the parking area.

Returns
The angle of the lot in degrees

Definition at line 157 of file MSParkingArea.cpp.

References MSParkingArea::LotSpaceDefinition::manoeuverAngle, myLastFreeLot, mySpaceOccupancies, and MSParkingArea::LotSpaceDefinition::sideIsLHS.

Referenced by MSVehicle::Manoeuvre::configureEntryManoeuvre().

Here is the caller graph for this function:

◆ getLastFreeLotGUIAngle()

double MSParkingArea::getLastFreeLotGUIAngle ( ) const

Return the GUI angle of myLastFreeLot - the angle the GUI uses to rotate into the next parking lot as above, only expected to be called after we have established there is space in the parking area.

Returns
The GUI angle, relative to the lane, in radians

Definition at line 170 of file MSParkingArea.cpp.

References DEG2RAD, MSParkingArea::LotSpaceDefinition::manoeuverAngle, myLastFreeLot, and mySpaceOccupancies.

Referenced by MSVehicle::Manoeuvre::configureEntryManoeuvre().

Here is the caller graph for this function:

◆ getLastFreePos() [1/2]

double MSStoppingPlace::getLastFreePos ( ) const
inlineinherited

Definition at line 180 of file MSStoppingPlace.h.

References MSStoppingPlace::myLastFreePos.

Referenced by getLastFreePosWithReservation(), GUIBusStop::getParameterWindow(), GUIChargingStation::getParameterWindow(), and MSStoppingPlace::getStoppingPosition().

Here is the caller graph for this function:

◆ getLastFreePos() [2/2]

double MSParkingArea::getLastFreePos ( const SUMOVehicle forVehicle,
double  brakePos = 0 
) const

Returns the last free position on this stop.

Definition at line 184 of file MSParkingArea.cpp.

References DEBUG_COND2, Named::getID(), MSVehicleType::getMinGap(), SUMOTrafficObject::getVehicleType(), MIN2(), myCapacity, MSStoppingPlace::myEndPos, MSStoppingPlace::myEndPositions, MSStoppingPlace::myLastFreePos, mySpaceOccupancies, and SIMTIME.

Referenced by MSTriggeredRerouter::addParkValues(), and MSStop::getEndPos().

Here is the caller graph for this function:

◆ getLastFreePosWithReservation()

double MSParkingArea::getLastFreePosWithReservation ( SUMOTime  t,
const SUMOVehicle forVehicle,
double  brakePos 
)

Returns the last free position on this stop including reservatiosn from the current lane and time step.

Returns
The last free position of this bus stop

Definition at line 429 of file MSParkingArea.cpp.

References DEBUG_COND2, getCapacity(), Named::getID(), SUMOTrafficObject::getLane(), MSStoppingPlace::getLastFreePos(), MSVehicleType::getLength(), MSVehicleType::getMinGap(), getOccupancy(), SUMOTrafficObject::getVehicleType(), MAX2(), MIN2(), MSStoppingPlace::myBegPos, myCapacity, MSStoppingPlace::myEndPos, MSStoppingPlace::myLane, myNumAlternatives, myReservationMaxLength, myReservations, myReservationTime, mySpaceOccupancies, and SIMTIME.

Referenced by MSVehicle::planMoveInternal().

Here is the caller graph for this function:

◆ getLastStepOccupancy()

int MSParkingArea::getLastStepOccupancy ( ) const

Returns the area occupancy at the end of the last simulation step.

Definition at line 531 of file MSParkingArea.cpp.

References myLastStepOccupancy.

Referenced by MSTriggeredRerouter::rerouteParkingArea().

Here is the caller graph for this function:

◆ getLength()

double MSParkingArea::getLength ( ) const

Returns the lot rectangle length.

Definition at line 495 of file MSParkingArea.cpp.

References myLength.

Referenced by addLotEntry(), and NLTriggerBuilder::parseAndAddLotEntry().

Here is the caller graph for this function:

◆ getLotIndex()

int MSParkingArea::getLotIndex ( const SUMOVehicle veh) const

compute lot for this vehicle

Definition at line 299 of file MSParkingArea.cpp.

References MSParkingArea::LotSpaceDefinition::endPos, SUMOTrafficObject::getPositionOnLane(), myLastFreeLot, MSStoppingPlace::myLastFreePos, myOnRoad, mySpaceOccupancies, and MSParkingArea::LotSpaceDefinition::vehicle.

Referenced by enter(), and MSVehicle::processNextStop().

Here is the caller graph for this function:

◆ getManoeuverAngle()

int MSParkingArea::getManoeuverAngle ( const SUMOVehicle forVehicle) const

Return the manoeuver angle of the lot where the vehicle is parked.

Definition at line 285 of file MSParkingArea.cpp.

References mySpaceOccupancies.

Referenced by MSVehicle::Manoeuvre::configureExitManoeuvre().

Here is the caller graph for this function:

◆ getMyName()

const std::string & MSStoppingPlace::getMyName ( ) const
inherited

◆ getNumAlternatives()

int MSParkingArea::getNumAlternatives ( ) const

get number alternatives

Definition at line 542 of file MSParkingArea.cpp.

References myNumAlternatives.

Referenced by GUIParkingArea::getParameterWindow().

Here is the caller graph for this function:

◆ getNumWaitingPersons()

int MSStoppingPlace::getNumWaitingPersons ( ) const
inlineinherited

get number of persons waiting at this stop

Definition at line 222 of file MSStoppingPlace.h.

References MSStoppingPlace::myWaitingTransportables.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ getOccupancy()

int MSParkingArea::getOccupancy ( ) const

Returns the area occupancy.

Returns
The occupancy computed as number of vehicles in myEndPositions (reduced by 1 if at least one vehicle has finished parking but is blocked from entering the road)

Definition at line 519 of file MSParkingArea.cpp.

References myEgressBlocked, and MSStoppingPlace::myEndPositions.

Referenced by MSTriggeredRerouter::addParkValues(), computeLastFreePos(), getLastFreePosWithReservation(), GUIParkingArea::getParameterWindow(), MSVehicle::processNextStop(), MSTriggeredRerouter::rerouteParkingArea(), and updateOccupancy().

Here is the caller graph for this function:

◆ getOccupancyIncludingBlocked()

int MSParkingArea::getOccupancyIncludingBlocked ( ) const

Returns the area occupancy.

Definition at line 525 of file MSParkingArea.cpp.

References MSStoppingPlace::myEndPositions.

Referenced by LIBSUMO_NAMESPACE::Simulation::getParameter(), and MSVehicle::processNextStop().

Here is the caller graph for this function:

◆ getParameter()

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

Returns the value for a given key.

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

Reimplemented in MSActuatedTrafficLightLogic, MSSimpleTrafficLightLogic, and NEMALogic.

Definition at line 71 of file Parameterised.cpp.

References Parameterised::myMap.

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

◆ getParametersMap()

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

Returns the inner key/value map.

Definition at line 126 of file Parameterised.cpp.

References Parameterised::myMap.

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

◆ getParametersStr()

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

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

Definition at line 132 of file Parameterised.cpp.

References Parameterised::myMap.

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

Here is the caller graph for this function:

◆ getStoppedVehicleNumber()

int MSStoppingPlace::getStoppedVehicleNumber ( ) const
inlineinherited

Returns the number of stopped vehicles waiting on this stop.

Definition at line 176 of file MSStoppingPlace.h.

References MSStoppingPlace::myEndPositions.

Referenced by MSStoppingPlace::getLastFreePos(), GUIBusStop::getParameterWindow(), and GUIChargingStation::getParameterWindow().

Here is the caller graph for this function:

◆ getStoppedVehicles()

std::vector< const SUMOVehicle * > MSStoppingPlace::getStoppedVehicles ( ) const
inherited

get list of vehicles waiting at this stop

Definition at line 328 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myEndPositions.

◆ getStoppingPosition()

double MSStoppingPlace::getStoppingPosition ( const SUMOVehicle veh) const
inherited

For vehicles at the stop this gives the the actual stopping position of the vehicle. For all others the last free stopping position.

Definition at line 197 of file MSStoppingPlace.cpp.

References MSStoppingPlace::getLastFreePos(), and MSStoppingPlace::myEndPositions.

◆ getTransportableNumber()

int MSStoppingPlace::getTransportableNumber ( ) const
inlineinherited

Returns the number of transportables waiting on this stop.

Definition at line 166 of file MSStoppingPlace.h.

References MSStoppingPlace::myWaitingTransportables.

Referenced by LIBSUMO_NAMESPACE::Simulation::getBusStopWaiting(), and GUIBusStop::getParameterWindow().

Here is the caller graph for this function:

◆ getTransportables()

std::vector< const MSTransportable * > MSStoppingPlace::getTransportables ( ) const
inherited

Returns the tranportables waiting on this stop.

Definition at line 207 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myWaitingTransportables.

Referenced by LIBSUMO_NAMESPACE::Simulation::getBusStopWaitingIDList(), and GUIBusStop::getParameterWindow().

Here is the caller graph for this function:

◆ getTransportablesAbreast() [1/2]

int MSStoppingPlace::getTransportablesAbreast ( ) const
protectedinherited

Definition at line 173 of file MSStoppingPlace.cpp.

References MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::myBegPos, MSStoppingPlace::myElement, and MSStoppingPlace::myEndPos.

Referenced by MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::getWaitingPositionOnLane(), MSStoppingPlace::getWaitPosition(), GUIBusStop::GUIBusStop(), and NLTriggerBuilder::parseAndBuildStoppingPlace().

Here is the caller graph for this function:

◆ getTransportablesAbreast() [2/2]

int MSStoppingPlace::getTransportablesAbreast ( double  length,
SumoXMLTag  element 
)
staticinherited

◆ getVehicleAngle()

double MSParkingArea::getVehicleAngle ( const SUMOVehicle forVehicle) const

Returns the angle of parked vehicle.

Definition at line 251 of file MSParkingArea.cpp.

References M_PI, and mySpaceOccupancies.

◆ getVehiclePosition()

Position MSParkingArea::getVehiclePosition ( const SUMOVehicle forVehicle) const

Returns the position of parked vehicle.

Definition at line 226 of file MSParkingArea.cpp.

References Position::INVALID, and mySpaceOccupancies.

◆ getVehicleSlope()

double MSParkingArea::getVehicleSlope ( const SUMOVehicle forVehicle) const

Returns the slope of parked vehicle.

Definition at line 261 of file MSParkingArea.cpp.

References mySpaceOccupancies.

◆ getWaitingCapacity()

int MSStoppingPlace::getWaitingCapacity ( ) const
inlineinherited

get number of persons that can wait at this stop

Definition at line 227 of file MSStoppingPlace.h.

References MSStoppingPlace::myTransportableCapacity.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ getWaitingPersonIDs()

void MSStoppingPlace::getWaitingPersonIDs ( std::vector< std::string > &  into) const
inherited

get IDs of persons waiting at this stop

Definition at line 338 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myWaitingTransportables.

◆ getWaitingPositionOnLane()

double MSStoppingPlace::getWaitingPositionOnLane ( MSTransportable t) const
inherited

Returns the lane position corresponding to getWaitPosition()

Returns
The waiting position along the stop lane

Definition at line 152 of file MSStoppingPlace.cpp.

References MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::myBegPos, MSStoppingPlace::myElement, MSStoppingPlace::myEndPos, MSStoppingPlace::myWaitingTransportables, SUMO_const_waitingContainerWidth, SUMO_const_waitingPersonWidth, and SUMO_TAG_CONTAINER_STOP.

Referenced by MSStoppingPlace::getWaitPosition(), MSStageDriving::loadState(), and MSStageDriving::proceed().

Here is the caller graph for this function:

◆ getWaitPosition()

Position MSStoppingPlace::getWaitPosition ( MSTransportable person) const
inherited

Returns the next free waiting place for pedestrians / containers.

Returns
The next free waiting place for pedestrians / containers

Definition at line 178 of file MSStoppingPlace.cpp.

References MSLane::getShape(), MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::getWaitingPositionOnLane(), MSLane::getWidth(), MSGlobals::gLefthand, MSLane::interpolateLanePosToGeometryPos(), MSStoppingPlace::myLane, MSStoppingPlace::myTransportableCapacity, MSStoppingPlace::myTransportableDepth, MSStoppingPlace::myWaitingTransportables, and PositionVector::positionAtOffset().

Referenced by MSStageDriving::loadState(), MSStageWaiting::loadState(), MSStageDriving::proceed(), and MSStageWaiting::proceed().

Here is the caller graph for this function:

◆ getWidth()

double MSParkingArea::getWidth ( ) const

Returns the lot rectangle width.

Definition at line 489 of file MSParkingArea.cpp.

References myWidth.

Referenced by NLTriggerBuilder::parseAndAddLotEntry().

Here is the caller graph for this function:

◆ hasSpaceForTransportable()

bool MSStoppingPlace::hasSpaceForTransportable ( ) const
inherited

whether there is still capacity for more transportables

Definition at line 216 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myWaitingSpots.

Referenced by MSStoppingPlace::addTransportable().

Here is the caller graph for this function:

◆ isParameterValid()

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

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

Definition at line 251 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ knowsParameter()

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

Returns whether the parameter is known.

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

Definition at line 65 of file Parameterised.cpp.

References Parameterised::myMap.

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

Here is the caller graph for this function:

◆ leaveFrom()

void MSParkingArea::leaveFrom ( SUMOVehicle what)

Called if a vehicle leaves this stop.

Removes the position of the vehicle from myEndPositions.

Recomputes the free space using "computeLastFreePos" then.

Parameters
[in]whatThe vehicle that leaves the parking area
See also
computeLastFreePos

Definition at line 348 of file MSParkingArea.cpp.

References MSEventControl::addEvent(), computeLastFreePos(), MSNet::getEndOfTimestepEvents(), MSNet::getInstance(), MSStoppingPlace::myEndPositions, mySpaceOccupancies, myUpdateEvent, and updateOccupancy().

Referenced by MSVehicle::resumeFromStopping().

Here is the caller graph for this function:

◆ notifyEgressBlocked()

void MSParkingArea::notifyEgressBlocked ( )

update state so that vehicles wishing to enter cooperate with exiting vehicles

Definition at line 536 of file MSParkingArea.cpp.

References computeLastFreePos().

Referenced by MSVehicleTransfer::checkInsertions().

Here is the caller graph for this function:

◆ operator=()

MSParkingArea & MSParkingArea::operator= ( const MSParkingArea )
privatedelete

Invalidated assignment operator.

◆ parkOnRoad()

bool MSParkingArea::parkOnRoad ( ) const

whether vehicles park on the road

Definition at line 513 of file MSParkingArea.cpp.

References myOnRoad.

Referenced by NLTriggerBuilder::addLotEntry(), and MSVehicle::processNextStop().

Here is the caller graph for this function:

◆ removeTransportable()

void MSStoppingPlace::removeTransportable ( const MSTransportable p)
inherited

Removes a transportable from this stop.

Definition at line 234 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myWaitingSpots, and MSStoppingPlace::myWaitingTransportables.

Referenced by MSTransportableControl::loadAnyWaiting(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), MSStageDriving::proceed(), MSTransportable::proceed(), and MSTransportable::~MSTransportable().

Here is the caller graph for this function:

◆ setID()

virtual void Named::setID ( const std::string &  newID)
inlinevirtualinherited

resets the id

Parameters
[in]newIDThe 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().

Here is the caller graph for this function:

◆ setNumAlternatives()

void MSParkingArea::setNumAlternatives ( int  alternatives)

set number alternatives

Definition at line 548 of file MSParkingArea.cpp.

References MAX2(), and myNumAlternatives.

◆ setParameter()

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

Sets a parameter.

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

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

Definition at line 45 of file Parameterised.cpp.

References Parameterised::myMap.

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

Here is the caller graph for this function:

◆ setParameters()

void Parameterised::setParameters ( const Parameterised params)
inherited

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

Definition at line 148 of file Parameterised.cpp.

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

◆ setParametersMap()

void Parameterised::setParametersMap ( const Parameterised::Map paramsMap)
inherited

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

Definition at line 159 of file Parameterised.cpp.

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

Referenced by GNESingleParametersDialog::onCmdAccept().

Here is the caller graph for this function:

◆ setParametersStr()

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

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

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

Definition at line 170 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ unsetParameter()

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

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 51 of file Parameterised.cpp.

References Parameterised::myMap.

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

Here is the caller graph for this function:

◆ updateOccupancy()

SUMOTime MSParkingArea::updateOccupancy ( SUMOTime  currentTime)

Called at the end of the time step.

Stores the current occupancy.

Parameters
[in]currentTimeThe current simulation time (unused)
Returns
Always 0 (the event is not rescheduled)

Definition at line 366 of file MSParkingArea.cpp.

References getOccupancy(), myLastStepOccupancy, and myUpdateEvent.

Referenced by enter(), and leaveFrom().

Here is the caller graph for this function:

◆ updateParameters()

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

◆ writeParams()

void Parameterised::writeParams ( OutputDevice device) const
inherited

write Params in the given outputdevice

Definition at line 185 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

Field Documentation

◆ myAccessPos

std::vector<std::tuple<MSLane*, double, double> > MSStoppingPlace::myAccessPos
protectedinherited

lanes and positions connected to this stop

Definition at line 294 of file MSStoppingPlace.h.

Referenced by MSStoppingPlace::addAccess(), MSStoppingPlace::getAccessDistance(), MSStoppingPlace::getAccessPos(), and MSStoppingPlace::getAllAccessPos().

◆ myAngle

double MSParkingArea::myAngle
protected

The default angle of each parking space.

Definition at line 283 of file MSParkingArea.h.

Referenced by getAngle(), and MSParkingArea().

◆ myBegPos

◆ myCapacity

int MSParkingArea::myCapacity
protected

Stop area total capacity.

Definition at line 271 of file MSParkingArea.h.

Referenced by addLotEntry(), GUIParkingArea::drawGL(), getCapacity(), getLastFreePos(), and getLastFreePosWithReservation().

◆ myColor

const RGBColor MSStoppingPlace::myColor
protectedinherited

The color of the stopping place.

Definition at line 282 of file MSStoppingPlace.h.

Referenced by MSStoppingPlace::getColor().

◆ myDepartPos

double MSParkingArea::myDepartPos
protected

custom departPos

Definition at line 310 of file MSParkingArea.h.

Referenced by getInsertionPosition(), and MSParkingArea().

◆ myDepartPosDefinition

DepartPosDefinition MSParkingArea::myDepartPosDefinition
protected

Definition at line 311 of file MSParkingArea.h.

Referenced by getInsertionPosition(), and MSParkingArea().

◆ myEgressBlocked

bool MSParkingArea::myEgressBlocked
protected

whether a vehicle wants to exit but is blocked

Definition at line 292 of file MSParkingArea.h.

Referenced by computeLastFreePos(), and getOccupancy().

◆ myElement

◆ myEndPos

◆ myEndPositions

◆ myID

std::string Named::myID
protectedinherited

◆ myLane

◆ myLastFreeLot

int MSParkingArea::myLastFreeLot
protected

Last free lot number (-1 no free lot)

Definition at line 265 of file MSParkingArea.h.

Referenced by computeLastFreePos(), enter(), getLastFreeLotAngle(), getLastFreeLotGUIAngle(), and getLotIndex().

◆ myLastFreePos

double MSStoppingPlace::myLastFreePos
protectedinherited

◆ myLastParking

const SUMOVehicle* MSStoppingPlace::myLastParking
protectedinherited

The length of the last parking vehicle (or 0 if there is none)

Definition at line 270 of file MSStoppingPlace.h.

Referenced by MSStoppingPlace::computeLastFreePos(), and MSStoppingPlace::getLastFreePos().

◆ myLastStepOccupancy

int MSParkingArea::myLastStepOccupancy
protected

Changes to the occupancy in the current time step.

Definition at line 307 of file MSParkingArea.h.

Referenced by getLastStepOccupancy(), and updateOccupancy().

◆ myLength

double MSParkingArea::myLength
protected

The default length of each parking space.

Definition at line 280 of file MSParkingArea.h.

Referenced by getLength(), and MSParkingArea().

◆ myLines

std::vector<std::string> MSStoppingPlace::myLines
protectedinherited

The list of lines that are assigned to this stop.

Definition at line 253 of file MSStoppingPlace.h.

Referenced by GUIBusStop::drawGL(), GUIParkingArea::drawGL(), and GUIBusStop::getParameterWindow().

◆ myMap

◆ myName

const std::string MSStoppingPlace::myName
protectedinherited

◆ myNumAlternatives

int MSParkingArea::myNumAlternatives
protected

the number of alternative parkingAreas that are assigned to parkingAreaRerouter

Definition at line 304 of file MSParkingArea.h.

Referenced by getLastFreePosWithReservation(), getNumAlternatives(), and setNumAlternatives().

◆ myOnRoad

bool MSParkingArea::myOnRoad
protected

Whether vehicles stay on the road.

Definition at line 274 of file MSParkingArea.h.

Referenced by getLotIndex(), MSParkingArea(), and parkOnRoad().

◆ myParkingFactor

const double MSStoppingPlace::myParkingFactor
protectedinherited

the scaled space capacity for parking vehicles

Definition at line 279 of file MSStoppingPlace.h.

Referenced by MSStoppingPlace::enter(), MSStoppingPlace::fits(), MSStoppingPlace::getLastFreePos(), and GUIBusStop::getParameterWindow().

◆ myReservationMaxLength

double MSParkingArea::myReservationMaxLength
protected

reservation max length

Definition at line 301 of file MSParkingArea.h.

Referenced by getLastFreePosWithReservation().

◆ myReservations

int MSParkingArea::myReservations
protected

number of reservations

Definition at line 298 of file MSParkingArea.h.

Referenced by getLastFreePosWithReservation().

◆ myReservationTime

SUMOTime MSParkingArea::myReservationTime
protected

track parking reservations from the lane for the current time step

Definition at line 295 of file MSParkingArea.h.

Referenced by getLastFreePosWithReservation().

◆ myRoadSideCapacity

int MSParkingArea::myRoadSideCapacity
protected

Stop area capacity configured via roadsideCapacity.

Definition at line 268 of file MSParkingArea.h.

Referenced by GUIParkingArea::drawGL().

◆ myShape

PositionVector MSParkingArea::myShape
protected

The roadside shape of this parkingArea.

Definition at line 289 of file MSParkingArea.h.

Referenced by GUIParkingArea::drawGL(), GUIParkingArea::GUIParkingArea(), and MSParkingArea().

◆ mySpaceOccupancies

◆ myTransportableCapacity

const int MSStoppingPlace::myTransportableCapacity
protectedinherited

The number of transportables that can wait here.

Definition at line 276 of file MSStoppingPlace.h.

Referenced by GUIBusStop::getParameterWindow(), MSStoppingPlace::getWaitingCapacity(), and MSStoppingPlace::getWaitPosition().

◆ myTransportableDepth

const double MSStoppingPlace::myTransportableDepth
protectedinherited

row depth of waiting transportables

Definition at line 285 of file MSStoppingPlace.h.

Referenced by MSStoppingPlace::getWaitPosition(), and GUIBusStop::GUIBusStop().

◆ myUpdateEvent

Command* MSParkingArea::myUpdateEvent
protected

Event for updating the occupancy.

Definition at line 314 of file MSParkingArea.h.

Referenced by enter(), leaveFrom(), and updateOccupancy().

◆ myWaitingSpots

std::set<int> MSStoppingPlace::myWaitingSpots
protectedinherited

◆ myWaitingTransportables

◆ myWidth

double MSParkingArea::myWidth
protected

The default width of each parking space.

Definition at line 277 of file MSParkingArea.h.

Referenced by GUIParkingArea::drawGL(), getWidth(), GUIParkingArea::GUIParkingArea(), and MSParkingArea().


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