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

A lane area vehicles can halt at (gui-version). More...

#include <GUIBusStop.h>

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

Public Types

enum class  AccessExit { PLATFORM , DOORS , CARRIAGE }
typedef std::map< std::string, std::string > Map
 parameters map

Public Member Functions

virtual bool accepts (SUMOVehicle *) const
bool addAccess (MSLane *const lane, const double startPos, const double endPos, double length, const MSStoppingPlace::AccessExit exit) override
 adds an access point to this stop
void addTo (const StoringVisitor &cont) const
 Adds this object to the given container.
bool addTransportable (const MSTransportable *p)
 adds a transportable to this stop
bool checkPersonCapacity () const
void clearParameter ()
 Clears the parameter map.
void clearState ()
 Remove all vehicles before quick-loading state.
virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additional, user-triggered visualisations.
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const
 draw name of item
void enter (SUMOVehicle *veh, bool parking)
 Called if a vehicle enters this stop.
void finishedLoading () override
 perform extra processing after element has been loaded
bool fits (double pos, const SUMOVehicle &veh) const
 return whether the given vehicle fits at the given position
const AccessgetAccess (const MSEdge *edge) const
 the access on the given edge to the stop, nullptr if there is none
double getAccessPos (const MSEdge *edge, SumoRNG *rng=nullptr) const
 the position on the given edge which is connected to this stop, -1 on failure
const std::vector< Access > & getAllAccessPos () const
 lanes and positions connected to this stop
double getAngle () const
double getBeginLanePosition () const
 Returns the begin position of this stop.
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.
SumoXMLTag getElement () const
 return the type of this stopping place
double getEndLanePosition () const
 Returns the end position of this stop.
const std::string & getID () const
 Returns the id.
const MSLanegetLane () const
 Returns the lane this stop is located at.
double getLastFreePos () const
virtual double getLastFreePos (const SUMOVehicle &forVehicle, double brakePos=0) const
 Returns the last free position on this stop.
const std::string & getMyName () const
int getNumWaitingPersons () const
 get number of persons waiting at this stop
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".
double getParkingLength () const
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 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 transportables waiting on this stop.
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.
 GUIBusStop (const std::string &id, SumoXMLTag element, const std::vector< std::string > &lines, MSLane &lane, double frompos, double topos, const std::string name, int personCapacity, double parkingLength, const RGBColor &color, double angle)
 Constructor.
bool hasParameter (const std::string &key) const
 Returns whether the parameter is set.
bool hasSpaceForTransportable () const
 whether there is still capacity for more transportables
void leaveFrom (SUMOVehicle *what)
 Called if a vehicle leaves this stop.
void mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true)
 Adds or appends all given parameters from the map.
virtual void onLeftBtnPress (void *)
 notify object about left click
virtual void removeActiveAddVisualisation (GUISUMOAbstractView *const, int)
 remove additional user-griggered visualisations
void removeTransportable (const MSTransportable *p)
 Removes a transportable from this stop.
virtual void setID (const std::string &newID)
 resets the id
virtual void setParameter (const std::string &key, const std::string &value)
 Sets a parameter.
void setParameters (const Parameterised &params)
 set the given key/value map in map<string, string> format
void setParameters (const std::vector< std::pair< std::string, std::string > > &params)
 set the given key/value vector 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.
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
 ~GUIBusStop ()
 Destructor.
getter methods

Returns the full name appearing in the tool tip

Returns
This object's typed id
const std::string & getFullName () const
virtual std::string getParentName () const
 Returns the name of the parent object (if any).
GUIGlID getGlID () const
 Returns the numerical id of the object.
FXIcon * getGLIcon () const
 get icon associated with this GL Object
interfaces to be implemented by derived classes
virtual void removedPopupMenu ()
 notify object about popup menu removal
virtual GUIParameterTableWindowgetTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own type parameter window (optional).
const std::string & getMicrosimID () const
 Returns the id of the object as known to microsim.
virtual void setMicrosimID (const std::string &newID)
 Changes the microsimID of the object.
GUIGlObjectType getType () const
 Returns the type of the object as coded in GUIGlObjectType.
virtual double getClickPriority () const
 Returns the priority of receiving mouse clicks.
bool isBlocked () const
 get blocking status
void setBlocked (const bool state=true)
 set blocking status
virtual Position getCenter () const
virtual double getScaleVisual () const
 return individual scaling factor for this object
virtual bool isGLObjectLocked () const
 check if element is locked (Currently used only in netedit)
virtual void markAsFrontElement ()
 mark element as front element (Currently used only in netedit)
virtual void deleteGLObject ()
 delete GLObject (Currently used only in netedit)
virtual void selectGLObject ()
 select GLObject (Currently used only in netedit)
virtual void updateGLObject ()
 update GLObject (geometry, ID, etc.) (optional)
virtual double getColorValue (const GUIVisualizationSettings &, int) const
Parameter table window I/O

Lets this object know a parameter window showing the object's values was opened

Parameters
[in]wThe opened parameter window
void addParameterTable (GUIParameterTableWindow *w)
void removeParameterTable (GUIParameterTableWindow *w)
 Lets this object know a parameter window showing the object's values was closed.

Static Public Member Functions

static bool areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)
static bool areParametersValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
static void clearDictionary ()
 Clears the dictionary (the objects will not be deleted).
static GUIGlObject_AbstractAddget (const std::string &name)
 Returns a named object.
static int getDefaultTransportablesAbreast (double length, SumoXMLTag element)
static std::vector< GUIGlIDgetIDList (GUIGlObjectType typeFilter)
 Returns the list of gl-ids of all additional objects that match the given type.
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 const std::vector< GUIGlObject_AbstractAdd * > & getObjectList ()
 Returns the list of all additional objects.
static void remove (GUIGlObject_AbstractAdd *o)
 Removes an object.

Static Public Attributes

static const GUIGlID INVALID_ID = 0
static const double INVALID_PRIORITY
static StringBijection< GUIGlObjectTypeTypeNames
 associates object types with strings

Protected Member Functions

void buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
void buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
void computeLastFreePos ()
 Computes the last free position on this stop.
int getTransportablesAbreast () const
helper methods for building popup-menus

build common popup options

void buildPopUpMenuCommonOptions (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, GUISUMOAbstractView *parent, const SumoXMLTag tag, const bool selected, bool addSeparator=true)
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header.
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object.
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard.
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object.
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window.
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window.
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, const GUIMainWindow &app, bool addSeparator=true) const
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window.

Static Protected Member Functions

static double getDefaultTransportableWidth (SumoXMLTag element)

Protected Attributes

std::vector< AccessmyAccessPos
 lanes and positions connected to this stop
double myAngle
 The angle offset for waiting transportables.
const double myBegPos
 The begin position this bus stop is located at.
const RGBColor myColor
 The color of the stopping place.
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.
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).
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.
const double myParkingFactor
 the scaled space capacity for parking vehicles
const int myTransportableCapacity
 The number of transportables that can wait here.
double myTransportableDepth
 row depth of waiting transportables
double myTransportableWidth
 the with of waiting transportables
std::set< int > myWaitingSpots
std::map< const MSTransportable *, int > myWaitingTransportables
 Persons waiting at this stop (mapped to waiting position).

Static Protected Attributes

static std::vector< GUIGlObject_AbstractAdd * > myObjectList
 The list of all additional objects currently loaded.
static std::map< std::string, GUIGlObject_AbstractAdd * > myObjects
 Map from names of loaded additional objects to the objects themselves.

Private Member Functions

std::string createFullName () const
 create full name

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

bool myAmBlocked = false
 whether the object can be deleted
std::string myFullName
 full name of GL Object
const GUIGlID myGlID
 The numerical id of the object.
const GUIGlObjectType myGLObjectType
 The type of the object.
FXIcon * myIcon
 icon associatd with this GL Object
Parameterised::Map myMap
 The key->value map.
std::string myMicrosimID
 ID of GL object.
std::set< GUIParameterTableWindow * > myParamWindows
 Parameter table windows which refer to this object.

Static Private Attributes

static StringBijection< GUIGlObjectType >::Entry GUIGlObjectTypeNamesInitializer []
 vector for TypeNames Initializer

inherited from GUIGlObject

std::vector< double > myFGShapeRotations
 The rotations of the shape parts.
std::vector< double > myFGShapeRotations2
std::vector< double > myFGShapeLengths
 The lengths of the shape parts.
std::vector< double > myFGShapeLengths2
PositionVector myFGShape
 The shape.
PositionVector myFGShape2
Position myFGSignPos
 The position of the sign.
Position myFGSignPos2
double myFGSignRot
 The rotation of the sign.
double myFGSignRot2
double myWidth
 The visual width of the stoppling place.
PositionVector myAccessCoords
 The coordinates of access points.
RGBColor myEmptyColor
GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) override
 Returns an own popup-menu.
GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override
 Returns an own parameter window.
double getExaggeration (const GUIVisualizationSettings &s) const override
 return exaggeration associated with this GLObject
Boundary getCenteringBoundary () const override
 Returns the boundary to which the view shall be centered in order to show the object.
const std::string getOptionalName () const override
 Returns the street name.
double getCroppedLastFreePos () const
 Formats the last free pos value.
void drawGL (const GUIVisualizationSettings &s) const override
 Draws the object.
void initShape (PositionVector &fgShape, std::vector< double > &fgShapeRotations, std::vector< double > &fgShapeLengths, Position &fgSignPos, double &fgSignRot, bool secondaryShape=false)
 init constants for faster rendering

Detailed Description

A lane area vehicles can halt at (gui-version).

This gui-version of a bus-stop extends MSStoppingPlace by methods for displaying and interaction.

See also
MSStoppingPlace
GUIGlObject_AbstractAdd
GUIGlObject

Definition at line 63 of file GUIBusStop.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.

Member Enumeration Documentation

◆ AccessExit

enum class MSStoppingPlace::AccessExit
stronginherited
Enumerator
PLATFORM 
DOORS 
CARRIAGE 

Definition at line 61 of file MSStoppingPlace.h.

Constructor & Destructor Documentation

◆ GUIBusStop()

GUIBusStop::GUIBusStop ( const std::string & id,
SumoXMLTag element,
const std::vector< std::string > & lines,
MSLane & lane,
double frompos,
double topos,
const std::string name,
int personCapacity,
double parkingLength,
const RGBColor & color,
double angle )

Constructor.

Parameters
[in]idStorageThe gl-id storage for giving this object an gl-id
[in]idThe id of the bus stop
[in]linesNames of the bus lines that halt on this bus stop
[in]laneThe lane the bus stop is placed on
[in]begPosBegin position of the bus stop on the lane
[in]endPosEnd position of the bus stop on the lane

Definition at line 57 of file GUIBusStop.cpp.

References MSStoppingPlace::getTransportablesAbreast(), GLO_BUS_STOP, GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), initShape(), MAX2(), MSStoppingPlace::MSStoppingPlace(), myEmptyColor, myFGShape, myFGShape2, myFGShapeLengths, myFGShapeLengths2, myFGShapeRotations, myFGShapeRotations2, myFGSignPos, myFGSignPos2, myFGSignRot, myFGSignRot2, MSStoppingPlace::myLane, MSStoppingPlace::myTransportableCapacity, MSStoppingPlace::myTransportableDepth, and myWidth.

◆ ~GUIBusStop()

GUIBusStop::~GUIBusStop ( )

Destructor.

Definition at line 72 of file GUIBusStop.cpp.

Member Function Documentation

◆ accepts()

virtual bool MSStoppingPlace::accepts ( SUMOVehicle * ) const
inlinevirtualinherited

Reimplemented in MSParkingArea.

Definition at line 161 of file MSStoppingPlace.h.

◆ addAccess()

bool GUIBusStop::addAccess ( MSLane *const lane,
const double startPos,
const double endPos,
double length,
const MSStoppingPlace::AccessExit exit )
overridevirtual

adds an access point to this stop

Reimplemented from MSStoppingPlace.

Definition at line 120 of file GUIBusStop.cpp.

References MSStoppingPlace::addAccess(), MSLane::geometryPositionAtOffset(), and myAccessCoords.

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow * w)
inherited

Definition at line 411 of file GUIGlObject.cpp.

References myParamWindows.

◆ 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 251 of file MSStoppingPlace.cpp.

References hasSpaceForTransportable(), myWaitingSpots, and myWaitingTransportables.

Referenced by MSDevice_Transportable::notifyMove().

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 207 of file Parameterised.cpp.

References StringTokenizer::getVector(), invalid_return< std::string >::value, isParameterValid(), TL, and WRITE_WARNINGF.

◆ areParametersValid()

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

check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"

Definition at line 188 of file Parameterised.cpp.

References StringTokenizer::getVector(), invalid_return< std::string >::value, isParameterValid(), TL, and WRITE_WARNINGF.

Referenced by GNEAttributeCarrier::isCommonAttributeValid(), and GNETLSEditorFrame::TLSAttributes::isValidParameters().

Here is the caller graph for this function:

◆ buildAdditionalsPopupOptions()

void GUIGlObject::buildAdditionalsPopupOptions ( GUIMainWindow & app,
GUIGLObjectPopupMenu * ret,
const std::string & type )
protectedinherited

build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI

Definition at line 449 of file GUIGlObject.cpp.

References buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), buildNameCopyPopupEntry(), buildPopupHeader(), buildPositionCopyEntry(), buildSelectionPopupEntry(), buildShowParamsPopupEntry(), and TLF.

◆ buildCenterPopupEntry()

void GUIGlObject::buildCenterPopupEntry ( GUIGLObjectPopupMenu * ret,
bool addSeparator = true )
protectedinherited

◆ buildNameCopyPopupEntry()

void GUIGlObject::buildNameCopyPopupEntry ( GUIGLObjectPopupMenu * ret,
bool addSeparator = true )
protectedinherited

◆ buildPopupHeader()

◆ buildPopUpMenuCommonOptions()

◆ buildPositionCopyEntry()

void GUIGlObject::buildPositionCopyEntry ( GUIGLObjectPopupMenu * ret,
const GUIMainWindow & app,
bool addSeparator = true ) const
protectedinherited

◆ buildSelectionPopupEntry()

void GUIGlObject::buildSelectionPopupEntry ( GUIGLObjectPopupMenu * ret,
bool addSeparator = true )
protectedinherited

◆ buildShapePopupOptions()

void GUIGlObject::buildShapePopupOptions ( GUIMainWindow & app,
GUIGLObjectPopupMenu * ret,
const std::string & type )
protectedinherited

build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI

Definition at line 426 of file GUIGlObject.cpp.

References buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), buildNameCopyPopupEntry(), buildPopupHeader(), buildPositionCopyEntry(), buildSelectionPopupEntry(), buildShowParamsPopupEntry(), and TLF.

Referenced by GUIPointOfInterest::getPopUpMenu().

Here is the caller graph for this function:

◆ buildShowManipulatorPopupEntry()

void GUIGlObject::buildShowManipulatorPopupEntry ( GUIGLObjectPopupMenu * ret,
bool addSeparator = true )
protectedinherited

Builds an entry which allows to open the manipulator window.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether a separator shall be added, too

Definition at line 402 of file GUIGlObject.cpp.

References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MANIP, MID_MANIP, and TL.

Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().

Here is the caller graph for this function:

◆ buildShowParamsPopupEntry()

void GUIGlObject::buildShowParamsPopupEntry ( GUIGLObjectPopupMenu * ret,
bool addSeparator = true )
protectedinherited

◆ buildShowTypeParamsPopupEntry()

void GUIGlObject::buildShowTypeParamsPopupEntry ( GUIGLObjectPopupMenu * ret,
bool addSeparator = true )
protectedinherited

Builds an entry which allows to open the type parameter window.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether a separator shall be added, too

Definition at line 366 of file GUIGlObject.cpp.

References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWTYPEPARS, and TL.

Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), and GUIPerson::getPopUpMenu().

Here is the caller graph for this function:

◆ checkPersonCapacity()

bool MSStoppingPlace::checkPersonCapacity ( ) const
inlineinherited

Definition at line 261 of file MSStoppingPlace.h.

References myElement, SUMO_TAG_BUS_STOP, and SUMO_TAG_TRAIN_STOP.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ clearDictionary()

void GUIGlObject_AbstractAdd::clearDictionary ( )
staticinherited

Clears the dictionary (the objects will not be deleted).

!! delete (*i).second;

Definition at line 53 of file GUIGlObject_AbstractAdd.cpp.

References myObjectList, and myObjects.

Referenced by GUINet::~GUINet().

Here is the caller graph for this function:

◆ clearParameter()

void Parameterised::clearParameter ( )
inherited

Clears the parameter map.

Definition at line 118 of file Parameterised.cpp.

References myMap.

◆ clearState()

void MSStoppingPlace::clearState ( )
inherited

Remove all vehicles before quick-loading state.

Definition at line 377 of file MSStoppingPlace.cpp.

References computeLastFreePos(), myEndPositions, and myWaitingTransportables.

◆ computeLastFreePos()

void MSStoppingPlace::computeLastFreePos ( )
protectedinherited

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 284 of file MSStoppingPlace.cpp.

References myEndPos, myEndPositions, myLastFreePos, and myLastParking.

Referenced by clearState(), enter(), leaveFrom(), and MSStoppingPlace().

Here is the caller graph for this function:

◆ createFullName()

std::string GUIGlObject::createFullName ( ) const
privateinherited

create full name

Definition at line 472 of file GUIGlObject.cpp.

References getMicrosimID(), myGLObjectType, and TypeNames.

Referenced by GUIGlObject(), and setMicrosimID().

Here is the caller graph for this function:

◆ deleteGLObject()

void GUIGlObject::deleteGLObject ( )
virtualinherited

delete GLObject (Currently used only in netedit)

Reimplemented in GNEAdditional, GNEConnection, GNECrossing, GNEDemandElement, GNEEdge, GNEEdgeType, GNEGenericData, GNEInternalLane, GNEJunction, GNELane, GNELaneType, and GNEWalkingArea.

Definition at line 238 of file GUIGlObject.cpp.

◆ drawGL()

void GUIBusStop::drawGL ( const GUIVisualizationSettings & s) const
overridevirtual

Draws the object.

Parameters
[in]sThe settings for the current view (may influence drawing)
See also
GUIGlObject::drawGL

Implements GUIGlObject.

Definition at line 185 of file GUIBusStop.cpp.

References GUIVisualizationSettings::addFullName, GUIVisualizationSettings::addName, RGBColor::alpha(), GUIVisualizationSettings::angle, Position::angleTo2D(), GUIVisualizationColorSettings::busStopColor, GUIVisualizationColorSettings::busStopColorSign, RGBColor::changedBrightness(), GUIVisualizationSettings::colorSettings, GUIVisualizationColorSettings::containerStopColor, GUIVisualizationColorSettings::containerStopColorSign, Position::distanceTo2D(), GLHelper::drawBoxLine(), GLHelper::drawBoxLines(), GUIVisualizationSettings::drawDetail(), GLHelper::drawFilledCircle(), GUIGlObject::drawName(), GLHelper::drawText(), GLHelper::drawTextSettings(), GUIVisualizationSettings::flippedTextAngle(), FONS_ALIGN_LEFT, MSStoppingPlace::getCenterPos(), MSStoppingPlace::getColor(), getExaggeration(), GUIGlObject::getGlID(), MSStoppingPlace::getMyName(), GUIVisualizationSettings::getTextAngle(), GUIGlObject::getType(), MSGlobals::gLefthand, GLO_MAX, RGBColor::INVISIBLE, MIN2(), myAccessCoords, MSStoppingPlace::myElement, myEmptyColor, MSStoppingPlace::myEndPositions, myFGShape, myFGShape2, myFGShapeLengths, myFGShapeLengths2, myFGShapeRotations, myFGShapeRotations2, myFGSignPos, myFGSignPos2, myFGSignRot, myFGSignRot2, MSStoppingPlace::myLines, MSStoppingPlace::myWaitingTransportables, myWidth, GLHelper::popMatrix(), GLHelper::popName(), GLHelper::pushMatrix(), GLHelper::pushName(), RAD2DEG, GUIVisualizationSettings::scale, GUIVisualizationSettings::secondaryShape, GLHelper::setColor(), GUIVisualizationTextSettings::show(), SUMO_TAG_CONTAINER_STOP, SUMO_TAG_TRAIN_STOP, GUIVisualizationColorSettings::trainStopColor, GUIVisualizationColorSettings::trainStopColorSign, Position::x(), and Position::y().

◆ drawGLAdditional()

void GUIGlObject::drawGLAdditional ( GUISUMOAbstractView *const parent,
const GUIVisualizationSettings & s ) const
virtualinherited

Draws additional, user-triggered visualisations.

Parameters
[in]parentThe view
[in]sThe settings for the current view (may influence drawing)

Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.

Definition at line 270 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ drawName()

◆ enter()

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 128 of file MSStoppingPlace.cpp.

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

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

Here is the caller graph for this function:

◆ finishedLoading()

void GUIBusStop::finishedLoading ( )
overridevirtual

perform extra processing after element has been loaded

Reimplemented from MSStoppingPlace.

Definition at line 107 of file GUIBusStop.cpp.

References MSStoppingPlace::finishedLoading(), Parameterised::getParameter(), Parameterised::hasParameter(), myEmptyColor, RGBColor::parseColor(), and WRITE_WARNINGF.

◆ fits()

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

return whether the given vehicle fits at the given position

Definition at line 180 of file MSStoppingPlace.cpp.

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

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

Here is the caller graph for this function:

◆ get()

GUIGlObject_AbstractAdd * GUIGlObject_AbstractAdd::get ( const std::string & name)
staticinherited

Returns a named object.

Definition at line 64 of file GUIGlObject_AbstractAdd.cpp.

References myObjects.

◆ getAccess()

const MSStoppingPlace::Access * MSStoppingPlace::getAccess ( const MSEdge * edge) const
inherited

the access on the given edge to the stop, nullptr if there is none

Definition at line 317 of file MSStoppingPlace.cpp.

References myAccessPos.

Referenced by MSPerson::checkAccess().

Here is the caller graph for this function:

◆ getAccessPos()

double MSStoppingPlace::getAccessPos ( const MSEdge * edge,
SumoRNG * rng = nullptr ) const
inherited

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

Definition at line 300 of file MSStoppingPlace.cpp.

References myAccessPos, myBegPos, myEndPos, myLane, and RandHelper::rand().

Referenced by MSRouteHandler::addFlowTransportable(), MSRouteHandler::parseWalkPositions(), and MSStageTrip::reroute().

Here is the caller graph for this function:

◆ getAllAccessPos()

const std::vector< Access > & MSStoppingPlace::getAllAccessPos ( ) const
inlineinherited

lanes and positions connected to this stop

Definition at line 220 of file MSStoppingPlace.h.

References myAccessPos.

Referenced by MSStageDriving::setArrived().

Here is the caller graph for this function:

◆ getAngle()

double MSStoppingPlace::getAngle ( ) const
inlineinherited

Definition at line 120 of file MSStoppingPlace.h.

References myAngle.

◆ getBeginLanePosition()

double MSStoppingPlace::getBeginLanePosition ( ) const
inherited

Returns the begin position of this stop.

Returns
The position the stop begins at

Definition at line 110 of file MSStoppingPlace.cpp.

References myBegPos.

Referenced by MSParkingArea::addLotEntry(), MSRouteHandler::addStop(), libsumo::Helper::buildStopParameters(), MSPerson::checkAccess(), MSTriggeredRerouter::checkStopSwitch(), GUIOverheadWire::drawGL(), MSDevice_StationFinder::evaluateCustomComponents(), MSStoppingPlaceRerouter::evaluateDestination(), libsumo::Helper::findObjectShape(), MSDevice_StationFinder::freeSpaceAtChargingStation(), MSDevice_StationFinder::getStoppingPlaceCapacity(), MSNet::getStoppingPlaceID(), GUIChargingStation::GUIChargingStation(), MSIdling_TaxiStand::idle(), MSChargingStation::MSChargingStation(), MSChargingStation::MSChargingStation(), MSRouteHandler::parseWalkPositions(), MSDevice_StationFinder::planOpportunisticCharging(), MSDevice_Taxi::prepareStop(), MSVehicle::processNextStop(), MSBaseVehicle::replaceParkingArea(), MSStageTrip::reroute(), GUIVehicle::rerouteDRTStop(), MSTransportable::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSDevice_StationFinder::rerouteToChargingStation(), MSStage::setDestination(), MSDevice_StationFinder::teleportToChargingStation(), MSDevice_ToC::triggerMRM(), MSChargingStation::vehicleIsInside(), and MSOverheadWire::vehicleIsInside().

Here is the caller graph for this function:

◆ getCenter()

◆ getCenteringBoundary()

Boundary GUIBusStop::getCenteringBoundary ( ) const
overridevirtual

Returns the boundary to which the view shall be centered in order to show the object.

Returns
The boundary the object is within
See also
GUIGlObject::getCenteringBoundary

Implements GUIGlObject.

Definition at line 285 of file GUIBusStop.cpp.

References PositionVector::getBoxBoundary(), GUIGlobals::gSecondaryShape, myAccessCoords, myFGShape, myFGShape2, and myWidth.

◆ getCenterPos()

Position MSStoppingPlace::getCenterPos ( ) const
inherited

the position in the middle of the stop shape

Definition at line 121 of file MSStoppingPlace.cpp.

References myBegPos, myEndPos, and myLane.

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

Here is the caller graph for this function:

◆ getClickPriority()

virtual double GUIGlObject::getClickPriority ( ) const
inlinevirtualinherited

Returns the priority of receiving mouse clicks.

Reimplemented in GUIEdge, GUILane, GUIPointOfInterest, and GUIPolygon.

Definition at line 162 of file GUIGlObject.h.

References myGLObjectType.

Referenced by GUISUMOAbstractView::getObjectAtPosition().

Here is the caller graph for this function:

◆ getColor()

const RGBColor & MSStoppingPlace::getColor ( ) const
inherited

Definition at line 334 of file MSStoppingPlace.cpp.

References myColor.

Referenced by GUIBusStop::drawGL().

Here is the caller graph for this function:

◆ getColorValue()

virtual double GUIGlObject::getColorValue ( const GUIVisualizationSettings & ,
int  ) const
inlinevirtualinherited

Reimplemented in GNEEdgeData, GNEEdgeRelData, GNEJunction, GNELane, GNETAZRelData, GUIContainer, GUIEdge, GUIJunctionWrapper, GUILane, GUIMEVehicle, GUIPerson, and GUIVehicle.

Definition at line 213 of file GUIGlObject.h.

Referenced by GUIViewTraffic::buildColorRainbow(), GNEPerson::drawGL(), GUIBaseVehicle::drawOnPos(), and GUIBaseVehicle::setColor().

Here is the caller graph for this function:

◆ getCroppedLastFreePos()

double GUIBusStop::getCroppedLastFreePos ( ) const

Formats the last free pos value.

Definition at line 301 of file GUIBusStop.cpp.

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

Referenced by getParameterWindow().

Here is the caller graph for this function:

◆ getDefaultTransportablesAbreast()

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

Definition at line 198 of file MSStoppingPlace.cpp.

References getDefaultTransportableWidth(), and MAX2().

Referenced by NLTriggerBuilder::parseAndBuildStoppingPlace().

Here is the caller graph for this function:

◆ getDefaultTransportableWidth()

double MSStoppingPlace::getDefaultTransportableWidth ( SumoXMLTag element)
staticprotectedinherited

Definition at line 75 of file MSStoppingPlace.cpp.

References SUMO_const_waitingContainerWidth, SUMO_const_waitingPersonWidth, and SUMO_TAG_CONTAINER_STOP.

Referenced by getDefaultTransportablesAbreast(), and MSStoppingPlace().

Here is the caller graph for this function:

◆ getDouble()

◆ getElement()

SumoXMLTag MSStoppingPlace::getElement ( ) const
inlineinherited

return the type of this stopping place

Definition at line 233 of file MSStoppingPlace.h.

References myElement.

Referenced by MSTriggeredRerouter::checkStopSwitch(), MSTriggeredRerouter::getLastStepStoppingPlaceOccupancy(), MSTriggeredRerouter::getStoppingPlaceCapacity(), MSTriggeredRerouter::getStoppingPlaceOccupancy(), and MSDevice_Taxi::prepareStop().

Here is the caller graph for this function:

◆ getEndLanePosition()

double MSStoppingPlace::getEndLanePosition ( ) const
inherited

Returns the end position of this stop.

Returns
The position the stop ends at

Definition at line 116 of file MSStoppingPlace.cpp.

References myEndPos.

Referenced by MSDevice_Taxi::addReservation(), MSRouteHandler::addRideOrTransport(), MSRouteHandler::addStop(), MSRouteHandler::addTranship(), libsumo::Helper::buildStopParameters(), MSPerson::checkAccess(), MSTriggeredRerouter::checkStopSwitch(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), GUIOverheadWire::drawGL(), MSDevice_StationFinder::evaluateCustomComponents(), MSStoppingPlaceRerouter::evaluateDestination(), libsumo::Helper::findObjectShape(), MSDevice_StationFinder::getLastStepStoppingPlaceOccupancy(), MSDevice_StationFinder::getStoppingPlaceCapacity(), MSDevice_StationFinder::getStoppingPlaceOccupancy(), GUIChargingStation::GUIChargingStation(), MSIdling_TaxiStand::idle(), MSChargingStation::MSChargingStation(), MSChargingStation::MSChargingStation(), GUIViewTraffic::onGamingClick(), MSDevice_StationFinder::planOpportunisticCharging(), MSDevice_Taxi::prepareStop(), MSBaseVehicle::replaceParkingArea(), MSStageTrip::reroute(), GUIVehicle::rerouteDRTStop(), MSTransportable::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSDevice_StationFinder::rerouteToChargingStation(), MSStage::setDestination(), MSDevice_StationFinder::teleportToChargingStation(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSChargingStation::vehicleIsInside(), and MSOverheadWire::vehicleIsInside().

Here is the caller graph for this function:

◆ getExaggeration()

double GUIBusStop::getExaggeration ( const GUIVisualizationSettings & s) const
overridevirtual

return exaggeration associated with this GLObject

Reimplemented from GUIGlObject.

Definition at line 279 of file GUIBusStop.cpp.

References GUIVisualizationSettings::addSize, and GUIVisualizationSizeSettings::getExaggeration().

Referenced by drawGL().

Here is the caller graph for this function:

◆ getFullName()

const std::string & GUIGlObject::getFullName ( ) const
inlineinherited

Definition at line 95 of file GUIGlObject.h.

References myFullName.

Referenced by buildPopupHeader(), GNENetworkElement::getShapeEditedPopUpMenu(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), and GUIGlObject_AbstractAdd::remove().

Here is the caller graph for this function:

◆ getGLIcon()

FXIcon * GUIGlObject::getGLIcon ( ) const
inherited

get icon associated with this GL Object

Definition at line 211 of file GUIGlObject.cpp.

References myIcon.

Referenced by GNENetworkElement::getShapeEditedPopUpMenu().

Here is the caller graph for this function:

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inlineinherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 105 of file GUIGlObject.h.

References myGlID.

Referenced by GUIMessageWindow::appendMsg(), buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIEdge::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIMEVehicle::getColorValue(), GUIPerson::getColorValue(), GUIVehicle::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIEdge::getScaleValue(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIContainer::isSelected(), GUIEdge::isSelected(), GUIGlChildWindow::isSelected(), GUILane::isSelected(), GUIMEVehicle::isSelected(), GUIPerson::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdSelectTransported(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIPointOfInterest::setPOIColor(), GUIViewTraffic::showLaneReachability(), GUIBaseVehicle::~GUIBaseVehicle(), ~GUIGlObject(), GUIPerson::~GUIPerson(), and GUIVehicle::~GUIVehicle().

◆ getID()

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

Returns the id.

Returns
The stored id

Definition at line 74 of file Named.h.

References myID.

Referenced by MSDriveWay::_saveState(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSCFModel_EIDM::_v(), MSCFModel_IDM::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSTransportableControl::abortAnyWaitingForVehicle(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), AccessEdge< E, L, N, V >::AccessEdge(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSDetectorControl::add(), MSDetectorControl::add(), MSDetectorControl::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), ShapeContainer::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), MSTractionSubstation::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSDriveWay::addParallelFoes(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSDriveWay::addReversalFoes(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), MSDriveWay::addSidings(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSBaseVehicle::addStop(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSPModel_JuPedSim::addWaitingSet(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), MSPModel_Interacting::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), NIVisumTL::build(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), MSTransportableDevice_Routing::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSDriveWay::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSDriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDriveWay::buildSubFoe(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSDevice_Taxi::cancelCustomer(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSDriveWay::canUseSiding(), CarEdge< E, L, N, V >::CarEdge(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSCFModel_CC::changeWholePlatoonLane(), MSTLLogicControl::check2Switch(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSDriveWay::checkCrossingFlanks(), MSLane::checkFailure(), MSDriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSRoute::checkRemoval(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSTriggeredRerouter::checkStopSwitch(), MSLCM_SL2015::checkStrategicChange(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), NLHandler::closeEdge(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), MSVehicle::computeFurtherLanes(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBRampsComputer::computeRamps(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSDriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::correctConflicting(), NBOwnTLDef::corridorLike(), MSSOTLE2Sensors::countVehicles(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSPrograms::createTLS(), GUINet::createTLWrapper(), NBNodeCont::customTLID(), libsumo::Helper::debugPrint(), 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(), MSE3Collector::enter(), MSParkingArea::enter(), NEMAPhase::enter(), MSDriveWay::enterDriveWay(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), MSStoppingPlaceRerouter::evaluateDestination(), Command_RouteReplacement::execute(), Command_SaveTLSSwitches::execute(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSPModel_JuPedSim::execute(), MSPModel_Striping::MovePedestrians::execute(), MSVTypeProbe::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignalControl::findDeadlockFoes(), MSDriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSStopOut::generateOutputForUnfinished(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), LIBSUMO_NAMESPACE::Edge::getBidiEdge(), LIBSUMO_NAMESPACE::Lane::getBidiLane(), SUMOTrafficObject::getBoolParam(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDriveWay::getClickableTLLinkID(), LIBSUMO_NAMESPACE::Simulation::getCollisions(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), MSDriveWay::getDepartureDriveway(), MSLink::getDescription(), MSRailSignalConstraint_Predecessor::getDescription(), NBTrafficLightDefinition::getDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSRailSignal::LinkInfo::getDriveWay(), GUIVehicle::getDriveWays(), MSSimpleTrafficLightLogic::getEarliest(), GUIMEVehicle::getEdgeID(), GUIPerson::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSMeanData::getEdgeID(), MSDevice_SSM::getExtraTime(), MSLane::getFirstVehicleInformation(), SUMOTrafficObject::getFloatParam(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSDriveWay::getJunctionLinkID(), GUIPerson::getLaneID(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), NEMALogic::getLaneInfoFromNEMAState(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), MSDevice_SSM::getMDRAC_PRT(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSRailSignal::getNewDrivewayID(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSDevice_SSM::getOutputFilename(), MSOverheadWire::getOverheadWireSegmentName(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), 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(), LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Access::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), SUMOTrafficObject::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), SUMOTrafficObject::getTimeParam(), MSDriveWay::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSStageTrip::getVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSEdge::getWaitingVehicle(), MSStoppingPlaceRerouter::getWeight(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSDriveWay::hasJoin(), MSDriveWay::hasLinkConflict(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSRailSignalControl::haveDeadlock(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_RandomCircling::idle(), MSIdling_Stop::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), NBNode::indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeader(), MSActuatedTrafficLightLogic::init(), MSCalibrator::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSMeanData::init(), MSRailSignal::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSPModel_JuPedSim::initialize(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSEdge::insertVehicle(), MSLane::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSLane::integrateNewVehicles(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::isLeader(), MESegment::isOpen(), MSCFModel_CC::isPlatoonLaneChangeSafe(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSVehicle::leaveLaneBack(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MEVehicle::loadState(), MSActuatedTrafficLightLogic::loadState(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSDriveWay::match(), MEVehicle::mayProceed(), MSMeanData::MeanDataValues::MeanDataValues(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSTransportableDevice_FCDReplay::move(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Emissions::MSDevice_Emissions(), MSDevice_StationFinder::MSDevice_StationFinder(), MSDevice_ToC::MSDevice_ToC(), MSDevice_Transportable::MSDevice_Transportable(), MSE2Collector::MSE2Collector(), MSE3Collector::MSE3EntryReminder::MSE3EntryReminder(), MSE3Collector::MSE3LeaveReminder::MSE3LeaveReminder(), MSParkingArea::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), NBLoadedTLDef::myCompute(), MSCalibrator::myStartElement(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), GUIE2Collector::MyWrapper::MyWrapper(), GUIE3Collector::MyWrapper::MyWrapper(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIMEInductLoop::MyWrapper::MyWrapper(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), MSPModel_Interacting::nextBlocking(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_ElecHybrid::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSDriveWay::notifyEnter(), MSE2Collector::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDriveWay::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_StationFinder::notifyMove(), MSE2Collector::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSDriveWay::notifyReroute(), GNETLSEditorFrame::TLSPrograms::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), MSEdge::transportable_by_position_sorter::operator()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSBaseVehicle::optimizeSkipped(), MSLaneChangerSublane::outputLCStarted(), MSTriggeredRerouter::overtakingTrain(), 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(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), PedestrianEdge< E, L, N, V >::PedestrianEdge(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSDevice_StationFinder::planOpportunisticCharging(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSDevice_Taxi::prepareStop(), 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::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), PublicTransportEdge< E, L, N, V >::PublicTransportEdge(), MSDevice_Battery::readParameterValue(), MSOffTrafficLightLogic::rebuildPhase(), NBEdgeCont::recheckPostProcessConnections(), NBLoadedSUMOTLDef::reconstructLogic(), MSNet::registerCollision(), MSPModel_Striping::registerCrossingApproach(), MSLink::removeApproaching(), MSLink::removeApproachingPerson(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::removeUnwishedNodes(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), MSPerson::replaceWalk(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), MSDevice_SSM::requestsTrajectories(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), MSStageTrip::reroute(), GUIVehicle::rerouteDRTStop(), MSTransportable::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSDevice_StationFinder::rerouteToChargingStation(), MSDriveWay::reserve(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROVehicle::saveAsXML(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Battery::saveState(), MSDevice_Routing::saveState(), MSDevice_StationFinder::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSLane::saveState(), MSSimpleTrafficLightLogic::saveState(), MSTransportable::saveState(), MSTransportableDevice_Routing::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), NBNodeCont::setAsTLControlled(), GNEJunction::setAttribute(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), MSDevice_Battery::setMaximumChargeRate(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSActuatedTrafficLightLogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSLane::setPartialOccupation(), 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(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSDispatch_TraCI::splitReservation(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSRailSignal::storeTraCIVehicles(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNETLSEditorFrame::TLSPrograms::switchProgram(), MSDevice_StationFinder::teleportToChargingStation(), MELoop::teleportVehicle(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSPerson::MSPersonStage_Access::tripInfoOutput(), MSTransportable::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSActuatedTrafficLightLogic::trySwitch(), MSSOTLTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSPModel_Interacting::unregisterCrossingApproach(), MSDevice_SSM::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), MSRailSignal::updateCurrentPhase(), MSVehicle::updateDriveItems(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSDispatch::updateReservationFromPos(), MSSwarmTrafficLightLogic::updateSensitivities(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), MSInductLoop::VehicleData::VehicleData(), MSE2Collector::VehicleInfo::VehicleInfo(), MSCalibrator::VehicleRemover::VehicleRemover(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSBatteryExport::write(), MSElecHybridExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSDriveWay::writeBlocks(), MSRailSignal::writeBlocks(), MSDriveWay::writeDepatureBlocks(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSMeanData::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), MSEmissionExport::writeEmissions(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), MSTractionSubstation::writeOut(), MSNet::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSFullExport::writePersons(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSAmitranTrajectories::writeVehicle(), MSXMLRawOut::writeVehicle(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMOPolygon::writeXML(), MSCalibrator::writeXMLOutput(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().

◆ getIDList()

std::vector< GUIGlID > GUIGlObject_AbstractAdd::getIDList ( GUIGlObjectType typeFilter)
staticinherited

Returns the list of gl-ids of all additional objects that match the given type.

Definition at line 88 of file GUIGlObject_AbstractAdd.cpp.

References GLO_ADDITIONALELEMENT, GLO_MAX, GLO_NETWORK, GLO_NETWORKELEMENT, GLO_ROUTEELEMENT, GLO_SHAPE, and myObjectList.

Referenced by GUISUMOViewParent::getObjectIDs().

Here is the caller graph for this function:

◆ getIDSecure()

template<class T>
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(), MSDriveWay::addSidings(), MSLaneChanger::avoidDeadlock(), NLEdgeControlBuilder::build(), MSDriveWay::canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSTriggeredRerouter::checkStopSwitch(), AFRouter< E, N, V, M >::compute(), AStarRouter< _IntermodalEdge, _IntermodalTrip, _MapMatcher >::compute(), DijkstraRouter< _IntermodalEdge, _IntermodalTrip >::compute(), AFBuild< E, N, V, M >::computeArcFlagsAux(), AFCentralizedSPTree< E, N, V >::computeCentralizedSPTree(), NBNode::computeLanes2Lanes(), NBOwnTLDef::computeLogicAndConts(), Node2EdgeRouter< E, N, V, M >::computeNode2Edge(), Node2EdgeRouter< E, N, V, M >::computeNode2Edges(), MSDriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), NBPTLineCont::findWay(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSDriveWay::hasLinkConflict(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), 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(), MSDriveWay::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), NBConnection::operator<<, MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSCriticalFollowerDistanceInfo::toString(), MSLeaderDistanceInfo::toString(), MSLeaderInfo::toString(), toString(), toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().

◆ getLane()

const MSLane & MSStoppingPlace::getLane ( ) const
inherited

Returns the lane this stop is located at.

Returns
Reference to the lane the stop is located at

Definition at line 104 of file MSStoppingPlace.cpp.

References myLane.

Referenced by MSParkingArea::addLotEntry(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSRouteHandler::addPersonTrip(), MSDevice_Taxi::addReservation(), MSRouteHandler::addRideOrTransport(), MSRouteHandler::addStop(), MSRouteHandler::addTranship(), libsumo::Helper::buildStopParameters(), MSPerson::checkAccess(), MSTriggeredRerouter::checkStopSwitch(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), GUIOverheadWire::drawGL(), MSStoppingPlaceRerouter::evaluateDestination(), libsumo::Helper::findObjectShape(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSNet::getStoppingPlaceID(), GUIChargingStation::GUIChargingStation(), MSIdling_TaxiStand::idle(), MSChargingStation::MSChargingStation(), GUIViewTraffic::onGamingClick(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), MSDevice_StationFinder::planOpportunisticCharging(), MSDevice_Taxi::prepareStop(), MSBaseVehicle::replaceParkingArea(), GUIVehicle::rerouteDRTStop(), MSTransportable::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSDevice_StationFinder::rerouteToChargingStation(), MSDevice_StationFinder::teleportToChargingStation(), MSDevice_ToC::triggerMRM(), and MSOverheadWire::writeOverheadWireSegmentOutput().

Here is the caller graph for this function:

◆ getLastFreePos() [1/2]

double MSStoppingPlace::getLastFreePos ( ) const
inlineinherited

Definition at line 203 of file MSStoppingPlace.h.

References myLastFreePos.

Referenced by GUIBusStop::getCroppedLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), and getStoppingPosition().

Here is the caller graph for this function:

◆ getLastFreePos() [2/2]

double MSStoppingPlace::getLastFreePos ( const SUMOVehicle & forVehicle,
double brakePos = 0 ) const
virtualinherited

Returns the last free position on this stop.

Parameters
[in]forVehicleThe vehicle that wants to stop here
[in]brakePosthe first position on the stop lane that the vehicle can stop at
Returns
The last free position of this bus stop

Reimplemented in MSParkingArea.

Definition at line 137 of file MSStoppingPlace.cpp.

References fits(), MSVehicleType::getLength(), MSVehicleType::getMinGap(), getStoppedVehicleNumber(), SUMOVehicle::getStops(), SUMOTrafficObject::getVehicleType(), SUMOVehicle::hasStops(), MIN2(), myEndPos, myEndPositions, myLastFreePos, myLastParking, myParkingFactor, ONROAD, SIMSTEP, and TIME2STEPS.

Referenced by MSStoppingPlaceRerouter::evaluateDestination(), MSDevice_StationFinder::freeSpaceAtChargingStation(), MSDevice_StationFinder::getLastStepStoppingPlaceOccupancy(), GUIChargingStation::getParameterWindow(), and MSDevice_StationFinder::getStoppingPlaceOccupancy().

Here is the caller graph for this function:

◆ getMicrosimID()

const std::string & GUIGlObject::getMicrosimID ( ) const
inlineinherited

Returns the id of the object as known to microsim.

Definition at line 144 of file GUIGlObject.h.

References myMicrosimID.

Referenced by SUMORTree::addAdditionalGLObject(), GNEViewNet::askMergeJunctions(), GNEJunction::checkDrawFromContour(), GNETLSEditorFrame::controlsEdge(), createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), drawName(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEConnection::getAttribute(), GNEContainer::getAttribute(), GNEDestProbReroute::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEPerson::getAttribute(), GNERerouter::getAttribute(), GNERoute::getAttribute(), GNERouteDistribution::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNERouteRef::getAttribute(), GNEStop::getAttribute(), GNETAZ::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEVTypeDistribution::getAttribute(), GNEVTypeRef::getAttribute(), GNEWalkingArea::getAttribute(), GNEDetector::getDetectorAttribute(), GNEWalkingArea::getNBWalkingArea(), GNEACChooserDialog::getObjectName(), GUIDialog_ChooserAbstract::getObjectName(), GNEStoppingPlace::getStoppingPlaceAttribute(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GNENetHelper::AttributeCarriers::insertInternalLane(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNENetHelper::AttributeCarriers::retrieveConnection(), GNENetHelper::AttributeCarriers::retrieveCrossing(), GNENetHelper::AttributeCarriers::retrieveInternalLane(), GNENetHelper::AttributeCarriers::retrieveLane(), GNENetHelper::AttributeCarriers::retrieveWalkingArea(), GNEStop::setStopMicrosimID(), GNENet::splitEdge(), and GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements().

◆ getMyName()

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

◆ getNumWaitingPersons()

int MSStoppingPlace::getNumWaitingPersons ( ) const
inlineinherited

get number of persons waiting at this stop

Definition at line 245 of file MSStoppingPlace.h.

References myWaitingTransportables.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ getObjectList()

const std::vector< GUIGlObject_AbstractAdd * > & GUIGlObject_AbstractAdd::getObjectList ( )
staticinherited

Returns the list of all additional objects.

Definition at line 82 of file GUIGlObject_AbstractAdd.cpp.

References myObjectList.

◆ getOptionalName()

const std::string GUIBusStop::getOptionalName ( ) const
overridevirtual

Returns the street name.

Reimplemented from GUIGlObject.

Definition at line 296 of file GUIBusStop.cpp.

References MSStoppingPlace::myName.

◆ 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 90 of file Parameterised.cpp.

References myMap.

Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), NBEdgeCont::attachRemoved(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), GUIPointOfInterest::drawGL(), GNEPOI::drawPOI(), EnergyParams::EnergyParams(), MSPModel_JuPedSim::execute(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUIBusStop::finishedLoading(), MSStoppingPlace::finishedLoading(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::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(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), MSBaseVehicle::getPrefixedParameter(), GNETAZRelData::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), SUMOTrafficObject::getStringParam(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSStoppingPlaceRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSInsertionControl::hasTaxiDeviceType(), MSRailSignalControl::haveDeadlock(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), MSStageDriving::init(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), NWWriter_OpenDrive::mapmatchRoadObjects(), mergeParameters(), MSDispatch_Greedy::MSDispatch_Greedy(), MSDispatch_GreedyShared::MSDispatch_GreedyShared(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), NIImporter_OpenStreetMap::RelationHandler::myEndElement(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), MSVehicle::slowDownForSchedule(), NBEdgeCont::splitAt(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), NBEdge::updateRemovedNodes(), MSDevice_SSM::useGeoCoords(), 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

◆ 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 130 of file Parameterised.cpp.

References myMap.

Referenced by GNEAttributeCarrier::getCommonAttribute().

Here is the caller graph for this function:

◆ getParameterWindow()

GUIParameterTableWindow * GUIBusStop::getParameterWindow ( GUIMainWindow & app,
GUISUMOAbstractView & parent )
overridevirtual

◆ getParentName()

◆ getParkingLength()

double MSStoppingPlace::getParkingLength ( ) const
inlineinherited

Definition at line 254 of file MSStoppingPlace.h.

References myBegPos, myEndPos, and myParkingFactor.

Referenced by MSBaseVehicle::addStop().

Here is the caller graph for this function:

◆ getPopUpMenu()

GUIGLObjectPopupMenu * GUIBusStop::getPopUpMenu ( GUIMainWindow & app,
GUISUMOAbstractView & parent )
overridevirtual

Returns an own popup-menu.

Parameters
[in]appThe application needed to build the popup-menu
[in]parentThe parent window needed to build the popup-menu
Returns
The built popup-menu
See also
GUIGlObject::getPopUpMenu

Implements GUIGlObject.

Definition at line 130 of file GUIBusStop.cpp.

References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().

◆ getScaleVisual()

virtual double GUIGlObject::getScaleVisual ( ) const
inlinevirtualinherited

return individual scaling factor for this object

Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.

Definition at line 190 of file GUIGlObject.h.

Referenced by GUIVisualizationSizeSettings::getExaggeration().

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 199 of file MSStoppingPlace.h.

References myEndPositions.

Referenced by 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 358 of file MSStoppingPlace.cpp.

References myEndPositions.

Referenced by MSTriggeredRerouter::checkStopSwitch(), MSTriggeredRerouter::getLastStepStoppingPlaceOccupancy(), and MSTriggeredRerouter::getStoppingPlaceOccupancy().

Here is the caller graph for this function:

◆ getStoppingPosition()

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

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

Definition at line 227 of file MSStoppingPlace.cpp.

References getLastFreePos(), and myEndPositions.

◆ getTransportableNumber()

int MSStoppingPlace::getTransportableNumber ( ) const
inlineinherited

Returns the number of transportables waiting on this stop.

Definition at line 189 of file MSStoppingPlace.h.

References 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 transportables waiting on this stop.

Definition at line 237 of file MSStoppingPlace.cpp.

References myWaitingTransportables.

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

Here is the caller graph for this function:

◆ getTransportablesAbreast()

int MSStoppingPlace::getTransportablesAbreast ( ) const
protectedinherited

Definition at line 203 of file MSStoppingPlace.cpp.

References MAX2(), myBegPos, myEndPos, and myTransportableWidth.

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

Here is the caller graph for this function:

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inlineinherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 157 of file GUIGlObject.h.

References myGLObjectType.

Referenced by buildSelectionPopupEntry(), GNEConnection::calculateConnectionContour(), GNEContour::calculateContourEdgeGeometryPoints(), GNECrossing::calculateCrossingContour(), GNEJunction::calculateJunctioncontour(), GNEParkingSpace::calculateSpaceContour(), GNEStoppingPlace::calculateStoppingPlaceContour(), GNEViewNet::checkOverLockedElement(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNECalibrator::drawCalibratorSymbol(), GNELaneAreaDetector::drawE2PartialJunction(), GNELaneAreaDetector::drawE2PartialLane(), GNEEntryExitDetector::drawE3Logo(), GNEEntryExitDetector::drawEntryLogo(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEConnection::drawGL(), GNEContainer::drawGL(), GNEContainerStop::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNETAZ::drawGL(), GNETAZRelData::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEVehicle::drawGL(), GNEWalkingArea::drawGL(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GUIBaseVehicle::drawOnPos(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GNESelectorFrame::SelectionOperation::loadFromFile(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), GUIPointOfInterest::setPOIColor(), GNEViewNetHelper::ViewObjectsSelector::updateGenericDataElements(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), GNEViewNetHelper::ViewObjectsSelector::updateShapeElements(), and GNEViewNetHelper::ViewObjectsSelector::updateTAZElements().

◆ getTypeParameterWindow()

GUIParameterTableWindow * GUIGlObject::getTypeParameterWindow ( GUIMainWindow & app,
GUISUMOAbstractView & parent )
virtualinherited

Returns an own type parameter window (optional).

Parameters
[in]appThe application needed to build the parameter window
[in]parentThe parent window needed to build the parameter window
Returns
The built parameter window

Reimplemented in GUIContainer, GUIEdge, GUIMEVehicle, GUIPerson, and GUIVehicle.

Definition at line 217 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ getWaitingCapacity()

int MSStoppingPlace::getWaitingCapacity ( ) const
inlineinherited

get number of persons that can wait at this stop

Definition at line 250 of file MSStoppingPlace.h.

References 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 368 of file MSStoppingPlace.cpp.

References 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 187 of file MSStoppingPlace.cpp.

References getTransportablesAbreast(), myBegPos, myEndPos, myTransportableWidth, and myWaitingTransportables.

Referenced by getWaitPosition().

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 208 of file MSStoppingPlace.cpp.

References getTransportablesAbreast(), getWaitingPositionOnLane(), MSGlobals::gLefthand, myAngle, myLane, myTransportableCapacity, myTransportableDepth, myTransportableWidth, and myWaitingTransportables.

◆ hasParameter()

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

Returns whether the parameter is set.

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

Definition at line 84 of file Parameterised.cpp.

References myMap.

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

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 246 of file MSStoppingPlace.cpp.

References myWaitingSpots.

Referenced by addTransportable().

Here is the caller graph for this function:

◆ initShape()

void GUIBusStop::initShape ( PositionVector & fgShape,
std::vector< double > & fgShapeRotations,
std::vector< double > & fgShapeLengths,
Position & fgSignPos,
double & fgSignRot,
bool secondaryShape = false )
private

init constants for faster rendering

Definition at line 76 of file GUIBusStop.cpp.

References Position::distanceTo(), PositionVector::getLineCenter(), PositionVector::getSubpart(), MSGlobals::gLefthand, PositionVector::length(), M_PI, PositionVector::move2side(), MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, MSStoppingPlace::myLane, myWidth, PositionVector::rotationDegreeAtOffset(), Position::x(), and Position::y().

Referenced by GUIBusStop().

Here is the caller graph for this function:

◆ isBlocked()

bool GUIGlObject::isBlocked ( ) const
inlineinherited

get blocking status

Definition at line 167 of file GUIGlObject.h.

References myAmBlocked.

◆ isGLObjectLocked()

bool GUIGlObject::isGLObjectLocked ( ) const
virtualinherited

check if element is locked (Currently used only in netedit)

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 225 of file GUIGlObject.cpp.

Referenced by GNEViewNetHelper::ViewObjectsSelector::filterLockedElements().

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 242 of file Parameterised.cpp.

References StringTokenizer::getVector(), invalid_return< std::string >::value, and SUMOXMLDefinitions::isValidParameterKey().

Referenced by areAttributesValid(), and areParametersValid().

Here is the caller graph for this function:

◆ leaveFrom()

void MSStoppingPlace::leaveFrom ( SUMOVehicle * what)
inherited

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 bus stop
See also
computeLastFreePos

Definition at line 276 of file MSStoppingPlace.cpp.

References computeLastFreePos(), and myEndPositions.

Referenced by MSVehicle::resumeFromStopping().

Here is the caller graph for this function:

◆ markAsFrontElement()

void GUIGlObject::markAsFrontElement ( )
virtualinherited

mark element as front element (Currently used only in netedit)

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 232 of file GUIGlObject.cpp.

◆ mergeParameters()

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

Adds or appends all given parameters from the map.

Parameters
[in]mapArgThe keys/values to insert

Definition at line 65 of file Parameterised.cpp.

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

Referenced by NBEdge::append().

Here is the caller graph for this function:

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void * )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 228 of file GUIGlObject.h.

Referenced by GUIViewTraffic::onGamingClick().

Here is the caller graph for this function:

◆ remove()

void GUIGlObject_AbstractAdd::remove ( GUIGlObject_AbstractAdd * o)
staticinherited

Removes an object.

Definition at line 75 of file GUIGlObject_AbstractAdd.cpp.

References GUIGlObject::getFullName(), GUIGlObject_AbstractAdd(), myObjectList, and myObjects.

◆ removeActiveAddVisualisation()

virtual void GUIGlObject::removeActiveAddVisualisation ( GUISUMOAbstractView * const ,
int  )
inlinevirtualinherited

remove additional user-griggered visualisations

Reimplemented in GUIBaseVehicle, and GUIPerson.

Definition at line 225 of file GUIGlObject.h.

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 125 of file GUIGlObject.h.

◆ removeParameterTable()

void GUIGlObject::removeParameterTable ( GUIParameterTableWindow * w)
inherited

Lets this object know a parameter window showing the object's values was closed.

Parameters
[in]wThe closed parameter window

Definition at line 417 of file GUIGlObject.cpp.

References myParamWindows.

◆ removeTransportable()

void MSStoppingPlace::removeTransportable ( const MSTransportable * p)
inherited

Removes a transportable from this stop.

Definition at line 264 of file MSStoppingPlace.cpp.

References myWaitingSpots, and myWaitingTransportables.

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

Here is the caller graph for this function:

◆ selectGLObject()

void GUIGlObject::selectGLObject ( )
virtualinherited

select GLObject (Currently used only in netedit)

Reimplemented in GNEAdditional, GNEDemandElement, GNEGenericData, and GNENetworkElement.

Definition at line 244 of file GUIGlObject.cpp.

◆ setBlocked()

void GUIGlObject::setBlocked ( const bool state = true)
inlineinherited

set blocking status

Definition at line 172 of file GUIGlObject.h.

References myAmBlocked.

Referenced by GUIGlObjectStorage::getObjectBlocking(), and GUIGlObjectStorage::getObjectBlocking().

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 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:

◆ setMicrosimID()

void GUIGlObject::setMicrosimID ( const std::string & newID)
virtualinherited

Changes the microsimID of the object.

Note
happens in netedit

Definition at line 262 of file GUIGlObject.cpp.

References createFullName(), GUIGlObjectStorage::gIDStorage, myFullName, and myMicrosimID.

Referenced by GNEAdditional::setAdditionalID(), GNEDemandElement::setDemandElementID(), GNENetworkElement::setNetworkElementID(), GNENetHelper::AttributeCarriers::updateAdditionalID(), and GNENetHelper::AttributeCarriers::updateDemandElementID().

Here is the caller graph for this function:

◆ 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 MSActuatedTrafficLightLogic, MSRailCrossing, MSRailSignal, MSSimpleTrafficLightLogic, and NEMALogic.

Definition at line 45 of file Parameterised.cpp.

References invalid_return< std::string >::value, and myMap.

Referenced by MSCFModel_CACC::_v(), NBRailwayTopologyAnalyzer::addBidiEdge(), NLHandler::addDistrict(), NBOwnTLDef::buildNemaPhases(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSCFModel_CACC::freeSpeed(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), mergeParameters(), MSDevice_Bluelight::notifyMove(), MSDevice_Bluelight::resetVehicle(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), LIBSUMO_NAMESPACE::Simulation::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailCrossing::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), updateParameters(), NBEdge::updateRemovedNodes(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().

Here is the caller graph for this function:

◆ setParameters() [1/2]

void Parameterised::setParameters ( const Parameterised & params)
inherited

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

Definition at line 146 of file Parameterised.cpp.

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

Referenced by GNEVehicleFrame::buildVehicleOverRoute(), MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageWalking::clone(), GNEVehicleFrame::createPath(), and MSStageTrip::reroute().

Here is the caller graph for this function:

◆ setParameters() [2/2]

void Parameterised::setParameters ( const std::vector< std::pair< std::string, std::string > > & params)
inherited

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

Definition at line 152 of file Parameterised.cpp.

References myMap.

◆ 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 161 of file Parameterised.cpp.

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

Referenced by MSDevice_Taxi::initDispatch(), and GNEAttributeCarrier::setCommonAttribute().

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 myMap.

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

Here is the caller graph for this function:

◆ updateGLObject()

void GUIGlObject::updateGLObject ( )
virtualinherited

update GLObject (geometry, ID, etc.) (optional)

Reimplemented in GNEAdditional, GNEConnection, GNECrossing, GNEDemandElement, GNEEdge, GNEEdgeType, GNEGenericData, GNEInternalLane, GNEJunction, GNELane, GNELaneType, and GNEWalkingArea.

Definition at line 250 of file GUIGlObject.cpp.

◆ 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 176 of file Parameterised.cpp.

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

Referenced by MSStageWaiting::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MSRailSignalConstraint_Predecessor::write(), NBPTStop::write(), SUMOVehicleParameter::Stop::write(), SUMOVTypeParameter::write(), GNEBusStop::writeAdditional(), GNECalibrator::writeAdditional(), GNECalibratorFlow::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEEntryExitDetector::writeAdditional(), GNEInductionLoopDetector::writeAdditional(), GNEInstantInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEOverheadWire::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), GNEPOI::writeAdditional(), GNEPoly::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::writeLane(), NWWriter_SUMO::writeTrafficLight(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().

Here is the caller graph for this function:

Field Documentation

◆ GUIGlObjectTypeNamesInitializer

StringBijection< GUIGlObjectType >::Entry GUIGlObject::GUIGlObjectTypeNamesInitializer
staticprivateinherited

vector for TypeNames Initializer

Definition at line 52 of file GUIGlObject.h.

◆ INVALID_ID

◆ INVALID_PRIORITY

const double GUIGlObject::INVALID_PRIORITY
staticinherited

◆ myAccessCoords

PositionVector GUIBusStop::myAccessCoords
private

The coordinates of access points.

Definition at line 169 of file GUIBusStop.h.

Referenced by addAccess(), drawGL(), and getCenteringBoundary().

◆ myAccessPos

std::vector<Access> MSStoppingPlace::myAccessPos
protectedinherited

lanes and positions connected to this stop

Definition at line 333 of file MSStoppingPlace.h.

Referenced by addAccess(), getAccess(), getAccessPos(), and getAllAccessPos().

◆ myAmBlocked

bool GUIGlObject::myAmBlocked = false
privateinherited

whether the object can be deleted

Definition at line 333 of file GUIGlObject.h.

Referenced by isBlocked(), and setBlocked().

◆ myAngle

double MSStoppingPlace::myAngle
protectedinherited

The angle offset for waiting transportables.

Definition at line 321 of file MSStoppingPlace.h.

Referenced by getAngle(), getWaitPosition(), and MSStoppingPlace().

◆ myBegPos

◆ myColor

const RGBColor MSStoppingPlace::myColor
protectedinherited

The color of the stopping place.

Definition at line 318 of file MSStoppingPlace.h.

Referenced by getColor(), and MSStoppingPlace().

◆ myElement

const SumoXMLTag MSStoppingPlace::myElement
protectedinherited

◆ myEmptyColor

RGBColor GUIBusStop::myEmptyColor
private

Definition at line 171 of file GUIBusStop.h.

Referenced by drawGL(), finishedLoading(), and GUIBusStop().

◆ myEndPos

◆ myEndPositions

◆ myFGShape

PositionVector GUIBusStop::myFGShape
private

The shape.

Definition at line 154 of file GUIBusStop.h.

Referenced by drawGL(), getCenteringBoundary(), and GUIBusStop().

◆ myFGShape2

PositionVector GUIBusStop::myFGShape2
private

Definition at line 155 of file GUIBusStop.h.

Referenced by drawGL(), getCenteringBoundary(), and GUIBusStop().

◆ myFGShapeLengths

std::vector<double> GUIBusStop::myFGShapeLengths
private

The lengths of the shape parts.

Definition at line 150 of file GUIBusStop.h.

Referenced by drawGL(), and GUIBusStop().

◆ myFGShapeLengths2

std::vector<double> GUIBusStop::myFGShapeLengths2
private

Definition at line 151 of file GUIBusStop.h.

Referenced by drawGL(), and GUIBusStop().

◆ myFGShapeRotations

std::vector<double> GUIBusStop::myFGShapeRotations
private

The rotations of the shape parts.

Definition at line 146 of file GUIBusStop.h.

Referenced by drawGL(), and GUIBusStop().

◆ myFGShapeRotations2

std::vector<double> GUIBusStop::myFGShapeRotations2
private

Definition at line 147 of file GUIBusStop.h.

Referenced by drawGL(), and GUIBusStop().

◆ myFGSignPos

Position GUIBusStop::myFGSignPos
private

The position of the sign.

Definition at line 158 of file GUIBusStop.h.

Referenced by drawGL(), and GUIBusStop().

◆ myFGSignPos2

Position GUIBusStop::myFGSignPos2
private

Definition at line 159 of file GUIBusStop.h.

Referenced by drawGL(), and GUIBusStop().

◆ myFGSignRot

double GUIBusStop::myFGSignRot
private

The rotation of the sign.

Definition at line 162 of file GUIBusStop.h.

Referenced by drawGL(), and GUIBusStop().

◆ myFGSignRot2

double GUIBusStop::myFGSignRot2
private

Definition at line 163 of file GUIBusStop.h.

Referenced by drawGL(), and GUIBusStop().

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 327 of file GUIGlObject.h.

Referenced by getFullName(), GUIGlObject(), and setMicrosimID().

◆ myGlID

const GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 318 of file GUIGlObject.h.

Referenced by getGlID(), and GUIGlObject().

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 321 of file GUIGlObject.h.

Referenced by createFullName(), getClickPriority(), getType(), and GUIGlObject().

◆ myIcon

FXIcon* GUIGlObject::myIcon
privateinherited

icon associatd with this GL Object

Definition at line 330 of file GUIGlObject.h.

Referenced by buildPopupHeader(), getGLIcon(), and GUIGlObject().

◆ myID

std::string Named::myID
protectedinherited

The name of the object.

Definition at line 125 of file Named.h.

Referenced by MSDriveWay::addBidiFoes(), MSE2Collector::addDetectorToLanes(), MSDriveWay::addFoes(), MSDriveWay::addParallelFoes(), MSDriveWay::addReversalFoes(), MSDriveWay::addSwitchFoes(), RODFDetector::buildDestinationDistribution(), MSDriveWay::buildDriveWay(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), getID(), NBEdge::getLaneID(), NEMALogic::getPhaseObj(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), GNEPoly::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), NBEdge::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), Named(), NBNode::NBNode(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBNode::reinit(), NBEdge::reinitNodes(), RORoute::RORoute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeAggregatedChargingStationOutput(), MSDriveWay::writeBlocks(), MSDriveWay::writeBlockVehicles(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().

◆ myLane

◆ 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 306 of file MSStoppingPlace.h.

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

◆ myLines

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

The list of lines that are assigned to this stop.

Definition at line 289 of file MSStoppingPlace.h.

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

◆ myMap

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 324 of file GUIGlObject.h.

Referenced by getMicrosimID(), GUIGlObject(), and setMicrosimID().

◆ myName

const std::string MSStoppingPlace::myName
protectedinherited

◆ myObjectList

std::vector< GUIGlObject_AbstractAdd * > GUIGlObject_AbstractAdd::myObjectList
staticprotectedinherited

The list of all additional objects currently loaded.

Definition at line 67 of file GUIGlObject_AbstractAdd.h.

Referenced by clearDictionary(), getIDList(), getObjectList(), GUIGlObject_AbstractAdd(), and remove().

◆ myObjects

std::map< std::string, GUIGlObject_AbstractAdd * > GUIGlObject_AbstractAdd::myObjects
staticprotectedinherited

Map from names of loaded additional objects to the objects themselves.

Definition at line 64 of file GUIGlObject_AbstractAdd.h.

Referenced by clearDictionary(), get(), GUIGlObject_AbstractAdd(), and remove().

◆ myParamWindows

std::set<GUIParameterTableWindow*> GUIGlObject::myParamWindows
privateinherited

Parameter table windows which refer to this object.

Definition at line 336 of file GUIGlObject.h.

Referenced by addParameterTable(), removeParameterTable(), and ~GUIGlObject().

◆ myParkingFactor

const double MSStoppingPlace::myParkingFactor
protectedinherited

the scaled space capacity for parking vehicles

Definition at line 315 of file MSStoppingPlace.h.

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

◆ myTransportableCapacity

const int MSStoppingPlace::myTransportableCapacity
protectedinherited

The number of transportables that can wait here.

Definition at line 312 of file MSStoppingPlace.h.

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

◆ myTransportableDepth

double MSStoppingPlace::myTransportableDepth
protectedinherited

row depth of waiting transportables

Definition at line 324 of file MSStoppingPlace.h.

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

◆ myTransportableWidth

double MSStoppingPlace::myTransportableWidth
protectedinherited

the with of waiting transportables

Definition at line 326 of file MSStoppingPlace.h.

Referenced by finishedLoading(), getTransportablesAbreast(), getWaitingPositionOnLane(), getWaitPosition(), and MSStoppingPlace().

◆ myWaitingSpots

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

◆ myWaitingTransportables

std::map<const MSTransportable*, int> MSStoppingPlace::myWaitingTransportables
protectedinherited

◆ myWidth

double GUIBusStop::myWidth
private

The visual width of the stoppling place.

Definition at line 166 of file GUIBusStop.h.

Referenced by drawGL(), getCenteringBoundary(), GUIBusStop(), and initShape().

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 72 of file GUIGlObject.h.

Referenced by createFullName(), GNESelectorFrame::SelectionOperation::loadFromFile(), and GNESelectorFrame::SelectionOperation::onCmdSave().


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