Eclipse SUMO - Simulation of Urban MObility
GUIOverheadWire Class Reference

GUI for the overhead wire system. More...

#include <GUIOverheadWire.h>

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

Public Types

enum class  ParameterisedAttrType { STRING , DOUBLE }
 @brie enum for Parameterised type More...
 

Public Member Functions

virtual bool addAccess (MSLane *lane, const double pos, const double length)
 adds an access point to this stop More...
 
void addChargeValueForOutput (double WCharged, MSDevice_ElecHybrid *elecHybrid, bool ischarging=1)
 add charge value for output More...
 
void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
bool addTransportable (MSTransportable *p)
 adds a transportable to this stop More...
 
void addVehicle (SUMOVehicle &veh)
 
void clearParameter ()
 Clears the parameter map. More...
 
void clearState ()
 Remove all vehicles before quick-loading state. More...
 
virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additional, user-triggered visualisations. More...
 
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const
 draw name of item More...
 
void enter (SUMOVehicle *veh, bool parking)
 Called if a vehicle enters this stop. More...
 
void eraseVehicle (SUMOVehicle &veh)
 
bool fits (double pos, const SUMOVehicle &veh) const
 return whether the given vehicle fits at the given position More...
 
double getAccessDistance (const MSEdge *edge) const
 the distance from the access on the given edge to the stop, -1 on failure More...
 
double getAccessPos (const MSEdge *edge) const
 the position on the given edge which is connected to this stop, -1 on failure More...
 
const std::vector< std::tuple< MSLane *, double, double > > & getAllAccessPos () const
 lanes and positions connected to this stop More...
 
double getBeginLanePosition () const
 Returns the begin position of this stop. More...
 
const std::vector< SUMOVehicle * > & getChargingVehicles () const
 
CircuitgetCircuit () const
 
ElementgetCircuitElementPos () const
 
NodegetCircuitEndNodePos () const
 
NodegetCircuitStartNodePos () const
 
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double. More...
 
int getElecHybridCount () const
 
double getEndLanePosition () const
 Returns the end position of this stop. More...
 
const std::string & getID () const
 Returns the id. More...
 
const MSLanegetLane () const
 Returns the lane this stop is located at. More...
 
double getLastFreePos () const
 
double getLastFreePos (const SUMOVehicle &forVehicle) const
 Returns the last free position on this stop. More...
 
const std::string & getMyName () const
 
int getNumWaitingPersons () const
 get number of persons waiting at this stop More...
 
std::string getOverheadWireSegmentName ()
 
const std::string getParameter (const std::string &key, const std::string defaultValue="") const
 Returns the value for a given key. More...
 
const std::map< std::string, std::string > & getParametersMap () const
 Returns the inner key/value map. More...
 
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". More...
 
int getStoppedVehicleNumber () const
 Returns the number of stopped vehicles waiting on this stop. More...
 
std::vector< const SUMOVehicle * > getStoppedVehicles () const
 get list of vehicles waiting at this stop More...
 
double getStoppingPosition (const SUMOVehicle *veh) const
 For vehicles at the stop this gives the the actual stopping position of the vehicle. For all others the last free stopping position. More...
 
double getTotalCharged () const
 
MSTractionSubstationgetTractionSubstation () const
 
int getTransportableNumber () const
 Returns the number of transportables waiting on this stop. More...
 
std::vector< MSTransportable * > getTransportables () const
 Returns the tranportables waiting on this stop. More...
 
double getVoltage () const
 Get overhead wire's voltage. More...
 
void getWaitingPersonIDs (std::vector< std::string > &into) const
 get IDs of persons waiting at this stop More...
 
double getWaitingPositionOnLane (MSTransportable *t) const
 Returns the lane position corresponding to getWaitPosition() More...
 
virtual Position getWaitPosition (MSTransportable *person) const
 Returns the next free waiting place for pedestrians / containers. More...
 
 GUIOverheadWire (const std::string &id, MSLane &lane, double frompos, double topos, bool voltageSource)
 Constructor. More...
 
bool hasSpaceForTransportable () const
 whether there is still capacity for more transportables More...
 
bool isCharging () const
 Return true if in the current time step charging station is charging a vehicle. More...
 
bool isThereVoltageSource () const
 
bool knowsParameter (const std::string &key) const
 Returns whether the parameter is known. More...
 
void leaveFrom (SUMOVehicle *what)
 Called if a vehicle leaves this stop. More...
 
void lock () const
 
virtual void onLeftBtnPress (void *)
 notify object about left click More...
 
virtual void removeActiveAddVisualisation (GUISUMOAbstractView *const, int)
 remove additional user-griggered visualisations More...
 
void removeTransportable (MSTransportable *p)
 Removes a transportable from this stop. More...
 
void setChargingVehicle (bool value)
 enable or disable charging vehicle More...
 
void setCircuitElementPos (Element *element)
 
void setCircuitEndNodePos (Node *node)
 
void setCircuitStartNodePos (Node *node)
 
virtual void setID (const std::string &newID)
 resets the id More...
 
virtual void setParameter (const std::string &key, const std::string &value)
 Sets a parameter. More...
 
void setParameters (const Parameterised &params)
 set the inner key/value map in map<string, string> format More...
 
void setParametersMap (const std::map< std::string, std::string > &paramsMap)
 set the inner key/value map in map<string, string> format More...
 
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" More...
 
void setTractionSubstation (MSTractionSubstation *substation)
 
void setVoltage (double voltage)
 Set overhead wire's voltage. More...
 
void unlock () const
 
void unsetParameter (const std::string &key)
 Removes a parameter. More...
 
void updateParameters (const std::map< std::string, std::string > &mapArg)
 Adds or updates all given parameters from the map. More...
 
bool vehicleIsInside (const double position) const
 Check if a vehicle is inside in the Charge Station. More...
 
void writeOverheadWireSegmentOutput (OutputDevice &output)
 write charging station values More...
 
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice More...
 
 ~GUIOverheadWire ()
 Destructor. More...
 
Atomar 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) More...
 
GUIGlID getGlID () const
 Returns the numerical id of the object. More...
 
interfaces to be implemented by derived classes
virtual void removedPopupMenu ()
 notify object about popup menu removal More...
 
virtual GUIParameterTableWindowgetTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own type parameter window (optional) More...
 
virtual const std::string & getMicrosimID () const
 Returns the id of the object as known to microsim. More...
 
virtual const std::string getOptionalName () const
 Returns the name of the object (default "") More...
 
virtual void setMicrosimID (const std::string &newID)
 Changes the microsimID of the object. More...
 
GUIGlObjectType getType () const
 Returns the type of the object as coded in GUIGlObjectType. More...
 
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. More...
 

Static Public Member Functions

static bool areParametersValid (const std::string &value, bool report=false, ParameterisedAttrType attrType=ParameterisedAttrType::STRING, 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" More...
 
static void clearDictionary ()
 Clears the dictionary (the objects will not be deleted) More...
 
static GUIGlObject_AbstractAddget (const std::string &name)
 Returns a named object. More...
 
static std::vector< GUIGlIDgetIDList (GUIGlObjectType typeFilter)
 Returns the list of gl-ids of all additional objects that match the given type. More...
 
template<class T >
static std::string getIDSecure (const T *obj, const std::string &fallBack="NULL")
 get an identifier for Named-like object which may be Null More...
 
static const std::vector< GUIGlObject_AbstractAdd * > & getObjectList ()
 Returns the list of all additional objects. More...
 
static int getPersonsAbreast (double length)
 
static void remove (GUIGlObject_AbstractAdd *o)
 Removes an object. More...
 

Static Public Attributes

static const GUIGlID INVALID_ID = 0
 
static StringBijection< GUIGlObjectTypeTypeNames
 associates object types with strings More...
 

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 More...
 
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 More...
 
void computeLastFreePos ()
 Computes the last free position on this stop. More...
 
int getPersonsAbreast () const
 
helper methods for building popup-menus
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header. More...
 
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object. More...
 
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard. More...
 
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object. More...
 
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window. More...
 
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window. More...
 
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More...
 
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window. More...
 

Protected Attributes

std::vector< std::tuple< MSLane *, double, double > > myAccessPos
 lanes and positions connected to this stop More...
 
const double myBegPos
 The begin position this bus stop is located at. More...
 
std::vector< chargemyChargeValues
 vector with the charges of this charging station More...
 
bool myChargingVehicle
 Check if in the current TimeStep overheadWireSegment is charging a vehicle. More...
 
std::vector< SUMOVehicle * > myChargingVehicles
 
ElementmyCircuitElementPos
 
NodemyCircuitEndNodePos
 
NodemyCircuitStartNodePos
 
const double myEndPos
 The end position this bus stop is located at. More...
 
std::map< const SUMOVehicle *, std::pair< double, double >, ComparatorNumericalIdLessmyEndPositions
 A map from objects (vehicles) to the areas they acquire after entering the stop. More...
 
std::string myID
 The name of the object. More...
 
const MSLanemyLane
 The lane this bus stop is located at. More...
 
double myLastFreePos
 The last free position at this stop (variable) More...
 
std::vector< std::string > myLines
 The list of lines that are assigned to this stop. More...
 
const std::string myName
 The name of the stopping place. More...
 
const double myParkingFactor
 the scaled space capacity for parking vehicles More...
 
double myTotalCharge
 total energy charged by this charging station More...
 
MSTractionSubstationmyTractionSubstation
 Parameter, Pointer to the electrical substation (by default is nullptr) More...
 
const int myTransportableCapacity
 The number of transportables that can wait here. More...
 
double myVoltage
 Overhead wire's voltage. More...
 
bool myVoltageSource
 
std::set< int > myWaitingSpots
 
std::map< MSTransportable *, int > myWaitingTransportables
 Persons waiting at this stop (mapped to waiting position) More...
 

Static Protected Attributes

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

Private Member Functions

std::string createFullName () const
 create full name More...
 

Static Private Member Functions

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

Private Attributes

ParameterisedAttrType myAttrType
 parameterised type More...
 
std::string myFullName
 full name of GL Object More...
 
GUIGlID myGlID
 The numerical id of the object. More...
 
const GUIGlObjectType myGLObjectType
 The type of the object. More...
 
std::map< std::string, std::string > myMap
 The key->value map. More...
 
std::string myMicrosimID
 ID of GL object. More...
 
std::set< GUIParameterTableWindow * > myParamWindows
 Parameter table windows which refer to this object. More...
 

Static Private Attributes

static StringBijection< GUIGlObjectType >::Entry GUIGlObjectTypeNamesInitializer []
 LinkStates (Currently unused) More...
 

inherited from GUIGlObject

std::vector< double > myFGShapeRotations
 The rotations of the shape parts. More...
 
std::vector< double > myFGShapeLengths
 The lengths of the shape parts. More...
 
PositionVector myFGShape
 The shape. More...
 
Position myFGSignPos
 The position of the sign. More...
 
double myFGSignRot
 The rotation of the sign. More...
 
GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own popup-menu. More...
 
GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own parameter window. More...
 
Boundary getCenteringBoundary () const
 Returns the boundary to which the view shall be centered in order to show the object. More...
 
void drawGL (const GUIVisualizationSettings &s) const
 Draws the object. More...
 

Detailed Description

GUI for the overhead wire system.

This gui-version of the overhead wire network extends MSOverheadWire by methods for displaying and interaction. It also adds a visual representation of an overhead wire clamp.

See also
MSOverheadWire
GUIGlObject_AbstractAdd
GUIGlObject

Definition at line 62 of file GUIOverheadWire.h.

Member Enumeration Documentation

◆ ParameterisedAttrType

@brie enum for Parameterised type

Enumerator
STRING 

Parameterised accept strings.

DOUBLE 

Parameterised only accept doubles.

Definition at line 43 of file Parameterised.h.

Constructor & Destructor Documentation

◆ GUIOverheadWire()

GUIOverheadWire::GUIOverheadWire ( const std::string &  id,
MSLane lane,
double  frompos,
double  topos,
bool  voltageSource 
)

Constructor.

Parameters
[in]idThe id of the overhead wire segment
[in]laneThe lane the overhead wire segment is placed on
[in]fromposBegin position of the overhead wire segment on the lane
[in]toposEnd position of the overhead wire segment on the lane
[in]voltageSourceIf the segment is the place of the connection of a traction substation

Definition at line 53 of file GUIOverheadWire.cpp.

References Position::distanceTo(), MSLane::getShape(), PositionVector::getSubpart(), MSLane::interpolateLanePosToGeometryPos(), PositionVector::length(), M_PI, PositionVector::move2side(), myFGShape, myFGShapeLengths, myFGShapeRotations, myFGSignPos, myFGSignRot, PositionVector::rotationDegreeAtOffset(), Position::x(), and Position::y().

◆ ~GUIOverheadWire()

GUIOverheadWire::~GUIOverheadWire ( )

Destructor.

Definition at line 87 of file GUIOverheadWire.cpp.

Member Function Documentation

◆ addAccess()

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

adds an access point to this stop

Reimplemented in GUIBusStop.

Definition at line 278 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myAccessPos.

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

Here is the caller graph for this function:

◆ addChargeValueForOutput()

void MSOverheadWire::addChargeValueForOutput ( double  WCharged,
MSDevice_ElecHybrid elecHybrid,
bool  ischarging = 1 
)
inherited

add charge value for output

Definition at line 600 of file MSOverheadWire.cpp.

References MSDevice_ElecHybrid::getActualBatteryCapacity(), MSVehicleDevice::getHolder(), MSVehicleType::getID(), Named::getID(), MSNet::getInstance(), MSDevice_ElecHybrid::getMaximumBatteryCapacity(), SUMOTrafficObject::getVehicleType(), MSDevice_ElecHybrid::getVoltageOfOverheadWire(), MSOverheadWire::myChargeValues, and MSOverheadWire::myTotalCharge.

Referenced by MSDevice_ElecHybrid::notifyMove().

Here is the caller graph for this function:

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

Definition at line 309 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::GUIParameterTableWindow().

Here is the caller graph for this function:

◆ addTo()

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

Adds this object to the given container.

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

Definition at line 117 of file Named.h.

References Named::StoringVisitor::add().

◆ addTransportable()

bool MSStoppingPlace::addTransportable ( MSTransportable p)
inherited

adds a transportable to this stop

Definition at line 193 of file MSStoppingPlace.cpp.

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

Referenced by MSStageTranship::moveToNextEdge(), and MSStageWaiting::proceed().

Here is the caller graph for this function:

◆ addVehicle()

void MSOverheadWire::addVehicle ( SUMOVehicle veh)
inherited

Definition at line 378 of file MSOverheadWire.cpp.

References MSOverheadWire::myChargingVehicles, ow_mutex, and MSOverheadWire::setChargingVehicle().

Referenced by MSDevice_ElecHybrid::notifyMove().

Here is the caller graph for this function:

◆ areParametersValid()

bool Parameterised::areParametersValid ( const std::string &  value,
bool  report = false,
ParameterisedAttrType  attrType = ParameterisedAttrType::STRING,
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 217 of file Parameterised.cpp.

References StringTokenizer::getVector(), Parameterised::isParameterValid(), and WRITE_WARNING.

Referenced by GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEContainerStop::isValid(), GNEDestProbReroute::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE2::isValid(), GNEDetectorE3::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingArea::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNERerouter::isValid(), GNERerouterInterval::isValid(), GNERouteProbe::isValid(), GNERouteProbReroute::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEVariableSpeedSignStep::isValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), GNETAZRelData::isValid(), GNEPerson::isValid(), GNEPersonTrip::isValid(), GNERide::isValid(), GNERoute::isValid(), GNEVehicle::isValid(), GNEVehicleType::isValid(), GNEWalk::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNELane::isValid(), GNELaneType::isValid(), GNEInspectorFrame::ParametersEditorInspector::onCmdSetParameters(), and GNEFrameAttributesModuls::ParametersEditorCreator::onCmdSetParameters().

Here is the caller graph for this function:

◆ buildAdditionalsPopupOptions()

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

◆ buildCenterPopupEntry()

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

Builds an entry which allows to center to the object.

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

Definition at line 238 of file GUIGlObject.cpp.

References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_CENTER, and RECENTERVIEW.

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNETAZElement::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().

Here is the caller graph for this function:

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

void GUIGlObject::buildPopupHeader ( GUIGLObjectPopupMenu ret,
GUIMainWindow app,
bool  addSeparator = true 
)
protectedinherited

Builds the header.

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

Definition at line 229 of file GUIGlObject.cpp.

References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNETAZElement::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().

Here is the caller graph for this function:

◆ buildPositionCopyEntry()

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

Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.

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

Definition at line 288 of file GUIGlObject.cpp.

References GUIDesigns::buildFXMenuCommand(), GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().

Here is the caller graph for this function:

◆ buildSelectionPopupEntry()

◆ 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 324 of file GUIGlObject.cpp.

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

Referenced by GNEPOI::getPopUpMenu(), and 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 300 of file GUIGlObject.cpp.

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

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

Builds an entry which allows to open the 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 270 of file GUIGlObject.cpp.

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

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().

Here is the caller graph for this function:

◆ 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 279 of file GUIGlObject.cpp.

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

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

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 GUIGlObject_AbstractAdd::myObjectList, and GUIGlObject_AbstractAdd::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 140 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NLHandler::beginEdgeParsing(), and GNERouteHandler::closeRoute().

Here is the caller graph for this function:

◆ clearState()

void MSStoppingPlace::clearState ( )
inherited

Remove all vehicles before quick-loading state.

Definition at line 309 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myEndPos, MSStoppingPlace::myEndPositions, MSStoppingPlace::myLastFreePos, and MSStoppingPlace::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 226 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myEndPos, MSStoppingPlace::myEndPositions, and MSStoppingPlace::myLastFreePos.

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

Here is the caller graph for this function:

◆ createFullName()

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

create full name

Definition at line 370 of file GUIGlObject.cpp.

References GUIGlObject::getMicrosimID(), StringBijection< T >::getString(), GUIGlObject::myGLObjectType, and GUIGlObject::TypeNames.

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

Here is the caller graph for this function:

◆ drawGL()

void GUIOverheadWire::drawGL ( const GUIVisualizationSettings s) const
virtual

Draws the object.

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

Implements GUIGlObject.

Definition at line 137 of file GUIOverheadWire.cpp.

References GUIPropertyScheme< T >::addColor(), GUIVisualizationSettings::addName, GUIVisualizationSettings::addSize, RGBColor::BLACK, RGBColor::BLUE, GUIPropertyScheme< T >::clear(), RGBColor::CYAN, Position::distanceTo(), GLHelper::drawBoxLines(), GLHelper::drawFilledCircle(), GUIGlObject::drawName(), GLHelper::drawText(), FONS_ALIGN_LEFT, MSStoppingPlace::getBeginLanePosition(), getCenteringBoundary(), MSOverheadWire::getCircuit(), GUIPropertyScheme< T >::getColor(), MSOverheadWire::getElecHybridCount(), MSTractionSubstation::getElecHybridCount(), MSStoppingPlace::getEndLanePosition(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), MSStoppingPlace::getLane(), Circuit::getNode(), PositionVector::getSubpart(), MSOverheadWire::getTractionSubstation(), GUIGlObject::getType(), Node::getVoltage(), RGBColor::GREEN, MSLane::interpolateLanePosToGeometryPos(), M_PI, RGBColor::MAGENTA, MAX2(), MIN2(), MSOverheadWire::myChargingVehicles, MSOverheadWire::myCircuitStartNodePos, myFGShape, myFGShapeLengths, myFGShapeRotations, myFGSignPos, myFGSignRot, MSOverheadWire::myTractionSubstation, MSOverheadWire::myVoltageSource, RGBColor::ORANGE, RGBColor::RED, GUIVisualizationSettings::scale, GLHelper::setColor(), toString(), Position::x(), Position::y(), and RGBColor::YELLOW.

◆ 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 GUIPerson, GUIContainer, and GUIBaseVehicle.

Definition at line 208 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 77 of file MSStoppingPlace.cpp.

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

Referenced by MSVehicle::processNextStop().

Here is the caller graph for this function:

◆ eraseVehicle()

void MSOverheadWire::eraseVehicle ( SUMOVehicle veh)
inherited

Definition at line 386 of file MSOverheadWire.cpp.

References MSOverheadWire::myChargingVehicles, ow_mutex, and MSOverheadWire::setChargingVehicle().

Referenced by MSDevice_ElecHybrid::notifyLeave(), and MSDevice_ElecHybrid::notifyMove().

Here is the caller graph for this function:

◆ fits()

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

return whether the given vehicle fits at the given position

Definition at line 122 of file MSStoppingPlace.cpp.

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

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

Here is the caller graph for this function:

◆ 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 GUIGlObject_AbstractAdd::myObjects.

◆ getAccessDistance()

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

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

Definition at line 251 of file MSStoppingPlace.cpp.

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

Referenced by MSPerson::checkAccess().

Here is the caller graph for this function:

◆ getAccessPos()

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

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

Definition at line 237 of file MSStoppingPlace.cpp.

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

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

Here is the caller graph for this function:

◆ getAllAccessPos()

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

lanes and positions connected to this stop

Definition at line 188 of file MSStoppingPlace.h.

References MSStoppingPlace::myAccessPos.

◆ getBeginLanePosition()

◆ getCenteringBoundary()

Boundary GUIOverheadWire::getCenteringBoundary ( ) const
virtual

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 129 of file GUIOverheadWire.cpp.

References PositionVector::getBoxBoundary(), Boundary::grow(), and myFGShape.

Referenced by drawGL().

Here is the caller graph for this function:

◆ getChargingVehicles()

const std::vector<SUMOVehicle*>& MSOverheadWire::getChargingVehicles ( ) const
inlineinherited

Definition at line 99 of file MSOverheadWire.h.

References MSOverheadWire::myChargingVehicles.

Referenced by LIBSUMO_NAMESPACE::OverheadWire::getVehicleCount(), and LIBSUMO_NAMESPACE::OverheadWire::getVehicleIDs().

Here is the caller graph for this function:

◆ getCircuit()

Circuit * MSOverheadWire::getCircuit ( ) const
inherited

◆ getCircuitElementPos()

Element* MSOverheadWire::getCircuitElementPos ( ) const
inlineinherited

Definition at line 145 of file MSOverheadWire.h.

References MSOverheadWire::myCircuitElementPos.

◆ getCircuitEndNodePos()

Node* MSOverheadWire::getCircuitEndNodePos ( ) const
inlineinherited

Definition at line 141 of file MSOverheadWire.h.

References MSOverheadWire::myCircuitEndNodePos.

Referenced by MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), and MSTractionSubstation::addOverheadWireSegmentToCircuit().

Here is the caller graph for this function:

◆ getCircuitStartNodePos()

Node* MSOverheadWire::getCircuitStartNodePos ( ) const
inlineinherited

Definition at line 137 of file MSOverheadWire.h.

References MSOverheadWire::myCircuitStartNodePos.

Referenced by MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), and MSTractionSubstation::addOverheadWireSegmentToCircuit().

Here is the caller graph for this function:

◆ getColorValue()

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

Reimplemented in GUIBaseVehicle, GNELane, GNEJunction, GUIMEVehicle, GUIVehicle, GUIPerson, GUILane, GUIJunctionWrapper, GUIEdge, and GUIContainer.

Definition at line 148 of file GUIGlObject.h.

Referenced by GNEPerson::drawGL(), GNEPerson::setColor(), and GUISUMOAbstractView::showToolTipFor().

Here is the caller graph for this function:

◆ getDouble()

double Parameterised::getDouble ( const std::string &  key,
const double  defaultValue 
) const
inherited

◆ getElecHybridCount()

int MSOverheadWire::getElecHybridCount ( ) const
inlineinherited

Definition at line 95 of file MSOverheadWire.h.

References MSOverheadWire::myChargingVehicles.

Referenced by drawGL().

Here is the caller graph for this function:

◆ getEndLanePosition()

◆ getFullName()

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 166 of file GUIGlObject.cpp.

References GUIGlObject::myGlID.

Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIEdge::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GNEAdditional::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIPerson::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::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(), GUIEdge::isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUIVehicle::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIViewTraffic::onCmdShowReachability(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), TraCIServerAPI_GUI::processGet(), TraCIServerAPI_GUI::processSet(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().

◆ getID()

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

Returns the id.

Returns
The stored id

Definition at line 73 of file Named.h.

References Named::myID.

Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSTransportableControl::abortAnyWaitingForVehicle(), MSLaneChangerSublane::abortLCManeuver(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSVehicleTransfer::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLCM_SL2015::addLCSpeedAdvice(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDispatch::addReservation(), MSRouteHandler::addRide(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSRouteHandler::addVehicleStopsToImplicitRoute(), NIXMLConnectionsHandler::addWalkingArea(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_FCD::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), LIBSUMO_NAMESPACE::Vehicle::buildStopParameters(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_BTreceiver::buildVehicleDevices(), MSDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Emissions::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSLane::checkForPedestrians(), GUIApplicationWindow::checkGamingEvents(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSDevice_Battery::checkParam(), MSDevice_ElecHybrid::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), MSRouteHandler::closeFlow(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), NBNodeShapeComputer::computeEdgeBoundaries(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), NGNet::connect(), MSRailSignal::constraintsAllow(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), MSDevice_ToC::deactivateDeliberateLCs(), MSRailSignal::DriveWay::deadlockLaneOccupied(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSLaneChanger::findCandidate(), libsumo::Helper::findCloserLane(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), MSStop::getDescription(), NBTrafficLightDefinition::getDescription(), GUIPerson::getDestinationEdgeID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), libsumo::Calibrator::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFirstVehicleInformation(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSCalibrator::getID(), NBEdge::getID(), MSRailSignal::getJunctionLinkID(), RORouteHandler::getJunctionTaz(), libsumo::Calibrator::getLaneID(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_ToC::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUITrafficLightLogicWrapper::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSimpleDriverState::getPerceivedHeadway(), MSSimpleDriverState::getPerceivedSpeedDifference(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), MSBaseVehicle::getPrefixedParameter(), MSCFModel_CC::getRadarMeasurements(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), LIBSUMO_NAMESPACE::Vehicle::getRoadID(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::Vehicle::getRouteID(), libsumo::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), MSVehicle::getSafeFollowSpeed(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSStageTrip::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), MSDevice::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Person::getTaxiReservations(), MSRailSignal::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), LIBSUMO_NAMESPACE::Person::getVehicle(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSRailSignalConstraint::getVehID(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSRailSignal::hasOncomingRailTraffic(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSBaseVehicle::haveValidStopEdges(), libsumo::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSVehicle::ignoreRed(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), NBEdge::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSTrafficLightLogic::initMesoTLSPenalties(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), MSCFModel_IDM::insertionFollowSpeed(), MSEdge::insertVehicle(), MSLane::integrateNewVehicles(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinSameJunctions(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), MSSOTLE2Sensors::meanVehiclesSpeed(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSSimpleDriverState::MSSimpleDriverState(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_Transportable::notifyMove(), MSE2Collector::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_ToC::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::onCmdDefSwitch(), GUIViewTraffic::onGamingClick(), MSVehicle::onRemovalFromNet(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSEdge::transportable_by_position_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSLaneChangerSublane::outputLCStarted(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MEVehicle::processStop(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), MSRailSignalControl::registerProtectedDriveway(), MSLink::removeApproaching(), MSVehicle::removePassedDriveItems(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSBaseVehicle::replaceRouteEdges(), MSVehicle::replaceStop(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSPerson::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), LIBSUMO_NAMESPACE::Vehicle::resume(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageWaiting::routeOutput(), MSStageDriving::routeOutput(), MSLane::safeInsertionSpeed(), LIBSUMO_NAMESPACE::RouteProbe::sampleCurrentRouteID(), LIBSUMO_NAMESPACE::RouteProbe::sampleLastRouteID(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSBaseVehicle::saveState(), MSLane::saveState(), MSTransportable::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), MSStageTrip::setArrived(), NBNodeCont::setAsTLControlled(), MSSimpleDriverState::setAwareness(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NLEdgeControlBuilder::setDefaultStopOffsets(), MSChargingStation::setEfficency(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), MSLCM_SL2015::setOwnState(), MSActuatedTrafficLightLogic::setParameter(), MSDevice_ToC::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), MSDevice_ToC::switchHolderType(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffsets(), MSVehicle::updateDriveItems(), MSRailSignal::updateDriveway(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNETLSEditorFrame::TLSJunction::updateJunctionDescription(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSXMLRawOut::writeVehicle(), MSAmitranTrajectories::writeVehicle(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSDevice_Transportable::~MSDevice_Transportable(), 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 GUIGlObject_AbstractAdd::myObjectList.

Referenced by GUISUMOViewParent::onCmdLocate().

Here is the caller graph for this function:

◆ getIDSecure()

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

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

Definition at line 66 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), NBRailwayTopologyAnalyzer::assignDirectionPriority(), MSLaneChanger::changeOpposite(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), 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::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().

◆ getLane()

◆ getLastFreePos() [1/2]

double MSStoppingPlace::getLastFreePos ( ) const
inlineinherited

Definition at line 171 of file MSStoppingPlace.h.

References MSStoppingPlace::myLastFreePos.

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

Here is the caller graph for this function:

◆ getLastFreePos() [2/2]

double MSStoppingPlace::getLastFreePos ( const SUMOVehicle forVehicle) const
inherited

Returns the last free position on this stop.

Returns
The last free position of this bus stop

Definition at line 86 of file MSStoppingPlace.cpp.

References MSStoppingPlace::fits(), SUMOTrafficObject::getLane(), MSVehicleType::getLength(), MSVehicleType::getMinGap(), SUMOTrafficObject::getPositionOnLane(), SUMOTrafficObject::getSpeed(), SUMOTrafficObject::getVehicleType(), MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, MSStoppingPlace::myEndPositions, MSStoppingPlace::myLane, MSStoppingPlace::myLastFreePos, SUMO_const_haltingSpeed, and TIME2STEPS.

Referenced by MSStop::getEndPos().

Here is the caller graph for this function:

◆ getMicrosimID()

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

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

References MSStoppingPlace::myWaitingTransportables.

◆ 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 GUIGlObject_AbstractAdd::myObjectList.

◆ getOptionalName()

const std::string GUIGlObject::getOptionalName ( ) const
virtualinherited

Returns the name of the object (default "")

Reimplemented in GNEEdge, GUITrafficLightLogicWrapper, GUIParkingArea, GUIJunctionWrapper, GUIEdge, GUIContainerStop, GUIChargingStation, GUIBusStop, and GUIBaseVehicle.

Definition at line 185 of file GUIGlObject.cpp.

Referenced by GUIDialog_ChooserAbstract::getObjectName().

Here is the caller graph for this function:

◆ getOverheadWireSegmentName()

std::string MSOverheadWire::getOverheadWireSegmentName ( )
inherited

Definition at line 424 of file MSOverheadWire.cpp.

References Named::getID(), and toString().

◆ getParameter()

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

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

Definition at line 112 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), MSDevice_Battery::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), GNEEdge::drawEdgeName(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), GNEConnection::drawGL(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSSwarmTrafficLightLogic::getBetaNo(), MSSwarmTrafficLightLogic::getBetaSp(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSSwarmTrafficLightLogic::getChangePlanProbability(), GNEEdgeData::getColor(), GNEEdgeRelData::getColor(), GUILane::getColorValue(), GUIVehicle::getColorValue(), GNELane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSSwarmTrafficLightLogic::getForgettingCox(), MSSwarmTrafficLightLogic::getGammaNo(), MSSwarmTrafficLightLogic::getGammaSp(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSSwarmTrafficLightLogic::getLearningCox(), MSSwarmTrafficLightLogic::getMaxCongestionDuration(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), GUIBaseVehicle::getOptionalName(), GUITrafficLightLogicWrapper::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSSwarmTrafficLightLogic::getPheroMaxVal(), MSSwarmTrafficLightLogic::getPoliciesParam(), MSBaseVehicle::getPrefixedParameter(), MSSwarmTrafficLightLogic::getReinforcementMode(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSDevice::getStringParam(), MSSwarmTrafficLightLogic::getThetaInit(), MSSwarmTrafficLightLogic::getThetaMax(), MSSwarmTrafficLightLogic::getThetaMin(), MSSOTLTrafficLightLogic::getThreshold(), MSRailSignalConstraint::getVehID(), MSTriggeredRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSSOTLPhasePolicy::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), PushButtonLogic::init(), SigmoidLogic::init(), MSVehicleType::initRailVisualizationParameters(), GNEVehicleType::initRailVisualizationParameters(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVehicleType::overwriteVType(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdgeCont::splitAt(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), NWWriter_DlrNavteq::writeLinksUnsplitted(), and NWWriter_OpenDrive::writeRoadObjects().

◆ getParametersMap()

const std::map< std::string, std::string > & Parameterised::getParametersMap ( ) const
inherited

Returns the inner key/value map.

Definition at line 146 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), GNEAdditional::getACParametersMap(), GNEPOI::getACParametersMap(), GNEPoly::getACParametersMap(), GNETAZElement::getACParametersMap(), GNEDataInterval::getACParametersMap(), GNEDataSet::getACParametersMap(), GNEGenericData::getACParametersMap(), GNEPerson::getACParametersMap(), GNEPersonStop::getACParametersMap(), GNEPersonTrip::getACParametersMap(), GNERide::getACParametersMap(), GNERoute::getACParametersMap(), GNEStop::getACParametersMap(), GNEVehicle::getACParametersMap(), GNEVehicleType::getACParametersMap(), GNEWalk::getACParametersMap(), GNEConnection::getACParametersMap(), GNECrossing::getACParametersMap(), GNEEdge::getACParametersMap(), GNEEdgeType::getACParametersMap(), GNEJunction::getACParametersMap(), GNELane::getACParametersMap(), GNELaneType::getACParametersMap(), GUILane::getParameterWindow(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), NIImporter_OpenStreetMap::insertEdge(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), GNEVehicleType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), Parameterised::setParameters(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().

Here is the caller graph for this function:

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

References Parameterised::myMap.

Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE2::getAttribute(), GNEDetectorE3::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), GNERerouter::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEPerson::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNERoute::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttribute(), GNEWalk::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), and GNELaneType::getAttribute().

Here is the caller graph for this function:

◆ getParameterWindow()

GUIParameterTableWindow * GUIOverheadWire::getParameterWindow ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
virtual

Returns an own parameter window.

Overhead wires have parameter windows showing beginning and end position of the overhead wire.

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.
See also
GUIGlObject::getParameterWindow

Implements GUIGlObject.

Definition at line 101 of file GUIOverheadWire.cpp.

References GUIParameterTableWindow::closeBuilding(), GUIParameterTableWindow::mkItem(), MSStoppingPlace::myBegPos, and MSStoppingPlace::myEndPos.

◆ getParentName()

std::string GUIGlObject::getParentName ( ) const
virtualinherited

Returns the name of the parent object (if any)

Returns
This object's parent id

Reimplemented in GNELane, GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, GNEPerson, GNEVariableSpeedSignSymbol, GNEVariableSpeedSignStep, GNEVariableSpeedSign, GNEVaporizer, GNETAZSourceSink, GNETAZ, GNEStoppingPlace, GNERouteProbReroute, GNERouteProbe, GNERerouterSymbol, GNERerouterInterval, GNERerouter, GNEPoly, GNEPOI, GNEParkingSpace, GNEParkingAreaReroute, GNEDetectorE3, GNEDetector, GNEDestProbReroute, GNEClosingReroute, GNEClosingLaneReroute, GNECalibratorFlow, GNECalibrator, GNEAccess, and GUILane.

Definition at line 160 of file GUIGlObject.cpp.

References StringUtils::emptyString.

Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().

Here is the caller graph for this function:

◆ getPersonsAbreast() [1/2]

int MSStoppingPlace::getPersonsAbreast ( ) const
protectedinherited

Definition at line 145 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myBegPos, and MSStoppingPlace::myEndPos.

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

Here is the caller graph for this function:

◆ getPersonsAbreast() [2/2]

int MSStoppingPlace::getPersonsAbreast ( double  length)
staticinherited

Definition at line 140 of file MSStoppingPlace.cpp.

References MAX2(), and SUMO_const_waitingPersonWidth.

◆ getPopUpMenu()

GUIGLObjectPopupMenu * GUIOverheadWire::getPopUpMenu ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
virtual

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 117 of file GUIOverheadWire.cpp.

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

◆ getStoppedVehicleNumber()

int MSStoppingPlace::getStoppedVehicleNumber ( ) const
inlineinherited

Returns the number of stopped vehicles waiting on this stop.

Definition at line 167 of file MSStoppingPlace.h.

References MSStoppingPlace::myEndPositions.

Referenced by GUIBusStop::getParameterWindow(), GUIChargingStation::getParameterWindow(), and GUIContainerStop::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 290 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myEndPositions.

◆ getStoppingPosition()

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

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

Definition at line 169 of file MSStoppingPlace.cpp.

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

◆ getTotalCharged()

double MSOverheadWire::getTotalCharged ( ) const
inlineinherited

Definition at line 103 of file MSOverheadWire.h.

References MSOverheadWire::myTotalCharge.

Referenced by LIBSUMO_NAMESPACE::Simulation::getParameter().

Here is the caller graph for this function:

◆ getTractionSubstation()

◆ getTransportableNumber()

int MSStoppingPlace::getTransportableNumber ( ) const
inlineinherited

Returns the number of transportables waiting on this stop.

Definition at line 157 of file MSStoppingPlace.h.

References MSStoppingPlace::myWaitingTransportables.

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

Here is the caller graph for this function:

◆ getTransportables()

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

Returns the tranportables waiting on this stop.

Definition at line 179 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myWaitingTransportables.

Referenced by LIBSUMO_NAMESPACE::Simulation::getBusStopWaitingIDList().

Here is the caller graph for this function:

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 202 of file GUIGlObject.cpp.

References GUIGlObject::myGLObjectType.

Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEVehicle::drawFlowLabel(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEDetectorEntryExit::drawGL(), GNEPOI::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNEEdgeRelData::drawPartialGL(), GNEAdditional::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GNEVehicle::drawStackLabel(), GNEViewNet::getAttributeCarriersInBoundary(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNEViewNetHelper::ObjectsUnderCursor::updateGenericDataElements(), GNEViewNetHelper::ObjectsUnderCursor::updateNetworkElements(), GNEViewNetHelper::ObjectsUnderCursor::updateShapeElements(), and GNEViewNetHelper::ObjectsUnderCursor::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 GUIBaseVehicle, GUIMEVehicle, GUIVehicle, GUIPerson, GUIEdge, and GUIContainer.

Definition at line 172 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().

Here is the caller graph for this function:

◆ getVoltage()

double MSOverheadWire::getVoltage ( ) const
inherited

Get overhead wire's voltage.

Definition at line 440 of file MSOverheadWire.cpp.

References MSOverheadWire::myVoltage.

◆ getWaitingPersonIDs()

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

get IDs of persons waiting at this stop

Definition at line 300 of file MSStoppingPlace.cpp.

References MSStoppingPlace::myWaitingTransportables.

◆ getWaitingPositionOnLane()

double MSStoppingPlace::getWaitingPositionOnLane ( MSTransportable t) const
inherited

Returns the lane position corresponding to getWaitPosition()

Returns
The waiting position along the stop lane

Definition at line 129 of file MSStoppingPlace.cpp.

References MSStoppingPlace::getPersonsAbreast(), MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, MSStoppingPlace::myWaitingTransportables, and SUMO_const_waitingPersonWidth.

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

Here is the caller graph for this function:

◆ getWaitPosition()

Position MSStoppingPlace::getWaitPosition ( MSTransportable person) const
virtualinherited

Returns the next free waiting place for pedestrians / containers.

Returns
The next free waiting place for pedestrians / containers

Reimplemented in GUIBusStop.

Definition at line 150 of file MSStoppingPlace.cpp.

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

Referenced by GUIBusStop::getWaitPosition(), and MSStageDriving::proceed().

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

References MSStoppingPlace::myWaitingSpots.

Referenced by MSStoppingPlace::addTransportable().

Here is the caller graph for this function:

◆ isCharging()

bool MSOverheadWire::isCharging ( ) const
inherited

Return true if in the current time step charging station is charging a vehicle.

Definition at line 475 of file MSOverheadWire.cpp.

References MSOverheadWire::myChargingVehicle.

◆ isParameterValid()

bool Parameterised::isParameterValid ( const std::string &  value,
ParameterisedAttrType  attrType,
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 240 of file Parameterised.cpp.

References Parameterised::DOUBLE, StringTokenizer::getVector(), SUMOXMLDefinitions::isValidParameterKey(), and StringUtils::toDouble().

Referenced by Parameterised::areParametersValid().

Here is the caller graph for this function:

◆ isThereVoltageSource()

bool MSOverheadWire::isThereVoltageSource ( ) const
inlineinherited

Definition at line 149 of file MSOverheadWire.h.

References MSOverheadWire::myVoltageSource.

Referenced by MSTractionSubstation::addOverheadWireSegmentToCircuit().

Here is the caller graph for this function:

◆ knowsParameter()

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

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

◆ lock()

void MSOverheadWire::lock ( ) const
inherited

Definition at line 396 of file MSOverheadWire.cpp.

References ow_mutex.

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void *  )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 163 of file GUIGlObject.h.

Referenced by GUISUMOAbstractView::onLeftBtnPress().

Here is the caller graph for this function:

◆ remove()

void GUIGlObject_AbstractAdd::remove ( GUIGlObject_AbstractAdd o)
staticinherited

◆ removeActiveAddVisualisation()

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

remove additional user-griggered visualisations

Reimplemented in GUIPerson, and GUIBaseVehicle.

Definition at line 160 of file GUIGlObject.h.

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 109 of file GUIGlObject.h.

Referenced by GUIGLObjectPopupMenu::~GUIGLObjectPopupMenu().

Here is the caller graph for this function:

◆ 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 315 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

Here is the caller graph for this function:

◆ removeTransportable()

void MSStoppingPlace::removeTransportable ( MSTransportable p)
inherited

Removes a transportable from this stop.

Definition at line 206 of file MSStoppingPlace.cpp.

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

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

Here is the caller graph for this function:

◆ setChargingVehicle()

void MSOverheadWire::setChargingVehicle ( bool  value)
inherited

enable or disable charging vehicle

Definition at line 454 of file MSOverheadWire.cpp.

References MSOverheadWire::myChargingVehicle.

Referenced by MSOverheadWire::addVehicle(), and MSOverheadWire::eraseVehicle().

Here is the caller graph for this function:

◆ setCircuitElementPos()

void MSOverheadWire::setCircuitElementPos ( Element element)
inlineinherited

Definition at line 133 of file MSOverheadWire.h.

References MSOverheadWire::myCircuitElementPos.

Referenced by MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), and MSTractionSubstation::addOverheadWireSegmentToCircuit().

Here is the caller graph for this function:

◆ setCircuitEndNodePos()

void MSOverheadWire::setCircuitEndNodePos ( Node node)
inlineinherited

Definition at line 129 of file MSOverheadWire.h.

References MSOverheadWire::myCircuitEndNodePos.

Referenced by MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), and MSTractionSubstation::addOverheadWireSegmentToCircuit().

Here is the caller graph for this function:

◆ setCircuitStartNodePos()

void MSOverheadWire::setCircuitStartNodePos ( Node node)
inlineinherited

Definition at line 125 of file MSOverheadWire.h.

References MSOverheadWire::myCircuitStartNodePos.

Referenced by MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), and MSTractionSubstation::addOverheadWireSegmentToCircuit().

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 MSTransportable, and MSBaseVehicle.

Definition at line 81 of file Named.h.

References Named::myID.

Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), and IntermodalNetwork< E, L, N, V >::splitEdge().

Here is the caller graph for this function:

◆ setMicrosimID()

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

◆ setParameter()

◆ setParameters()

void Parameterised::setParameters ( const Parameterised params)
inherited

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

Definition at line 168 of file Parameterised.cpp.

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

◆ setParametersMap()

void Parameterised::setParametersMap ( const std::map< std::string, std::string > &  paramsMap)
inherited

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

Definition at line 179 of file Parameterised.cpp.

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

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

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

Referenced by MSDevice_Taxi::initDispatch(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorE3::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNERerouter::setAttribute(), GNERerouterInterval::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEPerson::setAttribute(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNERoute::setAttribute(), GNEVehicle::setAttribute(), GNEVehicleType::setAttribute(), GNEWalk::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), and GNELaneType::setAttribute().

Here is the caller graph for this function:

◆ setTractionSubstation()

void MSOverheadWire::setTractionSubstation ( MSTractionSubstation substation)
inlineinherited

Definition at line 119 of file MSOverheadWire.h.

References MSOverheadWire::myTractionSubstation.

Referenced by MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), and NLTriggerBuilder::parseAndBuildOverheadWireSection().

Here is the caller graph for this function:

◆ setVoltage()

void MSOverheadWire::setVoltage ( double  voltage)
inherited

Set overhead wire's voltage.

Definition at line 445 of file MSOverheadWire.cpp.

References Named::getID(), MSOverheadWire::myVoltage, SUMO_ATTR_VOLTAGE, SUMO_TAG_OVERHEAD_WIRE_SEGMENT, toString(), and WRITE_WARNING.

◆ unlock()

void MSOverheadWire::unlock ( ) const
inherited

Definition at line 401 of file MSOverheadWire.cpp.

References ow_mutex.

◆ unsetParameter()

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

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 92 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_OpenStreetMap::insertEdge(), and GNEVehicleType::setAttribute().

Here is the caller graph for this function:

◆ updateParameters()

void Parameterised::updateParameters ( const std::map< std::string, std::string > &  mapArg)
inherited

Adds or updates all given parameters from the map.

Parameters
[in]mapArgThe keys/values to insert

Definition at line 98 of file Parameterised.cpp.

References Parameterised::setParameter().

Referenced by NIImporter_SUMO::_loadNetwork(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NBTrafficLightDefinition::compute(), NIImporter_OpenStreetMap::insertEdge(), NBEdge::NBEdge(), and NBLoadedSUMOTLDef::NBLoadedSUMOTLDef().

Here is the caller graph for this function:

◆ vehicleIsInside()

bool MSOverheadWire::vehicleIsInside ( const double  position) const
inherited

Check if a vehicle is inside in the Charge Station.

Parameters
[in]positionPosition of vehicle in the LANE
Returns
true if is between StartPostion and EndPostion

Definition at line 465 of file MSOverheadWire.cpp.

References MSStoppingPlace::getBeginLanePosition(), and MSStoppingPlace::getEndLanePosition().

◆ writeOverheadWireSegmentOutput()

◆ writeParams()

Field Documentation

◆ GUIGlObjectTypeNamesInitializer

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

LinkStates (Currently unused)

vector for TypeNames Initializer

Definition at line 275 of file GUIGlObject.h.

◆ INVALID_ID

◆ myAccessPos

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

lanes and positions connected to this stop

Definition at line 262 of file MSStoppingPlace.h.

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

◆ myAttrType

ParameterisedAttrType Parameterised::myAttrType
privateinherited

parameterised type

Definition at line 143 of file Parameterised.h.

Referenced by Parameterised::Parameterised(), and Parameterised::setParameter().

◆ myBegPos

◆ myChargeValues

std::vector<charge> MSOverheadWire::myChargeValues
protectedinherited

vector with the charges of this charging station

Definition at line 221 of file MSOverheadWire.h.

Referenced by MSOverheadWire::addChargeValueForOutput(), and MSOverheadWire::writeOverheadWireSegmentOutput().

◆ myChargingVehicle

bool MSOverheadWire::myChargingVehicle
protectedinherited

Check if in the current TimeStep overheadWireSegment is charging a vehicle.

Definition at line 215 of file MSOverheadWire.h.

Referenced by MSOverheadWire::isCharging(), and MSOverheadWire::setChargingVehicle().

◆ myChargingVehicles

std::vector<SUMOVehicle*> MSOverheadWire::myChargingVehicles
protectedinherited

◆ myCircuitElementPos

Element* MSOverheadWire::myCircuitElementPos
protectedinherited

◆ myCircuitEndNodePos

Node* MSOverheadWire::myCircuitEndNodePos
protectedinherited

◆ myCircuitStartNodePos

Node* MSOverheadWire::myCircuitStartNodePos
protectedinherited

◆ myEndPos

◆ myEndPositions

◆ myFGShape

PositionVector GUIOverheadWire::myFGShape
private

The shape.

Definition at line 122 of file GUIOverheadWire.h.

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

◆ myFGShapeLengths

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

The lengths of the shape parts.

Definition at line 119 of file GUIOverheadWire.h.

Referenced by drawGL(), and GUIOverheadWire().

◆ myFGShapeRotations

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

The rotations of the shape parts.

Definition at line 116 of file GUIOverheadWire.h.

Referenced by drawGL(), and GUIOverheadWire().

◆ myFGSignPos

Position GUIOverheadWire::myFGSignPos
private

The position of the sign.

Definition at line 125 of file GUIOverheadWire.h.

Referenced by drawGL(), and GUIOverheadWire().

◆ myFGSignRot

double GUIOverheadWire::myFGSignRot
private

The rotation of the sign.

Definition at line 128 of file GUIOverheadWire.h.

Referenced by drawGL(), and GUIOverheadWire().

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 258 of file GUIGlObject.h.

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

◆ myGlID

GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 249 of file GUIGlObject.h.

Referenced by GUIGlObject::getGlID(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 252 of file GUIGlObject.h.

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

◆ myID

◆ myLane

◆ myLastFreePos

double MSStoppingPlace::myLastFreePos
protectedinherited

◆ myLines

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

The list of lines that are assigned to this stop.

Definition at line 229 of file MSStoppingPlace.h.

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

◆ myMap

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 255 of file GUIGlObject.h.

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

◆ myName

const std::string MSStoppingPlace::myName
protectedinherited

◆ myObjectList

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

◆ 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 63 of file GUIGlObject_AbstractAdd.h.

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

◆ myParamWindows

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

Parameter table windows which refer to this object.

Definition at line 261 of file GUIGlObject.h.

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

◆ myParkingFactor

const double MSStoppingPlace::myParkingFactor
protectedinherited

the scaled space capacity for parking vehicles

Definition at line 253 of file MSStoppingPlace.h.

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

◆ myTotalCharge

double MSOverheadWire::myTotalCharge
protectedinherited

total energy charged by this charging station

Definition at line 218 of file MSOverheadWire.h.

Referenced by MSOverheadWire::addChargeValueForOutput(), MSOverheadWire::getTotalCharged(), and MSOverheadWire::writeOverheadWireSegmentOutput().

◆ myTractionSubstation

MSTractionSubstation* MSOverheadWire::myTractionSubstation
protectedinherited

Parameter, Pointer to the electrical substation (by default is nullptr)

Definition at line 226 of file MSOverheadWire.h.

Referenced by drawGL(), MSOverheadWire::getTractionSubstation(), MSOverheadWire::setTractionSubstation(), and MSOverheadWire::~MSOverheadWire().

◆ myTransportableCapacity

const int MSStoppingPlace::myTransportableCapacity
protectedinherited

The number of transportables that can wait here.

Definition at line 250 of file MSStoppingPlace.h.

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

◆ myVoltage

double MSOverheadWire::myVoltage
protectedinherited

Overhead wire's voltage.

Definition at line 212 of file MSOverheadWire.h.

Referenced by MSOverheadWire::getVoltage(), and MSOverheadWire::setVoltage().

◆ myVoltageSource

bool MSOverheadWire::myVoltageSource
protectedinherited

Definition at line 228 of file MSOverheadWire.h.

Referenced by drawGL(), and MSOverheadWire::isThereVoltageSource().

◆ myWaitingSpots

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

◆ myWaitingTransportables

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 66 of file GUIGlObject.h.

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


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