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

A road/street connecting two junctions (gui-version). More...

#include <GUIEdge.h>

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

Public Types

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

Public Member Functions

void addRerouter ()
 add a rerouter
void addTo (const StoringVisitor &cont) const
 Adds this object to the given container.
void addWaiting (SUMOVehicle *vehicle) const
 Adds a vehicle to the list of waiting vehicles.
bool allowsLaneChanging () const
void buildLaneChanger ()
 Has to be called after all sucessors and predecessors have been set (after closeBuilding()).
bool canChangeToOpposite () const
 whether this edge allows changing to the opposite direction edge
void changeLanes (SUMOTime t) const
 Performs lane changing on this edge.
void clearParameter ()
 Clears the parameter map.
void clearState ()
 Remove all transportables before quick-loading state.
virtual void closeBuilding () override
 Has to be called after all edges were built and all connections were set.
void closeTraffic (const GUILane *lane)
 close this edge for traffic
virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additional, user-triggered visualisations.
void drawMesoVehicles (const GUIVisualizationSettings &s) const
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const
 draw name of item
double getAllowedSpeed () const
Boundary getBoundary () const
 Returns the street's geometry.
double getColorValue (const GUIVisualizationSettings &s, int activeScheme) const override
 gets the color value according to the current scheme index
const std::vector< std::string > & getCrossingEdges () const
 Gets the crossed edge ids.
double getCurrentTravelTime (const double minSpeed=NUMERICAL_EPS) const
 Computes and returns the current travel time for this edge.
double getDistanceTo (const MSEdge *other, const bool doBoundaryEstimate=false) const
 optimistic air distance heuristic for use in routing
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double.
const std::string & getID () const
 Returns the id.
const MSEdgegetInternalFollowingEdge (const MSEdge *followerAfterInternal, SUMOVehicleClass vClass) const
double getInternalFollowingLengthTo (const MSEdge *followerAfterInternal, SUMOVehicleClass vClass) const
 returns the length of all internal edges on the junction until reaching the non-internal edge followerAfterInternal.
MSLanegetLane (int laneNo)
 returns the enumerated lane (!!! why not private with a friend?)
std::pair< double, SUMOTimegetLastBlocked (int index) const
 retrieve properties of a blocked vehicle that wants to chane to the lane with the given index
double getLength () const
 return the length of the edge
double getLengthGeometryFactor () const
 return shape.length() / myLength
double getMeanFriction () const
 get the mean friction over the lanes
double getMeanSpeed () const
 get the mean speed
double getMeanSpeedBike () const
 get the mean speed of all bicycles on this edge
RGBColor getMesoColor () const
const std::map< const MEVehicle *, std::pair< double, int > > & getMesoPositions () const
double getMinimumTravelTime (const SUMOVehicle *const veh) const
 returns the minimum travel time for the given vehicle
const MSEdgegetNormalBefore () const
 if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself
const MSEdgegetNormalSuccessor () const
 if this edge is an internal edge, return its first normal successor, otherwise the edge itself
const MSEdgegetOppositeEdge () const
 Returns the opposite direction edge if on exists else a nullptr.
virtual const std::string getParameter (const std::string &key, const std::string defaultValue="") const
 Returns the value for a given key.
const Parameterised::MapgetParametersMap () const
 Returns the inner key/value map.
std::string getParametersStr (const std::string kvsep="=", const std::string sep="|") const
 Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
double getPendingEmits () const
 get number of vehicles waiting for departure on this edge
SVCPermissions getPermissions () const
 Returns the combined permissions of all lanes of this edge.
RailEdge< MSEdge, SUMOVehicle > * getRailwayRoutingEdge () const
double getRelativeSpeed () const
 return meanSpead divided by allowedSpeed
ReversedEdge< MSEdge, SUMOVehicle > * getReversedRoutingEdge () const
double getRoutingSpeed () const
 Returns the averaged speed used by the routing device.
double getScaleValue (const GUIVisualizationSettings &s, int activeScheme) const
 gets the scaling value according to the current scheme index
MESegmentgetSegmentAtPosition (const Position &pos)
 returns the segment closest to the given position
const std::vector< RGBColor > & getSegmentColors () const
 return segment colors (meso)
double getSpeedLimit () const
 Returns the speed limit of the edge @caution The speed limit of the first lane is retured; should probably be the fastest edge.
const std::vector< double > getSubLaneSides () const
 Returns the right side offsets of this edge's sublanes.
double getTimePenalty () const
double getVehicleMaxSpeed (const SUMOTrafficObject *const veh) const
 Returns the maximum speed the vehicle may use on this edge.
SUMOVehiclegetWaitingVehicle (MSTransportable *transportable, const double position) const
double getWidth () const
 Returns the edges's width (sum over all lanes).
 GUIEdge (const std::string &id, int numericalID, const SumoXMLEdgeFunc function, const std::string &streetName, const std::string &edgeType, const std::string &routingType, int priority, double distance)
 Constructor.
bool hasChangeProhibitions (SUMOVehicleClass svc, int index) const
 return whether this edge prohibits changing for the given vClass when starting on the given lane index
bool hasLaneChanger () const
bool hasMinorLink () const
 whether any lane has a minor link
bool hasParameter (const std::string &key) const
 Returns whether the parameter is set.
bool hasTransientPermissions () const
void initialize (const std::vector< MSLane * > *lanes)
 Initialize the edge.
void invalidateMesoCache () const
bool isDelayed () const
bool isFringe () const
 return whether this edge is at the fringe of the network
bool isRoundabout () const
bool isSelected () const override
 whether this lane is selected in the GUI
void lock () const override
 grant exclusive access to the mesoscopic state
void markAsRoundabout ()
void markDelayed () const
void mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true)
 Adds or appends all given parameters from the map.
virtual void onLeftBtnPress (void *)
 notify object about left click
void postLoadInitLaneChanger ()
bool prohibits (const SUMOVehicle *const vehicle) const
 Returns whether the vehicle (class) is not allowed on the edge.
void rebuildAllowedLanes (const bool onInit=false, bool updateVehicles=false)
void rebuildAllowedTargets (const bool updateVehicles=true)
void recalcCache ()
 Recalculates the cached values.
virtual void removeActiveAddVisualisation (GUISUMOAbstractView *const, int)
 remove additional user-griggered visualisations
void removeWaiting (const SUMOVehicle *vehicle) const
 Removes a vehicle from the list of waiting vehicles.
bool restricts (const SUMOVehicle *const) const
 Returns whether this edge has restriction parameters forbidding the given vehicle to pass it The restriction mechanism is not implemented yet for the microsim, so it always returns false.
void setColor (const GUIVisualizationSettings &s) const
 sets the color according to the currente settings
void setCrossingEdges (const std::vector< std::string > &crossingEdges)
 Sets the crossed edge ids for a crossing edge.
void setFrictionCoefficient (double val) const
 Sets a new friction coefficient COF for all lanes [later to be (used by TraCI and MSCalibrator)].
bool setFunctionalColor (const GUIColorer &c) const
 sets the color according to the current scheme index and some edge function
virtual void setID (const std::string &newID)
 resets the id
void setMaxSpeed (const double val, const bool modified=true, const double jamThreshold=-1)
 Sets a new maximum speed for all lanes (used by TraCI and MSCalibrator).
bool setMultiColor (const GUIColorer &c) const
 sets multiple colors according to the current scheme index and edge function
virtual void setParameter (const std::string &key, const std::string &value)
 Sets a parameter.
void setParameters (const Parameterised &params)
 set the given key/value map in map<string, string> format
void setParameters (const std::vector< std::pair< std::string, std::string > > &params)
 set the given key/value vector in map<string, string> format
void setParametersStr (const std::string &paramsString, const std::string kvsep="=", const std::string sep="|")
 set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
bool showDeadEnd () const
void unlock () const override
 release exclusive access to the mesoscopic state
void unsetParameter (const std::string &key)
 Removes a parameter.
void updateParameters (const Parameterised::Map &mapArg)
 Adds or updates all given parameters from the map.
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice
 ~GUIEdge ()
 Destructor.
inherited from GUIGlObject
virtual GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) override
 Returns an own popup-menu.
virtual GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override
 Returns an own parameter window.
GUIParameterTableWindowgetTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override
 Returns an own type parameter window.
Boundary getCenteringBoundary () const override
 Returns the boundary to which the view shall be centered in order to show the object.
const std::string getOptionalName () const override
 Returns the street name.
void drawGL (const GUIVisualizationSettings &s) const override
 Draws the object.
double getClickPriority () const override
 Returns the priority of receiving mouse clicks.
void addTransportable (MSTransportable *t) const override
void removeTransportable (MSTransportable *t) const override
Access to persons
const std::set< MSTransportable *, ComparatorNumericalIdLess > & getPersonsSecure () const
 Returns this edge's persons set; locks it for microsimulation.
void releasePersons () const
 Allows to use the container for microsimulation again.
Access to the edge's lanes
MSLaneleftLane (const MSLane *const lane) const
 Returns the lane left to the one given, 0 if the given lane is leftmost.
MSLanerightLane (const MSLane *const lane) const
 Returns the lane right to the one given, 0 if the given lane is rightmost.
MSLaneparallelLane (const MSLane *const lane, int offset, bool includeOpposite=true) const
 Returns the lane with the given offset parallel to the given lane one or 0 if it does not exist.
const std::vector< MSLane * > & getLanes () const
 Returns this edge's lanes.
int getNumLanes () const
int getNumDrivingLanes () const
 return the number of lanes that permit non-weak modes if the edge allows non weak modes and the number of lanes otherwise
int getVehicleNumber () const
 return total number of vehicles on this edges lanes or segments
bool isEmpty () const
 whether this edge has no vehicles
std::vector< const SUMOVehicle * > getVehicles () const
 return vehicles on this edges lanes or segments
double getBruttoOccupancy () const
double getFlow () const
 return flow based on meanSpead
double getWaitingSeconds () const
 return accumated waiting time for all vehicles on this edges lanes or segments
double getOccupancy () const
 return mean occupancy on this edges lanes or segments
const std::set< MSTransportable *, ComparatorNumericalIdLess > & getPersons () const
 Returns this edge's persons set.
std::vector< MSTransportable * > getSortedPersons (SUMOTime timestep, bool includeRiding=false) const
 Returns this edge's persons sorted by pos.
std::vector< MSTransportable * > getSortedContainers (SUMOTime timestep, bool includeRiding=false) const
 Returns this edge's containers sorted by pos.
const std::vector< MSLane * > * allowedLanes (const MSEdge &destination, SUMOVehicleClass vclass=SVC_IGNORING, bool ignoreTransientPermissions=false) const
 Get the allowed lanes to reach the destination-edge.
const std::vector< MSLane * > * allowedLanes (SUMOVehicleClass vclass=SVC_IGNORING) const
 Get the allowed lanes for the given vehicle class.
const std::vector< MSLane * > * allowedLanes (SUMOVehicleClass vclass, bool ignoreTransientPermissions) const
bool isConnectedTo (const MSEdge &destination, SUMOVehicleClass vclass, bool ignoreTransientPermissions=false) const
Access to other edge attributes
SumoXMLEdgeFunc getFunction () const
 Returns the edge type (SumoXMLEdgeFunc).
bool isNormal () const
 return whether this edge is an internal edge
bool isInternal () const
 return whether this edge is an internal edge
bool isCrossing () const
 return whether this edge is a pedestrian crossing
void checkAndRegisterBiDirEdge (const std::string &bidiID="")
 check and register the opposite superposable edge if any
const MSEdgegetBidiEdge () const
 return opposite superposable/congruent edge, if it exist and 0 else
bool isWalkingArea () const
 return whether this edge is walking area
bool isTazConnector () const
void setOtherTazConnector (const MSEdge *edge)
const MSEdgegetOtherTazConnector () const
int getNumericalID () const
 Returns the numerical id of the edge.
const std::string & getStreetName () const
 Returns the street name of the edge.
const std::string & getEdgeType () const
 Returns the type of the edge.
const std::string & getRoutingType () const
 Returns the type of the edge.
double getPreference (const SUMOVTypeParameter &pars) const
void inferEdgeType ()
int getPriority () const
 Returns the priority of the edge.
double getDistance () const
 Returns the kilometrage/mileage encoding at the start of the edge (negative values encode descending direction).
double getDistanceAt (double pos) const
 Returns the kilometrage/mileage at the given offset along the edge.
bool hasDistance () const
Access to succeeding/predecessing edges
void addSuccessor (MSEdge *edge, const MSEdge *via=nullptr)
 Adds an edge to the list of edges which may be reached from this edge and to the incoming of the other edge.
void resetTAZ (MSJunction *junction)
int getNumSuccessors () const
 Returns the number of edges that may be reached from this edge.
const MSEdgeVectorgetSuccessors (SUMOVehicleClass vClass=SVC_IGNORING) const
 Returns the following edges, restricted by vClass.
const MSConstEdgePairVectorgetViaSuccessors (SUMOVehicleClass vClass=SVC_IGNORING, bool ignoreTransientPermissions=false) const
 Returns the following edges with internal vias, restricted by vClass.
int getNumPredecessors () const
 Returns the number of edges this edge is connected to.
const MSEdgeVectorgetPredecessors () const
const MSJunctiongetFromJunction () const
const MSJunctiongetToJunction () const
void setJunctions (MSJunction *from, MSJunction *to)
Access to vaporizing interface
bool isVaporizing () const
 Returns whether vehicles on this edge shall be vaporized.
SUMOTime incVaporization (SUMOTime t)
 Enables vaporization.
SUMOTime decVaporization (SUMOTime t)
 Disables vaporization.
Methods releated to vehicle insertion
bool insertVehicle (SUMOVehicle &v, SUMOTime time, const bool checkOnly=false, const bool forceCheck=false) const
 Tries to insert the given vehicle into the network.
bool validateDepartSpeed (SUMOVehicle &v) const
 check whether the given departSpeed is valid for this edge
MSLanegetFreeLane (const std::vector< MSLane * > *allowed, const SUMOVehicleClass vclass, double departPos) const
 Finds the emptiest lane allowing the vehicle class.
MSLanegetProbableLane (const std::vector< MSLane * > *allowed, const SUMOVehicleClass vclass, double departPos, double maxSpeed) const
 Finds the most probable lane allowing the vehicle class.
MSLanegetDepartLane (MSVehicle &veh) const
 Finds a depart lane for the given vehicle parameters.
MSLanegetFirstAllowed (SUMOVehicleClass vClass, bool defaultFirst=false, int routingMode=0) const
MSLanegetDepartLaneMeso (SUMOVehicle &veh) const
 consider given departLane parameter (only for validating speeds)
SUMOTime getLastFailedInsertionTime () const
 Returns the last time a vehicle could not be inserted.
void setLastFailedInsertionTime (SUMOTime time) const
 Sets the last time a vehicle could not be inserted.
getter methods

Returns the full name appearing in the tool tip

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

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

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

Static Public Member Functions

static bool areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)
static bool areParametersValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
static void clear ()
 Clears the dictionary.
static MSEdgedictionary (const std::string &id)
 Returns the MSEdge associated to the key id if it exists, otherwise returns nullptr.
static bool dictionary (const std::string &id, MSEdge *edge)
 Inserts edge into the static dictionary Returns true if the key id isn't already in the dictionary. Otherwise returns false.
static MSEdgedictionaryHint (const std::string &id, const int startIdx)
 Returns the MSEdge associated to the key id giving a hint with a numerical id.
static const MSEdgeVectorgetAllEdges ()
 Returns all edges with a numerical id.
static int & getDefaultDepartLane ()
static DepartLaneDefinitiongetDefaultDepartLaneDefinition ()
static std::vector< GUIGlIDgetIDs (bool includeInternal)
template<class T>
static std::string getIDSecure (const T *obj, const std::string &fallBack="NULL")
 get an identifier for Named-like object which may be Null
static std::pair< double, double > getLaneOffsets (double x1, double y1, double x2, double y2, double prev, double wanted)
static SVCPermissions getMesoPermissions (SVCPermissions p, SVCPermissions ignoreIgnored=0)
static const Position getStopPosition (const SUMOVehicleParameter::Stop &stop)
 return the coordinates of the center of the given stop
static double getTotalLength (bool includeInternal, bool eachLane)
static double getTravelTimeAggregated (const MSEdge *const edge, const SUMOVehicle *const veh, double time)
static double getTravelTimeStatic (const MSEdge *const edge, const SUMOVehicle *const veh, double time)
 Returns the travel time for the given edge.
static void insertIDs (std::vector< std::string > &into)
 Inserts IDs of all known edges into the given vector.
static void setMesoIgnoredVClasses (SVCPermissions ignored)
Static parser helper
static void parseEdgesList (const std::string &desc, ConstMSEdgeVector &into, const std::string &rid)
 Parses the given string assuming it contains a list of edge ids divided by spaces.
static void parseEdgesList (const std::vector< std::string > &desc, ConstMSEdgeVector &into, const std::string &rid)
 Parses the given string vector assuming it edge ids.

Data Fields

std::vector< RGBColormySegmentColors
 The color of the segments (cached).
bool myShowDeadEnd
 whether to highlight this edge as a dead-end edge

Static Public Attributes

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

Protected Member Functions

GUILaneanySelectedLane () const
 return any selected lane or the last lane if none are selected
void buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
void buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
void cleanupOnDestruction ()
 to be called by child class to ensure cleanup in correct order
double getDepartPosBound (const MSVehicle &veh, bool upper=true) const
 return upper bound for the depart position on this edge
helper methods for building popup-menus

build common popup options

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

Protected Attributes

bool myAmDelayed
 whether this edge had a vehicle with less than max speed on it
bool myAmFringe
 whether this edge is at the network fringe
bool myAmRoundabout
 whether this edge belongs to a roundabout
Boundary myBoundary
 The bounding rectangle of end nodes incoming or outgoing edges for taz connectors or of my own start and end node for normal edges.
std::map< const MEVehicle *, std::pair< double, int > > myCachedMesoPos
 Mesoscopic vehicle positions.
std::map< SUMOVehicleClass, MSEdgeVectormyClassesSuccessorMap
 The successors available for a given vClass.
std::map< SUMOVehicleClass, MSConstEdgePairVectormyClassesViaSuccessorMap
 The successors available for a given vClass.
std::set< MSTransportable *, ComparatorNumericalIdLessmyContainers
 Containers on the edge.
std::vector< std::string > myCrossingEdges
 The crossed edges id for a crossing edge. On not crossing edges it is empty.
const double myDistance
 the kilometrage/mileage at the start of the edge
std::string myEdgeType
 the type of the edge (optionally used during network creation)
double myEmptyTraveltime
 the traveltime on the empty edge (cached value for speedup)
std::set< int > myFailedInsertionMemory
 A cache for the rejected insertion attempts. Used to assure that no further insertion attempts are made on a lane where an attempt has already failed in the current time step if MSInsertionControl::myEagerInsertionCheck is off.
MSJunctionmyFromJunction
 the junctions for this edge
const SumoXMLEdgeFunc myFunction
 the purpose of the edge
std::string myID
 The name of the object.
MSLaneChangermyLaneChanger
 This member will do the lane-change.
std::shared_ptr< const std::vector< MSLane * > > myLanes
 Container for the edge's lane; should be sorted: (right-hand-traffic) the more left the lane, the higher the container-index.
SUMOTime myLastCacheUpdate = -1
 time stamp of mesoscopic vehicle positions
SUMOTime myLastFailedInsertionTime
 The time of last insertion failure.
double myLength
 the length of the edge (cached value for speedup)
const int myNumericalID
 This edge's numerical id.
std::map< SUMOVehicleClass, MSConstEdgePairVectormyOrigClassesViaSuccessorMap
const MSEdgemyOtherTazConnector
 the other taz-connector if this edge isTazConnector, otherwise nullptr
std::set< MSTransportable *, ComparatorNumericalIdLessmyPersons
 Persons on the edge for drawing and pushbutton.
MSEdgeVector myPredecessors
 The preceeding edges.
const int myPriority
 the priority of the edge (used during network creation)
std::string myRoutingType
 the routing type of the edge (used to look up vType and vClass specific routing preferences)
std::string myStreetName
 the real-world name of this edge (need not be unique)
std::vector< double > mySublaneSides
 the right side for each sublane on this edge
MSEdgeVector mySuccessors
 The succeeding edges.
double myTimePenalty
 flat penalty when computing traveltime
MSJunctionmyToJunction
int myVaporizationRequests
 Vaporizer counter.
MSConstEdgePairVector myViaSuccessors
std::vector< SUMOVehicle * > myWaiting
 List of waiting vehicles.
double myWidth
 Edge width [m].
Storages for allowed lanes (depending on vehicle classes)
AllowedLanesCont myAllowed
 Associative container from vehicle class to allowed-lanes.
AllowedLanesCont myOrigAllowed
AllowedLanesByTarget myAllowedTargets
 From target edge to lanes allowed to be used to reach it.
AllowedLanesByTarget myOrigAllowedTargets
SVCPermissions myMinimumPermissions = SVCAll
 The intersection of lane permissions for this edge.
SVCPermissions myCombinedPermissions = 0
 The union of lane permissions for this edge.
SVCPermissions myOriginalMinimumPermissions = SVCAll
 The original intersection of lane permissions for this edge (before temporary modifications).
SVCPermissions myOriginalCombinedPermissions = SVCAll
 The original union of lane permissions for this edge (before temporary modifications).
bool myHaveTransientPermissions
 whether transient permission changes were applied to this edge or a predecessor

Private Types

typedef std::map< const MSEdge *, AllowedLanesContAllowedLanesByTarget
 Succeeding edges (keys) and allowed lanes to reach these edges (values).
typedef std::vector< std::pair< SVCPermissions, std::shared_ptr< const std::vector< MSLane * > > > > AllowedLanesCont
 "Map" from vehicle class to allowed lanes

Private Member Functions

void addToAllowed (const SVCPermissions permissions, std::shared_ptr< const std::vector< MSLane * > > allowedLanes, AllowedLanesCont &laneCont) const
std::string createFullName () const
 create full name
 GUIEdge (const GUIEdge &s)
 invalidated copy constructor
bool isSuperposable (const MSEdge *other)
GUIEdgeoperator= (const GUIEdge &s)
 invalidated assignment operator
void setBidiLanes ()

Static Private Member Functions

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

Private Attributes

bool myAmBlocked = false
 whether the object can be deleted
const MSEdgemyBidiEdge
 the oppositing superposable edge
std::string myFullName
 full name of GL Object
const GUIGlID myGlID
 The numerical id of the object.
const GUIGlObjectType myGLObjectType
 The type of the object.
FXIcon * myIcon
 icon associatd with this GL Object
FXMutex myLock
 The mutex used to avoid concurrent updates of myPersons/ myContainers.
Parameterised::Map myMap
 The key->value map.
RGBColor myMesoColor
std::string myMicrosimID
 ID of GL object.
std::set< GUIParameterTableWindow * > myParamWindows
 Parameter table windows which refer to this object.
RailEdge< MSEdge, SUMOVehicle > * myRailwayRoutingEdge = nullptr
ReversedEdge< MSEdge, SUMOVehicle > * myReversedRoutingEdge = nullptr
 a reversed version for backward routing

Static Private Attributes

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

Static edge container

typedef std::map< std::string, MSEdge * > DictType
 definition of the static dictionary type
static DictType myDict
 Static dictionary to associate string-ids with objects.
static MSEdgeVector myEdges
 Static list of edges.
static SVCPermissions myMesoIgnoredVClasses
static DepartLaneDefinition myDefaultDepartLaneDefinition
static int myDefaultDepartLane

Detailed Description

A road/street connecting two junctions (gui-version).

See also
MSEdge

Definition at line 51 of file GUIEdge.h.

Member Typedef Documentation

◆ AllowedLanesByTarget

typedef std::map<const MSEdge*, AllowedLanesCont> MSEdge::AllowedLanesByTarget
privateinherited

Succeeding edges (keys) and allowed lanes to reach these edges (values).

Definition at line 83 of file MSEdge.h.

◆ AllowedLanesCont

typedef std::vector<std::pair<SVCPermissions, std::shared_ptr<const std::vector<MSLane*> > > > MSEdge::AllowedLanesCont
privateinherited

"Map" from vehicle class to allowed lanes

Definition at line 80 of file MSEdge.h.

◆ DictType

typedef std::map< std::string, MSEdge* > MSEdge::DictType
protectedinherited

definition of the static dictionary type

Definition at line 1041 of file MSEdge.h.

◆ Map

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

parameters map

Definition at line 45 of file Parameterised.h.

Constructor & Destructor Documentation

◆ GUIEdge() [1/2]

GUIEdge::GUIEdge ( const std::string & id,
int numericalID,
const SumoXMLEdgeFunc function,
const std::string & streetName,
const std::string & edgeType,
const std::string & routingType,
int priority,
double distance )

Constructor.

Parameters
[in]idThe id of the edge
[in]numericalIDThe numerical id (index) of the edge
See also
MSEdge

Definition at line 64 of file GUIEdge.cpp.

References GLO_EDGE, GUIGlObject::GUIGlObject(), MSEdge::MSEdge(), and myLock.

Referenced by getIDs(), GUIEdge(), and operator=().

Here is the caller graph for this function:

◆ ~GUIEdge()

GUIEdge::~GUIEdge ( )

Destructor.

Definition at line 75 of file GUIEdge.cpp.

References myLock.

◆ GUIEdge() [2/2]

GUIEdge::GUIEdge ( const GUIEdge & s)
private

invalidated copy constructor

References GUIEdge().

Member Function Documentation

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow * w)
inherited

Definition at line 417 of file GUIGlObject.cpp.

References myParamWindows.

◆ addRerouter()

◆ addSuccessor()

void MSEdge::addSuccessor ( MSEdge * edge,
const MSEdge * via = nullptr )
inherited

Adds an edge to the list of edges which may be reached from this edge and to the incoming of the other edge.

This is mainly used by the taz (district) parsing

Parameters
[in]edgeThe edge to add

Definition at line 1277 of file MSEdge.cpp.

References Boundary::add(), getFromJunction(), MSJunction::getPosition(), getToJunction(), isTazConnector(), MSEdge(), myBoundary, myPredecessors, mySuccessors, and myViaSuccessors.

Referenced by NLHandler::addDistrict(), NLHandler::addDistrictEdge(), and NLBuilder::build().

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().

◆ addToAllowed()

void MSEdge::addToAllowed ( const SVCPermissions permissions,
std::shared_ptr< const std::vector< MSLane * > > allowedLanes,
AllowedLanesCont & laneCont ) const
privateinherited

Definition at line 301 of file MSEdge.cpp.

References allowedLanes().

Referenced by rebuildAllowedLanes(), and rebuildAllowedTargets().

Here is the caller graph for this function:

◆ addTransportable()

void GUIEdge::addTransportable ( MSTransportable * t) const
inlineoverridevirtual

Reimplemented from MSEdge.

Definition at line 144 of file GUIEdge.h.

References MSEdge::addTransportable(), and myLock.

◆ addWaiting()

void MSEdge::addWaiting ( SUMOVehicle * vehicle) const
inherited

Adds a vehicle to the list of waiting vehicles.

Definition at line 1485 of file MSEdge.cpp.

References MSGlobals::gNumSimThreads, lock(), and myWaiting.

Referenced by MSVehicleControl::handleTriggeredDepart().

Here is the caller graph for this function:

◆ allowedLanes() [1/3]

const std::vector< MSLane * > * MSEdge::allowedLanes ( const MSEdge & destination,
SUMOVehicleClass vclass = SVC_IGNORING,
bool ignoreTransientPermissions = false ) const
inherited

Get the allowed lanes to reach the destination-edge.

If there is no such edge, return nullptr. Then you are on the wrong edge.

Parameters
[in]destinationThe edge to reach
[in]vclassThe vehicle class for which this information shall be returned
Returns
The lanes that may be used to reach the given edge, nullptr if no such lanes exist

Definition at line 480 of file MSEdge.cpp.

References MSEdge(), myAllowedTargets, myHaveTransientPermissions, and myOrigAllowedTargets.

Referenced by addToAllowed(), MELoop::changeSegment(), MELoop::checkCar(), MSVehicleTransfer::checkInsertions(), MSLane::executeMovements(), getDepartLane(), getFreeLane(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), getProbableLane(), MSDevice_Taxi::getStopLane(), getSuccessors(), getViaSuccessors(), isConnectedTo(), MSLane::by_connections_to_sorter::operator()(), operator=(), rebuildAllowedLanes(), rebuildAllowedTargets(), and MSBaseVehicle::reroute().

Here is the caller graph for this function:

◆ allowedLanes() [2/3]

const std::vector< MSLane * > * MSEdge::allowedLanes ( SUMOVehicleClass vclass,
bool ignoreTransientPermissions ) const
inherited

◆ allowedLanes() [3/3]

const std::vector< MSLane * > * MSEdge::allowedLanes ( SUMOVehicleClass vclass = SVC_IGNORING) const
inherited

Get the allowed lanes for the given vehicle class.

If there is no such edge, return nullptr. Then you are on the wrong edge.

Parameters
[in]vclassThe vehicle class for which this information shall be returned
Returns
The lanes that may be used by the given vclass

Definition at line 495 of file MSEdge.cpp.

References myAllowed, myCombinedPermissions, myLanes, and myMinimumPermissions.

◆ allowsLaneChanging()

bool MSEdge::allowsLaneChanging ( ) const
inherited

Definition at line 279 of file MSEdge.cpp.

References MSLink::getState(), MSGlobals::gUsingInternalLanes, isInternal(), LINKSTATE_ALLWAY_STOP, LINKSTATE_DEADEND, LINKSTATE_EQUAL, LINKSTATE_MINOR, LINKSTATE_STOP, and myLanes.

Referenced by buildLaneChanger().

Here is the caller graph for this function:

◆ anySelectedLane()

GUILane * GUIEdge::anySelectedLane ( ) const
protected

return any selected lane or the last lane if none are selected

Definition at line 644 of file GUIEdge.cpp.

References MSEdge::myLanes.

Referenced by drawGL().

Here is the caller graph for this function:

◆ areAttributesValid()

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

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

Definition at line 207 of file Parameterised.cpp.

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

◆ areParametersValid()

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

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

Definition at line 188 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ buildAdditionalsPopupOptions()

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

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

Definition at line 455 of file GUIGlObject.cpp.

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

◆ buildCenterPopupEntry()

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

◆ buildLaneChanger()

void MSEdge::buildLaneChanger ( )
inherited

Has to be called after all sucessors and predecessors have been set (after closeBuilding()).

Definition at line 259 of file MSEdge.cpp.

References allowsLaneChanging(), canChangeToOpposite(), MSGlobals::gLaneChangeDuration, MSGlobals::gLateralResolution, MSGlobals::gUsingInternalLanes, isInternal(), MSLaneChangerSublane, myLaneChanger, and myLanes.

◆ buildNameCopyPopupEntry()

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

◆ buildPopupHeader()

◆ buildPopUpMenuCommonOptions()

◆ buildPositionCopyEntry()

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

◆ buildSelectionPopupEntry()

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

◆ buildShapePopupOptions()

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

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

Definition at line 432 of file GUIGlObject.cpp.

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

Referenced by GUIPointOfInterest::getPopUpMenu().

Here is the caller graph for this function:

◆ buildShowManipulatorPopupEntry()

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

Builds an entry which allows to open the manipulator window.

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

Definition at line 408 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowParamsPopupEntry()

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

◆ buildShowTypeParamsPopupEntry()

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

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

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

Definition at line 372 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ canChangeToOpposite()

bool MSEdge::canChangeToOpposite ( ) const
inherited

whether this edge allows changing to the opposite direction edge

Definition at line 1364 of file MSEdge.cpp.

References MSGlobals::gUsingInternalLanes, isInternal(), myLanes, and STRAIGHT.

Referenced by buildLaneChanger(), and MSLCM_SL2015::prepareStep().

Here is the caller graph for this function:

◆ changeLanes()

void MSEdge::changeLanes ( SUMOTime t) const
inherited

Performs lane changing on this edge.

Definition at line 926 of file MSEdge.cpp.

References myLaneChanger.

Referenced by MSEdgeControl::changeLanes().

Here is the caller graph for this function:

◆ checkAndRegisterBiDirEdge()

void MSEdge::checkAndRegisterBiDirEdge ( const std::string & bidiID = "")
inherited

check and register the opposite superposable edge if any

Definition at line 1411 of file MSEdge.cpp.

References dictionary(), getFunction(), isSuperposable(), myBidiEdge, myFromJunction, myToJunction, NORMAL, setBidiLanes(), TL, WRITE_ERRORF, and WRITE_WARNINGF.

◆ cleanupOnDestruction()

void GUIGlObject::cleanupOnDestruction ( )
protectedinherited

to be called by child class to ensure cleanup in correct order

Definition at line 200 of file GUIGlObject.cpp.

References myParamWindows, and GLObjectValuePassConnector< T >::removeObject().

Referenced by ~GUIGlObject(), GUIMEVehicle::~GUIMEVehicle(), and GUIVehicle::~GUIVehicle().

Here is the caller graph for this function:

◆ clear()

void MSEdge::clear ( )
staticinherited

Clears the dictionary.

Definition at line 1126 of file MSEdge.cpp.

References myDict, and myEdges.

Referenced by NLBuilder::buildNet(), and MSNet::clearAll().

Here is the caller graph for this function:

◆ clearParameter()

void Parameterised::clearParameter ( )
inherited

Clears the parameter map.

Definition at line 118 of file Parameterised.cpp.

References myMap.

◆ clearState()

void MSEdge::clearState ( )
inherited

Remove all transportables before quick-loading state.

Definition at line 1726 of file MSEdge.cpp.

References myContainers, myPersons, and myWaiting.

◆ closeBuilding()

void GUIEdge::closeBuilding ( )
overridevirtual

Has to be called after all edges were built and all connections were set.

Reimplemented from MSEdge.

Definition at line 83 of file GUIEdge.cpp.

References MSEdge::closeBuilding(), MSEdge::getFromJunction(), MSJunction::getOutgoing(), MSEdge::getPermissions(), MSEdge::getSuccessors(), MSEdge::getToJunction(), MSEdge::isTazConnector(), MSEdge::MSEdge(), myShowDeadEnd, and SVC_PEDESTRIAN.

◆ closeTraffic()

void GUIEdge::closeTraffic ( const GUILane * lane)

close this edge for traffic

Definition at line 583 of file GUIEdge.cpp.

References GUILane::closeTraffic(), MSEdge::getLanes(), GUILane::isClosed(), and MSEdge::rebuildAllowedLanes().

Referenced by GUIViewTraffic::onCmdCloseEdge().

Here is the caller graph for this function:

◆ createFullName()

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

create full name

Definition at line 478 of file GUIGlObject.cpp.

References getMicrosimID(), myGLObjectType, and TypeNames.

Referenced by GUIGlObject(), and setMicrosimID().

Here is the caller graph for this function:

◆ decVaporization()

SUMOTime MSEdge::decVaporization ( SUMOTime t)
inherited

Disables vaporization.

The internal vaporization counter is decreased what disables the vaporization if it was only once enabled. Called from the event handler.

Parameters
[in]tThe current time (unused)
Returns
Time to next call (always 0)
Exceptions
ProcessErrornot thrown by this method, just derived

Definition at line 540 of file MSEdge.cpp.

References myVaporizationRequests.

Referenced by NLTriggerBuilder::buildVaporizer().

Here is the caller graph for this function:

◆ deleteGLObject()

void GUIGlObject::deleteGLObject ( )
virtualinherited

delete GLObject (Currently used only in netedit)

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

Definition at line 244 of file GUIGlObject.cpp.

◆ dictionary() [1/2]

MSEdge * MSEdge::dictionary ( const std::string & id)
staticinherited

Returns the MSEdge associated to the key id if it exists, otherwise returns nullptr.

Definition at line 1097 of file MSEdge.cpp.

References myDict.

◆ dictionary() [2/2]

bool MSEdge::dictionary ( const std::string & id,
MSEdge * edge )
staticinherited

Inserts edge into the static dictionary Returns true if the key id isn't already in the dictionary. Otherwise returns false.

Definition at line 1081 of file MSEdge.cpp.

References getNumericalID(), MSEdge(), myDict, and myEdges.

Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Route::add(), NLHandler::addConflict(), NLHandler::addConnection(), NLHandler::addDistrict(), NLHandler::addDistrictEdge(), NLHandler::addEdgeLaneMeanData(), GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeRelWeight(), GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), MSRouteHandler::addRideOrTransport(), NLHandler::addRoundabout(), MSBaseVehicle::addStop(), MSRouteHandler::addStop(), MSRouteHandler::addTranship(), MSRouteHandler::addVehicleStopsToImplicitRoute(), LIBSUMO_NAMESPACE::Person::appendDrivingStage(), NLEdgeControlBuilder::beginEdgeParsing(), NLBuilder::build(), libsumo::Helper::buildStopParameters(), NLTriggerBuilder::buildVaporizer(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), checkAndRegisterBiDirEdge(), NLHandler::closeEdge(), MSRouteHandler::closeRoute(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), dictionaryHint(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), libsumo::Helper::getEdge(), LIBSUMO_NAMESPACE::Edge::getEdge(), NLDetectorBuilder::getEdgeChecking(), libsumo::Helper::getLaneChecking(), MSDevice_Routing::getParameter(), MSDevice_SSM::initEdgeFilter(), MSDevice_FCD::initOnce(), MSBaseVehicle::interpretOppositeStop(), MSPedestrianPushButton::loadPushButtons(), MSDevice_Vehroutes::loadState(), MSRoutingEngine::loadState(), MSDevice_FCDReplay::FCDHandler::makePlan(), MSDetectorFileOutput::MSDetectorFileOutput(), NLHandler::myEndElement(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSStateHandler::myStartElement(), MSTriggeredRerouter::myStartElement(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildRerouter(), parseEdgesList(), MSRouteHandler::parseFromViaTo(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSDevice_FCDReplay::FCDHandler::retrieveEdge(), MSRouteHandler::retrieveEdge(), LIBSUMO_NAMESPACE::Vehicle::setAdaptedTraveltime(), LIBSUMO_NAMESPACE::Vehicle::setEffort(), MSDevice_Routing::setParameter(), and NLEdgeControlBuilder::~NLEdgeControlBuilder().

◆ dictionaryHint()

MSEdge * MSEdge::dictionaryHint ( const std::string & id,
const int startIdx )
staticinherited

Returns the MSEdge associated to the key id giving a hint with a numerical id.

Definition at line 1107 of file MSEdge.cpp.

References dictionary(), Named::getID(), and myEdges.

Referenced by NLHandler::addConnection().

Here is the caller graph for this function:

◆ drawGL()

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

Draws the object.

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

Implements GUIGlObject.

Definition at line 263 of file GUIEdge.cpp.

References Position::add(), RGBColor::alpha(), anySelectedLane(), CONNECTOR, GUIVisualizationSettings::containerSize, CROSSING, GUIVisualizationSettings::cwaEdgeName, DEG2RAD, GUIVisualizationSettings::drawCrossingsAndWalkingareas, GUIContainer::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GUIVisualizationSettings::drawJunctionShape, drawMesoVehicles(), GUIGlObject::drawName(), GLHelper::drawTextSettings(), GUIVisualizationSettings::edgeColorer, GUIVisualizationSettings::edgeName, GUIVisualizationSettings::edgeParam, GUIVisualizationSettings::edgeScaleValue, GUIVisualizationSettings::edgeValue, GUIVisualizationSettings::edgeValueRainBow, MSEdge::getBidiEdge(), getColorValue(), GUILane::getColorValueWithFunctional(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GUIVisualizationSettings::getLaneEdgeMode(), GUIVisualizationSettings::getLaneEdgeScaleMode(), Parameterised::getParameter(), getScaleValue(), GUILane::getScaleValue(), GUILane::getShape(), MSEdge::getStreetName(), GUIVisualizationSettings::getTextAngle(), gSelected, GUIGlObject::GUIGlObject(), MSGlobals::gUseMesoSim, GUIVisualizationSettings::hideConnectors, GUIVisualizationRainbowSettings::hideMax, GUIVisualizationRainbowSettings::hideMin, INTERNAL, GUIVisualizationSettings::internalEdgeName, invalid_return< std::string >::value, GUIVisualizationSettings::laneColorer, GUIVisualizationSettings::laneParam, PositionVector::length(), GUIVisualizationRainbowSettings::maxThreshold, GUIVisualizationSizeSettings::minSize, GUIVisualizationRainbowSettings::minThreshold, GUIVisualizationSettings::MISSING_DATA, Position::mul(), MSEdge::myContainers, MSEdge::myFunction, MSEdge::myLanes, myLock, MSEdge::myPersons, MSEdge::myStreetName, NORMAL, GUIVisualizationSettings::personSize, GLHelper::popName(), PositionVector::positionAtOffset(), GLHelper::pushName(), PositionVector::rotationAtOffset(), PositionVector::rotationDegreeAtOffset(), GUIVisualizationSettings::scale, GUIVisualizationTextSettings::scaledSize(), GUIVisualizationSettings::secondaryShape, setColor(), GUIVisualizationTextSettings::show(), GUIVisualizationSettings::spreadSuperposed, GUIVisualizationSettings::streetName, toString(), GUIVisualizationSettings::vehicleSize, and WALKINGAREA.

◆ drawGLAdditional()

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

Draws additional, user-triggered visualisations.

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

Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.

Definition at line 276 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ drawMesoVehicles()

◆ drawName()

◆ getAllEdges()

◆ getAllowedSpeed()

double GUIEdge::getAllowedSpeed ( ) const

Definition at line 415 of file GUIEdge.cpp.

References MSEdge::myLanes.

Referenced by getColorValue(), getParameterWindow(), getRelativeSpeed(), getScaleValue(), and setMultiColor().

Here is the caller graph for this function:

◆ getBidiEdge()

const MSEdge * MSEdge::getBidiEdge ( ) const
inlineinherited

return opposite superposable/congruent edge, if it exist and 0 else

Definition at line 283 of file MSEdge.h.

References MSEdge(), and myBidiEdge.

Referenced by MSDriveWay::addReversalFoes(), MSDriveWay::addSidings(), MSDriveWay::buildRoute(), MSDriveWay::buildSubFoe(), GUIEdge::drawGL(), MSDriveWay::forwardRouteConflict(), MSLane::isFrontalCollision(), and MSDriveWay::match().

Here is the caller graph for this function:

◆ getBoundary()

Boundary GUIEdge::getBoundary ( ) const

Returns the street's geometry.

Definition at line 135 of file GUIEdge.cpp.

References Boundary::add(), Boundary::grow(), GUIGlobals::gSecondaryShape, MSEdge::isTazConnector(), MSEdge::myLanes, MSEdge::myPredecessors, and MSEdge::mySuccessors.

Referenced by getCenteringBoundary().

Here is the caller graph for this function:

◆ getBruttoOccupancy()

double MSEdge::getBruttoOccupancy ( ) const
inherited

Definition at line 1643 of file MSEdge.cpp.

References MSGlobals::gMesoNet, and myLanes.

Referenced by GUIEdge::getColorValue(), GUIEdge::getParameterWindow(), and GUIEdge::getScaleValue().

Here is the caller graph for this function:

◆ getCenter()

◆ getCenteringBoundary()

Boundary GUIEdge::getCenteringBoundary ( ) const
overridevirtual

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

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

Implements GUIGlObject.

Definition at line 249 of file GUIEdge.cpp.

References getBoundary().

◆ getClickPriority()

double GUIEdge::getClickPriority ( ) const
overridevirtual

Returns the priority of receiving mouse clicks.

Reimplemented from GUIGlObject.

Definition at line 634 of file GUIEdge.cpp.

References GLO_EDGE, MSGlobals::gUseMesoSim, and GUIGlObject::INVALID_PRIORITY.

◆ getColorValue()

double GUIEdge::getColorValue ( const GUIVisualizationSettings & s,
int activeScheme ) const
overridevirtual

gets the color value according to the current scheme index

Reimplemented from GUIGlObject.

Definition at line 509 of file GUIEdge.cpp.

References GUIVisualizationSettings::edgeData, GUIVisualizationSettings::edgeParam, getAllowedSpeed(), MSEdge::getBruttoOccupancy(), GUINet::getEdgeData(), MSEdge::getFlow(), MSEdge::getFunction(), GUIGlObject::getGlID(), GUINet::getGUIInstance(), MSEdge::getMeanSpeed(), Parameterised::getParameter(), getPendingEmits(), getRelativeSpeed(), MSEdge::getRoutingSpeed(), GUIGlObject::getType(), gSelected, StringUtils::toBool(), and StringUtils::toDouble().

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

Here is the caller graph for this function:

◆ getCrossingEdges()

const std::vector< std::string > & MSEdge::getCrossingEdges ( ) const
inlineinherited

Gets the crossed edge ids.

Returns
The list of crossed edge ids in a crossing edge or an empty vector

Definition at line 368 of file MSEdge.h.

References myCrossingEdges.

Referenced by MSPedestrianPushButton::loadCrossingEdgeMap().

Here is the caller graph for this function:

◆ getCurrentTravelTime()

double MSEdge::getCurrentTravelTime ( const double minSpeed = NUMERICAL_EPS) const
inherited

Computes and returns the current travel time for this edge.

The mean speed of all lanes is used to compute the travel time. To avoid infinite travel times, the given minimum speed is used.

Parameters
[in]minSpeedThe minimumSpeed to assume if traffic on this edge is stopped
Returns
The current effort (travel time) to pass the edge

Definition at line 1065 of file MSEdge.cpp.

References getLength(), getMeanSpeed(), MAX2(), myAmDelayed, and myEmptyTraveltime.

Referenced by MSVehicleTransfer::checkInsertions(), and MSFullExport::writeEdge().

Here is the caller graph for this function:

◆ getDefaultDepartLane()

int & MSEdge::getDefaultDepartLane ( )
inlinestaticinherited

Definition at line 814 of file MSEdge.h.

References myDefaultDepartLane.

Referenced by MSFrame::setMSGlobals().

Here is the caller graph for this function:

◆ getDefaultDepartLaneDefinition()

DepartLaneDefinition & MSEdge::getDefaultDepartLaneDefinition ( )
inlinestaticinherited

Definition at line 810 of file MSEdge.h.

References myDefaultDepartLaneDefinition.

Referenced by MSVehicle::hasValidRouteStart(), and MSFrame::setMSGlobals().

Here is the caller graph for this function:

◆ getDepartLane()

MSLane * MSEdge::getDepartLane ( MSVehicle & veh) const
inherited

Finds a depart lane for the given vehicle parameters.

Depending on the depart lane procedure a depart lane is chosen. Repeated calls with the same vehicle may return different results if the procedure is "random" or "free". In case no appropriate lane was found, 0 is returned.

Parameters
[in]vehThe vehicle to get the depart lane for
Returns
a possible/chosen depart lane, 0 if no lane can be used

Definition at line 677 of file MSEdge.cpp.

References ALLOWED_FREE, allowedLanes(), MSRoute::begin(), BEST_FREE, BEST_LANE_LOOKAHEAD, BEST_PROB, DEFAULT, SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, FIRST_ALLOWED, FREE, MSVehicle::getBestLanes(), getDepartPosBound(), getFirstAllowed(), getFreeLane(), MSBaseVehicle::getParameter(), getProbableLane(), RandHelper::getRandomFrom(), MSBaseVehicle::getRoute(), MSBaseVehicle::getVClass(), MSVehicleType::getVehicleClass(), getVehicleMaxSpeed(), MSBaseVehicle::getVehicleType(), GIVEN, isInternal(), MIN2(), myDefaultDepartLane, myDefaultDepartLaneDefinition, myLanes, RANDOM, MSRoute::size(), and MSVehicle::updateBestLanes().

Referenced by insertVehicle(), and validateDepartSpeed().

Here is the caller graph for this function:

◆ getDepartLaneMeso()

MSLane * MSEdge::getDepartLaneMeso ( SUMOVehicle & veh) const
inherited

consider given departLane parameter (only for validating speeds)

Definition at line 665 of file MSEdge.cpp.

References SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOTrafficObject::getParameter(), MSVehicleType::getVehicleClass(), SUMOTrafficObject::getVehicleType(), GIVEN, and myLanes.

Referenced by validateDepartSpeed().

Here is the caller graph for this function:

◆ getDepartPosBound()

double MSEdge::getDepartPosBound ( const MSVehicle & veh,
bool upper = true ) const
protectedinherited

return upper bound for the depart position on this edge

Definition at line 617 of file MSEdge.cpp.

References BASE, DEFAULT, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, FREE, getLength(), MSVehicleType::getLength(), MSBaseVehicle::getParameter(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getVehicleType(), GIVEN, LAST, MIN2(), myLanes, myLength, RANDOM, and RANDOM_FREE.

Referenced by getDepartLane().

Here is the caller graph for this function:

◆ getDistance()

double MSEdge::getDistance ( ) const
inlineinherited

Returns the kilometrage/mileage encoding at the start of the edge (negative values encode descending direction).

Definition at line 344 of file MSEdge.h.

References myDistance.

◆ getDistanceAt()

double MSEdge::getDistanceAt ( double pos) const
inherited

Returns the kilometrage/mileage at the given offset along the edge.

Definition at line 1698 of file MSEdge.cpp.

References myDistance.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getReferenceDistance(), and MSFCDExport::write().

Here is the caller graph for this function:

◆ getDistanceTo()

double MSEdge::getDistanceTo ( const MSEdge * other,
const bool doBoundaryEstimate = false ) const
inherited

optimistic air distance heuristic for use in routing

Parameters
[in]otherThe edge to which the distance shall be returned
[in]doBoundaryEstimatewhether the distance should be estimated by looking at the distance of the bounding boxes
Returns
The distance to the other edge

Definition at line 1167 of file MSEdge.cpp.

References Boundary::distanceTo2D(), getLanes(), isTazConnector(), MSEdge(), and myBoundary.

◆ getDouble()

◆ getEdgeType()

const std::string & MSEdge::getEdgeType ( ) const
inlineinherited

Returns the type of the edge.

Definition at line 320 of file MSEdge.h.

References myEdgeType.

Referenced by MELoop::buildSegmentsFor(), GUIEdge::getTypeParameterWindow(), inferEdgeType(), MSTrafficLightLogic::initMesoTLSPenalties(), and recalcCache().

Here is the caller graph for this function:

◆ getExaggeration()

◆ getFirstAllowed()

MSLane * MSEdge::getFirstAllowed ( SUMOVehicleClass vClass,
bool defaultFirst = false,
int routingMode = 0 ) const
inherited

Definition at line 755 of file MSEdge.cpp.

References myLanes.

Referenced by MSBaseVehicle::addStop(), getDepartLane(), MSDevice_Tripinfo::notifyEnter(), and MSDevice_Tripinfo::notifyLeave().

Here is the caller graph for this function:

◆ getFlow()

double MSEdge::getFlow ( ) const
inherited

return flow based on meanSpead

Note
: may produced incorrect results when jammed

Definition at line 1630 of file MSEdge.cpp.

References MSGlobals::gMesoNet, and myLanes.

Referenced by GUIEdge::getColorValue(), GUIEdge::getParameterWindow(), and GUIEdge::getScaleValue().

Here is the caller graph for this function:

◆ getFreeLane()

MSLane * MSEdge::getFreeLane ( const std::vector< MSLane * > * allowed,
const SUMOVehicleClass vclass,
double departPos ) const
inherited

Finds the emptiest lane allowing the vehicle class.

The emptiest lane is the one which vehicle insertion is most likely to succeed.

If there are no vehicles before departPos, then the lane with the largest gap between departPos and the last vehicle is Otheriwise the lane with lowes occupancy is selected If there is more than one, the first according to its index in the lane container is chosen.

If allowed==0, the lanes allowed for the given vehicle class will be used.

Parameters
[in]allowedThe lanes to choose from
[in]vclassThe vehicle class to look for
[in]departPosAn upper bound on vehicle depart position
Returns
the least occupied lane
See also
allowedLanes

Definition at line 547 of file MSEdge.cpp.

References allowedLanes(), MSVehicle::getPositionOnLane(), and myLength.

Referenced by MSVehicleTransfer::checkInsertions(), and getDepartLane().

Here is the caller graph for this function:

◆ getFromJunction()

◆ getFullName()

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

Definition at line 95 of file GUIGlObject.h.

References myFullName.

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

Here is the caller graph for this function:

◆ getFunction()

SumoXMLEdgeFunc MSEdge::getFunction ( ) const
inlineinherited

Returns the edge type (SumoXMLEdgeFunc).

Returns
This edge's SumoXMLEdgeFunc
See also
SumoXMLEdgeFunc

Definition at line 259 of file MSEdge.h.

References myFunction.

Referenced by checkAndRegisterBiDirEdge(), GUIEdge::getColorValue(), and MSRailSignalControl::vehicleStateChanged().

Here is the caller graph for this function:

◆ getGLIcon()

FXIcon * GUIGlObject::getGLIcon ( ) const
inherited

get icon associated with this GL Object

Definition at line 217 of file GUIGlObject.cpp.

References myIcon.

Referenced by GNENetworkElement::getShapeEditedPopUpMenu().

Here is the caller graph for this function:

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inlineinherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 105 of file GUIGlObject.h.

References myGlID.

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

◆ getID()

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

Returns the id.

Returns
The stored id

Definition at line 73 of file Named.h.

References myID.

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

◆ getIDs()

std::vector< GUIGlID > GUIEdge::getIDs ( bool includeInternal)
static

Definition at line 106 of file GUIEdge.cpp.

References GUIGlObject::getGlID(), GUIEdge(), MSEdge::isNormal(), and MSEdge::myDict.

Referenced by GUISUMOViewParent::getObjectIDs(), and GUINet::getParameterWindow().

Here is the caller graph for this function:

◆ getIDSecure()

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

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

Definition at line 66 of file Named.h.

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

◆ getInternalFollowingEdge()

const MSEdge * MSEdge::getInternalFollowingEdge ( const MSEdge * followerAfterInternal,
SUMOVehicleClass vClass ) const
inherited
Todo
extension: inner junctions are not filled

Definition at line 934 of file MSEdge.cpp.

References MSEdge(), and myLanes.

Referenced by getInternalFollowingLengthTo(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MELoop::nextSegment(), and MSRoute::writeEdgeIDs().

Here is the caller graph for this function:

◆ getInternalFollowingLengthTo()

double MSEdge::getInternalFollowingLengthTo ( const MSEdge * followerAfterInternal,
SUMOVehicleClass vClass ) const
inherited

returns the length of all internal edges on the junction until reaching the non-internal edge followerAfterInternal.

Definition at line 956 of file MSEdge.cpp.

References getInternalFollowingEdge(), getLength(), isInternal(), and MSEdge().

Referenced by MSLCM_SL2015::checkStrategicChange().

Here is the caller graph for this function:

◆ getLane()

MSLane & GUIEdge::getLane ( int laneNo)

returns the enumerated lane (!!! why not private with a friend?)

Definition at line 99 of file GUIEdge.cpp.

References MSEdge::myLanes.

◆ getLaneOffsets()

std::pair< double, double > GUIEdge::getLaneOffsets ( double x1,
double y1,
double x2,
double y2,
double prev,
double wanted )
static

returns the position on the line given by the coordinates where "prev" is the length of the line and "wanted" the distance from the begin !!! should be within another class

◆ getLanes()

const std::vector< MSLane * > & MSEdge::getLanes ( ) const
inlineinherited

Returns this edge's lanes.

Returns
This edge's lanes

Definition at line 168 of file MSEdge.h.

References myLanes.

Referenced by MSPModel_JuPedSim::add(), MSVehicleTransfer::add(), NLHandler::addConflict(), NLHandler::addConnection(), GUIEdge::addRerouter(), MSRouteHandler::addStop(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilters(), MELoop::buildSegmentsFor(), libsumo::Helper::buildStopParameters(), MSBaseVehicle::calculateArrivalParams(), MSEdgeControl::changeLanes(), MELoop::changeSegment(), MSPerson::checkAccess(), MSLaneChangerSublane::checkChangeOpposite(), MSStageMoving::checkDepartLane(), MSVehicleTransfer::checkInsertions(), GUIEdge::closeTraffic(), MSPModel_NonInteracting::CState::computeDuration(), MSLCM_SL2015::computeSublaneShift(), MSVehicle::estimateTimeToNextStop(), MSVehicle::executeMove(), libsumo::Helper::findCloserLane(), MEVehicle::getAngle(), MSLaneChanger::getBestLanesOpposite(), GUIMEVehicle::getCenteringBoundary(), MSDriveWay::getDepartureDriveway(), MSRoute::getDistanceBetween(), getDistanceTo(), LIBSUMO_NAMESPACE::Vehicle::getDrivingDistance(), LIBSUMO_NAMESPACE::Vehicle::getDrivingDistance2D(), MSStage::getEdgeAngle(), MSStage::getEdgePosition(), libsumo::Helper::getLaneChecking(), MSLane::getLeaderOnConsecutive(), getLengthGeometryFactor(), MSPModel_Striping::getNextLane(), getOccupancy(), MSCFModel_CC::getParameter(), MSVehicle::getPastLanesUntil(), GUIEdge::getPendingEmits(), MSInsertionControl::getPendingEmits(), GUIContainer::getPosition(), MEVehicle::getPosition(), MSPModel_NonInteracting::PState::getPosition(), MSVehicle::getPreviousLane(), MSTriggeredRerouter::getRailSignal(), LIBSUMO_NAMESPACE::Vehicle::getReferenceDistance(), MEVehicle::getRightSideOnEdge(), MSBaseVehicle::getRNG(), MSTransportable::getRNG(), MSBaseVehicle::getRNGIndex(), MSTransportable::getRNGIndex(), GUIEdge::getSegmentAtPosition(), LIBSUMO_NAMESPACE::Person::getSlope(), MEVehicle::getSlope(), MSTransportable::getSlope(), getSpeedLimit(), GUIEdge::getTotalLength(), MSDevice_SSM::getUpstreamVehicles(), getVehicleMaxSpeed(), getVehicles(), GUIMEVehicle::getVisualPosition(), getWaitingSeconds(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), MSDriveWay::hasRS(), MSIdling_Stop::idle(), MSVehicle::Influencer::influenceChangeDecision(), MSActuatedTrafficLightLogic::init(), NEMALogic::init(), MSRailSignal::initDriveWays(), GUINet::initGUIStructures(), MSPModel_Striping::initWalkingAreaPaths(), MSBaseVehicle::interpretOppositeStop(), MSPedestrianPushButton::isActiveForEdge(), isEmpty(), GUISUMOViewParent::isSelected(), isSuperposable(), MEVehicle::loadState(), libsumo::Helper::moveToXYMap(), MSRouteProbe::MSRouteProbe(), parallelLane(), NLTriggerBuilder::parseAndBuildCalibrator(), MSLCM_SL2015::prepareStep(), TraCIServerAPI_Vehicle::processSet(), MESegment::receive(), MSStageTrip::reroute(), LIBSUMO_NAMESPACE::Edge::setAllowedSVCPermissions(), setBidiLanes(), GUIEdge::setFunctionalColor(), GUITriggeredRerouter::shiftProbs(), GUIViewTraffic::showLaneReachability(), LIBSUMO_NAMESPACE::Edge::storeShape(), MSVehicle::updateBestLanes(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSFCDExport::write(), MSFullExport::writeEdge(), MSMeanData::writeEdge(), MSQueueExport::writeEdge(), MSXMLRawOut::writeEdge(), MSFullExport::writePersons(), and MSFCDExport::writeTransportable().

◆ getLastBlocked()

std::pair< double, SUMOTime > MSEdge::getLastBlocked ( int index) const
inherited

retrieve properties of a blocked vehicle that wants to chane to the lane with the given index

Definition at line 1711 of file MSEdge.cpp.

References myLaneChanger.

Referenced by MSAbstractLaneChangeModel::getCooperativeHelpSpeed().

Here is the caller graph for this function:

◆ getLastFailedInsertionTime()

SUMOTime MSEdge::getLastFailedInsertionTime ( ) const
inlineinherited

Returns the last time a vehicle could not be inserted.

Returns
The current value

Definition at line 604 of file MSEdge.h.

References myLastFailedInsertionTime.

◆ getLength()

double MSEdge::getLength ( ) const
inlineinherited

return the length of the edge

Returns
The edge's length

Definition at line 694 of file MSEdge.h.

References myLength.

Referenced by LIBSUMO_NAMESPACE::Person::add(), MSRouteHandler::addPersonTrip(), MSRouteHandler::addRideOrTransport(), MSDriveWay::addSidings(), MSRouteHandler::addStop(), LIBSUMO_NAMESPACE::Person::appendDrivingStage(), libsumo::Helper::applySubscriptionFilters(), MSBaseVehicle::basePos(), NLTriggerBuilder::buildCalibrator(), MELoop::buildSegmentsFor(), MSStageDriving::canLeaveVehicle(), MSPModel_NonInteracting::PState::computeDuration(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), MSStoppingPlaceRerouter::evaluateDestination(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), MSDevice_SSM::findSurroundingVehicles(), MSStageDriving::getArrivalPos(), MSRoutingEngine::getAssumedSpeed(), getCurrentTravelTime(), getDepartPosBound(), MSRoute::getDistanceBetween(), MSRailSignal::LinkInfo::getDriveWay(), MSRoutingEngine::getEffort(), MSRoutingEngine::getEffortBike(), getInternalFollowingLengthTo(), LIBSUMO_NAMESPACE::InductionLoop::getIntervalMeanSpeed(), getMeanSpeed(), getMinimumTravelTime(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), GUIEdge::getParameterWindow(), NLTriggerBuilder::getPosition(), GUIEdge::getTotalLength(), getTravelTimeAggregated(), MSIdling_RandomCircling::idle(), MSTrafficLightLogic::initMesoTLSPenalties(), insertVehicle(), libsumo::Helper::moveToXYMap(), MSTriggeredRerouter::overtakingTrain(), MSRouteHandler::parseWalkPositions(), MSRoutingEngine::patchSpeedForTurns(), MSDevice_Taxi::prepareStop(), MSStageTrip::reroute(), MSRoutingEngine::setEdgeTravelTime(), GUIViewTraffic::showLaneReachability(), MELoop::teleportVehicle(), MSTriggeredRerouter::triggerRouting(), MEVehicle::updateDetectors(), and MSMeanData::writeEdge().

◆ getLengthGeometryFactor()

double MSEdge::getLengthGeometryFactor ( ) const
inherited

return shape.length() / myLength

Definition at line 1199 of file MSEdge.cpp.

References getLanes(), and myLanes.

◆ getMeanFriction()

double MSEdge::getMeanFriction ( ) const
inherited

get the mean friction over the lanes

Definition at line 1032 of file MSEdge.cpp.

References myLanes.

Referenced by GUIEdge::getParameterWindow().

Here is the caller graph for this function:

◆ getMeanSpeed()

double MSEdge::getMeanSpeed ( ) const
inherited

get the mean speed

Definition at line 991 of file MSEdge.cpp.

References getLength(), getSpeedLimit(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, myBidiEdge, myEmptyTraveltime, and myLanes.

Referenced by GUIEdge::getColorValue(), getCurrentTravelTime(), getMeanSpeedBike(), GUIEdge::getParameterWindow(), GUIEdge::getRelativeSpeed(), and GUIEdge::getScaleValue().

Here is the caller graph for this function:

◆ getMeanSpeedBike()

double MSEdge::getMeanSpeedBike ( ) const
inherited

get the mean speed of all bicycles on this edge

Definition at line 1045 of file MSEdge.cpp.

References getMeanSpeed(), getSpeedLimit(), MSGlobals::gUseMesoSim, and myLanes.

◆ getMesoColor()

RGBColor GUIEdge::getMesoColor ( ) const
inline

Definition at line 224 of file GUIEdge.h.

References myMesoColor.

◆ getMesoPermissions()

SVCPermissions MSEdge::getMesoPermissions ( SVCPermissions p,
SVCPermissions ignoreIgnored = 0 )
staticinherited

Definition at line 316 of file MSEdge.cpp.

References myMesoIgnoredVClasses.

Referenced by MESegment::MESegment(), and rebuildAllowedLanes().

Here is the caller graph for this function:

◆ getMesoPositions()

const std::map< const MEVehicle *, std::pair< double, int > > & MSEdge::getMesoPositions ( ) const
inherited

◆ getMicrosimID()

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

Returns the id of the object as known to microsim.

Definition at line 144 of file GUIGlObject.h.

References myMicrosimID.

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

◆ getMinimumTravelTime()

double MSEdge::getMinimumTravelTime ( const SUMOVehicle *const veh) const
inlineinherited

returns the minimum travel time for the given vehicle

Definition at line 485 of file MSEdge.h.

References CONNECTOR, getLength(), getVehicleMaxSpeed(), myEmptyTraveltime, myFunction, and myTimePenalty.

Referenced by MSVehicle::estimateTimeToNextStop(), MSRoutingEngine::getEffort(), MSRoutingEngine::getEffortBike(), MSNet::getTravelTime(), and MSTriggeredRerouter::overtakingTrain().

Here is the caller graph for this function:

◆ getNormalBefore()

const MSEdge * MSEdge::getNormalBefore ( ) const
inherited

if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself

Definition at line 971 of file MSEdge.cpp.

References MSGlobals::gUsingInternalLanes, and MSEdge().

Referenced by MSBaseVehicle::addStop(), MSRouteHandler::addStop(), inferEdgeType(), and LIBSUMO_NAMESPACE::Vehicle::moveTo().

Here is the caller graph for this function:

◆ getNormalSuccessor()

const MSEdge * MSEdge::getNormalSuccessor ( ) const
inherited

if this edge is an internal edge, return its first normal successor, otherwise the edge itself

Definition at line 981 of file MSEdge.cpp.

References MSEdge().

Referenced by MSDriveWay::addSidings(), MSRouteHandler::addStop(), MSLaneChanger::getBestLanesOpposite(), inferEdgeType(), and MSVehicle::joinTrainPartFront().

Here is the caller graph for this function:

◆ getNumDrivingLanes()

int MSEdge::getNumDrivingLanes ( ) const
inherited

return the number of lanes that permit non-weak modes if the edge allows non weak modes and the number of lanes otherwise

Definition at line 1548 of file MSEdge.cpp.

References myCombinedPermissions, myLanes, SVC_PEDESTRIAN, SVC_WHEELCHAIR, and SVCAll.

Referenced by MSMeanData::writeEdge().

Here is the caller graph for this function:

◆ getNumericalID()

int MSEdge::getNumericalID ( ) const
inlineinherited

Returns the numerical id of the edge.

Returns
This edge's numerical id

Definition at line 307 of file MSEdge.h.

References myNumericalID.

Referenced by MSRoutingEngine::addEdgeTravelTime(), MSRoutingEngine::applyExtras(), MELoop::buildSegmentsFor(), MSEdgeControl::changeLanes(), MELoop::changeSegment(), dictionary(), MSMeanData_Amitran::getEdgeID(), MSRoutingEngine::getEffort(), MSRoutingEngine::getEffortBike(), MELoop::getSegmentForEdge(), MSRoutingEngine::loadState(), MELoop::nextSegment(), MSEdge::by_id_sorter::operator()(), setBidiLanes(), and MSRoutingEngine::setEdgeTravelTime().

Here is the caller graph for this function:

◆ getNumLanes()

int MSEdge::getNumLanes ( ) const
inlineinherited

Definition at line 172 of file MSEdge.h.

References myLanes.

Referenced by MSVehicle::executeMove(), libsumo::Helper::findCloserLane(), MSMeanData_Net::getAttributeValue(), MSLaneChanger::getBestLanesOpposite(), LIBSUMO_NAMESPACE::InductionLoop::getIntervalOccupancy(), MSLane::getLeaderOnConsecutive(), MSBaseVehicle::interpretOppositeStop(), parallelLane(), and setBidiLanes().

Here is the caller graph for this function:

◆ getNumPredecessors()

int MSEdge::getNumPredecessors ( ) const
inlineinherited

Returns the number of edges this edge is connected to.

Returns
The number of edges following this edge

Definition at line 410 of file MSEdge.h.

References myPredecessors.

Referenced by MSRouteHandler::parseFromViaTo().

Here is the caller graph for this function:

◆ getNumSuccessors()

int MSEdge::getNumSuccessors ( ) const
inlineinherited

Returns the number of edges that may be reached from this edge.

Returns
The number of following edges

Definition at line 388 of file MSEdge.h.

References mySuccessors.

Referenced by MELoop::buildSegmentsFor(), and MSRouteHandler::parseFromViaTo().

Here is the caller graph for this function:

◆ getOccupancy()

double MSEdge::getOccupancy ( ) const
inherited

return mean occupancy on this edges lanes or segments

Note
MESegment only tracks brutto occupancy so we compute this from sratch

Definition at line 1608 of file MSEdge.cpp.

References getLanes(), MSBaseVehicle::getLength(), getVehicles(), MSGlobals::gUseMesoSim, myLanes, and myLength.

◆ getOppositeEdge()

const MSEdge * MSEdge::getOppositeEdge ( ) const
inherited

Returns the opposite direction edge if on exists else a nullptr.

Definition at line 1374 of file MSEdge.cpp.

References myLanes.

Referenced by MSBaseVehicle::addStop(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilters(), MSDevice_SSM::findFoeConflictLane(), MSLaneChanger::getBestLanesOpposite(), MSBaseVehicle::interpretOppositeStop(), parallelLane(), and MSVehicle::updateBestLanes().

Here is the caller graph for this function:

◆ getOptionalName()

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

Returns the street name.

Reimplemented from GUIGlObject.

Definition at line 258 of file GUIEdge.cpp.

References MSEdge::myStreetName.

◆ getOtherTazConnector()

const MSEdge * MSEdge::getOtherTazConnector ( ) const
inlineinherited

Definition at line 300 of file MSEdge.h.

References MSEdge(), and myOtherTazConnector.

◆ getParameter()

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

Returns the value for a given key.

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

Reimplemented in MSActuatedTrafficLightLogic, MSSimpleTrafficLightLogic, and NEMALogic.

Definition at line 90 of file Parameterised.cpp.

References myMap.

Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), NBEdgeCont::attachRemoved(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), GUIPointOfInterest::drawGL(), GNEPOI::drawPOI(), EnergyParams::EnergyParams(), MSPModel_JuPedSim::execute(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUIBusStop::finishedLoading(), MSStoppingPlace::finishedLoading(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GUIEdge::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), MSBaseVehicle::getPrefixedParameter(), GNETAZRelData::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), SUMOTrafficObject::getStringParam(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSStoppingPlaceRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSInsertionControl::hasTaxiDeviceType(), MSRailSignalControl::haveDeadlock(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), MSStageDriving::init(), PushButtonLogic::init(), SigmoidLogic::init(), MSTrafficLightLogic::initMesoTLSPenalties(), SUMOVTypeParameter::initRailVisualizationParameters(), NWWriter_OpenDrive::mapmatchRoadObjects(), mergeParameters(), MSDispatch::MSDispatch(), MSDispatch_Greedy::MSDispatch_Greedy(), MSDispatch_GreedyShared::MSDispatch_GreedyShared(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), NIImporter_OpenStreetMap::RelationHandler::myEndElement(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), NBRailwayTopologyAnalyzer::reverseEdge(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), MSVehicle::slowDownForSchedule(), NBEdgeCont::splitAt(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), NBEdge::updateRemovedNodes(), MSDevice_SSM::useGeoCoords(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().

◆ getParametersMap()

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

◆ getParametersStr()

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

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

Definition at line 130 of file Parameterised.cpp.

References myMap.

Referenced by GNEAttributeCarrier::getCommonAttribute().

Here is the caller graph for this function:

◆ getParameterWindow()

◆ getParentName()

◆ getPendingEmits()

double GUIEdge::getPendingEmits ( ) const

get number of vehicles waiting for departure on this edge

Definition at line 629 of file GUIEdge.cpp.

References MSNet::getInsertionControl(), MSNet::getInstance(), MSEdge::getLanes(), and MSInsertionControl::getPendingEmits().

Referenced by getColorValue(), getParameterWindow(), and getScaleValue().

Here is the caller graph for this function:

◆ getPermissions()

SVCPermissions MSEdge::getPermissions ( ) const
inlineinherited

◆ getPersons()

const std::set< MSTransportable *, ComparatorNumericalIdLess > & MSEdge::getPersons ( ) const
inlineinherited

Returns this edge's persons set.

Avoids the creation of new vector as in getSortedPersons

Returns
This edge's persons.

Definition at line 204 of file MSEdge.h.

References myPersons.

Referenced by MSLCM_LC2013::_wantsChange(), MSLink::checkWalkingAreaFoe(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount(), MSPedestrianPushButton::isActiveForEdge(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::updateExpectedSublaneSpeeds().

Here is the caller graph for this function:

◆ getPersonsSecure()

const std::set< MSTransportable *, ComparatorNumericalIdLess > & GUIEdge::getPersonsSecure ( ) const
inline

Returns this edge's persons set; locks it for microsimulation.

Avoids the creation of new vector as in getSortedPersons

Returns
Please note that it is necessary to release the person container afterwards using "releasePersons".
This edge's persons.

Definition at line 165 of file GUIEdge.h.

References myLock, and MSEdge::myPersons.

◆ getPopUpMenu()

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

◆ getPredecessors()

const MSEdgeVector & MSEdge::getPredecessors ( ) const
inlineinherited

◆ getPreference()

double MSEdge::getPreference ( const SUMOVTypeParameter & pars) const
inherited

Definition at line 1720 of file MSEdge.cpp.

References MSNet::getInstance(), MSNet::getPreference(), and getRoutingType().

◆ getPriority()

int MSEdge::getPriority ( ) const
inlineinherited

Returns the priority of the edge.

Definition at line 337 of file MSEdge.h.

References myPriority.

Referenced by MSRoutingEngine::applyExtras(), and MSLane::outgoing_lane_priority_sorter::operator()().

Here is the caller graph for this function:

◆ getProbableLane()

MSLane * MSEdge::getProbableLane ( const std::vector< MSLane * > * allowed,
const SUMOVehicleClass vclass,
double departPos,
double maxSpeed ) const
inherited

Finds the most probable lane allowing the vehicle class.

The most probable lane is the one which best corresponds to the desired speed of the vehicle Vehicles with lower speeds will use lanes to the right while vehicles with higher speeds will use lanes to the left

Parameters
[in]allowedThe lanes to choose from
[in]vclassThe vehicle class to look for
[in]departPosAn upper bound on vehicle depart position
[in]maxSpeedThe vehicles maxSpeed (including speedFactor)
Returns
the least occupied lane
See also
allowedLanes

Definition at line 579 of file MSEdge.cpp.

References allowedLanes(), MSVehicle::getPositionOnLane(), getVehicleMaxSpeed(), MAX2(), and myLength.

Referenced by getDepartLane().

Here is the caller graph for this function:

◆ getRailwayRoutingEdge()

RailEdge< MSEdge, SUMOVehicle > * MSEdge::getRailwayRoutingEdge ( ) const
inlineinherited

Definition at line 878 of file MSEdge.h.

References myRailwayRoutingEdge.

◆ getRelativeSpeed()

double GUIEdge::getRelativeSpeed ( ) const

return meanSpead divided by allowedSpeed

Definition at line 421 of file GUIEdge.cpp.

References getAllowedSpeed(), and MSEdge::getMeanSpeed().

Referenced by getColorValue(), and getScaleValue().

Here is the caller graph for this function:

◆ getReversedRoutingEdge()

ReversedEdge< MSEdge, SUMOVehicle > * MSEdge::getReversedRoutingEdge ( ) const
inlineinherited

Definition at line 871 of file MSEdge.h.

References myReversedRoutingEdge.

◆ getRoutingSpeed()

double MSEdge::getRoutingSpeed ( ) const
inherited

Returns the averaged speed used by the routing device.

Definition at line 1075 of file MSEdge.cpp.

References MSRoutingEngine::getAssumedSpeed().

Referenced by GUIEdge::getColorValue(), GUIEdge::getParameterWindow(), and GUILane::getParameterWindow().

Here is the caller graph for this function:

◆ getRoutingType()

const std::string & MSEdge::getRoutingType ( ) const
inlineinherited

Returns the type of the edge.

Definition at line 326 of file MSEdge.h.

References myEdgeType, and myRoutingType.

Referenced by MSRoutingEngine::applyExtras(), getPreference(), and GUIEdge::getTypeParameterWindow().

Here is the caller graph for this function:

◆ getScaleValue()

double GUIEdge::getScaleValue ( const GUIVisualizationSettings & s,
int activeScheme ) const

gets the scaling value according to the current scheme index

Definition at line 549 of file GUIEdge.cpp.

References GUIVisualizationSettings::edgeDataScaling, getAllowedSpeed(), MSEdge::getBruttoOccupancy(), GUINet::getEdgeData(), MSEdge::getFlow(), GUIGlObject::getGlID(), GUINet::getGUIInstance(), MSEdge::getMeanSpeed(), getPendingEmits(), getRelativeSpeed(), GUIGlObject::getType(), and gSelected.

Referenced by drawGL(), and GUILane::drawGL().

Here is the caller graph for this function:

◆ getScaleVisual()

virtual double GUIGlObject::getScaleVisual ( ) const
inlinevirtualinherited

return individual scaling factor for this object

Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.

Definition at line 190 of file GUIGlObject.h.

Referenced by GUIVisualizationSizeSettings::getExaggeration().

Here is the caller graph for this function:

◆ getSegmentAtPosition()

MESegment * GUIEdge::getSegmentAtPosition ( const Position & pos)

returns the segment closest to the given position

Definition at line 574 of file GUIEdge.cpp.

References MSEdge::getLanes(), MSGlobals::gMesoNet, and PositionVector::nearest_offset_to_point2D().

Referenced by getParameterWindow(), and getPopUpMenu().

Here is the caller graph for this function:

◆ getSegmentColors()

const std::vector< RGBColor > & GUIEdge::getSegmentColors ( ) const
inline

return segment colors (meso)

Definition at line 220 of file GUIEdge.h.

References mySegmentColors.

◆ getSortedContainers()

std::vector< MSTransportable * > MSEdge::getSortedContainers ( SUMOTime timestep,
bool includeRiding = false ) const
inherited

Returns this edge's containers sorted by pos.

Returns
This edge's containers sorted by pos

Definition at line 1258 of file MSEdge.cpp.

References myContainers.

Referenced by MSXMLRawOut::writeEdge().

Here is the caller graph for this function:

◆ getSortedPersons()

std::vector< MSTransportable * > MSEdge::getSortedPersons ( SUMOTime timestep,
bool includeRiding = false ) const
inherited

Returns this edge's persons sorted by pos.

Returns
This edge's persons sorted by pos

Definition at line 1240 of file MSEdge.cpp.

References myLanes, and myPersons.

Referenced by MSLane::StoringVisitor::add(), MSLane::detectPedestrianJunctionCollision(), and MSXMLRawOut::writeEdge().

Here is the caller graph for this function:

◆ getSpeedLimit()

double MSEdge::getSpeedLimit ( ) const
inherited

Returns the speed limit of the edge @caution The speed limit of the first lane is retured; should probably be the fastest edge.

Returns
The maximum speed allowed on this edge

Definition at line 1192 of file MSEdge.cpp.

References getLanes(), and myLanes.

Referenced by LIBSUMO_NAMESPACE::InductionLoop::getIntervalMeanSpeed(), getMeanSpeed(), getMeanSpeedBike(), GUIEdge::getParameterWindow(), MSVehicleControl::getVehicleMeanSpeeds(), recalcCache(), GUIViewTraffic::showLaneReachability(), MELoop::teleportVehicle(), validateDepartSpeed(), MSFCDExport::write(), MSMeanData::writeEdge(), and MSFCDExport::writeTransportable().

Here is the caller graph for this function:

◆ getStopPosition()

const Position MSEdge::getStopPosition ( const SUMOVehicleParameter::Stop & stop)
staticinherited

return the coordinates of the center of the given stop

Definition at line 1186 of file MSEdge.cpp.

References MSLane::dictionary(), SUMOVehicleParameter::Stop::endPos, SUMOVehicleParameter::Stop::lane, and SUMOVehicleParameter::Stop::startPos.

◆ getStreetName()

const std::string & MSEdge::getStreetName ( ) const
inlineinherited

Returns the street name of the edge.

Definition at line 314 of file MSEdge.h.

References myStreetName.

Referenced by GUIEdge::drawGL(), and GUIEdge::getParameterWindow().

Here is the caller graph for this function:

◆ getSubLaneSides()

const std::vector< double > MSEdge::getSubLaneSides ( ) const
inlineinherited

Returns the right side offsets of this edge's sublanes.

Definition at line 670 of file MSEdge.h.

References mySublaneSides.

Referenced by MSLCM_SL2015::_wantsChangeSublane().

Here is the caller graph for this function:

◆ getSuccessors()

const MSEdgeVector & MSEdge::getSuccessors ( SUMOVehicleClass vClass = SVC_IGNORING) const
inherited

Returns the following edges, restricted by vClass.

Parameters
[in]vClassThe vClass for which to restrict the successors
Returns
The eligible following edges

Definition at line 1292 of file MSEdge.cpp.

References allowedLanes(), CONNECTOR, MSNet::getInstance(), MSGlobals::gNumThreads, lock(), myClassesSuccessorMap, myFunction, mySuccessors, and SVC_IGNORING.

Referenced by GUIEdge::closeBuilding(), MSPModel_Striping::getArbitraryPath(), getWalkingAreas(), MSPModel_Striping::guessPath(), MSVehicleControl::handleTriggeredDepart(), MSIdling_RandomCircling::idle(), MSPModel_Striping::insertWalkArePaths(), MSPedestrianPushButton::isActiveForEdge(), MELoop::isEnteringRoundabout(), libsumo::Helper::moveToXYMap(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSStageTrip::reroute(), GUIViewTraffic::showLaneReachability(), and MSMeanData::writeAggregatedTAZ().

Here is the caller graph for this function:

◆ getTimePenalty()

double MSEdge::getTimePenalty ( ) const
inlineinherited

Definition at line 495 of file MSEdge.h.

References myTimePenalty.

Referenced by GUIEdge::getParameterWindow(), and GUILane::getParameterWindow().

Here is the caller graph for this function:

◆ getToJunction()

◆ getTotalLength()

double GUIEdge::getTotalLength ( bool includeInternal,
bool eachLane )
static

Definition at line 121 of file GUIEdge.cpp.

References MSEdge::getLanes(), MSEdge::getLength(), MSEdge::isInternal(), MSEdge::MSEdge(), and MSEdge::myDict.

Referenced by GUINet::getParameterWindow().

Here is the caller graph for this function:

◆ getTravelTimeAggregated()

double MSEdge::getTravelTimeAggregated ( const MSEdge *const edge,
const SUMOVehicle *const veh,
double time )
staticinherited

◆ getTravelTimeStatic()

double MSEdge::getTravelTimeStatic ( const MSEdge *const edge,
const SUMOVehicle *const veh,
double time )
inlinestaticinherited

Returns the travel time for the given edge.

Parameters
[in]edgeThe edge for which the travel time shall be retrieved
[in]vehThe vehicle for which the travel time on this edge shall be retrieved
[in]timeThe time for which the travel time shall be returned [s]
Returns
The traveltime needed by the given vehicle to pass the edge at the given time

Definition at line 506 of file MSEdge.h.

References MSNet::getInstance(), MSNet::getTravelTime(), and MSEdge().

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inlineinherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 157 of file GUIGlObject.h.

References myGLObjectType.

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

◆ getTypeParameterWindow()

◆ getVehicleMaxSpeed()

double MSEdge::getVehicleMaxSpeed ( const SUMOTrafficObject *const veh) const
inherited

Returns the maximum speed the vehicle may use on this edge.

@caution Only the first lane is considered

Returns
The maximum velocity on this edge for the given vehicle

Definition at line 1204 of file MSEdge.cpp.

References getLanes(), and myLanes.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getAllowedSpeed(), GUIMEVehicle::getColorValue(), getDepartLane(), getMinimumTravelTime(), getProbableLane(), MSDevice_Transportable::notifyMoveInternal(), MSDevice_Tripinfo::notifyMoveInternal(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSTriggeredRerouter::overtakingTrain(), and validateDepartSpeed().

Here is the caller graph for this function:

◆ getVehicleNumber()

int MSEdge::getVehicleNumber ( ) const
inherited

return total number of vehicles on this edges lanes or segments

Definition at line 1566 of file MSEdge.cpp.

References getVehicles().

Referenced by GUIEdge::getParameterWindow().

Here is the caller graph for this function:

◆ getVehicles()

std::vector< const SUMOVehicle * > MSEdge::getVehicles ( ) const
inherited

return vehicles on this edges lanes or segments

Definition at line 1529 of file MSEdge.cpp.

References getLanes(), MSGlobals::gMesoNet, and MSGlobals::gUseMesoSim.

Referenced by getOccupancy(), getVehicleNumber(), and MSTransportableDevice_FCDReplay::move().

Here is the caller graph for this function:

◆ getViaSuccessors()

const MSConstEdgePairVector & MSEdge::getViaSuccessors ( SUMOVehicleClass vClass = SVC_IGNORING,
bool ignoreTransientPermissions = false ) const
inherited

Returns the following edges with internal vias, restricted by vClass.

Parameters
[in]vClassThe vClass for which to restrict the successors
Returns
The eligible following edges

Definition at line 1322 of file MSEdge.cpp.

References allowedLanes(), CONNECTOR, MSNet::getInstance(), MSGlobals::gNumThreads, lock(), myClassesViaSuccessorMap, myFunction, myHaveTransientPermissions, myOrigClassesViaSuccessorMap, myViaSuccessors, and SVC_IGNORING.

Referenced by GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeRelWeight(), MSRoute::getDistanceBetween(), and MSRoutingEngine::patchSpeedForTurns().

Here is the caller graph for this function:

◆ getWaitingSeconds()

double MSEdge::getWaitingSeconds ( ) const
inherited

return accumated waiting time for all vehicles on this edges lanes or segments

Definition at line 1592 of file MSEdge.cpp.

References getLanes(), MSGlobals::gMesoNet, and MSGlobals::gUseMesoSim.

◆ getWaitingVehicle()

SUMOVehicle * MSEdge::getWaitingVehicle ( MSTransportable * transportable,
const double position ) const
inherited

◆ getWidth()

double MSEdge::getWidth ( ) const
inlineinherited

Returns the edges's width (sum over all lanes).

Returns
This edges's width

Definition at line 665 of file MSEdge.h.

References myWidth.

Referenced by MSLCM_SL2015::_wantsChangeSublane(), MSPModel_JuPedSim::add(), MSLaneChangerSublane::addOutsideLeaders(), MSVehicle::brakeForOverlap(), and MSVehicle::planMoveInternal().

Here is the caller graph for this function:

◆ hasChangeProhibitions()

bool MSEdge::hasChangeProhibitions ( SUMOVehicleClass svc,
int index ) const
inherited

return whether this edge prohibits changing for the given vClass when starting on the given lane index

Definition at line 1396 of file MSEdge.cpp.

References myLanes.

◆ hasDistance()

bool MSEdge::hasDistance ( ) const
inlineinherited

Definition at line 352 of file MSEdge.h.

References myDistance.

◆ hasLaneChanger()

bool MSEdge::hasLaneChanger ( ) const
inlineinherited

Definition at line 749 of file MSEdge.h.

References myLaneChanger.

Referenced by MSVehicle::planMoveInternal().

Here is the caller graph for this function:

◆ hasMinorLink()

bool MSEdge::hasMinorLink ( ) const
inherited

whether any lane has a minor link

Definition at line 1384 of file MSEdge.cpp.

References myLanes.

◆ hasParameter()

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

Returns whether the parameter is set.

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

Definition at line 84 of file Parameterised.cpp.

References myMap.

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

Here is the caller graph for this function:

◆ hasTransientPermissions()

bool MSEdge::hasTransientPermissions ( ) const
inherited

Definition at line 1705 of file MSEdge.cpp.

References myHaveTransientPermissions.

Referenced by MSBaseVehicle::hasValidRoute().

Here is the caller graph for this function:

◆ incVaporization()

SUMOTime MSEdge::incVaporization ( SUMOTime t)
inherited

Enables vaporization.

The internal vaporization counter is increased enabling the vaporization. Called from the event handler.

Parameters
[in]tThe current time (unused)
Returns
Time to next call (always 0)
Exceptions
ProcessErrornot thrown by this method, just derived

Definition at line 533 of file MSEdge.cpp.

References myVaporizationRequests.

Referenced by NLTriggerBuilder::buildVaporizer().

Here is the caller graph for this function:

◆ inferEdgeType()

◆ initialize()

void MSEdge::initialize ( const std::vector< MSLane * > * lanes)
inherited

Initialize the edge.

Parameters
[in]allowedInformation which edges may be reached from which lanes
[in]lanesList of this edge's lanes

Definition at line 105 of file MSEdge.cpp.

References CONNECTOR, MSGlobals::gLateralResolution, myCombinedPermissions, myFunction, myLanes, mySublaneSides, myWidth, MSLeaderInfo::numSublanes(), and SVCAll.

Referenced by NLHandler::addDistrict(), and NLBuilder::build().

Here is the caller graph for this function:

◆ insertIDs()

void MSEdge::insertIDs ( std::vector< std::string > & into)
staticinherited

Inserts IDs of all known edges into the given vector.

Definition at line 1136 of file MSEdge.cpp.

References myDict.

◆ insertVehicle()

bool MSEdge::insertVehicle ( SUMOVehicle & v,
SUMOTime time,
const bool checkOnly = false,
const bool forceCheck = false ) const
inherited

Tries to insert the given vehicle into the network.

The procedure for choosing the proper lane is determined, first. In dependence to this, the proper lane is chosen.

Insertion itself is done by calling the chose lane's "insertVehicle" method but only if the checkOnly argument is false. The check needs to be certain only in the negative case (if false is returned, there is no way this vehicle would be inserted).

Parameters
[in]vThe vehicle to insert
[in]timeThe current simulation time
[in]checkOnlyWhether we perform only the check without actually inserting
[in]forceCheckWhether the full insertion check should be run for each pending vehicle or whether insertion on lanes for which an insertion has already a failed should be ignored in the current time step.
Returns
Whether the vehicle could be inserted
See also
MSLane::insertVehicle

Definition at line 803 of file MSEdge.cpp.

References DEFAULT, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, SUMOVehicleParameter::departProcedure, FIRST_ALLOWED, FREE, MSGlobals::gCheckRoutes, MSLane::getBruttoOccupancy(), getDepartLane(), Named::getID(), MSLane::getIndex(), getLength(), MSVehicleType::getLengthWithGap(), MESegment::getNextSegment(), SUMOTrafficObject::getParameter(), SUMOVehicle::getRouteValidity(), SUMOTrafficObject::getVehicleType(), GIVEN, MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, Parameterised::hasParameter(), MESegment::hasSpaceFor(), SUMOVehicleParameter::id, MESegment::initialise(), MSLane::insertVehicle(), isTazConnector(), isVaporizing(), myDefaultDepartLaneDefinition, myFailedInsertionMemory, myLanes, myLastFailedInsertionTime, myLength, RandHelper::rand(), RANDOM, RANDOM_FREE, MSBaseVehicle::ROUTE_VALID, SPLIT, time2string(), TL, TLF, validateDepartSpeed(), and WRITE_WARNINGF.

Referenced by MSInsertionControl::checkCandidates(), and MSInsertionControl::tryInsert().

Here is the caller graph for this function:

◆ invalidateMesoCache()

void MSEdge::invalidateMesoCache ( ) const
inlineinherited

Definition at line 887 of file MSEdge.h.

References myLastCacheUpdate.

◆ isBlocked()

bool GUIGlObject::isBlocked ( ) const
inlineinherited

get blocking status

Definition at line 167 of file GUIGlObject.h.

References myAmBlocked.

◆ isConnectedTo()

bool MSEdge::isConnectedTo ( const MSEdge & destination,
SUMOVehicleClass vclass,
bool ignoreTransientPermissions = false ) const
inlineinherited

Definition at line 244 of file MSEdge.h.

References allowedLanes(), and MSEdge().

Referenced by MSDriveWay::match().

Here is the caller graph for this function:

◆ isCrossing()

bool MSEdge::isCrossing ( ) const
inlineinherited

return whether this edge is a pedestrian crossing

Definition at line 274 of file MSEdge.h.

References CROSSING, and myFunction.

Referenced by MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildSensorForLane(), MSPModel_Striping::getNextLane(), MSPModel_Striping::initWalkingAreaPaths(), MSPedestrianPushButton::loadCrossingEdgeMap(), libsumo::Helper::moveToXYMap(), MSPedestrianPushButton::MSPedestrianPushButton(), and recalcCache().

Here is the caller graph for this function:

◆ isDelayed()

bool MSEdge::isDelayed ( ) const
inlineinherited

Definition at line 745 of file MSEdge.h.

References myAmDelayed, and myBidiEdge.

◆ isEmpty()

bool MSEdge::isEmpty ( ) const
inherited

whether this edge has no vehicles

more efficient than retrieving vehicle number

Definition at line 1572 of file MSEdge.cpp.

References getLanes(), MSGlobals::gMesoNet, and MSGlobals::gUseMesoSim.

◆ isFringe()

bool MSEdge::isFringe ( ) const
inlineinherited

return whether this edge is at the fringe of the network

Definition at line 775 of file MSEdge.h.

References myAmFringe.

Referenced by MSVehicle::planMoveInternal().

Here is the caller graph for this function:

◆ isGLObjectLocked()

bool GUIGlObject::isGLObjectLocked ( ) const
virtualinherited

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

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 231 of file GUIGlObject.cpp.

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

Here is the caller graph for this function:

◆ isInternal()

bool MSEdge::isInternal ( ) const
inlineinherited

return whether this edge is an internal edge

Definition at line 269 of file MSEdge.h.

References INTERNAL, and myFunction.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLane::addApproachingLane(), GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeRelWeight(), MSBaseVehicle::addStop(), MSRouteHandler::addStop(), allowsLaneChanging(), MSVehicle::brakeForOverlap(), MSSOTLE2Sensors::buildContinueSensior(), buildLaneChanger(), MSSOTLE2Sensors::buildSensorForLane(), canChangeToOpposite(), MSLaneChanger::checkChange(), MSVehicle::enterLaneAtMove(), libsumo::Helper::findCloserLane(), MSDevice_SSM::findSurroundingVehicles(), MSVehicle::getBestLanesContinuation(), getDepartLane(), MSRoute::getDistanceBetween(), getInternalFollowingLengthTo(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), GUIEdge::getTotalLength(), MSDevice_SSM::getUpstreamVehicles(), inferEdgeType(), MSVehicle::joinTrainPartFront(), MSLink::lastWasContMajor(), MSLink::lastWasContState(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), libsumo::Helper::moveToXYMap(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSDevice_GLOSA::notifyEnter(), MSVehicle::planMoveInternal(), recalcCache(), MSLink::setRequestInformation(), MSVehicle::unsafeLinkAhead(), MSVehicle::updateBestLanes(), MSLCM_DK2008::wantsChangeToLeft(), MSLCM_DK2008::wantsChangeToRight(), and MSRoute::writeEdgeIDs().

Here is the caller graph for this function:

◆ isNormal()

bool MSEdge::isNormal ( ) const
inlineinherited

return whether this edge is an internal edge

Definition at line 264 of file MSEdge.h.

References myFunction, and NORMAL.

Referenced by MSBaseVehicle::addStop(), MSDriveWay::buildRoute(), MSVehicle::computeFurtherLanes(), MSPModel_JuPedSim::execute(), GUIEdge::getIDs(), MSRailSignal::initDriveWays(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MELoop::nextSegment(), recalcCache(), MSFullExport::writeEdge(), and MSXMLRawOut::writeEdge().

Here is the caller graph for this function:

◆ isParameterValid()

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

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

Definition at line 242 of file Parameterised.cpp.

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

Referenced by areAttributesValid(), and areParametersValid().

Here is the caller graph for this function:

◆ isRoundabout()

bool MSEdge::isRoundabout ( ) const
inlineinherited

Definition at line 732 of file MSEdge.h.

References myAmRoundabout.

Referenced by MSLCHelper::getRoundaboutDistBonus(), and MESegment::limitedControlOverride().

Here is the caller graph for this function:

◆ isSelected()

bool GUIEdge::isSelected ( ) const
overridevirtual

whether this lane is selected in the GUI

Reimplemented from MSEdge.

Definition at line 624 of file GUIEdge.cpp.

References GUIGlObject::getGlID(), GLO_EDGE, and gSelected.

◆ isSuperposable()

bool MSEdge::isSuperposable ( const MSEdge * other)
privateinherited

Definition at line 1466 of file MSEdge.cpp.

References getLanes(), MSEdge(), and myLanes.

Referenced by checkAndRegisterBiDirEdge().

Here is the caller graph for this function:

◆ isTazConnector()

bool MSEdge::isTazConnector ( ) const
inlineinherited

Definition at line 292 of file MSEdge.h.

References CONNECTOR, and myFunction.

Referenced by MSPModel_JuPedSim::add(), addSuccessor(), GUIEdge::closeBuilding(), GUIEdge::getBoundary(), getDistanceTo(), MSVehicleControl::handleTriggeredDepart(), insertVehicle(), MSDevice_Routing::preInsertionReroute(), MSBaseVehicle::reroute(), MSStageTrip::reroute(), and setJunctions().

Here is the caller graph for this function:

◆ isVaporizing()

bool MSEdge::isVaporizing ( ) const
inlineinherited

Returns whether vehicles on this edge shall be vaporized.

Returns
Whether no vehicle shall be on this edge

Definition at line 443 of file MSEdge.h.

References myVaporizationRequests.

Referenced by MSLane::executeMovements(), insertVehicle(), MSVehicle::processLaneAdvances(), MESegment::receive(), and MSInsertionControl::tryInsert().

Here is the caller graph for this function:

◆ isVisible()

virtual bool GUIGlObject::isVisible ( const GUIVisualizationSettings & ) const
inlinevirtualinherited

check if object is visible (Currently used only in netedit)

Reimplemented in GNEEdge, and GNELane.

Definition at line 214 of file GUIGlObject.h.

Referenced by GUIViewObjectsHandler::selectObject().

Here is the caller graph for this function:

◆ isWalkingArea()

bool MSEdge::isWalkingArea ( ) const
inlineinherited

◆ leftLane()

MSLane * MSEdge::leftLane ( const MSLane *const lane) const
inherited

Returns the lane left to the one given, 0 if the given lane is leftmost.

Parameters
[in]laneThe lane right to the one to be returned
Returns
The lane left to the given, 0 if no such lane exists
Todo
This method searches for the given in the container; probably, this could be done faster

Definition at line 451 of file MSEdge.cpp.

References parallelLane().

Referenced by MSDevice_ElecHybrid::notifyMove().

Here is the caller graph for this function:

◆ lock()

void GUIEdge::lock ( ) const
inlineoverridevirtual

grant exclusive access to the mesoscopic state

Reimplemented from MSEdge.

Definition at line 204 of file GUIEdge.h.

References myLock.

◆ markAsFrontElement()

void GUIGlObject::markAsFrontElement ( )
virtualinherited

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

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 238 of file GUIGlObject.cpp.

◆ markAsRoundabout()

void MSEdge::markAsRoundabout ( )
inlineinherited

Definition at line 736 of file MSEdge.h.

References myAmRoundabout.

Referenced by NLHandler::addRoundabout().

Here is the caller graph for this function:

◆ markDelayed()

void MSEdge::markDelayed ( ) const
inlineinherited

Definition at line 740 of file MSEdge.h.

References myAmDelayed.

Referenced by MSRoutingEngine::loadState().

Here is the caller graph for this function:

◆ mergeParameters()

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

Adds or appends all given parameters from the map.

Parameters
[in]mapArgThe keys/values to insert

Definition at line 65 of file Parameterised.cpp.

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

Referenced by NBEdge::append().

Here is the caller graph for this function:

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void * )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 233 of file GUIGlObject.h.

Referenced by GUIViewTraffic::onGamingClick().

Here is the caller graph for this function:

◆ operator=()

GUIEdge & GUIEdge::operator= ( const GUIEdge & s)
private

invalidated assignment operator

References GUIEdge().

◆ parallelLane()

MSLane * MSEdge::parallelLane ( const MSLane *const lane,
int offset,
bool includeOpposite = true ) const
inherited

Returns the lane with the given offset parallel to the given lane one or 0 if it does not exist.

Parameters
[in]laneThe base lane
[in]offsetThe offset of the result lane
[in]includeOpposteWhether an opposite direction lane may be returned
Todo
This method searches for the given in the container; probably, this could be done faster

Definition at line 463 of file MSEdge.cpp.

References MSLane::getIndex(), getLanes(), getNumLanes(), getOppositeEdge(), MSEdge(), and myLanes.

Referenced by leftLane(), and rightLane().

Here is the caller graph for this function:

◆ parseEdgesList() [1/2]

void MSEdge::parseEdgesList ( const std::string & desc,
ConstMSEdgeVector & into,
const std::string & rid )
staticinherited

Parses the given string assuming it contains a list of edge ids divided by spaces.

Splits the string at spaces, uses polymorph method to generate edge vector.

Parameters
[in]descThe string containing space-separated edge ids
[out]intoThe vector to fill
[in]ridThe id of the route these description belongs to; used for error message generation
Exceptions
ProcessErrorIf one of the strings contained is not a known edge id

Definition at line 1144 of file MSEdge.cpp.

References StringTokenizer::getVector(), and parseEdgesList().

Referenced by MSRouteHandler::addTranship(), MSRouteHandler::addWalk(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), MSDriveWay::loadState(), MSRouteHandler::openRoute(), parseEdgesList(), MSRouteHandler::parseFromViaTo(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), and LIBSUMO_NAMESPACE::Vehicle::setVia().

Here is the caller graph for this function:

◆ parseEdgesList() [2/2]

void MSEdge::parseEdgesList ( const std::vector< std::string > & desc,
ConstMSEdgeVector & into,
const std::string & rid )
staticinherited

Parses the given string vector assuming it edge ids.

Parameters
[in]descThe string vector containing edge ids
[out]intoThe vector to fill
[in]ridThe id of the route these description belongs to; used for error message generation
Exceptions
ProcessErrorIf one of the strings contained is not a known edge id

Definition at line 1152 of file MSEdge.cpp.

References dictionary(), and MSEdge().

◆ postLoadInitLaneChanger()

void MSEdge::postLoadInitLaneChanger ( )
inherited

Definition at line 252 of file MSEdge.cpp.

References myLaneChanger.

◆ prohibits()

bool MSEdge::prohibits ( const SUMOVehicle *const vehicle) const
inlineinherited

Returns whether the vehicle (class) is not allowed on the edge.

Definition at line 636 of file MSEdge.h.

References SUMOTrafficObject::getVClass(), SUMOTrafficObject::ignoreTransientPermissions(), myCombinedPermissions, and myOriginalCombinedPermissions.

Referenced by MSBaseVehicle::reroute().

Here is the caller graph for this function:

◆ rebuildAllowedLanes()

◆ rebuildAllowedTargets()

void MSEdge::rebuildAllowedTargets ( const bool updateVehicles = true)
inherited

Definition at line 384 of file MSEdge.cpp.

References addToAllowed(), allowedLanes(), MSEdge(), myAllowed, myAllowedTargets, myClassesSuccessorMap, myCombinedPermissions, myLanes, myMinimumPermissions, mySuccessors, SUMOVehicleClass_MAX, SVC_IGNORING, and SVC_PRIVATE.

Referenced by rebuildAllowedLanes().

Here is the caller graph for this function:

◆ recalcCache()

◆ releasePersons()

void GUIEdge::releasePersons ( ) const
inline

Allows to use the container for microsimulation again.

Unlocks "myLock" preventing usage by microsimulation.

Definition at line 174 of file GUIEdge.h.

References myLock.

◆ removeActiveAddVisualisation()

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

remove additional user-griggered visualisations

Reimplemented in GUIBaseVehicle, and GUIPerson.

Definition at line 230 of file GUIGlObject.h.

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 125 of file GUIGlObject.h.

◆ removeParameterTable()

void GUIGlObject::removeParameterTable ( GUIParameterTableWindow * w)
inherited

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

Parameters
[in]wThe closed parameter window

Definition at line 423 of file GUIGlObject.cpp.

References myParamWindows.

◆ removeTransportable()

void GUIEdge::removeTransportable ( MSTransportable * t) const
inlineoverridevirtual

Reimplemented from MSEdge.

Definition at line 149 of file GUIEdge.h.

References myLock, and MSEdge::removeTransportable().

◆ removeWaiting()

void MSEdge::removeWaiting ( const SUMOVehicle * vehicle) const
inherited

Removes a vehicle from the list of waiting vehicles.

Definition at line 1494 of file MSEdge.cpp.

References MSGlobals::gNumSimThreads, lock(), and myWaiting.

Referenced by MSVehicleControl::handleTriggeredDepart().

Here is the caller graph for this function:

◆ resetTAZ()

void MSEdge::resetTAZ ( MSJunction * junction)
inherited

Definition at line 185 of file MSEdge.cpp.

References MSJunction::getIncoming(), MSEdge(), myPredecessors, and mySuccessors.

Referenced by NLHandler::addDistrict().

Here is the caller graph for this function:

◆ restricts()

bool MSEdge::restricts ( const SUMOVehicle * const ) const
inlineinherited

Returns whether this edge has restriction parameters forbidding the given vehicle to pass it The restriction mechanism is not implemented yet for the microsim, so it always returns false.

Parameters
[in]vehicleThe vehicle for which the information has to be returned
Returns
Whether the vehicle must not enter this edge

Definition at line 653 of file MSEdge.h.

◆ rightLane()

MSLane * MSEdge::rightLane ( const MSLane *const lane) const
inherited

Returns the lane right to the one given, 0 if the given lane is rightmost.

Parameters
[in]laneThe lane left to the one to be returned
Returns
The lane right to the given, 0 if no such lane exists
Todo
This method searches for the given in the container; probably, this could be done faster

Definition at line 457 of file MSEdge.cpp.

References parallelLane().

Referenced by MSDevice_ElecHybrid::notifyMove().

Here is the caller graph for this function:

◆ selectGLObject()

void GUIGlObject::selectGLObject ( )
virtualinherited

select GLObject (Currently used only in netedit)

Reimplemented in GNEAdditional, GNEDemandElement, GNEGenericData, and GNENetworkElement.

Definition at line 250 of file GUIGlObject.cpp.

◆ setBidiLanes()

void MSEdge::setBidiLanes ( )
privateinherited

Definition at line 1441 of file MSEdge.cpp.

References Named::getID(), getLanes(), getNumericalID(), getNumLanes(), MSLane::getShape(), myBidiEdge, myLanes, TL, and WRITE_WARNINGF.

Referenced by checkAndRegisterBiDirEdge().

Here is the caller graph for this function:

◆ setBlocked()

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

set blocking status

Definition at line 172 of file GUIGlObject.h.

References myAmBlocked.

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

Here is the caller graph for this function:

◆ setColor()

void GUIEdge::setColor ( const GUIVisualizationSettings & s) const

sets the color according to the currente settings

Definition at line 427 of file GUIEdge.cpp.

References GUIVisualizationSettings::edgeColorer, GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), getColorValue(), GUIPropertySchemeStorage< T >::getScheme(), myMesoColor, mySegmentColors, setFunctionalColor(), and setMultiColor().

Referenced by drawGL().

Here is the caller graph for this function:

◆ setCrossingEdges()

void MSEdge::setCrossingEdges ( const std::vector< std::string > & crossingEdges)
inlineinherited

Sets the crossed edge ids for a crossing edge.

Definition at line 360 of file MSEdge.h.

References myCrossingEdges.

◆ setFrictionCoefficient()

void MSEdge::setFrictionCoefficient ( double val) const
inherited

Sets a new friction coefficient COF for all lanes [later to be (used by TraCI and MSCalibrator)].

Parameters
[in]valthe new coefficient in [0..1]

◆ setFunctionalColor()

bool GUIEdge::setFunctionalColor ( const GUIColorer & c) const

sets the color according to the current scheme index and some edge function

Definition at line 438 of file GUIEdge.cpp.

References GUIPropertySchemeStorage< T >::getActive(), MSEdge::getLanes(), myMesoColor, and GUILane::setFunctionalColor().

Referenced by setColor().

Here is the caller graph for this function:

◆ setID()

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

resets the id

Parameters
[in]newIDThe new id of this object

Reimplemented in MSBaseVehicle, MSTransportable, and NBLoadedSUMOTLDef.

Definition at line 81 of file Named.h.

References myID.

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

Here is the caller graph for this function:

◆ setJunctions()

void MSEdge::setJunctions ( MSJunction * from,
MSJunction * to )
inherited

Definition at line 1353 of file MSEdge.cpp.

References MSJunction::getPosition(), isTazConnector(), myBoundary, myFromJunction, and myToJunction.

Referenced by NLHandler::myEndElement().

Here is the caller graph for this function:

◆ setLastFailedInsertionTime()

void MSEdge::setLastFailedInsertionTime ( SUMOTime time) const
inlineinherited

Sets the last time a vehicle could not be inserted.

Parameters
[in]timethe new value

Definition at line 612 of file MSEdge.h.

References myLastFailedInsertionTime.

Referenced by MSInsertionControl::tryInsert().

Here is the caller graph for this function:

◆ setMaxSpeed()

void MSEdge::setMaxSpeed ( const double val,
const bool modified = true,
const double jamThreshold = -1 )
inherited

Sets a new maximum speed for all lanes (used by TraCI and MSCalibrator).

Parameters
[in]valthe new speed in m/s
[in]modifiedwhether this modifies the original speed
[in]jamThresholdalso set a new jamThreshold

Definition at line 1211 of file MSEdge.cpp.

References myLanes.

◆ setMesoIgnoredVClasses()

void MSEdge::setMesoIgnoredVClasses ( SVCPermissions ignored)
inlinestaticinherited

Definition at line 840 of file MSEdge.h.

References myMesoIgnoredVClasses.

Referenced by NLEdgeControlBuilder::build().

Here is the caller graph for this function:

◆ setMicrosimID()

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

Changes the microsimID of the object.

Note
happens in netedit

Definition at line 268 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ setMultiColor()

bool GUIEdge::setMultiColor ( const GUIColorer & c) const

sets multiple colors according to the current scheme index and edge function

Definition at line 460 of file GUIEdge.cpp.

References GUIPropertySchemeStorage< T >::getActive(), getAllowedSpeed(), GUIPropertyScheme< T >::getColor(), GUIPropertySchemeStorage< T >::getScheme(), MSGlobals::gMesoNet, and mySegmentColors.

Referenced by setColor().

Here is the caller graph for this function:

◆ setOtherTazConnector()

void MSEdge::setOtherTazConnector ( const MSEdge * edge)
inlineinherited

Definition at line 296 of file MSEdge.h.

References MSEdge(), and myOtherTazConnector.

Referenced by NLHandler::addDistrict(), and NLBuilder::build().

Here is the caller graph for this function:

◆ setParameter()

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

Sets a parameter.

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

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

Definition at line 45 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ setParameters() [1/2]

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

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

Definition at line 146 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ setParameters() [2/2]

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

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

Definition at line 152 of file Parameterised.cpp.

References myMap.

◆ setParametersStr()

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

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

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

Definition at line 161 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ showDeadEnd()

bool GUIEdge::showDeadEnd ( ) const
inline

Definition at line 228 of file GUIEdge.h.

References myShowDeadEnd.

◆ unlock()

void GUIEdge::unlock ( ) const
inlineoverridevirtual

release exclusive access to the mesoscopic state

Reimplemented from MSEdge.

Definition at line 209 of file GUIEdge.h.

References myLock.

◆ unsetParameter()

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

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 51 of file Parameterised.cpp.

References myMap.

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

Here is the caller graph for this function:

◆ updateGLObject()

void GUIGlObject::updateGLObject ( )
virtualinherited

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

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

Definition at line 256 of file GUIGlObject.cpp.

◆ updateParameters()

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

◆ validateDepartSpeed()

◆ writeParams()

void Parameterised::writeParams ( OutputDevice & device) const
inherited

write Params in the given outputdevice

Definition at line 176 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

Field Documentation

◆ GUIGlObjectTypeNamesInitializer

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

vector for TypeNames Initializer

Definition at line 52 of file GUIGlObject.h.

◆ INVALID_ID

◆ INVALID_PRIORITY

const double GUIGlObject::INVALID_PRIORITY
staticinherited

◆ myAllowed

AllowedLanesCont MSEdge::myAllowed
protectedinherited

Associative container from vehicle class to allowed-lanes.

Definition at line 974 of file MSEdge.h.

Referenced by allowedLanes(), allowedLanes(), rebuildAllowedLanes(), and rebuildAllowedTargets().

◆ myAllowedTargets

AllowedLanesByTarget MSEdge::myAllowedTargets
protectedinherited

From target edge to lanes allowed to be used to reach it.

Definition at line 978 of file MSEdge.h.

Referenced by allowedLanes(), rebuildAllowedLanes(), and rebuildAllowedTargets().

◆ myAmBlocked

bool GUIGlObject::myAmBlocked = false
privateinherited

whether the object can be deleted

Definition at line 341 of file GUIGlObject.h.

Referenced by isBlocked(), and setBlocked().

◆ myAmDelayed

bool MSEdge::myAmDelayed
mutableprotectedinherited

whether this edge had a vehicle with less than max speed on it

Definition at line 1026 of file MSEdge.h.

Referenced by getCurrentTravelTime(), isDelayed(), markDelayed(), and MSEdge().

◆ myAmFringe

bool MSEdge::myAmFringe
protectedinherited

whether this edge is at the network fringe

Definition at line 1032 of file MSEdge.h.

Referenced by closeBuilding(), isFringe(), and MSEdge().

◆ myAmRoundabout

bool MSEdge::myAmRoundabout
protectedinherited

whether this edge belongs to a roundabout

Definition at line 1029 of file MSEdge.h.

Referenced by isRoundabout(), markAsRoundabout(), and MSEdge().

◆ myBidiEdge

const MSEdge* MSEdge::myBidiEdge
privateinherited

the oppositing superposable edge

Definition at line 1090 of file MSEdge.h.

Referenced by checkAndRegisterBiDirEdge(), getBidiEdge(), getMeanSpeed(), isDelayed(), MSEdge(), and setBidiLanes().

◆ myBoundary

Boundary MSEdge::myBoundary
protectedinherited

The bounding rectangle of end nodes incoming or outgoing edges for taz connectors or of my own start and end node for normal edges.

Definition at line 1068 of file MSEdge.h.

Referenced by addSuccessor(), getDistanceTo(), and setJunctions().

◆ myCachedMesoPos

std::map<const MEVehicle*, std::pair<double, int> > MSEdge::myCachedMesoPos
mutableprotectedinherited

Mesoscopic vehicle positions.

Definition at line 1074 of file MSEdge.h.

Referenced by getMesoPositions().

◆ myClassesSuccessorMap

std::map<SUMOVehicleClass, MSEdgeVector> MSEdge::myClassesSuccessorMap
mutableprotectedinherited

The successors available for a given vClass.

Definition at line 1061 of file MSEdge.h.

Referenced by getSuccessors(), and rebuildAllowedTargets().

◆ myClassesViaSuccessorMap

std::map<SUMOVehicleClass, MSConstEdgePairVector> MSEdge::myClassesViaSuccessorMap
mutableprotectedinherited

The successors available for a given vClass.

Definition at line 1064 of file MSEdge.h.

Referenced by getViaSuccessors(), and rebuildAllowedLanes().

◆ myCombinedPermissions

SVCPermissions MSEdge::myCombinedPermissions = 0
protectedinherited

The union of lane permissions for this edge.

Definition at line 984 of file MSEdge.h.

Referenced by allowedLanes(), allowedLanes(), getNumDrivingLanes(), getPermissions(), initialize(), prohibits(), rebuildAllowedLanes(), and rebuildAllowedTargets().

◆ myContainers

std::set<MSTransportable*, ComparatorNumericalIdLess> MSEdge::myContainers
mutableprotectedinherited

Containers on the edge.

Definition at line 968 of file MSEdge.h.

Referenced by addTransportable(), clearState(), GUIEdge::drawGL(), getSortedContainers(), and removeTransportable().

◆ myCrossingEdges

std::vector<std::string> MSEdge::myCrossingEdges
protectedinherited

The crossed edges id for a crossing edge. On not crossing edges it is empty.

Definition at line 950 of file MSEdge.h.

Referenced by getCrossingEdges(), and setCrossingEdges().

◆ myDefaultDepartLane

int MSEdge::myDefaultDepartLane
staticprotectedinherited

Definition at line 1056 of file MSEdge.h.

Referenced by getDefaultDepartLane(), and getDepartLane().

◆ myDefaultDepartLaneDefinition

DepartLaneDefinition MSEdge::myDefaultDepartLaneDefinition
staticprotectedinherited

Definition at line 1055 of file MSEdge.h.

Referenced by getDefaultDepartLaneDefinition(), getDepartLane(), and insertVehicle().

◆ myDict

MSEdge::DictType MSEdge::myDict
staticprotectedinherited

Static dictionary to associate string-ids with objects.

Deprecated
Move to MSEdgeControl, make non-static

Definition at line 1046 of file MSEdge.h.

Referenced by clear(), dictionary(), dictionary(), GUIEdge::getIDs(), GUIEdge::getTotalLength(), and insertIDs().

◆ myDistance

const double MSEdge::myDistance
protectedinherited

the kilometrage/mileage at the start of the edge

Definition at line 1011 of file MSEdge.h.

Referenced by getDistance(), getDistanceAt(), hasDistance(), and MSEdge().

◆ myEdges

MSEdgeVector MSEdge::myEdges
staticprotectedinherited

Static list of edges.

Deprecated
Move to MSEdgeControl, make non-static

Definition at line 1051 of file MSEdge.h.

Referenced by clear(), dictionary(), dictionaryHint(), and getAllEdges().

◆ myEdgeType

std::string MSEdge::myEdgeType
protectedinherited

the type of the edge (optionally used during network creation)

Definition at line 1002 of file MSEdge.h.

Referenced by getEdgeType(), getRoutingType(), inferEdgeType(), and MSEdge().

◆ myEmptyTraveltime

double MSEdge::myEmptyTraveltime
protectedinherited

the traveltime on the empty edge (cached value for speedup)

Definition at line 1020 of file MSEdge.h.

Referenced by getCurrentTravelTime(), getMeanSpeed(), getMinimumTravelTime(), MSEdge(), and recalcCache().

◆ myFailedInsertionMemory

std::set<int> MSEdge::myFailedInsertionMemory
mutableprotectedinherited

A cache for the rejected insertion attempts. Used to assure that no further insertion attempts are made on a lane where an attempt has already failed in the current time step if MSInsertionControl::myEagerInsertionCheck is off.

Definition at line 947 of file MSEdge.h.

Referenced by insertVehicle().

◆ myFromJunction

MSJunction* MSEdge::myFromJunction
protectedinherited

the junctions for this edge

Definition at line 961 of file MSEdge.h.

Referenced by checkAndRegisterBiDirEdge(), getFromJunction(), MSEdge(), and setJunctions().

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 335 of file GUIGlObject.h.

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

◆ myFunction

const SumoXMLEdgeFunc MSEdge::myFunction
protectedinherited

◆ myGlID

const GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 326 of file GUIGlObject.h.

Referenced by getGlID(), and GUIGlObject().

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 329 of file GUIGlObject.h.

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

◆ myHaveTransientPermissions

bool MSEdge::myHaveTransientPermissions
protectedinherited

whether transient permission changes were applied to this edge or a predecessor

Definition at line 992 of file MSEdge.h.

Referenced by allowedLanes(), allowedLanes(), getViaSuccessors(), hasTransientPermissions(), MSEdge(), and rebuildAllowedLanes().

◆ myIcon

FXIcon* GUIGlObject::myIcon
privateinherited

icon associatd with this GL Object

Definition at line 338 of file GUIGlObject.h.

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

◆ myID

std::string Named::myID
protectedinherited

The name of the object.

Definition at line 124 of file Named.h.

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

◆ myLaneChanger

MSLaneChanger* MSEdge::myLaneChanger
protectedinherited

This member will do the lane-change.

Definition at line 933 of file MSEdge.h.

Referenced by buildLaneChanger(), changeLanes(), getLastBlocked(), hasLaneChanger(), MSEdge(), postLoadInitLaneChanger(), and ~MSEdge().

◆ myLanes

◆ myLastCacheUpdate

SUMOTime MSEdge::myLastCacheUpdate = -1
mutableprotectedinherited

time stamp of mesoscopic vehicle positions

Definition at line 1077 of file MSEdge.h.

Referenced by getMesoPositions(), and invalidateMesoCache().

◆ myLastFailedInsertionTime

SUMOTime MSEdge::myLastFailedInsertionTime
mutableprotectedinherited

The time of last insertion failure.

Definition at line 942 of file MSEdge.h.

Referenced by getLastFailedInsertionTime(), insertVehicle(), MSEdge(), and setLastFailedInsertionTime().

◆ myLength

double MSEdge::myLength
protectedinherited

the length of the edge (cached value for speedup)

Definition at line 1017 of file MSEdge.h.

Referenced by getDepartPosBound(), getFreeLane(), getLength(), getOccupancy(), getProbableLane(), insertVehicle(), MSEdge(), and recalcCache().

◆ myLock

FXMutex GUIEdge::myLock
mutableprivate

The mutex used to avoid concurrent updates of myPersons/ myContainers.

Definition at line 259 of file GUIEdge.h.

Referenced by addTransportable(), drawGL(), drawMesoVehicles(), getPersonsSecure(), GUIEdge(), lock(), releasePersons(), removeTransportable(), unlock(), and ~GUIEdge().

◆ myMap

◆ myMesoColor

RGBColor GUIEdge::myMesoColor
mutableprivate

Definition at line 261 of file GUIEdge.h.

Referenced by getMesoColor(), setColor(), and setFunctionalColor().

◆ myMesoIgnoredVClasses

SVCPermissions MSEdge::myMesoIgnoredVClasses
staticprotectedinherited

Definition at line 1053 of file MSEdge.h.

Referenced by getMesoPermissions(), and setMesoIgnoredVClasses().

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 332 of file GUIGlObject.h.

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

◆ myMinimumPermissions

SVCPermissions MSEdge::myMinimumPermissions = SVCAll
protectedinherited

The intersection of lane permissions for this edge.

Definition at line 982 of file MSEdge.h.

Referenced by allowedLanes(), allowedLanes(), rebuildAllowedLanes(), and rebuildAllowedTargets().

◆ myNumericalID

const int MSEdge::myNumericalID
protectedinherited

This edge's numerical id.

Definition at line 927 of file MSEdge.h.

Referenced by getNumericalID(), and MSEdge().

◆ myOrigAllowed

AllowedLanesCont MSEdge::myOrigAllowed
protectedinherited

Definition at line 975 of file MSEdge.h.

Referenced by allowedLanes(), and rebuildAllowedLanes().

◆ myOrigAllowedTargets

AllowedLanesByTarget MSEdge::myOrigAllowedTargets
protectedinherited

Definition at line 979 of file MSEdge.h.

Referenced by allowedLanes(), and rebuildAllowedLanes().

◆ myOrigClassesViaSuccessorMap

std::map<SUMOVehicleClass, MSConstEdgePairVector> MSEdge::myOrigClassesViaSuccessorMap
mutableprotectedinherited

Definition at line 1065 of file MSEdge.h.

Referenced by getViaSuccessors(), and rebuildAllowedLanes().

◆ myOriginalCombinedPermissions

SVCPermissions MSEdge::myOriginalCombinedPermissions = SVCAll
protectedinherited

The original union of lane permissions for this edge (before temporary modifications).

Definition at line 989 of file MSEdge.h.

Referenced by allowedLanes(), prohibits(), and rebuildAllowedLanes().

◆ myOriginalMinimumPermissions

SVCPermissions MSEdge::myOriginalMinimumPermissions = SVCAll
protectedinherited

The original intersection of lane permissions for this edge (before temporary modifications).

Definition at line 987 of file MSEdge.h.

Referenced by allowedLanes(), and rebuildAllowedLanes().

◆ myOtherTazConnector

const MSEdge* MSEdge::myOtherTazConnector
protectedinherited

the other taz-connector if this edge isTazConnector, otherwise nullptr

Definition at line 996 of file MSEdge.h.

Referenced by getOtherTazConnector(), MSEdge(), and setOtherTazConnector().

◆ myParamWindows

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

Parameter table windows which refer to this object.

Definition at line 344 of file GUIGlObject.h.

Referenced by addParameterTable(), cleanupOnDestruction(), and removeParameterTable().

◆ myPersons

std::set<MSTransportable*, ComparatorNumericalIdLess> MSEdge::myPersons
mutableprotectedinherited

Persons on the edge for drawing and pushbutton.

Definition at line 965 of file MSEdge.h.

Referenced by addTransportable(), clearState(), GUIEdge::drawGL(), getPersons(), GUIEdge::getPersonsSecure(), getSortedPersons(), and removeTransportable().

◆ myPredecessors

MSEdgeVector MSEdge::myPredecessors
protectedinherited

◆ myPriority

const int MSEdge::myPriority
protectedinherited

the priority of the edge (used during network creation)

Definition at line 1008 of file MSEdge.h.

Referenced by getPriority(), and MSEdge().

◆ myRailwayRoutingEdge

RailEdge<MSEdge, SUMOVehicle>* MSEdge::myRailwayRoutingEdge = nullptr
mutableprivateinherited

Definition at line 1094 of file MSEdge.h.

Referenced by getRailwayRoutingEdge(), and ~MSEdge().

◆ myReversedRoutingEdge

ReversedEdge<MSEdge, SUMOVehicle>* MSEdge::myReversedRoutingEdge = nullptr
mutableprivateinherited

a reversed version for backward routing

Definition at line 1093 of file MSEdge.h.

Referenced by getReversedRoutingEdge(), and ~MSEdge().

◆ myRoutingType

std::string MSEdge::myRoutingType
protectedinherited

the routing type of the edge (used to look up vType and vClass specific routing preferences)

Definition at line 1005 of file MSEdge.h.

Referenced by getRoutingType(), and MSEdge().

◆ mySegmentColors

std::vector<RGBColor> GUIEdge::mySegmentColors
mutable

The color of the segments (cached).

Definition at line 236 of file GUIEdge.h.

Referenced by getSegmentColors(), setColor(), and setMultiColor().

◆ myShowDeadEnd

bool GUIEdge::myShowDeadEnd

whether to highlight this edge as a dead-end edge

Definition at line 239 of file GUIEdge.h.

Referenced by closeBuilding(), and showDeadEnd().

◆ myStreetName

std::string MSEdge::myStreetName
protectedinherited

the real-world name of this edge (need not be unique)

Definition at line 999 of file MSEdge.h.

Referenced by GUIEdge::drawGL(), GUIEdge::getOptionalName(), getStreetName(), and MSEdge().

◆ mySublaneSides

std::vector<double> MSEdge::mySublaneSides
protectedinherited

the right side for each sublane on this edge

Definition at line 1035 of file MSEdge.h.

Referenced by closeBuilding(), getSubLaneSides(), and initialize().

◆ mySuccessors

MSEdgeVector MSEdge::mySuccessors
protectedinherited

◆ myTimePenalty

double MSEdge::myTimePenalty
protectedinherited

flat penalty when computing traveltime

Definition at line 1023 of file MSEdge.h.

Referenced by getMinimumTravelTime(), getTimePenalty(), MSEdge(), and recalcCache().

◆ myToJunction

MSJunction* MSEdge::myToJunction
protectedinherited

Definition at line 962 of file MSEdge.h.

Referenced by checkAndRegisterBiDirEdge(), getToJunction(), MSEdge(), and setJunctions().

◆ myVaporizationRequests

int MSEdge::myVaporizationRequests
protectedinherited

Vaporizer counter.

Definition at line 939 of file MSEdge.h.

Referenced by decVaporization(), incVaporization(), isVaporizing(), and MSEdge().

◆ myViaSuccessors

MSConstEdgePairVector MSEdge::myViaSuccessors
protectedinherited

Definition at line 955 of file MSEdge.h.

Referenced by addSuccessor(), closeBuilding(), and getViaSuccessors().

◆ myWaiting

std::vector<SUMOVehicle*> MSEdge::myWaiting
mutableprotectedinherited

List of waiting vehicles.

Definition at line 1071 of file MSEdge.h.

Referenced by addWaiting(), clearState(), getWaitingVehicle(), and removeWaiting().

◆ myWidth

double MSEdge::myWidth
protectedinherited

Edge width [m].

Definition at line 1014 of file MSEdge.h.

Referenced by closeBuilding(), getWidth(), initialize(), and MSEdge().

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 72 of file GUIGlObject.h.

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


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