Eclipse SUMO - Simulation of Urban MObility
GUIEdge Class Reference

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

#include <GUIEdge.h>

Inheritance diagram for GUIEdge:
Collaboration diagram for GUIEdge:

Public Member Functions

void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
bool allowsLaneChanging () const
 
void buildLaneChanger ()
 Has to be called after all sucessors and predecessors have been set (after closeBuilding()) More...
 
bool canChangeToOpposite ()
 whether this edge allows changing to the opposite direction edge More...
 
virtual void changeLanes (SUMOTime t)
 Performs lane changing on this edge. More...
 
void clearParameter ()
 Clears the parameter map. More...
 
void closeBuilding ()
 
virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additional, user-triggered visualisations. More...
 
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const
 draw name of item More...
 
Boundary getBoundary () const
 Returns the street's geometry. More...
 
const std::vector< std::string > & getCrossingEdges () const
 Gets the crossed edge ids. More...
 
double getCurrentTravelTime (const double minSpeed=NUMERICAL_EPS) const
 Computes and returns the current travel time for this edge. More...
 
double getDistanceTo (const MSEdge *other, const bool doBoundaryEstimate=false) const
 optimistic air distance heuristic for use in routing More...
 
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double. More...
 
const std::string & getID () const
 Returns the id. More...
 
const MSEdgegetInternalFollowingEdge (const MSEdge *followerAfterInternal) const
 
double getInternalFollowingLengthTo (const MSEdge *followerAfterInternal) const
 returns the length of all internal edges on the junction until reaching the non-internal edge followerAfterInternal. More...
 
MSLanegetLane (int laneNo)
 returns the enumerated lane (!!! why not private with a friend?) More...
 
double getLength () const
 return the length of the edge More...
 
double getLengthGeometryFactor () const
 return shape.length() / myLength More...
 
double getMeanSpeed () const
 get the mean speed More...
 
double getMinimumTravelTime (const SUMOVehicle *const veh) const
 returns the minimum travel time for the given vehicle More...
 
const MSEdgegetNormalBefore () const
 if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself More...
 
const MSEdgegetOppositeEdge () const
 Returns the opposite direction edge if on exists else a nullptr. More...
 
const std::string getParameter (const std::string &key, const std::string &defaultValue="") const
 Returns the value for a given key. More...
 
const std::map< std::string, std::string > & getParametersMap () const
 Returns the inner key/value map. More...
 
SVCPermissions getPermissions () const
 
double getRoutingSpeed () const
 Returns the averaged speed used by the routing device. More...
 
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. More...
 
const std::vector< double > getSubLaneSides () const
 Returns the right side offsets of this edge's sublanes. More...
 
double getVehicleMaxSpeed (const SUMOTrafficObject *const veh) const
 Returns the maximum speed the vehicle may use on this edge. More...
 
double getWidth () const
 Returns the edges's width (sum over all lanes) More...
 
 GUIEdge (const std::string &id, int numericalID, const SumoXMLEdgeFunc function, const std::string &streetName, const std::string &edgeType, int priority, double distance)
 Constructor. More...
 
bool hasLaneChanger () const
 
bool hasMinorLink () const
 whether any lane has a minor link More...
 
void initialize (const std::vector< MSLane * > *lanes)
 Initialize the edge. More...
 
bool isDelayed () const
 
bool isFringe () const
 return whether this edge is at the fringe of the network More...
 
bool isRoundabout () const
 
bool knowsParameter (const std::string &key) const
 Returns whether the parameter is known. More...
 
void markAsRoundabout ()
 
void markDelayed () const
 
bool prohibits (const SUMOVehicle *const vehicle) const
 Returns whether the vehicle (class) is not allowed on the edge. More...
 
void rebuildAllowedLanes ()
 
void rebuildAllowedTargets (const bool updateVehicles=true)
 
void recalcCache ()
 Recalculates the cached values. More...
 
void setCrossingEdges (const std::vector< std::string > &crossingEdges)
 Sets the crossed edge ids for a crossing edge. More...
 
void setID (const std::string &newID)
 resets the id More...
 
void setMaxSpeed (double val) const
 Sets a new maximum speed for all lanes (used by TraCI and MSCalibrator) More...
 
void setParameter (const std::string &key, const std::string &value)
 Sets a parameter. More...
 
void unsetParameter (const std::string &key)
 Removes a parameter. More...
 
void updateParameter (const std::map< std::string, std::string > &mapArg)
 Adds or updates all given parameters from the map. More...
 
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice More...
 
 ~GUIEdge ()
 Destructor. More...
 
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. More...
 
MSLanerightLane (const MSLane *const lane) const
 Returns the lane right to the one given, 0 if the given lane is rightmost. More...
 
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. More...
 
const std::vector< MSLane * > & getLanes () const
 Returns this edge's lanes. More...
 
const std::set< MSTransportable * > & getPersons () const
 Returns this edge's persons set. More...
 
std::vector< MSTransportable * > getSortedPersons (SUMOTime timestep, bool includeRiding=false) const
 Returns this edge's persons sorted by pos. More...
 
std::vector< MSTransportable * > getSortedContainers (SUMOTime timestep, bool includeRiding=false) const
 Returns this edge's containers sorted by pos. More...
 
const std::vector< MSLane * > * allowedLanes (const MSEdge &destination, SUMOVehicleClass vclass=SVC_IGNORING) const
 Get the allowed lanes to reach the destination-edge. More...
 
const std::vector< MSLane * > * allowedLanes (SUMOVehicleClass vclass=SVC_IGNORING) const
 Get the allowed lanes for the given vehicle class. More...
 
Access to other edge attributes
SumoXMLEdgeFunc getFunction () const
 Returns the edge type (SumoXMLEdgeFunc) More...
 
bool isNormal () const
 return whether this edge is an internal edge More...
 
bool isInternal () const
 return whether this edge is an internal edge More...
 
bool isCrossing () const
 return whether this edge is a pedestrian crossing More...
 
void checkAndRegisterBiDirEdge (const std::string &bidiID="")
 check and register the opposite superposable edge if any More...
 
const MSEdgegetBidiEdge () const
 return opposite superposable/congruent edge, if it exist and 0 else More...
 
bool isWalkingArea () const
 return whether this edge is walking area More...
 
bool isTazConnector () const
 
int getNumericalID () const
 Returns the numerical id of the edge. More...
 
const std::string & getStreetName () const
 Returns the street name of the edge. More...
 
const std::string & getEdgeType () const
 Returns the type of the edge. More...
 
int getPriority () const
 Returns the priority of the edge. More...
 
double getDistance () const
 Returns the kilometrage/mileage at the start of the edge. More...
 
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. More...
 
int getNumSuccessors () const
 Returns the number of edges that may be reached from this edge. More...
 
const MSEdgeVectorgetSuccessors (SUMOVehicleClass vClass=SVC_IGNORING) const
 Returns the following edges, restricted by vClass. More...
 
const MSConstEdgePairVectorgetViaSuccessors (SUMOVehicleClass vClass=SVC_IGNORING) const
 Returns the following edges with internal vias, restricted by vClass. More...
 
int getNumPredecessors () const
 Returns the number of edges this edge is connected to. More...
 
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. More...
 
SUMOTime incVaporization (SUMOTime t)
 Enables vaporization. More...
 
SUMOTime decVaporization (SUMOTime t)
 Disables vaporization. More...
 
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. More...
 
MSLanegetFreeLane (const std::vector< MSLane * > *allowed, const SUMOVehicleClass vclass, double departPos) const
 Finds the emptiest lane allowing the vehicle class. More...
 
MSLanegetDepartLane (MSVehicle &veh) const
 Finds a depart lane for the given vehicle parameters. More...
 
SUMOTime getLastFailedInsertionTime () const
 Returns the last time a vehicle could not be inserted. More...
 
void setLastFailedInsertionTime (SUMOTime time) const
 Sets the last time a vehicle could not be inserted. More...
 
Atomar getter methods

Returns the full name appearing in the tool tip

Returns
This object's typed id
const std::string & getFullName () const
 
virtual std::string getParentName () const
 Returns the name of the parent object (if any) More...
 
GUIGlID getGlID () const
 Returns the numerical id of the object. More...
 
interfaces to be implemented by derived classes
virtual GUIParameterTableWindowgetTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own type parameter window (optional) More...
 
virtual const std::string & getMicrosimID () const
 Returns the id of the object as known to microsim. More...
 
virtual void setMicrosimID (const std::string &newID)
 Changes the microsimID of the object. More...
 
GUIGlObjectType getType () const
 Returns the type of the object as coded in GUIGlObjectType. More...
 
Parameter table window I/O

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

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

Static Public Member Functions

static void clear ()
 Clears the dictionary. More...
 
static MSEdgedictionary (const std::string &id)
 Returns the MSEdge associated to the key id if exists, otherwise returns 0. More...
 
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. More...
 
static int dictSize ()
 Returns the number of edges. More...
 
static const MSEdgeVectorgetAllEdges ()
 Returns all edges with a numerical id. More...
 
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 More...
 
static std::pair< double, double > getLaneOffsets (double x1, double y1, double x2, double y2, double prev, double wanted)
 
static const Position getStopPosition (const SUMOVehicleParameter::Stop &stop)
 return the coordinates of the center of the given stop More...
 
static double getTotalLength (bool includeInternal, bool eachLane)
 
static double getTravelTimeStatic (const MSEdge *const edge, const SUMOVehicle *const veh, double time)
 Returns the travel time for the given edge. More...
 
static void insertIDs (std::vector< std::string > &into)
 Inserts IDs of all known edges into the given vector. More...
 
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. More...
 
static void parseEdgesList (const std::vector< std::string > &desc, ConstMSEdgeVector &into, const std::string &rid)
 Parses the given string vector assuming it edge ids. More...
 

Static Public Attributes

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

Protected Member Functions

void buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
void buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
double getDepartPosBound (const MSVehicle &veh, bool upper=true) const
 return upper bound for the depart position on this edge More...
 
helper methods for building popup-menus
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header. More...
 
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object. More...
 
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard. More...
 
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object. More...
 
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window. More...
 
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window. More...
 
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More...
 
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window. More...
 

Protected Attributes

bool myAmDelayed
 whether this edge had a vehicle with less than max speed on it More...
 
bool myAmFringe
 whether this edge is at the network fringe More...
 
bool myAmRoundabout
 whether this edge belongs to a roundabout More...
 
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. More...
 
std::map< SUMOVehicleClass, MSEdgeVectormyClassesSuccessorMap
 The successors available for a given vClass. More...
 
std::map< SUMOVehicleClass, MSConstEdgePairVectormyClassesViaSuccessorMap
 The successors available for a given vClass. More...
 
std::set< MSTransportable * > myContainers
 Containers on the edge. More...
 
std::vector< std::string > myCrossingEdges
 The crossed edges id for a crossing edge. On not crossing edges it is empty. More...
 
const double myDistance
 the kilometrage/mileage at the start of the edge More...
 
std::string myEdgeType
 the type of the edge (optionally used during network creation) More...
 
double myEmptyTraveltime
 the traveltime on the empty edge (cached value for speedup) More...
 
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. More...
 
MSJunctionmyFromJunction
 the junctions for this edge More...
 
const SumoXMLEdgeFunc myFunction
 the purpose of the edge More...
 
std::string myID
 The name of the object. More...
 
MSLaneChangermyLaneChanger
 This member will do the lane-change. More...
 
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. More...
 
SUMOTime myLastFailedInsertionTime
 The time of last insertion failure. More...
 
double myLength
 the length of the edge (cached value for speedup) More...
 
const int myNumericalID
 This edge's numerical id. More...
 
std::set< MSTransportable * > myPersons
 Persons on the edge for drawing and pushbutton. More...
 
MSEdgeVector myPredecessors
 The preceeding edges. More...
 
const int myPriority
 the priority of the edge (used during network creation) More...
 
std::string myStreetName
 the real-world name of this edge (need not be unique) More...
 
std::vector< double > mySublaneSides
 the right side for each sublane on this edge More...
 
MSEdgeVector mySuccessors
 The succeeding edges. More...
 
double myTimePenalty
 flat penalty when computing traveltime More...
 
MSJunctionmyToJunction
 
int myVaporizationRequests
 Vaporizer counter. More...
 
MSConstEdgePairVector myViaSuccessors
 
double myWidth
 Edge width [m]. More...
 
Storages for allowed lanes (depending on vehicle classes)
AllowedLanesCont myAllowed
 Associative container from vehicle class to allowed-lanes. More...
 
AllowedLanesByTarget myAllowedTargets
 From target edge to lanes allowed to be used to reach it. More...
 
SVCPermissions myMinimumPermissions
 The intersection of lane permissions for this edge. More...
 
SVCPermissions myCombinedPermissions
 The union of lane permissions for this edge. More...
 

Private Types

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

Private Member Functions

void addToAllowed (const SVCPermissions permissions, const std::vector< MSLane * > *allowedLanes, AllowedLanesCont &laneCont) const
 
std::string createFullName () const
 create full name More...
 
bool isSuperposable (const MSEdge *other)
 

Private Attributes

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

Static Private Attributes

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

inherited from GUIGlObject

std::vector< RGBColormySegmentColors
 The color of the segments (cached) More...
 
FXMutex myLock
 The mutex used to avoid concurrent updates of myPersons/ myContainers. More...
 
RGBColor myMesoColor
 
virtual GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own popup-menu. More...
 
virtual GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own parameter window. More...
 
Boundary getCenteringBoundary () const
 Returns the boundary to which the view shall be centered in order to show the object. More...
 
const std::string getOptionalName () const
 Returns the street name. More...
 
void drawGL (const GUIVisualizationSettings &s) const
 Draws the object. More...
 
void addPerson (MSTransportable *p) const
 
void removePerson (MSTransportable *p) const
 
void addContainer (MSTransportable *c) const
 Add a container to myContainers. More...
 
void removeContainer (MSTransportable *c) const
 Remove container from myContainers. More...
 
int getVehicleNo () const
 
std::string getVehicleIDs () const
 
double getBruttoOccupancy () const
 
double getAllowedSpeed () const
 
double getFlow () const
 return flow based on meanSpead More...
 
double getRelativeSpeed () const
 return meanSpead divided by allowedSpeed More...
 
void setColor (const GUIVisualizationSettings &s) const
 sets the color according to the currente settings More...
 
bool setFunctionalColor (const GUIColorer &c) const
 sets the color according to the current scheme index and some edge function More...
 
bool setMultiColor (const GUIColorer &c) const
 sets multiple colors according to the current scheme index and edge function More...
 
double getColorValue (const GUIVisualizationSettings &s, int activeScheme) const
 gets the color value according to the current scheme index More...
 
double getScaleValue (int activeScheme) const
 gets the scaling value according to the current scheme index More...
 
MESegmentgetSegmentAtPosition (const Position &pos)
 returns the segment closest to the given position More...
 
void drawMesoVehicles (const GUIVisualizationSettings &s) const
 
void lock () const
 grant exclusive access to the mesoscopic state More...
 
void unlock () const
 release exclusive access to the mesoscopic state More...
 
void closeTraffic (const GUILane *lane)
 close this edge for traffic More...
 
void addRerouter ()
 add a rerouter More...
 
const std::vector< RGBColor > & getSegmentColors () const
 return segment colors (meso) More...
 
RGBColor getMesoColor () const
 
bool isSelected () const
 whether this lane is selected in the GUI More...
 
 GUIEdge (const GUIEdge &s)
 invalidated copy constructor More...
 
GUIEdgeoperator= (const GUIEdge &s)
 invalidated assignment operator More...
 

Static edge container

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

Detailed Description

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

See also
MSEdge

Definition at line 53 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 82 of file MSEdge.h.

◆ AllowedLanesCont

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

"Map" from vehicle class to allowed lanes

Definition at line 79 of file MSEdge.h.

◆ DictType

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

definition of the static dictionary type

Definition at line 864 of file MSEdge.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,
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 66 of file GUIEdge.cpp.

◆ ~GUIEdge()

GUIEdge::~GUIEdge ( )

Destructor.

Definition at line 74 of file GUIEdge.cpp.

References myLock.

◆ GUIEdge() [2/2]

GUIEdge::GUIEdge ( const GUIEdge s)
private

invalidated copy constructor

Member Function Documentation

◆ addContainer()

void GUIEdge::addContainer ( MSTransportable container) const
inlinevirtual

Add a container to myContainers.

Reimplemented from MSEdge.

Definition at line 150 of file GUIEdge.h.

References MSEdge::addContainer(), and myLock.

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

◆ addPerson()

void GUIEdge::addPerson ( MSTransportable p) const
inlinevirtual

Reimplemented from MSEdge.

Definition at line 139 of file GUIEdge.h.

References MSEdge::addPerson(), and myLock.

◆ 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 983 of file MSEdge.cpp.

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

Referenced by NLHandler::addDistrict().

◆ 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 127 of file Named.h.

References Named::StoringVisitor::add().

◆ addToAllowed()

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

Definition at line 246 of file MSEdge.cpp.

References MSEdge::allowedLanes().

Referenced by MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().

◆ allowedLanes() [1/2]

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

Get the allowed lanes to reach the destination-edge.

If there is no such edge, get 0. 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 398 of file MSEdge.cpp.

References MSEdge::myAllowedTargets.

Referenced by MSEdge::addToAllowed(), MSVehicleTransfer::checkInsertions(), MSEdge::getDepartLane(), MSEdge::getFreeLane(), libsumo::Vehicle::getNextTLS(), MSEdge::getSuccessors(), MSEdge::getViaSuccessors(), MESegment::MESegment(), MSLane::by_connections_to_sorter::operator()(), MSEdge::rebuildAllowedLanes(), MSEdge::rebuildAllowedTargets(), MSBaseVehicle::reroute(), and MSVehicle::updateBestLanes().

◆ allowedLanes() [2/2]

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, get 0. 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 412 of file MSEdge.cpp.

References MSEdge::myAllowed, MSEdge::myCombinedPermissions, MSEdge::myLanes, and MSEdge::myMinimumPermissions.

◆ allowsLaneChanging()

◆ buildAdditionalsPopupOptions()

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

◆ 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 205 of file MSEdge.cpp.

References MSEdge::allowsLaneChanging(), MSEdge::canChangeToOpposite(), MSGlobals::gLaneChangeDuration, MSGlobals::gLateralResolution, MSEdge::myLaneChanger, and MSEdge::myLanes.

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

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

◆ buildPositionCopyEntry()

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

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

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

Definition at line 267 of file GUIGlObject.cpp.

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

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

◆ buildSelectionPopupEntry()

◆ buildShapePopupOptions()

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

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

References GUIIconSubSys::getIcon(), ICON_MANIP, and MID_MANIP.

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

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

References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.

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

◆ canChangeToOpposite()

bool MSEdge::canChangeToOpposite ( )
inherited

whether this edge allows changing to the opposite direction edge

Definition at line 1088 of file MSEdge.cpp.

References MSEdge::isInternal(), LINKDIR_STRAIGHT, and MSEdge::myLanes.

Referenced by MSEdge::buildLaneChanger().

◆ changeLanes()

void MSEdge::changeLanes ( SUMOTime  t)
virtualinherited

Performs lane changing on this edge.

Definition at line 699 of file MSEdge.cpp.

References MSLaneChanger::laneChange(), and MSEdge::myLaneChanger.

Referenced by MSEdgeControl::changeLanes(), and MSLane::changeLanes().

◆ checkAndRegisterBiDirEdge()

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

◆ clear()

void MSEdge::clear ( )
staticinherited

Clears the dictionary.

Definition at line 843 of file MSEdge.cpp.

References MSEdge::myDict, and MSEdge::myEdges.

Referenced by MSNet::clearAll(), and MSVehicle::updateBestLanes().

◆ clearParameter()

◆ closeBuilding()

void MSEdge::closeBuilding ( )
inherited

◆ closeTraffic()

void GUIEdge::closeTraffic ( const GUILane lane)

◆ createFullName()

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

◆ 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 437 of file MSEdge.cpp.

References MSEdge::myVaporizationRequests.

Referenced by NLTriggerBuilder::buildVaporizer().

◆ dictionary() [1/2]

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

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

Definition at line 820 of file MSEdge.cpp.

References MSEdge::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 804 of file MSEdge.cpp.

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

Referenced by libsumo::Route::add(), libsumo::Person::add(), NLHandler::addConnection(), NLHandler::addDistrict(), NLHandler::addDistrictEdge(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeWeight(), MSRouteHandler::addPersonTrip(), NLHandler::addRoundabout(), MEVehicle::addStop(), libsumo::Person::appendDrivingStage(), NLEdgeControlBuilder::beginEdgeParsing(), NLTriggerBuilder::buildVaporizer(), libsumo::Vehicle::changeTarget(), MSEdge::checkAndRegisterBiDirEdge(), NLHandler::closeEdge(), libsumo::Person::convertTraCIStage(), libsumo::Simulation::findIntermodalRoute(), libsumo::Simulation::findRoute(), libsumo::Edge::getEdge(), libsumo::Helper::getEdge(), NLDetectorBuilder::getEdgeChecking(), libsumo::Helper::getLaneChecking(), MSDevice_Routing::getParameter(), MSDevice_FCD::initEdgeFilter(), MSPedestrianPushButton::loadPushButtons(), MSDevice_Vehroutes::loadState(), libsumo::Person::moveTo(), libsumo::Helper::moveToXYMap(), NLHandler::myEndElement(), MSRouteHandler::myStartElement(), MSTriggeredRerouter::myStartElement(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildRerouter(), MSEdge::parseEdgesList(), MSRouteHandler::parseFromViaTo(), MSBaseVehicle::reroute(), libsumo::Vehicle::setAdaptedTraveltime(), libsumo::Vehicle::setEffort(), MSDevice_Routing::setParameter(), and libsumo::Vehicle::setStop().

◆ dictSize()

int MSEdge::dictSize ( )
staticinherited

Returns the number of edges.

Definition at line 831 of file MSEdge.cpp.

References MSEdge::myDict.

Referenced by MSStateHandler::saveState().

◆ drawGL()

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

Draws the object.

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

Implements GUIGlObject.

Definition at line 213 of file GUIEdge.cpp.

References Position::add(), RGBColor::alpha(), GUIVisualizationSettings::containerSize, GUIVisualizationSettings::cwaEdgeName, DEG2RAD, GUILane::drawAsRailway(), GUIVisualizationSettings::drawCrossingsAndWalkingareas, GUIPerson::drawGL(), GUIContainer::drawGL(), GUIVisualizationSettings::drawJunctionShape, drawMesoVehicles(), GUIGlObject::drawName(), GLHelper::drawTextSettings(), GUIVisualizationSettings::edgeColorer, EDGEFUNC_CONNECTOR, EDGEFUNC_CROSSING, EDGEFUNC_INTERNAL, EDGEFUNC_NORMAL, EDGEFUNC_WALKINGAREA, GUIVisualizationSettings::edgeName, GUIVisualizationSettings::edgeValue, MSEdge::getBidiEdge(), getColorValue(), GUILane::getColorValue(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GUIVisualizationSettings::getLaneEdgeMode(), GUILane::getShape(), MSEdge::getStreetName(), GUIVisualizationSettings::getTextAngle(), MSGlobals::gUseMesoSim, GUIVisualizationSettings::hideConnectors, GUIVisualizationSettings::internalEdgeName, GUIVisualizationSettings::laneColorer, PositionVector::length(), GUIVisualizationSizeSettings::minSize, Position::mul(), MSEdge::myContainers, MSEdge::myFunction, MSEdge::myLanes, myLock, MSEdge::myPersons, MSEdge::myStreetName, GUIVisualizationSettings::personSize, PositionVector::positionAtOffset(), PositionVector::rotationAtOffset(), PositionVector::rotationDegreeAtOffset(), GUIVisualizationSettings::scale, GUIVisualizationTextSettings::scaledSize(), setColor(), GUIVisualizationTextSettings::show, GUIVisualizationSettings::spreadSuperposed, GUIVisualizationSettings::streetName, toString(), and GUIVisualizationSettings::vehicleSize.

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

References UNUSED_PARAMETER.

◆ drawMesoVehicles()

◆ drawName()

◆ getAllEdges()

◆ getAllowedSpeed()

double GUIEdge::getAllowedSpeed ( ) const

◆ getBidiEdge()

const MSEdge* MSEdge::getBidiEdge ( ) const
inlineinherited

◆ getBoundary()

Boundary GUIEdge::getBoundary ( ) const

Returns the street's geometry.

Definition at line 119 of file GUIEdge.cpp.

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

Referenced by getCenteringBoundary().

◆ getBruttoOccupancy()

double GUIEdge::getBruttoOccupancy ( ) const

Definition at line 382 of file GUIEdge.cpp.

References MSGlobals::gMesoNet, and MSEdge::myLanes.

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

◆ getCenteringBoundary()

Boundary GUIEdge::getCenteringBoundary ( ) const
virtual

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

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

Implements GUIGlObject.

Definition at line 199 of file GUIEdge.cpp.

References getBoundary(), and Boundary::grow().

◆ getColorValue()

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

◆ 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 304 of file MSEdge.h.

References MSEdge::myCrossingEdges.

Referenced by MSPedestrianPushButton::loadCrossingEdgeMap().

◆ 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 787 of file MSEdge.cpp.

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

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

◆ 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 520 of file MSEdge.cpp.

References MSEdge::allowedLanes(), MSRoute::begin(), BEST_LANE_LOOKAHEAD, DEPART_LANE_ALLOWED_FREE, DEPART_LANE_BEST_FREE, DEPART_LANE_DEFAULT, DEPART_LANE_FIRST_ALLOWED, DEPART_LANE_FREE, DEPART_LANE_GIVEN, DEPART_LANE_RANDOM, SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, MSVehicle::getBestLanes(), MSEdge::getDepartPosBound(), MSEdge::getFreeLane(), MSBaseVehicle::getParameter(), RandHelper::getRandomFrom(), MSBaseVehicle::getRoute(), MSVehicleType::getVehicleClass(), MSBaseVehicle::getVehicleType(), MIN2(), MSEdge::myLanes, MSRoute::size(), and MSVehicle::updateBestLanes().

Referenced by MSEdge::insertVehicle().

◆ getDepartPosBound()

◆ getDistance()

double MSEdge::getDistance ( ) const
inlineinherited

Returns the kilometrage/mileage at the start of the edge.

Definition at line 288 of file MSEdge.h.

References MSEdge::myDistance.

Referenced by GUILane::getColorValue(), GUILane::getParameterWindow(), and MSFCDExport::write().

◆ 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 891 of file MSEdge.cpp.

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

◆ getDouble()

◆ getEdgeType()

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

Returns the type of the edge.

Definition at line 276 of file MSEdge.h.

References MSEdge::myEdgeType.

Referenced by GUILane::getParameterWindow(), and MSLane::initRestrictions().

◆ getFlow()

double GUIEdge::getFlow ( ) const

return flow based on meanSpead

Note
: may produced incorrect results when jammed

Definition at line 372 of file GUIEdge.cpp.

References MSGlobals::gMesoNet.

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

◆ 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 444 of file MSEdge.cpp.

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

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

◆ getFromJunction()

◆ getFullName()

◆ getFunction()

SumoXMLEdgeFunc MSEdge::getFunction ( ) const
inlineinherited

Returns the edge type (SumoXMLEdgeFunc)

Returns
This edge's SumoXMLEdgeFunc
See also
SumoXMLEdgeFunc

Definition at line 223 of file MSEdge.h.

References MSEdge::myFunction.

Referenced by MSEdge::checkAndRegisterBiDirEdge(), and getColorValue().

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 150 of file GUIGlObject.cpp.

References GUIGlObject::myGlID.

Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNEEdge::drawEdgeName(), GNEEdge::drawGeometryPoints(), GNEChargingStation::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntryExit::drawGL(), GNEInternalLane::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEAccess::drawGL(), GNEDetectorE1Instant::drawGL(), GNECrossing::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GUIPolygon::drawGL(), GUIContainer::drawGL(), GNEJunction::drawGL(), GUICalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GUIPointOfInterest::drawGL(), GNECalibrator::drawGL(), GNETAZ::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GNEStop::drawGL(), GNELane::drawGL(), GUIParkingArea::drawGL(), drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEPerson::drawGL(), GUILane::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEEdge::drawRerouterSymbol(), GNELane::drawVSSSymbol(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), GUIJunctionWrapper::getColorValue(), getColorValue(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GNEPoly::getGlID(), GNEPOI::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), getScaleValue(), GUILane::isLaneOrEdgeSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIPerson::isSelected(), isSelected(), GUILane::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIViewTraffic::onGamingClick(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GNEVehicleType::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), GUIMessageWindow::setCursorPos(), GNEVehicleType::unselectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), GNEVehicle::unselectAttributeCarrier(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().

◆ getID()

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

Returns the id.

Returns
The stored id

Definition at line 77 of file Named.h.

References Named::myID.

Referenced by MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSPModel_Remote::add(), MSPModel_Striping::add(), LaneStoringVisitor::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), MSDetectorControl::add(), Named::StoringVisitor::add(), ShapeContainer::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), NBParkingCont::addEdges2Keep(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), NIImporter_SUMO::addPhase(), addRerouter(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), ROVehicle::addStop(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSNet::addStoppingPlace(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), libsumo::Helper::applySubscriptionFilters(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportable::Stage_Waiting::beginEventOutput(), MSTransportable::Stage_Driving::beginEventOutput(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), GNETLSEditorFrame::buildIinternalLanes(), NBEdge::buildInnerEdges(), NGEdge::buildNBEdge(), NIVissimEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSVehicle::canReverse(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSEdge::checkAndRegisterBiDirEdge(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSDevice_Battery::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), ROJTRRouter::compute(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNode::computeNodeShape(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NGNet::connect(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSTransportable::Stage_Waiting::endEventOutput(), MSTransportable::Stage_Driving::endEventOutput(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), METriggeredCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitchStates::execute(), Command_SaveTLSSwitches::execute(), MSVTypeProbe::execute(), MSCalibrator::execute(), MSPModel_Striping::MovePedestrians::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), libsumo::Helper::findCloserLane(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), libsumo::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), NBTrafficLightDefinition::forbids(), NBNodeCont::generateNodeClusters(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), libsumo::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), GUILane::getColorValue(), libsumo::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBNodeShapeComputer::getDefaultRadius(), NBTrafficLightDefinition::getDescription(), MSLink::getDescription(), GUIPerson::getDestinationEdgeID(), RODFNet::getDetectorEdge(), libsumo::Lane::getEdgeID(), GUIMEVehicle::getEdgeID(), GUIPerson::getEdgeID(), MSMeanData::getEdgeID(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSCalibrator::getID(), NBEdge::getID(), libsumo::LaneArea::getLaneID(), libsumo::InductionLoop::getLaneID(), libsumo::Vehicle::getLaneID(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSLane::getLinkTo(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), libsumo::Simulation::getParameter(), GUITrafficLightLogicWrapper::getParameterWindow(), GUILane::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), libsumo::Person::getRoadID(), libsumo::Vehicle::getRoadID(), MSLCM_LC2013::getRoundaboutDistBonus(), libsumo::Vehicle::getRouteID(), MSVehicle::getSafeFollowSpeed(), libsumo::Person::getStage(), MSContainer::MSContainerStage_Driving::getStageSummary(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSContainer::MSContainerStage_Tranship::getStageSummary(), MSPerson::MSPersonStage_Driving::getStageSummary(), MSTransportable::Stage_Trip::getStageSummary(), MSTransportable::Stage_Waiting::getStageSummary(), MSNet::getStoppingPlaceID(), MSLane::getSurroundingVehicles(), MSRailSignal::getTLLinkID(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSVehicle::haveValidStopEdges(), libsumo::POI::highlight(), MSVehicle::ignoreRed(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBTrafficLightLogicCont::insert(), NBNodeCont::insert(), MSEdge::insertVehicle(), MSLane::integrateNewVehicles(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), MESegment::jamThresholdForSpeed(), NBNodeShapeComputer::joinSameDirectionEdges(), NBEdgeCont::joinSameNodeConnectingEdges(), MSAbstractLaneChangeModel::laneChangeOutput(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), ODDistrictCont::makeDistricts(), MSE2Collector::makeVehicleInfo(), MSSOTLE2Sensors::meanVehiclesSpeed(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), MSCalibrator::MSCalibrator(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSE2Collector::MSE2Collector(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_Example::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Example::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSE2Collector::notifyMove(), MSDevice_SSM::notifyMove(), GUIViewTraffic::onGamingClick(), MSLink::opened(), RORouteHandler::openRoute(), RODFNet::idComp::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), AGStreet::print(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MEVehicle::processStop(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), MSLink::removeApproaching(), MSVehicle::removePassedDriveItems(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), GNENet::renameJunction(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), RONet::saveAndRemoveRoutesUntil(), ROVehicle::saveAsXML(), ROPerson::Ride::saveAsXML(), MSTransportableDevice_Routing::saveState(), MSDevice_Routing::saveState(), MSDevice::saveState(), MSDevice_Vehroutes::saveState(), MSDevice_Tripinfo::saveState(), MSBaseVehicle::saveState(), MSLane::saveState(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSLink::setApproaching(), NBNodeCont::setAsTLControlled(), GNEEdge::setAttribute(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NLEdgeControlBuilder::setDefaultStopOffsets(), MSChargingStation::setEfficency(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), NIXMLEdgesHandler::setNodes(), NIImporter_OpenDrive::setNodeSecure(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), MSLink::setRequestInformation(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSSOTLTrafficLightLogic::trySwitch(), PolygonDynamics::update(), MSDevice_SSM::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffsets(), MSVehicle::updateDriveItems(), GNETLSEditorFrame::TLSJunction::updateJunctionDescription(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), NBNodeTypeComputer::validateRailCrossings(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), NBParking::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSMeanData::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSQueueExport::writeLane(), MSFullExport::writeLane(), MSXMLRawOut::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMOPolygon::writeXML(), MSRouteProbe::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSE2Collector::writeXMLOutput(), and RONet::~RONet().

◆ getIDs()

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

◆ getIDSecure()

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

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

Definition at line 70 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::changeOpposite(), MSVehicle::checkRewindLinkLanes(), DijkstraRouter< E, V, BASE >::compute(), AStarRouter< MSEdge, SUMOVehicle, SUMOAbstractRouterPermissions< MSEdge, SUMOVehicle > >::compute(), NBEdge::computeEdge2Edges(), NBEdge::computeLanes2Edges(), NBOwnTLDef::computeLogicAndConts(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSRailSignal::DriveWay::findProtection(), MSCFModel_W99::followSpeed(), MSCFModel_CACC::followSpeed(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), NBEdge::init(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), operator<<(), NBEdge::recheckLanes(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_LC2013::saveBlockerLength(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), toString(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().

◆ getInternalFollowingEdge()

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

Definition at line 709 of file MSEdge.cpp.

References MSEdge::myLanes.

Referenced by MSEdge::getInternalFollowingLengthTo(), and libsumo::Helper::moveToXYMap_matchingRoutePosition().

◆ getInternalFollowingLengthTo()

double MSEdge::getInternalFollowingLengthTo ( const MSEdge followerAfterInternal) const
inherited

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

Definition at line 726 of file MSEdge.cpp.

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

Referenced by MSLCM_SL2015::checkStrategicChange(), and MSDevice_SSM::getUpstreamVehicles().

◆ getLane()

MSLane & GUIEdge::getLane ( int  laneNo)

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

Definition at line 83 of file GUIEdge.cpp.

References MSEdge::myLanes.

◆ getLaneOffsets()

static 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 165 of file MSEdge.h.

References MSEdge::myLanes.

Referenced by MSVehicleTransfer::add(), NLHandler::addConnection(), addRerouter(), MSRouteHandler::addStop(), MSVehicleControl::addVehicle(), libsumo::Helper::applySubscriptionFilters(), MELoop::buildSegmentsFor(), MSBaseVehicle::calculateArrivalParams(), MSEdgeControl::changeLanes(), MSLink::checkContOff(), MSVehicleTransfer::checkInsertions(), closeTraffic(), MSLCM_SL2015::computeSublaneShift(), CState::computeTranshipTime(), GUILane::drawMarkings(), libsumo::Helper::findCloserLane(), MEVehicle::getAngle(), MSLane::getBidiLane(), getColorValue(), MSEdge::getDistanceTo(), MSTransportable::Stage::getEdgeAngle(), GUILane::getEdgeLaneNumber(), MSTransportable::Stage::getEdgePosition(), MSRoutingEngine::getEffortExtra(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollowersOnConsecutive(), libsumo::Helper::getLaneChecking(), MSVehicle::getLaneIndex(), libsumo::Edge::getLaneNumber(), libsumo::Edge::getLastStepOccupancy(), MSEdge::getLengthGeometryFactor(), MESegment::getLink(), MESegment::getMaxPenaltySeconds(), MSEdge::getMeanSpeed(), MSPModel_Striping::getNextLane(), MSCFModel_CC::getParameter(), MSInsertionControl::getPendingEmits(), MEVehicle::getPosition(), MSPModel_NonInteracting::PState::getPosition(), GUIContainer::getPosition(), MSVehicle::getPosition(), GUIVehicle::getPreviousLane(), MSBaseVehicle::getRNG(), getScaleValue(), getSegmentAtPosition(), libsumo::Person::getSlope(), MEVehicle::getSlope(), MSTransportable::getSlope(), MSEdge::getSpeedLimit(), getTotalLength(), MSDevice_SSM::getUpstreamVehicles(), MSEdge::getVehicleMaxSpeed(), GUICalibrator::GUICalibrator(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), MSPModel_Remote::handleWalkingArea(), MSVehicle::Influencer::influenceChangeDecision(), MSActuatedTrafficLightLogic::init(), GUINet::initGUIStructures(), MSPModel_Striping::initWalkingAreaPaths(), MSCalibrator::invalidJam(), MSPedestrianPushButton::isActiveForEdge(), GUISUMOViewParent::isSelected(), MSEdge::isSuperposable(), MESegment::MESegment(), libsumo::Helper::moveToXYMap(), MSCalibrator::MSCalibrator(), MSPerson::MSPersonStage_Access::MSPersonStage_Access(), MSRouteProbe::MSRouteProbe(), GUIMEInductLoop::MyWrapper::MyWrapper(), MSDevice_Bluelight::notifyMove(), NLTriggerBuilder::parseAndBuildCalibrator(), MSLCM_DK2008::patchSpeed(), MSLCM_SL2015::prepareStep(), TraCIServerAPI_Vehicle::processSet(), MSCalibrator::remainingVehicleCapacity(), libsumo::Edge::setAllowedSVCPermissions(), setFunctionalColor(), libsumo::Vehicle::setStop(), libsumo::Edge::storeShape(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MESegment::useMultiQueue(), MSQueueExport::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSMeanData::writeEdge(), MSFCDExport::writeTransportable(), and MEInductLoop::writeXMLOutput().

◆ getLastFailedInsertionTime()

SUMOTime MSEdge::getLastFailedInsertionTime ( ) const
inlineinherited

Returns the last time a vehicle could not be inserted.

Returns
The current value

Definition at line 509 of file MSEdge.h.

References MSEdge::myLastFailedInsertionTime.

◆ getLength()

◆ getLengthGeometryFactor()

double MSEdge::getLengthGeometryFactor ( ) const
inherited

return shape.length() / myLength

Definition at line 923 of file MSEdge.cpp.

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

◆ getMeanSpeed()

◆ getMesoColor()

RGBColor GUIEdge::getMesoColor ( ) const
inline

Definition at line 210 of file GUIEdge.h.

References myMesoColor.

◆ getMicrosimID()

◆ getMinimumTravelTime()

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

returns the minimum travel time for the given vehicle

Definition at line 419 of file MSEdge.h.

References EDGEFUNC_CONNECTOR, MSEdge::getLength(), MSEdge::getVehicleMaxSpeed(), MSEdge::myEmptyTraveltime, MSEdge::myFunction, and MSEdge::myTimePenalty.

Referenced by MSRoutingEngine::getEffort(), and MSNet::getTravelTime().

◆ 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 740 of file MSEdge.cpp.

References MSEdge::getPredecessors(), and MSEdge::isInternal().

Referenced by MSVehicle::addStop(), MSVehicle::isLeader(), and libsumo::Vehicle::moveTo().

◆ getNumericalID()

◆ 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 344 of file MSEdge.h.

References MSEdge::myPredecessors.

Referenced by NLEdgeControlBuilder::build(), and MSRouteHandler::parseFromViaTo().

◆ 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 322 of file MSEdge.h.

References MSEdge::mySuccessors.

Referenced by NLEdgeControlBuilder::build(), MESegment::MESegment(), MSRouteHandler::parseFromViaTo(), and MESegment::useMultiQueue().

◆ getOppositeEdge()

const MSEdge * MSEdge::getOppositeEdge ( ) const
inherited

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

Definition at line 1096 of file MSEdge.cpp.

References MSEdge::myLanes.

Referenced by libsumo::Helper::applySubscriptionFilters(), and MSDevice_SSM::findFoeConflictLane().

◆ getOptionalName()

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

Returns the street name.

Reimplemented from GUIGlObject.

Definition at line 208 of file GUIEdge.cpp.

References MSEdge::myStreetName.

◆ getParameter()

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

Returns the value for a given key.

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

Definition at line 71 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), libsumo::Simulation::findIntermodalRoute(), MSSwarmTrafficLightLogic::getBetaNo(), MSSwarmTrafficLightLogic::getBetaSp(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSSwarmTrafficLightLogic::getChangePlanProbability(), GNELane::getColorValue(), GUILane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSSwarmTrafficLightLogic::getForgettingCox(), MSSwarmTrafficLightLogic::getGammaNo(), MSSwarmTrafficLightLogic::getGammaSp(), MSTLLogicControl::WAUTSwitchProcedure::getGSPValue(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSSwarmTrafficLightLogic::getLearningCox(), MSSwarmTrafficLightLogic::getMaxCongestionDuration(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), GUIBaseVehicle::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), libsumo::Route::getParameter(), libsumo::Polygon::getParameter(), libsumo::POI::getParameter(), libsumo::Person::getParameter(), libsumo::TrafficLight::getParameter(), libsumo::Edge::getParameter(), libsumo::Lane::getParameter(), libsumo::VehicleType::getParameter(), libsumo::Vehicle::getParameter(), libsumo::Simulation::getParameter(), MSSwarmTrafficLightLogic::getPheroMaxVal(), MSSwarmTrafficLightLogic::getPoliciesParam(), MSSwarmTrafficLightLogic::getReinforcementMode(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchAreaNo(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchBereichDef(), MSDevice::getStringParam(), MSSwarmTrafficLightLogic::getThetaInit(), MSSwarmTrafficLightLogic::getThetaMax(), MSSwarmTrafficLightLogic::getThetaMin(), MSSOTLTrafficLightLogic::getThreshold(), MSTriggeredRerouter::getWeight(), PushButtonLogic::init(), MSSOTLPhasePolicy::init(), SigmoidLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), GNEVehicleType::initRailVisualizationParameters(), MSVehicleType::initRailVisualizationParameters(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), libsumo::Helper::moveToXYMap(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), GNEVehicleType::overwriteVType(), MSDevice_SSM::requestsTrajectories(), NBEdgeCont::splitAt(), MSDevice_SSM::useGeoCoords(), NWWriter_DlrNavteq::writeLinksUnsplitted(), and NWWriter_OpenDrive::writeRoadObjects().

◆ getParametersMap()

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

Returns the inner key/value map.

Definition at line 105 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEVehicleType::getGenericParameters(), GNELane::getGenericParameters(), GNEPoly::getGenericParameters(), GNEStop::getGenericParameters(), GNEPOI::getGenericParameters(), GNEJunction::getGenericParameters(), GNERide::getGenericParameters(), GNEPersonTrip::getGenericParameters(), GNEWalk::getGenericParameters(), GNEEdge::getGenericParameters(), GNERoute::getGenericParameters(), GNEPerson::getGenericParameters(), GNEAdditional::getGenericParameters(), GNEVehicle::getGenericParameters(), GNEVehicleType::getGenericParametersStr(), GNELane::getGenericParametersStr(), GNEPoly::getGenericParametersStr(), GNEStop::getGenericParametersStr(), GNEPOI::getGenericParametersStr(), GNEJunction::getGenericParametersStr(), GNERide::getGenericParametersStr(), GNEPersonTrip::getGenericParametersStr(), GNEWalk::getGenericParametersStr(), GNEEdge::getGenericParametersStr(), GNERoute::getGenericParametersStr(), GNEPerson::getGenericParametersStr(), GNEAdditional::getGenericParametersStr(), GNEVehicle::getGenericParametersStr(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIPolygon::getParameterWindow(), GUIJunctionWrapper::getParameterWindow(), GUIPointOfInterest::getParameterWindow(), GUILane::getParameterWindow(), GUIPerson::getTypeParameterWindow(), GUIContainer::getTypeParameterWindow(), GUIVehicle::getTypeParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), NIImporter_OpenStreetMap::insertEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), GNEVehicleType::overwriteVType(), and TraCIServerAPI_TrafficLight::processGet().

◆ getParameterWindow()

◆ getParentName()

◆ getPermissions()

SVCPermissions MSEdge::getPermissions ( ) const
inlineinherited

◆ getPersons()

const std::set<MSTransportable*>& 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 174 of file MSEdge.h.

References MSEdge::myPersons.

Referenced by MSLCM_LC2013::_wantsChange(), MSLink::checkWalkingAreaFoe(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), MSPedestrianPushButton::isActiveForEdge(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::updateExpectedSublaneSpeeds().

◆ getPopUpMenu()

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

Returns an own popup-menu.

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

Implements GUIGlObject.

Definition at line 147 of file GUIEdge.cpp.

References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), MESegment::getIndex(), GUISUMOAbstractView::getPositionInformation(), getSegmentAtPosition(), MSGlobals::gUseMesoSim, and toString().

◆ getPredecessors()

◆ getPriority()

int MSEdge::getPriority ( ) const
inlineinherited

◆ getRelativeSpeed()

double GUIEdge::getRelativeSpeed ( ) const

return meanSpead divided by allowedSpeed

Definition at line 398 of file GUIEdge.cpp.

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

Referenced by getColorValue(), and getScaleValue().

◆ getRoutingSpeed()

double MSEdge::getRoutingSpeed ( ) const
inherited

Returns the averaged speed used by the routing device.

Definition at line 797 of file MSEdge.cpp.

References MSRoutingEngine::getAssumedSpeed().

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

◆ getScaleValue()

double GUIEdge::getScaleValue ( int  activeScheme) const

◆ getSegmentAtPosition()

MESegment * GUIEdge::getSegmentAtPosition ( const Position pos)

returns the segment closest to the given position

Definition at line 532 of file GUIEdge.cpp.

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

Referenced by getParameterWindow(), and getPopUpMenu().

◆ getSegmentColors()

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

return segment colors (meso)

Definition at line 206 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 964 of file MSEdge.cpp.

References MSEdge::myContainers.

Referenced by MSXMLRawOut::writeEdge().

◆ 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 946 of file MSEdge.cpp.

References MSEdge::myLanes, and MSEdge::myPersons.

Referenced by LaneStoringVisitor::add(), MSLane::detectPedestrianJunctionCollision(), libsumo::Edge::getLastStepPersonIDs(), and MSXMLRawOut::writeEdge().

◆ getSpeedLimit()

◆ getStopPosition()

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

return the coordinates of the center of the given stop

Definition at line 910 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 270 of file MSEdge.h.

References MSEdge::myStreetName.

Referenced by drawGL(), GUILane::getParameterWindow(), and libsumo::Edge::getStreetName().

◆ getSubLaneSides()

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

◆ getSuccessors()

◆ getToJunction()

◆ getTotalLength()

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

◆ getTravelTimeStatic()

static 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 437 of file MSEdge.h.

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

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 181 of file GUIGlObject.cpp.

References GUIGlObject::myGLObjectType.

Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEChargingStation::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntryExit::drawGL(), GNEVariableSpeedSign::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorE1Instant::drawGL(), GNECrossing::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GUIContainer::drawGL(), GNEJunction::drawGL(), GUICalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GNEStop::drawGL(), GNELane::drawGL(), GUIParkingArea::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEPerson::drawGL(), GUILane::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEEdge::drawPartialTripFromTo(), GNEEdge::drawRerouterSymbol(), GNELane::drawVSSSymbol(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), getScaleValue(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GNENetElement::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNENetElement::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), and GNEVehicle::unselectAttributeCarrier().

◆ getTypeParameterWindow()

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

Returns an own type parameter window (optional)

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

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

Definition at line 156 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().

◆ getVehicleIDs()

std::string GUIEdge::getVehicleIDs ( ) const

Definition at line 357 of file GUIEdge.cpp.

References MSGlobals::gMesoNet.

Referenced by getParameterWindow().

◆ 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 928 of file MSEdge.cpp.

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

Referenced by GUIMEVehicle::getColorValue(), MSEdge::getMinimumTravelTime(), MSEdge::insertVehicle(), MSDevice_Tripinfo::notifyMoveInternal(), and MESegment::receive().

◆ getVehicleNo()

int GUIEdge::getVehicleNo ( ) const

Definition at line 347 of file GUIEdge.cpp.

References MSGlobals::gMesoNet.

Referenced by getParameterWindow().

◆ getViaSuccessors()

const MSConstEdgePairVector & MSEdge::getViaSuccessors ( SUMOVehicleClass  vClass = SVC_IGNORING) 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 1035 of file MSEdge.cpp.

References MSEdge::allowedLanes(), EDGEFUNC_CONNECTOR, MSNet::getInstance(), MSEdge::myClassesViaSuccessorMap, MSEdge::myFunction, MSEdge::myViaSuccessors, and SVC_IGNORING.

◆ getWidth()

double MSEdge::getWidth ( ) const
inlineinherited

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

Returns
This edges's width

Definition at line 553 of file MSEdge.h.

References MSEdge::myWidth.

Referenced by MSLCM_SL2015::_wantsChangeSublane(), MSLCM_SL2015::keepLatGap(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::prepareStep().

◆ hasLaneChanger()

bool MSEdge::hasLaneChanger ( ) const
inlineinherited

Definition at line 650 of file MSEdge.h.

References MSEdge::myLaneChanger.

Referenced by MSLCM_LC2013::_patchSpeed().

◆ hasMinorLink()

bool MSEdge::hasMinorLink ( ) const
inherited

whether any lane has a minor link

Definition at line 1106 of file MSEdge.cpp.

References MSEdge::myLanes.

◆ 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 430 of file MSEdge.cpp.

References MSEdge::myVaporizationRequests.

Referenced by NLTriggerBuilder::buildVaporizer().

◆ 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 108 of file MSEdge.cpp.

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

Referenced by NLHandler::addDistrict(), and NLEdgeControlBuilder::closeEdge().

◆ insertIDs()

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

Inserts IDs of all known edges into the given vector.

Definition at line 853 of file MSEdge.cpp.

References MSEdge::myDict.

Referenced by libsumo::Edge::getIDList().

◆ 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 dependance 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 583 of file MSEdge.cpp.

References MSVehicleType::computeChosenSpeedDeviation(), DEPART_LANE_DEFAULT, DEPART_LANE_FIRST_ALLOWED, DEPART_LANE_GIVEN, DEPART_POS_FREE, DEPART_POS_GIVEN, DEPART_POS_RANDOM, DEPART_POS_RANDOM_FREE, DEPART_SPEED_GIVEN, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, MSLane::getBruttoOccupancy(), SUMOTrafficObject::getChosenSpeedFactor(), MSEdge::getDepartLane(), SUMOTrafficObject::getID(), Named::getID(), MSLane::getIndex(), MSNet::getInstance(), MSEdge::getLength(), MSVehicleType::getLengthWithGap(), MESegment::getNextSegment(), Distribution_Parameterized::getParameter(), SUMOVehicle::getParameter(), MELoop::getSegmentForEdge(), MSVehicleType::getSpeedFactor(), MSEdge::getSpeedLimit(), MSEdge::getVehicleMaxSpeed(), SUMOTrafficObject::getVehicleType(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MESegment::hasSpaceFor(), SUMOVehicleParameter::id, MESegment::initialise(), MSLane::insertVehicle(), MSEdge::isTazConnector(), MSEdge::isVaporizing(), MSEdge::myFailedInsertionMemory, MSEdge::myLanes, MSEdge::myLastFailedInsertionTime, MSEdge::myLength, RandHelper::rand(), SUMOVehicle::setChosenSpeedFactor(), time2string(), toString(), and WRITE_WARNING.

Referenced by MSInsertionControl::checkCandidates(), and MSCalibrator::execute().

◆ isCrossing()

◆ isDelayed()

bool MSEdge::isDelayed ( ) const
inlineinherited

Definition at line 646 of file MSEdge.h.

References MSEdge::myAmDelayed, and MSEdge::myBidiEdge.

◆ isFringe()

bool MSEdge::isFringe ( ) const
inlineinherited

return whether this edge is at the fringe of the network

Definition at line 667 of file MSEdge.h.

References MSEdge::myAmFringe.

Referenced by MSVehicle::planMoveInternal().

◆ isInternal()

◆ isNormal()

bool MSEdge::isNormal ( ) const
inlineinherited

return whether this edge is an internal edge

Definition at line 228 of file MSEdge.h.

References EDGEFUNC_NORMAL, and MSEdge::myFunction.

Referenced by MSRailSignal::DriveWay::buildRoute(), and getIDs().

◆ isRoundabout()

◆ isSelected()

bool GUIEdge::isSelected ( ) const
virtual

whether this lane is selected in the GUI

Reimplemented from MSEdge.

Definition at line 585 of file GUIEdge.cpp.

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

◆ isSuperposable()

bool MSEdge::isSuperposable ( const MSEdge other)
privateinherited

Definition at line 1143 of file MSEdge.cpp.

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

Referenced by MSEdge::checkAndRegisterBiDirEdge().

◆ isTazConnector()

◆ 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 377 of file MSEdge.h.

References MSEdge::myVaporizationRequests.

Referenced by MSVehicle::executeMove(), MSLane::executeMovements(), MSEdge::insertVehicle(), and MSVehicle::processLaneAdvances().

◆ isWalkingArea()

◆ knowsParameter()

◆ 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 373 of file MSEdge.cpp.

References MSEdge::parallelLane().

◆ lock()

void GUIEdge::lock ( ) const
inlinevirtual

grant exclusive access to the mesoscopic state

Reimplemented from MSEdge.

Definition at line 190 of file GUIEdge.h.

References myLock.

◆ markAsRoundabout()

void MSEdge::markAsRoundabout ( )
inlineinherited

Definition at line 637 of file MSEdge.h.

References MSEdge::myAmRoundabout.

Referenced by NLHandler::addRoundabout(), and NLEdgeControlBuilder::build().

◆ markDelayed()

void MSEdge::markDelayed ( ) const
inlineinherited

◆ operator=()

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

invalidated assignment operator

◆ 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 385 of file MSEdge.cpp.

References MSLane::getIndex(), MSLane::getOpposite(), and MSEdge::myLanes.

Referenced by MSLane::getParallelLane(), MSEdge::leftLane(), and MSEdge::rightLane().

◆ 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 861 of file MSEdge.cpp.

References BinaryFormatter::BF_ROUTE, StringTokenizer::getVector(), and FileHelpers::readEdgeVector().

Referenced by MSRouteHandler::addWalk(), libsumo::Person::appendWalkingStage(), libsumo::Person::convertTraCIStage(), MSRouteHandler::myStartElement(), MSRouteHandler::openRoute(), MSRouteHandler::parseFromViaTo(), libsumo::Vehicle::setRoute(), and libsumo::Vehicle::setVia().

◆ 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 876 of file MSEdge.cpp.

References MSEdge::dictionary().

◆ prohibits()

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

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

Definition at line 538 of file MSEdge.h.

References SUMOTrafficObject::getVClass(), and MSEdge::myCombinedPermissions.

◆ rebuildAllowedLanes()

◆ rebuildAllowedTargets()

◆ recalcCache()

◆ removeContainer()

void GUIEdge::removeContainer ( MSTransportable container) const
inlinevirtual

Remove container from myContainers.

Reimplemented from MSEdge.

Definition at line 155 of file GUIEdge.h.

References myLock, and MSEdge::removeContainer().

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

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

◆ removePerson()

void GUIEdge::removePerson ( MSTransportable p) const
inlinevirtual

Reimplemented from MSEdge.

Definition at line 144 of file GUIEdge.h.

References myLock, and MSEdge::removePerson().

◆ 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 379 of file MSEdge.cpp.

References MSEdge::parallelLane().

◆ setColor()

◆ setCrossingEdges()

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

Sets the crossed edge ids for a crossing edge.

Definition at line 296 of file MSEdge.h.

References MSEdge::myCrossingEdges.

Referenced by NLEdgeControlBuilder::addCrossingEdges().

◆ setFunctionalColor()

bool GUIEdge::setFunctionalColor ( const GUIColorer c) const

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

Definition at line 414 of file GUIEdge.cpp.

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

Referenced by setColor().

◆ setID()

void Named::setID ( const std::string &  newID)
inlineinherited

◆ setJunctions()

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

◆ 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 517 of file MSEdge.h.

References MSEdge::myLastFailedInsertionTime.

◆ setMaxSpeed()

void MSEdge::setMaxSpeed ( double  val) const
inherited

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

Parameters
[in]valthe new speed in m/s

Definition at line 935 of file MSEdge.cpp.

References MSEdge::myLanes.

Referenced by METriggeredCalibrator::execute(), and MSCalibrator::execute().

◆ setMicrosimID()

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

◆ setMultiColor()

bool GUIEdge::setMultiColor ( const GUIColorer c) const

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

Definition at line 436 of file GUIEdge.cpp.

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

Referenced by setColor().

◆ setParameter()

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

Sets a parameter.

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

Definition at line 45 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NLHandler::addDistrict(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NBEdge::append(), NIImporter_OpenStreetMap::insertNodeChecking(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NIImporter_OpenDrive::loadNetwork(), NIXMLTrafficLightsHandler::myStartElement(), MSStateHandler::myStartElement(), ShapeHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIImporter_MATSim::EdgesHandler::myStartElement(), GNEAdditionalHandler::parseGenericParameter(), GNEVehicleType::setAttribute(), GNEConnection::setGenericParametersStr(), GNEVehicleType::setGenericParametersStr(), GNELane::setGenericParametersStr(), GNEPoly::setGenericParametersStr(), GNEStop::setGenericParametersStr(), GNEPOI::setGenericParametersStr(), GNEJunction::setGenericParametersStr(), GNERide::setGenericParametersStr(), GNEPersonTrip::setGenericParametersStr(), GNEWalk::setGenericParametersStr(), GNEEdge::setGenericParametersStr(), GNERoute::setGenericParametersStr(), GNEPerson::setGenericParametersStr(), GNEAdditional::setGenericParametersStr(), GNEVehicle::setGenericParametersStr(), NIImporter_OpenDrive::setLaneAttributes(), libsumo::Route::setParameter(), libsumo::Polygon::setParameter(), libsumo::TrafficLight::setParameter(), libsumo::POI::setParameter(), libsumo::Edge::setParameter(), and libsumo::Lane::setParameter().

◆ unlock()

void GUIEdge::unlock ( ) const
inlinevirtual

release exclusive access to the mesoscopic state

Reimplemented from MSEdge.

Definition at line 195 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 Parameterised::myMap.

Referenced by GNEVehicleType::setAttribute().

◆ updateParameter()

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

◆ writeParams()

Field Documentation

◆ GUIGlObjectTypeNamesInitializer

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

LinkStates (Currently unused)

vector for TypeNames Initializer

Definition at line 269 of file GUIGlObject.h.

◆ INVALID_ID

const GUIGlID GUIGlObject::INVALID_ID = 0
staticinherited

◆ myAllowed

AllowedLanesCont MSEdge::myAllowed
protectedinherited

Associative container from vehicle class to allowed-lanes.

Definition at line 813 of file MSEdge.h.

Referenced by MSEdge::allowedLanes(), MSEdge::rebuildAllowedLanes(), MSEdge::rebuildAllowedTargets(), and MSEdge::~MSEdge().

◆ myAllowedTargets

AllowedLanesByTarget MSEdge::myAllowedTargets
protectedinherited

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

Definition at line 816 of file MSEdge.h.

Referenced by MSEdge::allowedLanes(), MSEdge::rebuildAllowedTargets(), and MSEdge::~MSEdge().

◆ myAmDelayed

bool MSEdge::myAmDelayed
mutableprotectedinherited

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

Definition at line 849 of file MSEdge.h.

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

◆ myAmFringe

bool MSEdge::myAmFringe
protectedinherited

whether this edge is at the network fringe

Definition at line 855 of file MSEdge.h.

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

◆ myAmRoundabout

bool MSEdge::myAmRoundabout
protectedinherited

whether this edge belongs to a roundabout

Definition at line 852 of file MSEdge.h.

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

◆ myBidiEdge

const MSEdge* MSEdge::myBidiEdge
privateinherited

the oppositing superposble edge

Definition at line 890 of file MSEdge.h.

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

◆ 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 885 of file MSEdge.h.

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

◆ myClassesSuccessorMap

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

The successors available for a given vClass.

Definition at line 879 of file MSEdge.h.

Referenced by MSEdge::getSuccessors(), and MSEdge::rebuildAllowedTargets().

◆ myClassesViaSuccessorMap

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

The successors available for a given vClass.

Definition at line 882 of file MSEdge.h.

Referenced by MSEdge::getViaSuccessors().

◆ myCombinedPermissions

SVCPermissions MSEdge::myCombinedPermissions
protectedinherited

The union of lane permissions for this edge.

Definition at line 821 of file MSEdge.h.

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

◆ myContainers

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

Containers on the edge.

Definition at line 807 of file MSEdge.h.

Referenced by MSEdge::addContainer(), drawGL(), MSEdge::getSortedContainers(), and MSEdge::removeContainer().

◆ 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 789 of file MSEdge.h.

Referenced by MSEdge::getCrossingEdges(), and MSEdge::setCrossingEdges().

◆ myDict

MSEdge::DictType MSEdge::myDict
staticprotectedinherited

Static dictionary to associate string-ids with objects.

Deprecated:
Move to MSEdgeControl, make non-static

Definition at line 869 of file MSEdge.h.

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

◆ myDistance

const double MSEdge::myDistance
protectedinherited

the kilometrage/mileage at the start of the edge

Definition at line 834 of file MSEdge.h.

Referenced by MSEdge::getDistance().

◆ myEdges

MSEdgeVector MSEdge::myEdges
staticprotectedinherited

Static list of edges.

Deprecated:
Move to MSEdgeControl, make non-static

Definition at line 874 of file MSEdge.h.

Referenced by MSEdge::clear(), MSEdge::dictionary(), and MSEdge::getAllEdges().

◆ myEdgeType

std::string MSEdge::myEdgeType
protectedinherited

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

Definition at line 828 of file MSEdge.h.

Referenced by MSEdge::getEdgeType().

◆ myEmptyTraveltime

double MSEdge::myEmptyTraveltime
protectedinherited

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

Definition at line 843 of file MSEdge.h.

Referenced by MSEdge::getCurrentTravelTime(), MSEdge::getMeanSpeed(), MSEdge::getMinimumTravelTime(), and MSEdge::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 786 of file MSEdge.h.

Referenced by MSEdge::insertVehicle().

◆ myFromJunction

MSJunction* MSEdge::myFromJunction
protectedinherited

the junctions for this edge

Definition at line 800 of file MSEdge.h.

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

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 252 of file GUIGlObject.h.

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

◆ myFunction

◆ myGlID

GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 243 of file GUIGlObject.h.

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

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 246 of file GUIGlObject.h.

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

◆ myID

◆ myLaneChanger

MSLaneChanger* MSEdge::myLaneChanger
protectedinherited

This member will do the lane-change.

Definition at line 772 of file MSEdge.h.

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

◆ myLanes

◆ myLastFailedInsertionTime

SUMOTime MSEdge::myLastFailedInsertionTime
mutableprotectedinherited

The time of last insertion failure.

Definition at line 781 of file MSEdge.h.

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

◆ myLength

double MSEdge::myLength
protectedinherited

the length of the edge (cached value for speedup)

Definition at line 840 of file MSEdge.h.

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

◆ myLock

FXMutex GUIEdge::myLock
mutableprivate

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

Definition at line 232 of file GUIEdge.h.

Referenced by addContainer(), addPerson(), drawGL(), drawMesoVehicles(), lock(), removeContainer(), removePerson(), unlock(), and ~GUIEdge().

◆ myMap

◆ myMesoColor

RGBColor GUIEdge::myMesoColor
mutableprivate

Definition at line 234 of file GUIEdge.h.

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

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 249 of file GUIGlObject.h.

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

◆ myMinimumPermissions

SVCPermissions MSEdge::myMinimumPermissions
protectedinherited

The intersection of lane permissions for this edge.

Definition at line 819 of file MSEdge.h.

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

◆ myNumericalID

const int MSEdge::myNumericalID
protectedinherited

This edge's numerical id.

Definition at line 766 of file MSEdge.h.

Referenced by MSEdge::getNumericalID().

◆ myParamWindows

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

Parameter table windows which refer to this object.

Definition at line 255 of file GUIGlObject.h.

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

◆ myPersons

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

Persons on the edge for drawing and pushbutton.

Definition at line 804 of file MSEdge.h.

Referenced by MSEdge::addPerson(), drawGL(), MSEdge::getPersons(), MSEdge::getSortedPersons(), and MSEdge::removePerson().

◆ myPredecessors

MSEdgeVector MSEdge::myPredecessors
protectedinherited

◆ myPriority

const int MSEdge::myPriority
protectedinherited

the priority of the edge (used during network creation)

Definition at line 831 of file MSEdge.h.

Referenced by MSEdge::getPriority().

◆ mySegmentColors

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

The color of the segments (cached)

Definition at line 218 of file GUIEdge.h.

Referenced by getSegmentColors(), and setMultiColor().

◆ myStreetName

std::string MSEdge::myStreetName
protectedinherited

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

Definition at line 825 of file MSEdge.h.

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

◆ mySublaneSides

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

the right side for each sublane on this edge

Definition at line 858 of file MSEdge.h.

Referenced by MSEdge::getSubLaneSides(), and MSEdge::initialize().

◆ mySuccessors

MSEdgeVector MSEdge::mySuccessors
protectedinherited

◆ myTimePenalty

double MSEdge::myTimePenalty
protectedinherited

flat penalty when computing traveltime

Definition at line 846 of file MSEdge.h.

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

◆ myToJunction

MSJunction* MSEdge::myToJunction
protectedinherited

◆ myVaporizationRequests

int MSEdge::myVaporizationRequests
protectedinherited

Vaporizer counter.

Definition at line 778 of file MSEdge.h.

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

◆ myViaSuccessors

MSConstEdgePairVector MSEdge::myViaSuccessors
protectedinherited

Definition at line 794 of file MSEdge.h.

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

◆ myWidth

double MSEdge::myWidth
protectedinherited

Edge width [m].

Definition at line 837 of file MSEdge.h.

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

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 69 of file GUIGlObject.h.

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


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