![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A road/street connecting two junctions (gui-version) More...
#include <GUIEdge.h>
Public Types | |
enum class | ParameterisedAttrType { STRING , DOUBLE } |
@brie enum for Parameterised type More... | |
Public Member Functions | ||||
void | addTo (const StoringVisitor &cont) const | |||
Adds this object to the given container. More... | ||||
void | addWaiting (SUMOVehicle *vehicle) const | |||
Adds a vehicle to the list of waiting vehicles. 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... | ||||
void | changeLanes (SUMOTime t) const | |||
Performs lane changing on this edge. More... | ||||
void | clearParameter () | |||
Clears the parameter map. More... | ||||
virtual void | closeBuilding () | |||
Has to be called after all edges were built and all connections were set. More... | ||||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const | |||
Draws additional, user-triggered visualisations. More... | ||||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const | |||
draw name of item More... | ||||
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 MSEdge * | getInternalFollowingEdge (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... | ||||
MSLane & | getLane (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 | getMeanSpeedBike () const | |||
get the mean speed of all bicycles on this edge More... | ||||
double | getMinimumTravelTime (const SUMOVehicle *const veh) const | |||
returns the minimum travel time for the given vehicle More... | ||||
const MSEdge * | getNormalBefore () const | |||
if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself More... | ||||
const MSEdge * | getNormalSuccessor () const | |||
if this edge is an internal edge, return its first normal successor, otherwise the edge itself More... | ||||
const MSEdge * | getOppositeEdge () 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... | ||||
std::string | getParametersStr (const std::string kvsep="=", const std::string sep="|") const | |||
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". More... | ||||
SVCPermissions | getPermissions () const | |||
Returns the combined permissions of all lanes of this edge. More... | ||||
RailEdge< MSEdge, SUMOVehicle > * | getRailwayRoutingEdge () const | |||
ReversedEdge< MSEdge, SUMOVehicle > * | getReversedRoutingEdge () 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... | ||||
SUMOVehicle * | getWaitingVehicle (MSTransportable *transportable, const double position) const | |||
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 | |||
virtual void | onLeftBtnPress (void *) | |||
notify object about left click More... | ||||
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... | ||||
virtual void | removeActiveAddVisualisation (GUISUMOAbstractView *const, int) | |||
remove additional user-griggered visualisations More... | ||||
void | removeWaiting (const SUMOVehicle *vehicle) const | |||
Removes a vehicle from the list of waiting vehicles. More... | ||||
bool | restricts (const SUMOVehicle *const) const | |||
Returns whether this edge has restriction parameters forbidding the given vehicle to pass it The restriction mechanism is not implemented yet for the microsim, so it always returns false. More... | ||||
void | setCrossingEdges (const std::vector< std::string > &crossingEdges) | |||
Sets the crossed edge ids for a crossing edge. More... | ||||
virtual 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... | ||||
virtual void | setParameter (const std::string &key, const std::string &value) | |||
Sets a parameter. More... | ||||
void | setParameters (const Parameterised ¶ms) | |||
set the inner key/value map in map<string, string> format More... | ||||
void | setParametersMap (const std::map< std::string, std::string > ¶msMap) | |||
set the inner key/value map in map<string, string> format More... | ||||
void | setParametersStr (const std::string ¶msString, const std::string kvsep="=", const std::string sep="|") | |||
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" More... | ||||
void | unsetParameter (const std::string &key) | |||
Removes a parameter. More... | ||||
void | updateMesoType () | |||
update meso segment parameters More... | ||||
void | updateParameters (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 | ||||
MSLane * | leftLane (const MSLane *const lane) const | |||
Returns the lane left to the one given, 0 if the given lane is leftmost. More... | ||||
MSLane * | rightLane (const MSLane *const lane) const | |||
Returns the lane right to the one given, 0 if the given lane is rightmost. More... | ||||
MSLane * | parallelLane (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... | ||||
int | getVehicleNumber () const | |||
return total number of vehicles on this edges lanes or segments More... | ||||
std::vector< const SUMOVehicle * > | getVehicles () const | |||
return vehicles on this edges lanes or segments More... | ||||
double | getBruttoOccupancy () const | |||
double | getFlow () const | |||
return flow based on meanSpead More... | ||||
double | getWaitingSeconds () const | |||
return accumated waiting time for all vehicles on this edges lanes or segments More... | ||||
double | getOccupancy () const | |||
return mean occupancy on this edges lanes or segments 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... | ||||
bool | isConnectedTo (const MSEdge &destination, SUMOVehicleClass vclass) const | |||
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 MSEdge * | getBidiEdge () 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 | |||
void | setOtherTazConnector (const MSEdge *edge) | |||
const MSEdge * | getOtherTazConnector () 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 MSEdgeVector & | getSuccessors (SUMOVehicleClass vClass=SVC_IGNORING) const | |||
Returns the following edges, restricted by vClass. More... | ||||
const MSConstEdgePairVector & | getViaSuccessors (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 MSEdgeVector & | getPredecessors () const | |||
const MSJunction * | getFromJunction () const | |||
const MSJunction * | getToJunction () 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... | ||||
bool | validateDepartSpeed (SUMOVehicle &v) const | |||
check whether the given departSpeed is valid for this edge More... | ||||
MSLane * | getFreeLane (const std::vector< MSLane * > *allowed, const SUMOVehicleClass vclass, double departPos) const | |||
Finds the emptiest lane allowing the vehicle class. More... | ||||
MSLane * | getDepartLane (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
| ||||
const std::string & | getFullName () const | |||
virtual std::string | getParentName () const | |||
Returns the name of the parent object (if any) More... | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. More... | ||||
interfaces to be implemented by derived classes | ||||
virtual void | removedPopupMenu () | |||
notify object about popup menu removal More... | ||||
virtual 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
| ||||
void | addParameterTable (GUIParameterTableWindow *w) | |||
void | removeParameterTable (GUIParameterTableWindow *w) | |||
Lets this object know a parameter window showing the object's values was closed. More... | ||||
Static Public Member Functions | |
static bool | areParametersValid (const std::string &value, bool report=false, ParameterisedAttrType attrType=ParameterisedAttrType::STRING, const std::string kvsep="=", const std::string sep="|") |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" More... | |
static void | clear () |
Clears the dictionary. More... | |
static MSEdge * | dictionary (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 MSEdgeVector & | getAllEdges () |
Returns all edges with a numerical id. More... | |
static std::vector< GUIGlID > | getIDs (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 | getTravelTimeAggregated (const MSEdge *const edge, const SUMOVehicle *const veh, double time) |
static double | getTravelTimeStatic (const MSEdge *const edge, const SUMOVehicle *const veh, double time) |
Returns the travel time for the given edge. 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< GUIGlObjectType > | TypeNames |
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, MSEdgeVector > | myClassesSuccessorMap |
The successors available for a given vClass. More... | |
std::map< SUMOVehicleClass, MSConstEdgePairVector > | myClassesViaSuccessorMap |
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... | |
MSJunction * | myFromJunction |
the junctions for this edge More... | |
const SumoXMLEdgeFunc | myFunction |
the purpose of the edge More... | |
std::string | myID |
The name of the object. More... | |
MSLaneChanger * | myLaneChanger |
This member will do the lane-change. More... | |
std::shared_ptr< const std::vector< MSLane * > > | myLanes |
Container for the edge's lane; should be sorted: (right-hand-traffic) the more left the lane, the higher the container-index. 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... | |
const MSEdge * | myOtherTazConnector |
the other taz-connector if this edge isTazConnector, otherwise nullptr 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... | |
MSJunction * | myToJunction |
int | myVaporizationRequests |
Vaporizer counter. More... | |
MSConstEdgePairVector | myViaSuccessors |
std::vector< SUMOVehicle * > | myWaiting |
List of waiting vehicles. More... | |
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 = SVCAll |
The intersection of lane permissions for this edge. More... | |
SVCPermissions | myCombinedPermissions = 0 |
The union of lane permissions for this edge. More... | |
Private Types | |
typedef std::map< const MSEdge *, AllowedLanesCont > | AllowedLanesByTarget |
Succeeding edges (keys) and allowed lanes to reach these edges (values). More... | |
typedef std::vector< std::pair< SVCPermissions, std::shared_ptr< const std::vector< MSLane * > > > > | AllowedLanesCont |
"Map" from vehicle class to allowed lanes More... | |
Private Member Functions | |
void | addToAllowed (const SVCPermissions permissions, std::shared_ptr< const std::vector< MSLane * > > allowedLanes, AllowedLanesCont &laneCont) const |
std::string | createFullName () const |
create full name More... | |
bool | isSuperposable (const MSEdge *other) |
Static Private Member Functions | |
static bool | isParameterValid (const std::string &value, ParameterisedAttrType attrType, const std::string &kvsep, const std::string &sep) |
check if given string can be parsed to a parameter of type "key=value" More... | |
Private Attributes | |
ParameterisedAttrType | myAttrType |
parameterised type More... | |
const MSEdge * | myBidiEdge |
the oppositing superposable 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... | |
RailEdge< MSEdge, SUMOVehicle > * | myRailwayRoutingEdge = nullptr |
ReversedEdge< MSEdge, SUMOVehicle > * | myReversedRoutingEdge = nullptr |
a reversed version for backward routing More... | |
Static Private Attributes | |
static StringBijection< GUIGlObjectType >::Entry | GUIGlObjectTypeNamesInitializer [] |
LinkStates (Currently unused) More... | |
inherited from GUIGlObject | |
std::vector< RGBColor > | mySegmentColors |
The color of the segments (cached) More... | |
bool | myShowDeadEnd |
whether to highlight this edge as a dead-end edge More... | |
FXMutex | myLock |
The mutex used to avoid concurrent updates of myPersons/ myContainers. More... | |
RGBColor | myMesoColor |
virtual GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own popup-menu. More... | |
virtual GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own parameter window. More... | |
GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own type 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... | |
double | getAllowedSpeed () const |
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... | |
MESegment * | getSegmentAtPosition (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 | showDeadEnd () const |
bool | isSelected () const |
whether this lane is selected in the GUI More... | |
GUIEdge (const GUIEdge &s) | |
invalidated copy constructor More... | |
GUIEdge & | operator= (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... | |
A road/street connecting two junctions (gui-version)
|
privateinherited |
|
privateinherited |
|
protectedinherited |
|
stronginherited |
@brie enum for Parameterised type
Enumerator | |
---|---|
STRING | Parameterised accept strings. |
DOUBLE | Parameterised only accept doubles. |
Definition at line 43 of file Parameterised.h.
GUIEdge::GUIEdge | ( | const std::string & | id, |
int | numericalID, | ||
const SumoXMLEdgeFunc | function, | ||
const std::string & | streetName, | ||
const std::string & | edgeType, | ||
int | priority, | ||
double | distance | ||
) |
Constructor.
[in] | id | The id of the edge |
[in] | numericalID | The numerical id (index) of the edge |
Definition at line 62 of file GUIEdge.cpp.
GUIEdge::~GUIEdge | ( | ) |
|
private |
invalidated copy constructor
|
inlinevirtual |
Add a container to myContainers.
Reimplemented from MSEdge.
Definition at line 156 of file GUIEdge.h.
References MSEdge::addContainer(), and myLock.
|
inherited |
Definition at line 309 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
inlinevirtual |
Reimplemented from MSEdge.
Definition at line 145 of file GUIEdge.h.
References MSEdge::addPerson(), and myLock.
void GUIEdge::addRerouter | ( | ) |
add a rerouter
Definition at line 560 of file GUIEdge.cpp.
References RandomDistributor< T >::add(), MSTriggeredRerouter::RerouteInterval::begin, MSTriggeredRerouter::RerouteInterval::edgeProbs, MSTriggeredRerouter::RerouteInterval::end, MSNet::getCurrentTimeStep(), GUINet::getGUIInstance(), Named::getID(), MSNet::getInstance(), MSEdge::getLanes(), MSTriggeredRerouter::myIntervals, MSTriggeredRerouter::mySpecialDest_keepDestination, MSMoveReminder::NOTIFICATION_JUNCTION, MSTriggeredRerouter::notifyEnter(), and SUMOTime_MAX.
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
[in] | edge | The edge to add |
Definition at line 998 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(), and NLBuilder::build().
|
inlineinherited |
Adds this object to the given container.
[in,filled] | cont The container to add this item to |
Definition at line 117 of file Named.h.
References Named::StoringVisitor::add().
|
privateinherited |
Definition at line 235 of file MSEdge.cpp.
References MSEdge::allowedLanes().
Referenced by MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
inherited |
Adds a vehicle to the list of waiting vehicles.
Definition at line 1159 of file MSEdge.cpp.
References MSGlobals::gNumSimThreads, MSEdge::lock(), and MSEdge::myWaiting.
Referenced by MSVehicleControl::addVehicle(), MSVehicle::processNextStop(), and MESegment::receive().
|
inherited |
Get the allowed lanes to reach the destination-edge.
If there is no such edge, return nullptr. Then you are on the wrong edge.
[in] | destination | The edge to reach |
[in] | vclass | The vehicle class for which this information shall be returned |
Definition at line 366 of file MSEdge.cpp.
References MSEdge::myAllowedTargets.
Referenced by MSEdge::addToAllowed(), MSVehicleTransfer::checkInsertions(), MSEdge::getDepartLane(), MSEdge::getFreeLane(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), MSDevice_Taxi::getStopLane(), MSEdge::getSuccessors(), MSEdge::getViaSuccessors(), MSEdge::isConnectedTo(), MESegment::MESegment(), MSDevice_Bluelight::notifyMove(), MSLane::by_connections_to_sorter::operator()(), MSEdge::rebuildAllowedLanes(), MSEdge::rebuildAllowedTargets(), MSBaseVehicle::reroute(), and MSVehicle::updateBestLanes().
|
inherited |
Get the allowed lanes for the given vehicle class.
If there is no such edge, return nullptr. Then you are on the wrong edge.
[in] | vclass | The vehicle class for which this information shall be returned |
Definition at line 380 of file MSEdge.cpp.
References MSEdge::myAllowed, MSEdge::myCombinedPermissions, MSEdge::myLanes, and MSEdge::myMinimumPermissions.
|
inherited |
Definition at line 213 of file MSEdge.cpp.
References MSLink::getState(), MSGlobals::gUsingInternalLanes, MSEdge::isInternal(), LINKSTATE_ALLWAY_STOP, LINKSTATE_DEADEND, LINKSTATE_EQUAL, LINKSTATE_MINOR, LINKSTATE_STOP, and MSEdge::myLanes.
Referenced by MSEdge::buildLaneChanger().
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 217 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), and WRITE_WARNING.
Referenced by GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEContainerStop::isValid(), GNEDestProbReroute::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE2::isValid(), GNEDetectorE3::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingArea::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNERerouter::isValid(), GNERerouterInterval::isValid(), GNERouteProbe::isValid(), GNERouteProbReroute::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEVariableSpeedSignStep::isValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), GNETAZRelData::isValid(), GNEPerson::isValid(), GNEPersonTrip::isValid(), GNERide::isValid(), GNERoute::isValid(), GNEVehicle::isValid(), GNEVehicleType::isValid(), GNEWalk::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNELane::isValid(), GNELaneType::isValid(), GNEInspectorFrame::ParametersEditorInspector::onCmdSetParameters(), and GNEFrameAttributesModuls::ParametersEditorCreator::onCmdSetParameters().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 347 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
protectedinherited |
Builds an entry which allows to center to the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 238 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_CENTER, and RECENTERVIEW.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNETAZElement::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
inherited |
Has to be called after all sucessors and predecessors have been set (after closeBuilding())
Definition at line 195 of file MSEdge.cpp.
References MSEdge::allowsLaneChanging(), MSEdge::canChangeToOpposite(), MSGlobals::gLaneChangeDuration, MSGlobals::gLateralResolution, MSEdge::myLaneChanger, and MSEdge::myLanes.
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 247 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
Builds the header.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 229 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNETAZElement::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
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.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 288 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 257 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), FLAG_MINUS, FLAG_PLUS, GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, GUISelectedStorage::isSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 324 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
Referenced by GNEPOI::getPopUpMenu(), and GUIPointOfInterest::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 300 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MANIP, and MID_MANIP.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 270 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), and MID_SHOWPARS.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 279 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), and MID_SHOWTYPEPARS.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), getPopUpMenu(), and GUIPerson::getPopUpMenu().
|
inherited |
whether this edge allows changing to the opposite direction edge
Definition at line 1084 of file MSEdge.cpp.
References MSEdge::isInternal(), MSEdge::myLanes, and STRAIGHT.
Referenced by MSEdge::buildLaneChanger().
|
inherited |
Performs lane changing on this edge.
Definition at line 682 of file MSEdge.cpp.
References MSLaneChanger::laneChange(), and MSEdge::myLaneChanger.
Referenced by MSEdgeControl::changeLanes(), and MSLane::changeLanes().
|
inherited |
check and register the opposite superposable edge if any
Definition at line 1115 of file MSEdge.cpp.
References MSEdge::dictionary(), MSEdge::getFunction(), Named::getID(), MSJunction::getOutgoing(), MSEdge::isSuperposable(), MSEdge::myBidiEdge, MSEdge::myFromJunction, MSEdge::myToJunction, NORMAL, WRITE_ERROR, and WRITE_WARNING.
|
staticinherited |
Clears the dictionary.
Definition at line 853 of file MSEdge.cpp.
References MSEdge::myDict, and MSEdge::myEdges.
Referenced by MSNet::clearAll().
|
inherited |
Clears the parameter map.
Definition at line 140 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing(), and GNERouteHandler::closeRoute().
|
virtual |
Has to be called after all edges were built and all connections were set.
Reimplemented from MSEdge.
Definition at line 78 of file GUIEdge.cpp.
References MSEdge::closeBuilding(), MSEdge::getFromJunction(), MSJunction::getOutgoing(), MSEdge::getPermissions(), MSEdge::getSuccessors(), MSEdge::getToJunction(), MSEdge::isTazConnector(), myShowDeadEnd, and SVC_PEDESTRIAN.
void GUIEdge::closeTraffic | ( | const GUILane * | lane | ) |
close this edge for traffic
Definition at line 543 of file GUIEdge.cpp.
References GUILane::closeTraffic(), MSEdge::getLanes(), MSEdge::getPredecessors(), GUILane::isClosed(), and MSEdge::rebuildAllowedLanes().
|
privateinherited |
create full name
Definition at line 370 of file GUIGlObject.cpp.
References GUIGlObject::getMicrosimID(), StringBijection< T >::getString(), GUIGlObject::myGLObjectType, and GUIGlObject::TypeNames.
Referenced by GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
Disables vaporization.
The internal vaporization counter is decreased what disables the vaporization if it was only once enabled. Called from the event handler.
[in] | t | The current time (unused) |
ProcessError | not thrown by this method, just derived |
Definition at line 405 of file MSEdge.cpp.
References MSEdge::myVaporizationRequests.
Referenced by NLTriggerBuilder::buildVaporizer().
|
staticinherited |
Returns the MSEdge associated to the key id if exists, otherwise returns 0.
Definition at line 830 of file MSEdge.cpp.
References MSEdge::myDict.
|
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 814 of file MSEdge.cpp.
References MSEdge::getNumericalID(), MSEdge::myDict, and MSEdge::myEdges.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Route::add(), NLHandler::addConnection(), NLHandler::addDistrict(), NLHandler::addDistrictEdge(), GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeRelWeight(), GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), MSRouteHandler::addRide(), NLHandler::addRoundabout(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), MSRouteHandler::addTransport(), MSRouteHandler::addVehicleStopsToImplicitRoute(), LIBSUMO_NAMESPACE::Person::appendDrivingStage(), NLEdgeControlBuilder::beginEdgeParsing(), NLBuilder::build(), LIBSUMO_NAMESPACE::Vehicle::buildStopParameters(), NLTriggerBuilder::buildVaporizer(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSEdge::checkAndRegisterBiDirEdge(), NLHandler::closeEdge(), MSRouteHandler::closeRoute(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), LIBSUMO_NAMESPACE::Edge::getEdge(), libsumo::Helper::getEdge(), NLDetectorBuilder::getEdgeChecking(), libsumo::Helper::getLaneChecking(), MSDevice_Routing::getParameter(), MSDevice_FCD::initEdgeFilter(), MSPedestrianPushButton::loadPushButtons(), MSDevice_Vehroutes::loadState(), LIBSUMO_NAMESPACE::Person::moveTo(), NLHandler::myEndElement(), MSRouteHandler::myStartElement(), MSStateHandler::myStartElement(), MSTriggeredRerouter::myStartElement(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildRerouter(), MSEdge::parseEdgesList(), MSRouteHandler::parseFromViaTo(), MSBaseVehicle::reroute(), LIBSUMO_NAMESPACE::Vehicle::setAdaptedTraveltime(), LIBSUMO_NAMESPACE::Vehicle::setEffort(), and MSDevice_Routing::setParameter().
|
staticinherited |
Returns the number of edges.
Definition at line 841 of file MSEdge.cpp.
References MSEdge::myDict.
Referenced by MSNet::clearState(), and MSStateHandler::saveState().
|
virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 247 of file GUIEdge.cpp.
References Position::add(), RGBColor::alpha(), CONNECTOR, GUIVisualizationSettings::containerSize, CROSSING, GUIVisualizationSettings::cwaEdgeName, DEG2RAD, GUILane::drawAsRailway(), GUIVisualizationSettings::drawCrossingsAndWalkingareas, GUIContainer::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GUIVisualizationSettings::drawJunctionShape, drawMesoVehicles(), GUIGlObject::drawName(), GLHelper::drawTextSettings(), GUIVisualizationSettings::edgeColorer, GUIVisualizationSettings::edgeName, GUIVisualizationSettings::edgeParam, GUIVisualizationSettings::edgeValue, GUIVisualizationSettings::edgeValueHideCheck, GUIVisualizationSettings::edgeValueHideThreshold, MSEdge::getBidiEdge(), getColorValue(), GUILane::getColorValue(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GUIVisualizationSettings::getLaneEdgeMode(), Parameterised::getParameter(), GUILane::getShape(), MSEdge::getStreetName(), GUIVisualizationSettings::getTextAngle(), MSGlobals::gUseMesoSim, GUIVisualizationSettings::hideConnectors, INTERNAL, GUIVisualizationSettings::internalEdgeName, GUIVisualizationSettings::laneColorer, GUIVisualizationSettings::laneParam, PositionVector::length(), GUIVisualizationSizeSettings::minSize, GUIVisualizationSettings::MISSING_DATA, Position::mul(), MSEdge::myContainers, MSEdge::myFunction, MSEdge::myLanes, myLock, MSEdge::myPersons, MSEdge::myStreetName, NORMAL, GUIVisualizationSettings::personSize, PositionVector::positionAtOffset(), PositionVector::rotationAtOffset(), PositionVector::rotationDegreeAtOffset(), GUIVisualizationSettings::scale, GUIVisualizationTextSettings::scaledSize(), setColor(), GUIVisualizationTextSettings::show, GUIVisualizationSettings::spreadSuperposed, GUIVisualizationSettings::streetName, toString(), GUIVisualizationSettings::vehicleSize, and WALKINGAREA.
|
virtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIPerson, GUIContainer, and GUIBaseVehicle.
Definition at line 208 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
void GUIEdge::drawMesoVehicles | ( | const GUIVisualizationSettings & | s | ) | const |
Definition at line 346 of file GUIEdge.cpp.
References GUIBaseVehicle::drawOnPos(), MSLane::geometryPositionAtOffset(), GUINet::getGUIInstance(), GUINet::getGUIMEVehicleControl(), MSLane::getLength(), MSVehicleType::getLengthWithGap(), GUILane::getShape(), MSBaseVehicle::getVehicleType(), MSGlobals::gMesoNet, MSLane::interpolateLanePosToGeometryPos(), MSEdge::myLanes, myLock, GUIMEVehicleControl::releaseVehicles(), PositionVector::rotationAtOffset(), and GUIMEVehicleControl::secureVehicles().
Referenced by drawGL().
|
inherited |
draw name of item
Definition at line 376 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show.
Referenced by GNEEdge::drawEdgeName(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GUIBaseVehicle::drawOnPos(), GNEAdditional::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), and GNEDemandElement::drawPersonPlanPartialLane().
|
staticinherited |
Returns all edges with a numerical id.
Definition at line 847 of file MSEdge.cpp.
References MSEdge::myEdges.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GUIViewTraffic::buildColorRainbow(), MSNet::clearState(), GUIViewTraffic::getEdgeLaneParamKeys(), MSNet::getRouterEffort(), MSNet::getRouterTT(), GUINet::initGUIStructures(), MSRoutingEngine::initRouter(), MSPModel_Striping::initWalkingAreaPaths(), MSPedestrianPushButton::loadCrossingEdgeMap(), GUIApplicationWindow::onCmdEditChosen(), GUIViewTraffic::onCmdShowReachability(), and MSStateHandler::saveState().
double GUIEdge::getAllowedSpeed | ( | ) | const |
Definition at line 394 of file GUIEdge.cpp.
References MSEdge::myLanes.
Referenced by getColorValue(), getParameterWindow(), getRelativeSpeed(), getScaleValue(), and setMultiColor().
|
inlineinherited |
return opposite superposable/congruent edge, if it exist and 0 else
Definition at line 270 of file MSEdge.h.
References MSEdge::myBidiEdge.
Referenced by MSRailSignal::DriveWay::buildRoute(), MSVehicle::checkReversal(), MSLane::detectCollisions(), drawGL(), GUILane::drawGL(), MSLane::getBidiLane(), GUILane::getParameterWindow(), MSLane::handleCollisionBetween(), MSRailSignal::hasOncomingRailTraffic(), and MSLane::isInsertionSuccess().
Boundary GUIEdge::getBoundary | ( | ) | const |
Returns the street's geometry.
Definition at line 130 of file GUIEdge.cpp.
References Boundary::add(), Boundary::grow(), MSEdge::isTazConnector(), MSEdge::myLanes, MSEdge::myPredecessors, and MSEdge::mySuccessors.
Referenced by getCenteringBoundary().
|
inherited |
Definition at line 1274 of file MSEdge.cpp.
References MSGlobals::gMesoNet, and MSEdge::myLanes.
Referenced by getColorValue(), getParameterWindow(), and getScaleValue().
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 233 of file GUIEdge.cpp.
References getBoundary(), and Boundary::grow().
|
virtual |
gets the color value according to the current scheme index
Reimplemented from GUIGlObject.
Definition at line 486 of file GUIEdge.cpp.
References getAllowedSpeed(), MSEdge::getBruttoOccupancy(), MSEdge::getFlow(), MSEdge::getFunction(), GUIGlObject::getGlID(), MSNet::getInsertionControl(), MSNet::getInstance(), MSEdge::getLanes(), MSEdge::getMeanSpeed(), MSInsertionControl::getPendingEmits(), getRelativeSpeed(), MSEdge::getRoutingSpeed(), GUIGlObject::getType(), gSelected, and GUISelectedStorage::isSelected().
Referenced by GUIViewTraffic::buildColorRainbow(), drawGL(), and setColor().
|
inlineinherited |
Gets the crossed edge ids.
Definition at line 335 of file MSEdge.h.
References MSEdge::myCrossingEdges.
Referenced by MSPedestrianPushButton::loadCrossingEdgeMap().
|
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.
[in] | minSpeed | The minimumSpeed to assume if traffic on this edge is stopped |
Definition at line 798 of file MSEdge.cpp.
References MSEdge::getLength(), MSEdge::getMeanSpeed(), MAX2(), MSEdge::myAmDelayed, and MSEdge::myEmptyTraveltime.
Referenced by MSVehicleTransfer::checkInsertions(), and MSFullExport::writeEdge().
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.
[in] | veh | The vehicle to get the depart lane for |
Definition at line 488 of file MSEdge.cpp.
References ALLOWED_FREE, MSEdge::allowedLanes(), MSRoute::begin(), BEST_FREE, BEST_LANE_LOOKAHEAD, DEFAULT, SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, FIRST_ALLOWED, FREE, MSVehicle::getBestLanes(), MSEdge::getDepartPosBound(), MSEdge::getFreeLane(), MSBaseVehicle::getParameter(), RandHelper::getRandomFrom(), MSBaseVehicle::getRoute(), MSVehicleType::getVehicleClass(), MSBaseVehicle::getVehicleType(), GIVEN, MIN2(), MSEdge::myLanes, RANDOM, MSRoute::size(), and MSVehicle::updateBestLanes().
Referenced by MSEdge::insertVehicle().
|
protectedinherited |
return upper bound for the depart position on this edge
Definition at line 444 of file MSEdge.cpp.
References BASE, DEFAULT, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, FREE, MSEdge::getLength(), MSVehicleType::getLength(), MSBaseVehicle::getParameter(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getVehicleType(), GIVEN, LAST, MIN2(), MSEdge::myLanes, MSEdge::myLength, RANDOM, and RANDOM_FREE.
Referenced by MSEdge::getDepartLane().
|
inlineinherited |
Returns the kilometrage/mileage at the start of the edge.
Definition at line 319 of file MSEdge.h.
References MSEdge::myDistance.
Referenced by GUILane::getColorValue(), GUILane::getParameterWindow(), and MSFCDExport::write().
|
inherited |
optimistic air distance heuristic for use in routing
[in] | other | The edge to which the distance shall be returned |
[in] | doBoundaryEstimate | whether the distance should be estimated by looking at the distance of the bounding boxes |
Definition at line 894 of file MSEdge.cpp.
References Boundary::distanceTo2D(), MSEdge::getLanes(), MSEdge::isTazConnector(), and MSEdge::myBoundary.
|
inherited |
Returns the value for a given key converted to a double.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 122 of file Parameterised.cpp.
References Parameterised::myMap, StringUtils::toDouble(), and WRITE_WARNING.
Referenced by MSDevice_Battery::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSSOTLPolicy5DStimulus::getStimCox(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionIn(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionOut(), MSSOTLPolicy5DStimulus::getStimCoxExpIn(), MSSOTLPolicy5DStimulus::getStimCoxExpOut(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionIn(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionOut(), MSSOTLPolicy5DStimulus::getStimDivisorIn(), MSSOTLPolicy5DStimulus::getStimDivisorOut(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionIn(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionOut(), MSSOTLPolicy5DStimulus::getStimOffsetIn(), MSSOTLPolicy5DStimulus::getStimOffsetOut(), and MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus().
|
inlineinherited |
Returns the type of the edge.
Definition at line 307 of file MSEdge.h.
References MSEdge::myEdgeType.
Referenced by MELoop::buildSegmentsFor(), GUILane::getParameterWindow(), getTypeParameterWindow(), MSTrafficLightLogic::initMesoTLSPenalties(), MSLane::initRestrictions(), MSEdge::recalcCache(), and MELoop::updateSegementsForEdge().
|
inherited |
return flow based on meanSpead
Definition at line 1264 of file MSEdge.cpp.
References MSGlobals::gMesoNet.
Referenced by getColorValue(), getParameterWindow(), and getScaleValue().
|
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.
[in] | allowed | The lanes to choose from |
[in] | vclass | The vehicle class to look for |
[in] | departPos | An upper bound on vehicle depart position |
Definition at line 412 of file MSEdge.cpp.
References MSEdge::allowedLanes(), MSVehicle::getPositionOnLane(), and MSEdge::myLength.
Referenced by MSVehicleTransfer::checkInsertions(), and MSEdge::getDepartLane().
|
inlineinherited |
Definition at line 388 of file MSEdge.h.
References MSEdge::myFromJunction.
Referenced by MSEdge::addSuccessor(), MSPModel::canTraverse(), closeBuilding(), MSPModel_NonInteracting::PState::computeDuration(), MSDevice_SSM::findSurroundingVehicles(), MSPModel_Striping::getNextLane(), MSDevice_SSM::getUpstreamVehicles(), MSTrafficLightLogic::initMesoTLSPenalties(), MSVehicle::isLeader(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), libsumo::Helper::moveToXYMap(), MSRailSignal::DriveWay::overlap(), MSPModel_Striping::PState::PState(), MSStageTrip::setArrived(), MSLink::setRequestInformation(), and MSPerson::MSPersonStage_Walking::walkDistance().
|
inherited |
Definition at line 154 of file GUIGlObject.cpp.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUIParameterTableWindow::onLeftBtnPress(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObjectStorage::remove(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inlineinherited |
Returns the edge type (SumoXMLEdgeFunc)
Definition at line 246 of file MSEdge.h.
References MSEdge::myFunction.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), and getColorValue().
|
inherited |
Returns the numerical id of the object.
Definition at line 166 of file GUIGlObject.cpp.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GNEAdditional::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GUIContainer::getColorValue(), getColorValue(), GUIJunctionWrapper::getColorValue(), GUIPerson::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), getScaleValue(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUIVehicle::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIViewTraffic::onCmdShowReachability(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), TraCIServerAPI_GUI::processGet(), TraCIServerAPI_GUI::processSet(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
|
inlineinherited |
Returns the id.
Definition at line 73 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSTransportableControl::abortAnyWaitingForVehicle(), MSLaneChangerSublane::abortLCManeuver(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSVehicleTransfer::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLCM_SL2015::addLCSpeedAdvice(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), NIImporter_SUMO::addPhase(), addRerouter(), MSDispatch::addReservation(), MSRouteHandler::addRide(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSRouteHandler::addVehicleStopsToImplicitRoute(), NIXMLConnectionsHandler::addWalkingArea(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_FCD::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), LIBSUMO_NAMESPACE::Vehicle::buildStopParameters(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_BTreceiver::buildVehicleDevices(), MSDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Emissions::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSLane::checkForPedestrians(), GUIApplicationWindow::checkGamingEvents(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSDevice_Battery::checkParam(), MSDevice_ElecHybrid::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), MSRouteHandler::closeFlow(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), NBNodeShapeComputer::computeEdgeBoundaries(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), NGNet::connect(), MSRailSignal::constraintsAllow(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), MSDevice_ToC::deactivateDeliberateLCs(), MSRailSignal::DriveWay::deadlockLaneOccupied(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSLaneChanger::findCandidate(), libsumo::Helper::findCloserLane(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), MSStop::getDescription(), NBTrafficLightDefinition::getDescription(), GUIPerson::getDestinationEdgeID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), libsumo::Calibrator::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFirstVehicleInformation(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSCalibrator::getID(), NBEdge::getID(), MSRailSignal::getJunctionLinkID(), RORouteHandler::getJunctionTaz(), libsumo::Calibrator::getLaneID(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_ToC::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUITrafficLightLogicWrapper::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSimpleDriverState::getPerceivedHeadway(), MSSimpleDriverState::getPerceivedSpeedDifference(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), MSBaseVehicle::getPrefixedParameter(), MSCFModel_CC::getRadarMeasurements(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), LIBSUMO_NAMESPACE::Vehicle::getRoadID(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::Vehicle::getRouteID(), libsumo::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), MSVehicle::getSafeFollowSpeed(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSStageTrip::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), MSDevice::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Person::getTaxiReservations(), MSRailSignal::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), LIBSUMO_NAMESPACE::Person::getVehicle(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSRailSignalConstraint::getVehID(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSRailSignal::hasOncomingRailTraffic(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSBaseVehicle::haveValidStopEdges(), libsumo::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSVehicle::ignoreRed(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), NBEdge::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSTrafficLightLogic::initMesoTLSPenalties(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), MSCFModel_IDM::insertionFollowSpeed(), MSEdge::insertVehicle(), MSLane::integrateNewVehicles(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinSameJunctions(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), MSSOTLE2Sensors::meanVehiclesSpeed(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSSimpleDriverState::MSSimpleDriverState(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_Transportable::notifyMove(), MSE2Collector::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_ToC::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::onCmdDefSwitch(), GUIViewTraffic::onGamingClick(), MSVehicle::onRemovalFromNet(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSEdge::transportable_by_position_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSLaneChangerSublane::outputLCStarted(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MEVehicle::processStop(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), MSRailSignalControl::registerProtectedDriveway(), MSLink::removeApproaching(), MSVehicle::removePassedDriveItems(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSBaseVehicle::replaceRouteEdges(), MSVehicle::replaceStop(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSPerson::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), LIBSUMO_NAMESPACE::Vehicle::resume(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageWaiting::routeOutput(), MSStageDriving::routeOutput(), MSLane::safeInsertionSpeed(), LIBSUMO_NAMESPACE::RouteProbe::sampleCurrentRouteID(), LIBSUMO_NAMESPACE::RouteProbe::sampleLastRouteID(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSBaseVehicle::saveState(), MSLane::saveState(), MSTransportable::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), MSStageTrip::setArrived(), NBNodeCont::setAsTLControlled(), MSSimpleDriverState::setAwareness(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NLEdgeControlBuilder::setDefaultStopOffsets(), MSChargingStation::setEfficency(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), MSLCM_SL2015::setOwnState(), MSActuatedTrafficLightLogic::setParameter(), MSDevice_ToC::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), MSDevice_ToC::switchHolderType(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffsets(), MSVehicle::updateDriveItems(), MSRailSignal::updateDriveway(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNETLSEditorFrame::TLSJunction::updateJunctionDescription(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSXMLRawOut::writeVehicle(), MSAmitranTrajectories::writeVehicle(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSDevice_Transportable::~MSDevice_Transportable(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().
|
static |
Definition at line 101 of file GUIEdge.cpp.
References GUIGlObject::getGlID(), MSEdge::isNormal(), and MSEdge::myDict.
Referenced by GUINet::getParameterWindow(), and GUISUMOViewParent::onCmdLocate().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 66 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), NBRailwayTopologyAnalyzer::assignDirectionPriority(), MSLaneChanger::changeOpposite(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().
|
inherited |
Definition at line 690 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by MSEdge::getInternalFollowingLengthTo(), MSVehicle::getPastLanesUntil(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), and MSDevice_Bluelight::notifyMove().
|
inherited |
returns the length of all internal edges on the junction until reaching the non-internal edge followerAfterInternal.
Definition at line 708 of file MSEdge.cpp.
References MSEdge::getInternalFollowingEdge(), MSEdge::getLength(), and MSEdge::isInternal().
Referenced by MSLCM_SL2015::checkStrategicChange().
MSLane & GUIEdge::getLane | ( | int | laneNo | ) |
returns the enumerated lane (!!! why not private with a friend?)
Definition at line 94 of file GUIEdge.cpp.
References MSEdge::myLanes.
|
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
|
inlineinherited |
Returns this edge's lanes.
Definition at line 166 of file MSEdge.h.
References MSEdge::myLanes.
Referenced by MSVehicleTransfer::add(), NLHandler::addConnection(), addRerouter(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), MSVehicleControl::addVehicle(), libsumo::Helper::applySubscriptionFilters(), MELoop::buildSegmentsFor(), LIBSUMO_NAMESPACE::Vehicle::buildStopParameters(), MSBaseVehicle::calculateArrivalParams(), MSEdgeControl::changeLanes(), MSLink::checkContOff(), MSVehicleTransfer::checkInsertions(), closeTraffic(), MSPModel_NonInteracting::CState::computeDuration(), MSLCM_SL2015::computeSublaneShift(), GUILane::drawMarkings(), libsumo::Helper::findCloserLane(), MEVehicle::getAngle(), MSLane::getBidiLane(), GUIMEVehicle::getCenteringBoundary(), getColorValue(), MSEdge::getDistanceTo(), MSStage::getEdgeAngle(), GUILane::getEdgeLaneNumber(), MSStage::getEdgePosition(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollowersOnConsecutive(), libsumo::Helper::getLaneChecking(), MSVehicle::getLaneIndex(), MSEdge::getLengthGeometryFactor(), MESegment::getLink(), MSEdge::getMeanSpeed(), MSPModel_Striping::getNextLane(), MSEdge::getOccupancy(), MSCFModel_CC::getParameter(), MSVehicle::getPastLanesUntil(), MSInsertionControl::getPendingEmits(), GUIContainer::getPosition(), MEVehicle::getPosition(), MSVehicle::getPosition(), MSPModel_NonInteracting::PState::getPosition(), GUIVehicle::getPreviousLane(), MSBaseVehicle::getRNG(), MSTransportable::getRNG(), MSBaseVehicle::getRNGIndex(), getScaleValue(), getSegmentAtPosition(), MEVehicle::getSlope(), MSTransportable::getSlope(), LIBSUMO_NAMESPACE::Person::getSlope(), MSEdge::getSpeedLimit(), getTotalLength(), MSDevice_SSM::getUpstreamVehicles(), MSEdge::getVehicleMaxSpeed(), MSEdge::getVehicles(), MSEdge::getWaitingSeconds(), GUICalibrator::GUICalibrator(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), 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(), GUIViewTraffic::onCmdShowReachability(), NLTriggerBuilder::parseAndBuildCalibrator(), MSLCM_DK2008::patchSpeed(), MSLCM_SL2015::prepareStep(), TraCIServerAPI_Vehicle::processSet(), MSCalibrator::remainingVehicleCapacity(), LIBSUMO_NAMESPACE::Edge::setAllowedSVCPermissions(), setFunctionalColor(), GUITriggeredRerouter::shiftProbs(), LIBSUMO_NAMESPACE::Edge::storeShape(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSMeanData::writeEdge(), MSFullExport::writeEdge(), MSQueueExport::writeEdge(), MSXMLRawOut::writeEdge(), MSFCDExport::writeTransportable(), and MEInductLoop::writeXMLOutput().
|
inlineinherited |
Returns the last time a vehicle could not be inserted.
Definition at line 544 of file MSEdge.h.
References MSEdge::myLastFailedInsertionTime.
|
inlineinherited |
return the length of the edge
Definition at line 630 of file MSEdge.h.
References MSEdge::myLength.
Referenced by LIBSUMO_NAMESPACE::Person::add(), MSRouteHandler::addPersonTrip(), MSRouteHandler::addRide(), MSRouteHandler::addStop(), LIBSUMO_NAMESPACE::Person::appendDrivingStage(), libsumo::Helper::applySubscriptionFilters(), MSBaseVehicle::basePos(), NLTriggerBuilder::buildCalibrator(), MELoop::buildSegmentsFor(), MSPModel_NonInteracting::PState::computeDuration(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSStageDriving::getArrivalPos(), MSRoutingEngine::getAssumedSpeed(), MSEdge::getCurrentTravelTime(), MSEdge::getDepartPosBound(), MSRoute::getDistanceBetween(), MSRailSignal::LinkInfo::getDriveWay(), MSRoutingEngine::getEffort(), MSRoutingEngine::getEffortBike(), MSEdge::getInternalFollowingLengthTo(), MSEdge::getMeanSpeed(), MSEdge::getMinimumTravelTime(), MSPModel_Striping::getNextLane(), getParameterWindow(), NLTriggerBuilder::getPosition(), getTotalLength(), MSEdge::getTravelTimeAggregated(), MSIdling_RandomCircling::idle(), MSEdge::insertVehicle(), libsumo::Helper::moveToXYMap(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Transportable::notifyMove(), GUIViewTraffic::onCmdShowReachability(), MSRouteHandler::parseWalkPositions(), MSDevice_Taxi::prepareStop(), MSTriggeredRerouter::rerouteParkingArea(), MSStageTrip::setArrived(), MSRoutingEngine::setEdgeTravelTime(), MELoop::teleportVehicle(), MEVehicle::updateDetectors(), and MSMeanData::writeEdge().
|
inherited |
return shape.length() / myLength
Definition at line 926 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
|
inherited |
get the mean speed
Definition at line 743 of file MSEdge.cpp.
References MSEdge::getLanes(), MSEdge::getLength(), MSEdge::getSpeedLimit(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSEdge::myBidiEdge, MSEdge::myEmptyTraveltime, and MSEdge::myLanes.
Referenced by getColorValue(), MSEdge::getCurrentTravelTime(), MSEdge::getMeanSpeedBike(), getParameterWindow(), getRelativeSpeed(), and getScaleValue().
|
inherited |
get the mean speed of all bicycles on this edge
Definition at line 779 of file MSEdge.cpp.
References MSEdge::getMeanSpeed(), MSEdge::getSpeedLimit(), MSGlobals::gUseMesoSim, and MSEdge::myLanes.
|
inline |
Definition at line 211 of file GUIEdge.h.
References myMesoColor.
|
virtualinherited |
Returns the id of the object as known to microsim.
Definition at line 180 of file GUIGlObject.cpp.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), GUIGlObject::drawName(), GNEAdditional::getID(), GNEShape::getID(), GNETAZElement::getID(), GNEGenericData::getID(), GNEDemandElement::getID(), GNENetworkElement::getID(), GUIDialog_ChooserAbstract::getObjectName(), GNEDialogACChooser::getObjectName(), GNEDetectorE3::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNEVariableSpeedSign::getParentName(), GNEVehicleType::getParentName(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), TraCIServerAPI_GUI::processGet(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), SUMORTree::removeAdditionalGLObject(), and GNENet::splitEdge().
|
inlineinherited |
returns the minimum travel time for the given vehicle
Definition at line 450 of file MSEdge.h.
References CONNECTOR, MSEdge::getLength(), MSEdge::getVehicleMaxSpeed(), MSEdge::myEmptyTraveltime, MSEdge::myFunction, and MSEdge::myTimePenalty.
Referenced by MSVehicle::estimateTimeToNextStop(), MSRoutingEngine::getEffort(), MSRoutingEngine::getEffortBike(), and MSNet::getTravelTime().
|
inherited |
if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself
Definition at line 723 of file MSEdge.cpp.
References MSEdge::getPredecessors(), MSGlobals::gUsingInternalLanes, and MSEdge::isInternal().
Referenced by MSRouteHandler::addStop(), MSBaseVehicle::addStop(), and LIBSUMO_NAMESPACE::Vehicle::moveTo().
|
inherited |
if this edge is an internal edge, return its first normal successor, otherwise the edge itself
Definition at line 733 of file MSEdge.cpp.
References MSEdge::getSuccessors(), and MSEdge::isInternal().
Referenced by MSRouteHandler::addStop(), and MSLane::getNextNormal().
|
inlineinherited |
Returns the numerical id of the edge.
Definition at line 294 of file MSEdge.h.
References MSEdge::myNumericalID.
Referenced by MELoop::buildSegmentsFor(), MSEdgeControl::changeLanes(), MELoop::changeSegment(), MSEdge::dictionary(), GUILane::drawGL(), MSMeanData_Amitran::getEdgeID(), MSRoutingEngine::getEffort(), MSRoutingEngine::getEffortBike(), MELoop::getSegmentForEdge(), MELoop::nextSegment(), MSEdge::by_id_sorter::operator()(), MSRoutingEngine::setEdgeTravelTime(), and MELoop::updateSegementsForEdge().
|
inlineinherited |
Returns the number of edges this edge is connected to.
Definition at line 375 of file MSEdge.h.
References MSEdge::myPredecessors.
Referenced by NLEdgeControlBuilder::build().
|
inlineinherited |
Returns the number of edges that may be reached from this edge.
Definition at line 353 of file MSEdge.h.
References MSEdge::mySuccessors.
Referenced by NLEdgeControlBuilder::build(), and MELoop::buildSegmentsFor().
|
inherited |
return mean occupancy on this edges lanes or segments
Definition at line 1245 of file MSEdge.cpp.
References MSEdge::getLanes(), MSBaseVehicle::getLength(), MSEdge::getVehicles(), MSGlobals::gUseMesoSim, MSEdge::myLanes, and MSEdge::myLength.
|
inherited |
Returns the opposite direction edge if on exists else a nullptr.
Definition at line 1092 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by libsumo::Helper::applySubscriptionFilters(), and MSDevice_SSM::findFoeConflictLane().
|
virtual |
Returns the street name.
Reimplemented from GUIGlObject.
Definition at line 242 of file GUIEdge.cpp.
References MSEdge::myStreetName.
|
inlineinherited |
Definition at line 287 of file MSEdge.h.
References MSEdge::myOtherTazConnector.
|
inherited |
Returns the value for a given key.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 112 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), MSDevice_Battery::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), GNEEdge::drawEdgeName(), GNEGenericData::drawFilteredAttribute(), drawGL(), GNEConnection::drawGL(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSSwarmTrafficLightLogic::getBetaNo(), MSSwarmTrafficLightLogic::getBetaSp(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSSwarmTrafficLightLogic::getChangePlanProbability(), GNEEdgeData::getColor(), GNEEdgeRelData::getColor(), GUILane::getColorValue(), GUIVehicle::getColorValue(), GNELane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSSwarmTrafficLightLogic::getForgettingCox(), MSSwarmTrafficLightLogic::getGammaNo(), MSSwarmTrafficLightLogic::getGammaSp(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSSwarmTrafficLightLogic::getLearningCox(), MSSwarmTrafficLightLogic::getMaxCongestionDuration(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), GUIBaseVehicle::getOptionalName(), GUITrafficLightLogicWrapper::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSSwarmTrafficLightLogic::getPheroMaxVal(), MSSwarmTrafficLightLogic::getPoliciesParam(), MSBaseVehicle::getPrefixedParameter(), MSSwarmTrafficLightLogic::getReinforcementMode(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSDevice::getStringParam(), MSSwarmTrafficLightLogic::getThetaInit(), MSSwarmTrafficLightLogic::getThetaMax(), MSSwarmTrafficLightLogic::getThetaMin(), MSSOTLTrafficLightLogic::getThreshold(), MSRailSignalConstraint::getVehID(), MSTriggeredRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSSOTLPhasePolicy::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), PushButtonLogic::init(), SigmoidLogic::init(), MSVehicleType::initRailVisualizationParameters(), GNEVehicleType::initRailVisualizationParameters(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVehicleType::overwriteVType(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdgeCont::splitAt(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), NWWriter_DlrNavteq::writeLinksUnsplitted(), and NWWriter_OpenDrive::writeRoadObjects().
|
inherited |
Returns the inner key/value map.
Definition at line 146 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), GNEAdditional::getACParametersMap(), GNEPOI::getACParametersMap(), GNEPoly::getACParametersMap(), GNETAZElement::getACParametersMap(), GNEDataInterval::getACParametersMap(), GNEDataSet::getACParametersMap(), GNEGenericData::getACParametersMap(), GNEPerson::getACParametersMap(), GNEPersonStop::getACParametersMap(), GNEPersonTrip::getACParametersMap(), GNERide::getACParametersMap(), GNERoute::getACParametersMap(), GNEStop::getACParametersMap(), GNEVehicle::getACParametersMap(), GNEVehicleType::getACParametersMap(), GNEWalk::getACParametersMap(), GNEConnection::getACParametersMap(), GNECrossing::getACParametersMap(), GNEEdge::getACParametersMap(), GNEEdgeType::getACParametersMap(), GNEJunction::getACParametersMap(), GNELane::getACParametersMap(), GNELaneType::getACParametersMap(), GUILane::getParameterWindow(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), NIImporter_OpenStreetMap::insertEdge(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), GNEVehicleType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), Parameterised::setParameters(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().
|
inherited |
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
Definition at line 152 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE2::getAttribute(), GNEDetectorE3::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), GNERerouter::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEPerson::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNERoute::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttribute(), GNEWalk::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), and GNELaneType::getAttribute().
|
virtual |
Returns an own parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Implements GUIGlObject.
Definition at line 176 of file GUIEdge.cpp.
References GUIParameterTableWindow::closeBuilding(), getAllowedSpeed(), MSEdge::getBruttoOccupancy(), MESegment::getCarNumber(), MESegment::getEdge(), MESegment::getEntryBlockTimeSeconds(), MESegment::getEventTimeSeconds(), MESegment::getFlow(), MSEdge::getFlow(), MESegment::getIndex(), MESegment::getLastHeadwaySeconds(), MESegment::getLength(), MSEdge::getLength(), MESegment::getMeanSpeed(), MSEdge::getMeanSpeed(), GUISUMOAbstractView::getPositionInformation(), MESegment::getRelativeJamThreshold(), MESegment::getRelativeOccupancy(), MSEdge::getRoutingSpeed(), getSegmentAtPosition(), MSEdge::getSpeedLimit(), MSEdge::getVehicleNumber(), GUIParameterTableWindow::mkItem(), MSEdge::myLanes, and MESegment::numQueues().
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNELane, GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, GNEPerson, GNEVariableSpeedSignSymbol, GNEVariableSpeedSignStep, GNEVariableSpeedSign, GNEVaporizer, GNETAZSourceSink, GNETAZ, GNEStoppingPlace, GNERouteProbReroute, GNERouteProbe, GNERerouterSymbol, GNERerouterInterval, GNERerouter, GNEPoly, GNEPOI, GNEParkingSpace, GNEParkingAreaReroute, GNEDetectorE3, GNEDetector, GNEDestProbReroute, GNEClosingReroute, GNEClosingLaneReroute, GNECalibratorFlow, GNECalibrator, GNEAccess, and GUILane.
Definition at line 160 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
inlineinherited |
Returns the combined permissions of all lanes of this edge.
Definition at line 594 of file MSEdge.h.
References MSEdge::myCombinedPermissions.
Referenced by closeBuilding(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUILane::getColorValue(), getWalking(), MESegment::MESegment(), libsumo::Helper::moveToXYMap(), MSPedestrianPushButton::MSPedestrianPushButton(), and MSStageTrip::setArrived().
|
inlineinherited |
Returns this edge's persons set.
Avoids the creation of new vector as in getSortedPersons
Definition at line 192 of file MSEdge.h.
References MSEdge::myPersons.
Referenced by MSLCM_LC2013::_wantsChange(), MSLink::checkWalkingAreaFoe(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount(), MSPedestrianPushButton::isActiveForEdge(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::updateExpectedSublaneSpeeds().
|
virtual |
Returns an own popup-menu.
[in] | app | The application needed to build the popup-menu |
[in] | parent | The parent window needed to build the popup-menu |
Implements GUIGlObject.
Definition at line 158 of file GUIEdge.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), GUIGlObject::buildShowTypeParamsPopupEntry(), MESegment::getIndex(), GUISUMOAbstractView::getPositionInformation(), getSegmentAtPosition(), MSGlobals::gUseMesoSim, and toString().
|
inlineinherited |
Definition at line 383 of file MSEdge.h.
References MSEdge::myPredecessors.
Referenced by NLEdgeControlBuilder::build(), closeTraffic(), MSPModel_Striping::getArbitraryPath(), MSRoute::getDistanceBetween(), MSLane::getLogicalPredecessorLane(), MSEdge::getNormalBefore(), MSPModel_Striping::getWalkingAreaPath(), getWalkingAreas(), MSPModel_Striping::guessPath(), MSPModel_Striping::initWalkingAreaPaths(), MSPedestrianPushButton::isActiveForEdge(), libsumo::Helper::moveToXYMap(), LIBSUMO_NAMESPACE::Lane::setAllowed(), LIBSUMO_NAMESPACE::Edge::setAllowedSVCPermissions(), MSStageTrip::setArrived(), LIBSUMO_NAMESPACE::Lane::setDisallowed(), and GUILane::setFunctionalColor().
|
inlineinherited |
Returns the priority of the edge.
Definition at line 313 of file MSEdge.h.
References MSEdge::myPriority.
Referenced by GUILane::getColorValue(), MSRoutingEngine::getEffortExtra(), GUILane::getParameterWindow(), GUILane::getScaleValue(), and MSLane::outgoing_lane_priority_sorter::operator()().
|
inlineinherited |
Definition at line 796 of file MSEdge.h.
References MSEdge::myRailwayRoutingEdge.
double GUIEdge::getRelativeSpeed | ( | ) | const |
return meanSpead divided by allowedSpeed
Definition at line 400 of file GUIEdge.cpp.
References getAllowedSpeed(), and MSEdge::getMeanSpeed().
Referenced by getColorValue(), and getScaleValue().
|
inlineinherited |
Definition at line 789 of file MSEdge.h.
References MSEdge::myReversedRoutingEdge.
|
inherited |
Returns the averaged speed used by the routing device.
Definition at line 808 of file MSEdge.cpp.
References MSRoutingEngine::getAssumedSpeed().
Referenced by getColorValue(), GUILane::getColorValue(), getParameterWindow(), and GUILane::getParameterWindow().
double GUIEdge::getScaleValue | ( | int | activeScheme | ) | const |
gets the scaling value according to the current scheme index
Definition at line 512 of file GUIEdge.cpp.
References getAllowedSpeed(), MSEdge::getBruttoOccupancy(), MSEdge::getFlow(), GUIGlObject::getGlID(), MSNet::getInsertionControl(), MSNet::getInstance(), MSEdge::getLanes(), MSEdge::getMeanSpeed(), MSInsertionControl::getPendingEmits(), getRelativeSpeed(), GUIGlObject::getType(), gSelected, and GUISelectedStorage::isSelected().
Referenced by GUILane::drawGL().
returns the segment closest to the given position
Definition at line 534 of file GUIEdge.cpp.
References MSEdge::getLanes(), MELoop::getSegmentForEdge(), MSGlobals::gMesoNet, and PositionVector::nearest_offset_to_point2D().
Referenced by getParameterWindow(), and getPopUpMenu().
|
inline |
|
inherited |
Returns this edge's containers sorted by pos.
Definition at line 979 of file MSEdge.cpp.
References MSEdge::myContainers.
Referenced by MSXMLRawOut::writeEdge().
|
inherited |
Returns this edge's persons sorted by pos.
Definition at line 961 of file MSEdge.cpp.
References MSEdge::myLanes, and MSEdge::myPersons.
Referenced by LaneStoringVisitor::add(), MSLane::detectPedestrianJunctionCollision(), and MSXMLRawOut::writeEdge().
|
inherited |
Returns the speed limit of the edge @caution The speed limit of the first lane is retured; should probably be the fastest edge.
Definition at line 919 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
Referenced by GUIApplicationWindow::checkGamingEvents(), METriggeredCalibrator::execute(), MSVehicle::getFollower(), MSEdge::getMeanSpeed(), MESegment::getMeanSpeed(), MSEdge::getMeanSpeedBike(), MESegment::getNextInsertionTime(), getParameterWindow(), MSVehicleControl::getVehicleMeanSpeeds(), METriggeredCalibrator::invalidJam(), MSCalibrator::invalidJam(), GUIViewTraffic::onCmdShowReachability(), MSEdge::recalcCache(), MESegment::recomputeJamThreshold(), MSCalibrator::remainingVehicleCapacity(), MELoop::teleportVehicle(), MSEdge::validateDepartSpeed(), and MSMeanData::writeEdge().
|
staticinherited |
return the coordinates of the center of the given stop
Definition at line 913 of file MSEdge.cpp.
References MSLane::dictionary(), SUMOVehicleParameter::Stop::endPos, SUMOVehicleParameter::Stop::lane, and SUMOVehicleParameter::Stop::startPos.
|
inlineinherited |
Returns the street name of the edge.
Definition at line 301 of file MSEdge.h.
References MSEdge::myStreetName.
Referenced by drawGL(), and GUILane::getParameterWindow().
|
inlineinherited |
Returns the right side offsets of this edge's sublanes.
Definition at line 606 of file MSEdge.h.
References MSEdge::mySublaneSides.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), MSLCM_SL2015::computeSpeedGain(), GUIVehicle::getLeftSublaneOnEdge(), GUIVehicle::getRightSublaneOnEdge(), and MSLCM_SL2015::prepareStep().
|
inherited |
Returns the following edges, restricted by vClass.
[in] | vClass | The vClass for which to restrict the successors |
Definition at line 1013 of file MSEdge.cpp.
References MSEdge::allowedLanes(), CONNECTOR, MSNet::getInstance(), MSGlobals::gNumThreads, MSEdge::lock(), MSEdge::myClassesSuccessorMap, MSEdge::myFunction, MSEdge::mySuccessors, and SVC_IGNORING.
Referenced by NLEdgeControlBuilder::build(), MSVehicle::checkReversal(), closeBuilding(), MSPModel_Striping::getArbitraryPath(), MSRoute::getDistanceBetween(), MSEdge::getNormalSuccessor(), getWalkingAreas(), MSPModel_Striping::guessPath(), MSIdling_RandomCircling::idle(), MSPModel_Striping::initWalkingAreaPaths(), MSPedestrianPushButton::isActiveForEdge(), MELoop::isEnteringRoundabout(), MESegment::MESegment(), libsumo::Helper::moveToXYMap(), GUIViewTraffic::onCmdShowReachability(), MSStageTrip::setArrived(), and GUILane::setFunctionalColor().
|
inlineinherited |
Definition at line 392 of file MSEdge.h.
References MSEdge::myToJunction.
Referenced by MSEdge::addSuccessor(), MSPModel::canTraverse(), MSDevice_SSM::classifyEncounter(), closeBuilding(), MSPModel_NonInteracting::PState::computeDuration(), GUILane::drawGL(), GUILane::drawLane2LaneConnections(), GUILane::drawLinkRule(), GUILane::drawLinkRules(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSRoute::getDistanceBetween(), MSPModel_Striping::getNextLane(), MSLCHelper::getRoundaboutDistBonus(), MESegment::initSegment(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSRailSignal::DriveWay::overlap(), MSRouteHandler::parseWalkPositions(), MSVehicle::planMoveInternal(), MSInternalJunction::postloadInit(), MSVehicle::processLinkApproaches(), MSPModel_Striping::PState::PState(), MSLane::saveState(), MSStageTrip::setArrived(), and MSPerson::MSPersonStage_Walking::walkDistance().
|
static |
Definition at line 116 of file GUIEdge.cpp.
References MSEdge::getLanes(), MSEdge::getLength(), MSEdge::isInternal(), and MSEdge::myDict.
Referenced by GUINet::getParameterWindow().
|
staticinherited |
Definition at line 1283 of file MSEdge.cpp.
References MSRoutingEngine::getAssumedSpeed(), MSEdge::getLength(), SUMOTrafficObject::getMaxSpeed(), and MIN2().
|
inlinestaticinherited |
Returns the travel time for the given edge.
[in] | edge | The edge for which the travel time shall be retrieved |
[in] | veh | The vehicle for which the travel time on this edge shall be retrieved |
[in] | time | The time for which the travel time shall be returned [s] |
Definition at line 468 of file MSEdge.h.
References MSNet::getInstance(), and MSNet::getTravelTime().
|
inherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 202 of file GUIGlObject.cpp.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEVehicle::drawFlowLabel(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEDetectorEntryExit::drawGL(), GNEPOI::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNEEdgeRelData::drawPartialGL(), GNEAdditional::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GNEVehicle::drawStackLabel(), GNEViewNet::getAttributeCarriersInBoundary(), getColorValue(), GUIJunctionWrapper::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), getScaleValue(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNEViewNetHelper::ObjectsUnderCursor::updateGenericDataElements(), GNEViewNetHelper::ObjectsUnderCursor::updateNetworkElements(), GNEViewNetHelper::ObjectsUnderCursor::updateShapeElements(), and GNEViewNetHelper::ObjectsUnderCursor::updateTAZElements().
|
virtual |
Returns an own type parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented from GUIGlObject.
Definition at line 209 of file GUIEdge.cpp.
References GUIParameterTableWindow::closeBuilding(), MSEdge::getEdgeType(), MSNet::getInstance(), MSNet::getMesoType(), MSNet::MesoEdgeType::jamThreshold, MSNet::MesoEdgeType::junctionControl, MSNet::MesoEdgeType::minorPenalty, GUIParameterTableWindow::mkItem(), MSNet::MesoEdgeType::overtaking, STEPS2TIME, MSNet::MesoEdgeType::tauff, MSNet::MesoEdgeType::taufj, MSNet::MesoEdgeType::taujf, MSNet::MesoEdgeType::taujj, MSNet::MesoEdgeType::tlsFlowPenalty, and MSNet::MesoEdgeType::tlsPenalty.
|
inherited |
Returns the maximum speed the vehicle may use on this edge.
@caution Only the first lane is considered
Definition at line 931 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
Referenced by LIBSUMO_NAMESPACE::Vehicle::getAllowedSpeed(), GUIMEVehicle::getColorValue(), MSEdge::getMinimumTravelTime(), MSDevice_Tripinfo::notifyMoveInternal(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MESegment::receive(), and MSEdge::validateDepartSpeed().
|
inherited |
return total number of vehicles on this edges lanes or segments
Definition at line 1223 of file MSEdge.cpp.
References MSEdge::getVehicles().
Referenced by getParameterWindow().
|
inherited |
return vehicles on this edges lanes or segments
Definition at line 1203 of file MSEdge.cpp.
References MSEdge::getLanes(), MSGlobals::gMesoNet, and MSGlobals::gUseMesoSim.
Referenced by MSEdge::getOccupancy(), and MSEdge::getVehicleNumber().
|
inherited |
Returns the following edges with internal vias, restricted by vClass.
[in] | vClass | The vClass for which to restrict the successors |
Definition at line 1043 of file MSEdge.cpp.
References MSEdge::allowedLanes(), CONNECTOR, MSNet::getInstance(), MSGlobals::gNumThreads, MSEdge::lock(), MSEdge::myClassesViaSuccessorMap, MSEdge::myFunction, MSEdge::myViaSuccessors, and SVC_IGNORING.
Referenced by GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeRelWeight().
|
inherited |
return accumated waiting time for all vehicles on this edges lanes or segments
Definition at line 1229 of file MSEdge.cpp.
References MSEdge::getLanes(), MSGlobals::gMesoNet, and MSGlobals::gUseMesoSim.
Referenced by LIBSUMO_NAMESPACE::Edge::getWaitingTime().
|
inherited |
Definition at line 1180 of file MSEdge.cpp.
References DEPART_CONTAINER_TRIGGERED, DEPART_TRIGGERED, Named::getID(), MSGlobals::gNumSimThreads, MSGlobals::gStopTolerance, MSTransportable::isPerson(), MSTransportable::isWaitingFor(), MSEdge::lock(), MSEdge::myWaiting, toString(), and WRITE_WARNING.
Referenced by MSStageDriving::proceed().
|
inlineinherited |
Returns the edges's width (sum over all lanes)
Definition at line 601 of file MSEdge.h.
References MSEdge::myWidth.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), MSLCM_SL2015::computeSpeedGain(), MSLCM_SL2015::keepLatGap(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::prepareStep().
|
inlineinherited |
Definition at line 691 of file MSEdge.h.
References MSEdge::myLaneChanger.
Referenced by MSLCM_LC2013::_patchSpeed().
|
inherited |
whether any lane has a minor link
Definition at line 1102 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by MESegment::initSegment().
Enables vaporization.
The internal vaporization counter is increased enabling the vaporization. Called from the event handler.
[in] | t | The current time (unused) |
ProcessError | not thrown by this method, just derived |
Definition at line 398 of file MSEdge.cpp.
References MSEdge::myVaporizationRequests.
Referenced by NLTriggerBuilder::buildVaporizer().
|
inherited |
Initialize the edge.
[in] | allowed | Information which edges may be reached from which lanes |
[in] | lanes | List of this edge's lanes |
Definition at line 94 of file MSEdge.cpp.
References CONNECTOR, MSGlobals::gLateralResolution, MSEdge::myCombinedPermissions, MSEdge::myFunction, MSEdge::myLanes, MSEdge::mySublaneSides, MSEdge::myWidth, MSLeaderInfo::numSublanes(), and SVCAll.
Referenced by NLHandler::addDistrict(), NLBuilder::build(), and NLEdgeControlBuilder::closeEdge().
|
staticinherited |
Inserts IDs of all known edges into the given vector.
Definition at line 863 of file MSEdge.cpp.
References MSEdge::myDict.
|
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).
[in] | v | The vehicle to insert |
[in] | time | The current simulation time |
[in] | checkOnly | Whether we perform only the check without actually inserting |
[in] | forceCheck | Whether 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. |
Definition at line 570 of file MSEdge.cpp.
References DEFAULT, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, FIRST_ALLOWED, FREE, MSGlobals::gCheckRoutes, MSLane::getBruttoOccupancy(), MSEdge::getDepartLane(), Named::getID(), MSLane::getIndex(), MSNet::getInstance(), MSEdge::getLength(), MSVehicleType::getLengthWithGap(), MESegment::getNextSegment(), SUMOTrafficObject::getParameter(), SUMOVehicle::getRouteValidity(), MELoop::getSegmentForEdge(), SUMOTrafficObject::getVehicleType(), GIVEN, 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(), RANDOM, RANDOM_FREE, MSBaseVehicle::ROUTE_VALID, time2string(), toString(), MSEdge::validateDepartSpeed(), and WRITE_WARNING.
Referenced by MSInsertionControl::checkCandidates(), MSCalibrator::execute(), and MSInsertionControl::tryInsert().
|
inlineinherited |
Definition at line 231 of file MSEdge.h.
References MSEdge::allowedLanes().
|
inlineinherited |
return whether this edge is a pedestrian crossing
Definition at line 261 of file MSEdge.h.
References CROSSING, and MSEdge::myFunction.
Referenced by NLHandler::addConnection(), MSSwarmTrafficLightLogic::allowLine(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildSensorForLane(), GUILane::drawGL(), GUILane::drawLinkNo(), GUILane::drawTLSLinkNo(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSPModel_Striping::initWalkingAreaPaths(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSPModel_Striping::moveInDirectionOnLane(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSPedestrianPushButton::MSPedestrianPushButton(), and GUILane::setFunctionalColor().
|
inlineinherited |
Definition at line 687 of file MSEdge.h.
References MSEdge::myAmDelayed, and MSEdge::myBidiEdge.
|
inlineinherited |
return whether this edge is at the fringe of the network
Definition at line 711 of file MSEdge.h.
References MSEdge::myAmFringe.
Referenced by MSVehicle::planMoveInternal().
|
inlineinherited |
return whether this edge is an internal edge
Definition at line 256 of file MSEdge.h.
References INTERNAL, and MSEdge::myFunction.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLane::addApproachingLane(), GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeRelWeight(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), MSEdge::allowsLaneChanging(), MSLane::appropriate(), NLEdgeControlBuilder::build(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildSensorForLane(), MSEdge::canChangeToOpposite(), MSLaneChanger::checkChange(), MSVehicle::checkRewindLinkLanes(), GUILane::drawGL(), MSVehicle::enterLaneAtMove(), MSDevice_SSM::findSurroundingVehicles(), MSVehicle::getBestLanesContinuation(), MSRoute::getDistanceBetween(), MSEdge::getInternalFollowingLengthTo(), MSLink::getLeaderInfo(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), MSEdge::getNormalBefore(), MSEdge::getNormalSuccessor(), getTotalLength(), MSDevice_SSM::getUpstreamVehicles(), MSLane::isInternal(), MSVehicle::joinTrainPartFront(), MSLink::lastWasContMajor(), MSLink::lastWasContMajorGreen(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), libsumo::Helper::moveToXYMap(), MSLane::mustCheckJunctionCollisions(), MSVehicle::passingMinor(), MSLCM_DK2008::patchSpeed(), MSVehicle::planMoveInternal(), MSEdge::recalcCache(), MSLink::setRequestInformation(), MSVehicle::unsafeLinkAhead(), MSVehicle::updateBestLanes(), MSLCM_DK2008::wantsChangeToLeft(), and MSLCM_DK2008::wantsChangeToRight().
|
inlineinherited |
return whether this edge is an internal edge
Definition at line 251 of file MSEdge.h.
References MSEdge::myFunction, and NORMAL.
Referenced by MSRailSignal::DriveWay::buildRoute(), MSVehicle::enterLaneAtInsertion(), getIDs(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSFullExport::writeEdge(), and MSXMLRawOut::writeEdge().
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 240 of file Parameterised.cpp.
References Parameterised::DOUBLE, StringTokenizer::getVector(), SUMOXMLDefinitions::isValidParameterKey(), and StringUtils::toDouble().
Referenced by Parameterised::areParametersValid().
|
inlineinherited |
Definition at line 674 of file MSEdge.h.
References MSEdge::myAmRoundabout.
Referenced by MSVehicle::checkRewindLinkLanes(), MSLink::getLeaderInfo(), MSLCHelper::getRoundaboutDistBonus(), MSVehicle::getSpaceTillLastStanding(), MESegment::limitedControlOverride(), and MSVehicle::processLinkApproaches().
|
virtual |
whether this lane is selected in the GUI
Reimplemented from MSEdge.
Definition at line 587 of file GUIEdge.cpp.
References GUIGlObject::getGlID(), GLO_EDGE, gSelected, and GUISelectedStorage::isSelected().
|
privateinherited |
Definition at line 1140 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
Referenced by MSEdge::checkAndRegisterBiDirEdge().
|
inlineinherited |
Definition at line 279 of file MSEdge.h.
References CONNECTOR, and MSEdge::myFunction.
Referenced by MSEdge::addSuccessor(), MSBaseVehicle::calculateArrivalParams(), closeBuilding(), getBoundary(), GUILane::getColorValue(), MSEdge::getDistanceTo(), MSEdge::insertVehicle(), MSBaseVehicle::MSBaseVehicle(), MSDevice_Routing::preInsertionReroute(), MSBaseVehicle::reroute(), MSStageTrip::setArrived(), and MSEdge::setJunctions().
|
inlineinherited |
Returns whether vehicles on this edge shall be vaporized.
Definition at line 408 of file MSEdge.h.
References MSEdge::myVaporizationRequests.
Referenced by MSVehicle::executeMove(), MSLane::executeMovements(), MSEdge::insertVehicle(), MSVehicle::processLaneAdvances(), MESegment::receive(), and MSInsertionControl::tryInsert().
|
inlineinherited |
return whether this edge is walking area
Definition at line 275 of file MSEdge.h.
References MSEdge::myFunction, and WALKINGAREA.
Referenced by MSSwarmTrafficLightLogic::allowLine(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildSensorForLane(), GUILane::drawGL(), GUILane::drawLane2LaneConnections(), MSPModel_Striping::getArbitraryPath(), GUILane::getColorValue(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), getWalking(), MSPModel_Striping::getWalkingAreaPath(), MSPModel_Striping::guessPath(), MSPModel_Striping::initWalkingAreaPaths(), MSPModel_Striping::moveInDirection(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), and MSPedestrianPushButton::MSPedestrianPushButton().
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 106 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::append(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), NWWriter_DlrNavteq::getBrunnelType(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), MSVehicleType::initRailVisualizationParameters(), GNEVehicleType::initRailVisualizationParameters(), GNEVehicleType::overwriteVType(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), and NWWriter_OpenDrive::writeRoadObjects().
Returns the lane left to the one given, 0 if the given lane is leftmost.
[in] | lane | The lane right to the one to be returned |
Definition at line 341 of file MSEdge.cpp.
References MSEdge::parallelLane().
Referenced by MSDevice_ElecHybrid::notifyMove().
|
inlinevirtual |
|
inlineinherited |
Definition at line 678 of file MSEdge.h.
References MSEdge::myAmRoundabout.
Referenced by NLHandler::addRoundabout(), and NLEdgeControlBuilder::build().
|
inlineinherited |
Definition at line 682 of file MSEdge.h.
References MSEdge::myAmDelayed.
Referenced by MSLane::incorporateVehicle(), MSLane::integrateNewVehicles(), and MEVehicle::setEventTime().
|
inlinevirtualinherited |
notify object about left click
Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.
Definition at line 163 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::onLeftBtnPress().
|
inherited |
Returns the lane with the given offset parallel to the given lane one or 0 if it does not exist.
[in] | lane | The base lane |
[in] | offset | The offset of the result lane |
[in] | includeOpposte | Whether an opposite direction lane may be returned |
Definition at line 353 of file MSEdge.cpp.
References MSLane::getIndex(), MSLane::getOpposite(), and MSEdge::myLanes.
Referenced by MSLane::getParallelLane(), MSEdge::leftLane(), and MSEdge::rightLane().
|
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.
[in] | desc | The string containing space-separated edge ids |
[out] | into | The vector to fill |
[in] | rid | The id of the route these description belongs to; used for error message generation |
ProcessError | If one of the strings contained is not a known edge id |
Definition at line 871 of file MSEdge.cpp.
References StringTokenizer::getVector().
Referenced by MSRouteHandler::addWalk(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), MSRouteHandler::myStartElement(), MSRouteHandler::openRoute(), MSRouteHandler::parseFromViaTo(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), and LIBSUMO_NAMESPACE::Vehicle::setVia().
|
staticinherited |
Parses the given string vector assuming it edge ids.
[in] | desc | The string vector containing edge ids |
[out] | into | The vector to fill |
[in] | rid | The id of the route these description belongs to; used for error message generation |
ProcessError | If one of the strings contained is not a known edge id |
Definition at line 879 of file MSEdge.cpp.
References MSEdge::dictionary().
|
inlineinherited |
Returns whether the vehicle (class) is not allowed on the edge.
Definition at line 576 of file MSEdge.h.
References SUMOTrafficObject::getVClass(), and MSEdge::myCombinedPermissions.
|
inherited |
Definition at line 250 of file MSEdge.cpp.
References MSEdge::addToAllowed(), MSEdge::allowedLanes(), MSEdge::myAllowed, MSEdge::myCombinedPermissions, MSEdge::myLanes, MSEdge::myMinimumPermissions, MSEdge::rebuildAllowedTargets(), SUMOVehicleClass_MAX, SVC_IGNORING, SVC_PRIVATE, and SVCAll.
Referenced by MSEdge::closeBuilding(), GUILane::closeTraffic(), closeTraffic(), LIBSUMO_NAMESPACE::Lane::setAllowed(), LIBSUMO_NAMESPACE::Edge::setAllowedSVCPermissions(), and LIBSUMO_NAMESPACE::Lane::setDisallowed().
|
inherited |
Definition at line 279 of file MSEdge.cpp.
References MSEdge::addToAllowed(), MSEdge::allowedLanes(), MSEdge::myAllowed, MSEdge::myAllowedTargets, MSEdge::myClassesSuccessorMap, MSEdge::myCombinedPermissions, MSEdge::myLanes, MSEdge::myMinimumPermissions, MSEdge::mySuccessors, SUMOVehicleClass_MAX, SVC_IGNORING, and SVC_PRIVATE.
Referenced by MSEdge::rebuildAllowedLanes().
|
inherited |
Recalculates the cached values.
Definition at line 111 of file MSEdge.cpp.
References MSEdge::getEdgeType(), MSNet::getInstance(), MSNet::getMesoType(), MSEdge::getSpeedLimit(), MSGlobals::gMinorPenalty, MSGlobals::gUseMesoSim, MSGlobals::gUsingInternalLanes, MSLink::havePriority(), MSEdge::isInternal(), MSLink::isTLSControlled(), MAX2(), MIN2(), MSNet::MesoEdgeType::minorPenalty, MSEdge::myEmptyTraveltime, MSEdge::myLanes, MSEdge::myLength, MSEdge::myTimePenalty, STEPS2TIME, and MSNet::MesoEdgeType::tlsPenalty.
Referenced by MSEdge::closeBuilding(), MSTrafficLightLogic::initMesoTLSPenalties(), MSLane::setLength(), and MSLane::setMaxSpeed().
|
inlinevirtualinherited |
remove additional user-griggered visualisations
Reimplemented in GUIPerson, and GUIBaseVehicle.
Definition at line 160 of file GUIGlObject.h.
|
inlinevirtual |
Remove container from myContainers.
Reimplemented from MSEdge.
Definition at line 161 of file GUIEdge.h.
References myLock, and MSEdge::removeContainer().
|
inlinevirtualinherited |
notify object about popup menu removal
Reimplemented in GUIBaseVehicle.
Definition at line 109 of file GUIGlObject.h.
Referenced by GUIGLObjectPopupMenu::~GUIGLObjectPopupMenu().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 315 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
inlinevirtual |
Reimplemented from MSEdge.
Definition at line 150 of file GUIEdge.h.
References myLock, and MSEdge::removePerson().
|
inherited |
Removes a vehicle from the list of waiting vehicles.
Definition at line 1168 of file MSEdge.cpp.
References MSGlobals::gNumSimThreads, MSEdge::lock(), and MSEdge::myWaiting.
Referenced by MSStageDriving::proceed(), MEVehicle::processStop(), and MSVehicle::resumeFromStopping().
|
inlineinherited |
Returns whether this edge has restriction parameters forbidding the given vehicle to pass it The restriction mechanism is not implemented yet for the microsim, so it always returns false.
[in] | vehicle | The vehicle for which the information has to be returned |
Returns the lane right to the one given, 0 if the given lane is rightmost.
[in] | lane | The lane left to the one to be returned |
Definition at line 347 of file MSEdge.cpp.
References MSEdge::parallelLane().
Referenced by MSDevice_ElecHybrid::notifyMove().
void GUIEdge::setColor | ( | const GUIVisualizationSettings & | s | ) | const |
sets the color according to the currente settings
Definition at line 406 of file GUIEdge.cpp.
References GUIVisualizationSettings::edgeColorer, GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), getColorValue(), GUIPropertySchemeStorage< T >::getScheme(), myMesoColor, setFunctionalColor(), and setMultiColor().
Referenced by drawGL().
|
inlineinherited |
Sets the crossed edge ids for a crossing edge.
Definition at line 327 of file MSEdge.h.
References MSEdge::myCrossingEdges.
Referenced by NLEdgeControlBuilder::addCrossingEdges().
bool GUIEdge::setFunctionalColor | ( | const GUIColorer & | c | ) | const |
sets the color according to the current scheme index and some edge function
Definition at line 416 of file GUIEdge.cpp.
References GUIPropertySchemeStorage< T >::getActive(), MSEdge::getLanes(), myMesoColor, and GUILane::setFunctionalColor().
Referenced by setColor().
|
inlinevirtualinherited |
resets the id
[in] | newID | The new id of this object |
Reimplemented in MSTransportable, and MSBaseVehicle.
Definition at line 81 of file Named.h.
References Named::myID.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), and IntermodalNetwork< E, L, N, V >::splitEdge().
|
inherited |
Definition at line 1073 of file MSEdge.cpp.
References Boundary::add(), MSJunction::getPosition(), MSEdge::isTazConnector(), MSEdge::myBoundary, MSEdge::myFromJunction, and MSEdge::myToJunction.
Referenced by NLHandler::myEndElement().
|
inlineinherited |
Sets the last time a vehicle could not be inserted.
[in] | time | the new value |
Definition at line 552 of file MSEdge.h.
References MSEdge::myLastFailedInsertionTime.
Referenced by MSInsertionControl::tryInsert().
|
inherited |
Sets a new maximum speed for all lanes (used by TraCI and MSCalibrator)
[in] | val | the new speed in m/s |
Definition at line 938 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by METriggeredCalibrator::execute(), and MSCalibrator::execute().
|
virtualinherited |
Changes the microsimID of the object.
Reimplemented in GNEEdge.
Definition at line 190 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObjectStorage::gIDStorage, GUIGlObject::myFullName, GUIGlObject::myGlID, GUIGlObject::myMicrosimID, GUIGlObjectStorage::registerObject(), and GUIGlObjectStorage::remove().
Referenced by GNELane::setIndex(), GNEEdge::setMicrosimID(), GNENetHelper::AttributeCarriers::updateAdditionalID(), GNENetHelper::AttributeCarriers::updateDemandElementID(), GNENetHelper::AttributeCarriers::updateEdgeTypeID(), GNEConnection::updateID(), GNENetHelper::AttributeCarriers::updateJunctionID(), GNENetHelper::AttributeCarriers::updateShapeID(), and GNENetHelper::AttributeCarriers::updateTAZElementID().
bool GUIEdge::setMultiColor | ( | const GUIColorer & | c | ) | const |
sets multiple colors according to the current scheme index and edge function
Definition at line 438 of file GUIEdge.cpp.
References GUIPropertySchemeStorage< T >::getActive(), getAllowedSpeed(), GUIPropertyScheme< T >::getColor(), GUIPropertySchemeStorage< T >::getScheme(), MSGlobals::gMesoNet, and mySegmentColors.
Referenced by setColor().
|
inlineinherited |
Definition at line 283 of file MSEdge.h.
References MSEdge::myOtherTazConnector.
Referenced by NLHandler::addDistrict(), and NLBuilder::build().
|
virtualinherited |
Sets a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Reimplemented in GNEPoly, GNEPOI, and MSActuatedTrafficLightLogic.
Definition at line 75 of file Parameterised.cpp.
References Parameterised::DOUBLE, Parameterised::myAttrType, Parameterised::myMap, StringUtils::toDouble(), and WRITE_WARNING.
Referenced by NLHandler::addDistrict(), RONetHandler::addParam(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NBEdge::append(), NIImporter_OpenStreetMap::insertNodeChecking(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NIImporter_OpenDrive::loadNetwork(), MSStateHandler::myStartElement(), NIImporter_MATSim::EdgesHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), GNEAdditionalHandler::parseParameter(), GNEDataHandler::parseParameter(), GNEVehicleType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSActuatedTrafficLightLogic::setParameter(), GNEPOI::setParameter(), GNEPoly::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), and Parameterised::updateParameters().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 168 of file Parameterised.cpp.
References Parameterised::getParametersMap(), Parameterised::myMap, and Parameterised::setParameter().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 179 of file Parameterised.cpp.
References Parameterised::myMap, and Parameterised::setParameter().
|
inherited |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
[in] | paramsString | A serialized key-value map |
[in] | kvsep | The separater between key and value |
[in] | sep | The separater between map entries |
Definition at line 190 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, and Parameterised::setParameter().
Referenced by MSDevice_Taxi::initDispatch(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorE3::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNERerouter::setAttribute(), GNERerouterInterval::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEPerson::setAttribute(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNERoute::setAttribute(), GNEVehicle::setAttribute(), GNEVehicleType::setAttribute(), GNEWalk::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), and GNELaneType::setAttribute().
|
inline |
Definition at line 215 of file GUIEdge.h.
References myShowDeadEnd.
|
inlinevirtual |
|
inherited |
Removes a parameter.
[in] | key | The parameter's name |
Definition at line 92 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_OpenStreetMap::insertEdge(), and GNEVehicleType::setAttribute().
|
inherited |
update meso segment parameters
Definition at line 186 of file MSEdge.cpp.
References MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSEdge::myLanes, and MELoop::updateSegementsForEdge().
|
inherited |
Adds or updates all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 98 of file Parameterised.cpp.
References Parameterised::setParameter().
Referenced by NIImporter_SUMO::_loadNetwork(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NBTrafficLightDefinition::compute(), NIImporter_OpenStreetMap::insertEdge(), NBEdge::NBEdge(), and NBLoadedSUMOTLDef::NBLoadedSUMOTLDef().
|
inherited |
check whether the given departSpeed is valid for this edge
Definition at line 550 of file MSEdge.cpp.
References MSVehicleType::computeChosenSpeedDeviation(), SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, SUMOTrafficObject::getChosenSpeedFactor(), Distribution_Parameterized::getParameter(), SUMOTrafficObject::getParameter(), MSVehicleType::getSpeedFactor(), MSEdge::getSpeedLimit(), MSEdge::getVehicleMaxSpeed(), SUMOTrafficObject::getVehicleType(), GIVEN, SUMOVehicleParameter::id, SUMOVehicle::setChosenSpeedFactor(), toString(), and WRITE_WARNING.
Referenced by MSEdge::insertVehicle().
|
inherited |
write Params in the given outputdevice
Definition at line 205 of file Parameterised.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), Parameterised::myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().
Referenced by ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), SUMOVTypeParameter::write(), GNEAdditional::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEPerson::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEWalk::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), GNETAZ::writeTAZElement(), NWWriter_SUMO::writeTrafficLight(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().
|
staticprivateinherited |
LinkStates (Currently unused)
vector for TypeNames Initializer
Definition at line 275 of file GUIGlObject.h.
|
staticinherited |
Definition at line 67 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processGet(), and GUIViewTraffic::stopTrack().
|
protectedinherited |
Associative container from vehicle class to allowed-lanes.
Definition at line 886 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
protectedinherited |
From target edge to lanes allowed to be used to reach it.
Definition at line 889 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), and MSEdge::rebuildAllowedTargets().
|
mutableprotectedinherited |
whether this edge had a vehicle with less than max speed on it
Definition at line 925 of file MSEdge.h.
Referenced by MSEdge::getCurrentTravelTime(), MSEdge::isDelayed(), and MSEdge::markDelayed().
|
protectedinherited |
whether this edge is at the network fringe
Definition at line 931 of file MSEdge.h.
Referenced by MSEdge::closeBuilding(), and MSEdge::isFringe().
|
protectedinherited |
whether this edge belongs to a roundabout
Definition at line 928 of file MSEdge.h.
Referenced by MSEdge::isRoundabout(), and MSEdge::markAsRoundabout().
|
privateinherited |
parameterised type
Definition at line 143 of file Parameterised.h.
Referenced by Parameterised::Parameterised(), and Parameterised::setParameter().
|
privateinherited |
the oppositing superposable edge
Definition at line 977 of file MSEdge.h.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), MSEdge::getBidiEdge(), MSEdge::getMeanSpeed(), and MSEdge::isDelayed().
|
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 961 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::getDistanceTo(), and MSEdge::setJunctions().
|
mutableprotectedinherited |
The successors available for a given vClass.
Definition at line 955 of file MSEdge.h.
Referenced by MSEdge::getSuccessors(), and MSEdge::rebuildAllowedTargets().
|
mutableprotectedinherited |
The successors available for a given vClass.
Definition at line 958 of file MSEdge.h.
Referenced by MSEdge::getViaSuccessors().
|
protectedinherited |
The union of lane permissions for this edge.
Definition at line 894 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::getPermissions(), MSEdge::initialize(), MSEdge::prohibits(), MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
mutableprotectedinherited |
Containers on the edge.
Definition at line 880 of file MSEdge.h.
Referenced by MSEdge::addContainer(), drawGL(), MSEdge::getSortedContainers(), and MSEdge::removeContainer().
|
protectedinherited |
The crossed edges id for a crossing edge. On not crossing edges it is empty.
Definition at line 862 of file MSEdge.h.
Referenced by MSEdge::getCrossingEdges(), and MSEdge::setCrossingEdges().
|
staticprotectedinherited |
Static dictionary to associate string-ids with objects.
Definition at line 945 of file MSEdge.h.
Referenced by MSEdge::clear(), MSEdge::dictionary(), MSEdge::dictSize(), getIDs(), getTotalLength(), and MSEdge::insertIDs().
|
protectedinherited |
the kilometrage/mileage at the start of the edge
Definition at line 910 of file MSEdge.h.
Referenced by MSEdge::getDistance().
|
staticprotectedinherited |
Static list of edges.
Definition at line 950 of file MSEdge.h.
Referenced by MSEdge::clear(), MSEdge::dictionary(), and MSEdge::getAllEdges().
|
protectedinherited |
the type of the edge (optionally used during network creation)
Definition at line 904 of file MSEdge.h.
Referenced by MSEdge::getEdgeType().
|
protectedinherited |
the traveltime on the empty edge (cached value for speedup)
Definition at line 919 of file MSEdge.h.
Referenced by MSEdge::getCurrentTravelTime(), MSEdge::getMeanSpeed(), MSEdge::getMinimumTravelTime(), and MSEdge::recalcCache().
|
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 859 of file MSEdge.h.
Referenced by MSEdge::insertVehicle().
|
protectedinherited |
the junctions for this edge
Definition at line 873 of file MSEdge.h.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), MSEdge::getFromJunction(), and MSEdge::setJunctions().
|
privateinherited |
full name of GL Object
Definition at line 258 of file GUIGlObject.h.
Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
protectedinherited |
the purpose of the edge
Definition at line 848 of file MSEdge.h.
Referenced by drawGL(), MSEdge::getFunction(), MSEdge::getMinimumTravelTime(), MSEdge::getSuccessors(), MSEdge::getViaSuccessors(), MSEdge::initialize(), MSEdge::isCrossing(), MSEdge::isInternal(), MSEdge::isNormal(), MSEdge::isTazConnector(), and MSEdge::isWalkingArea().
|
privateinherited |
The numerical id of the object.
Definition at line 249 of file GUIGlObject.h.
Referenced by GUIGlObject::getGlID(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
privateinherited |
The type of the object.
Definition at line 252 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GUIGlObject::getType(), and GUIGlObject::GUIGlObject().
|
protectedinherited |
The name of the object.
Definition at line 124 of file Named.h.
Referenced by MSE2Collector::addDetectorToLanes(), RODFDetector::buildDestinationDistribution(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), ROEdge::getStoredEffort(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), MSRoute::release(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), Named::setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protectedinherited |
This member will do the lane-change.
Definition at line 845 of file MSEdge.h.
Referenced by MSEdge::buildLaneChanger(), MSEdge::changeLanes(), MSEdge::hasLaneChanger(), and MSEdge::~MSEdge().
|
protectedinherited |
Container for the edge's lane; should be sorted: (right-hand-traffic) the more left the lane, the higher the container-index.
Definition at line 842 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::allowsLaneChanging(), MSEdge::buildLaneChanger(), MSEdge::canChangeToOpposite(), MSEdge::closeBuilding(), drawGL(), drawMesoVehicles(), getAllowedSpeed(), getBoundary(), MSEdge::getBruttoOccupancy(), MSEdge::getDepartLane(), MSEdge::getDepartPosBound(), MSEdge::getInternalFollowingEdge(), getLane(), MSEdge::getLanes(), MSEdge::getLengthGeometryFactor(), MSEdge::getMeanSpeed(), MSEdge::getMeanSpeedBike(), MSEdge::getOccupancy(), MSEdge::getOppositeEdge(), getParameterWindow(), MSEdge::getSortedPersons(), MSEdge::getSpeedLimit(), MSEdge::getVehicleMaxSpeed(), MSEdge::hasMinorLink(), MSEdge::initialize(), MSEdge::insertVehicle(), MSEdge::isSuperposable(), MSEdge::parallelLane(), MSEdge::rebuildAllowedLanes(), MSEdge::rebuildAllowedTargets(), MSEdge::recalcCache(), MSEdge::setMaxSpeed(), and MSEdge::updateMesoType().
|
mutableprotectedinherited |
The time of last insertion failure.
Definition at line 854 of file MSEdge.h.
Referenced by MSEdge::getLastFailedInsertionTime(), MSEdge::insertVehicle(), and MSEdge::setLastFailedInsertionTime().
|
protectedinherited |
the length of the edge (cached value for speedup)
Definition at line 916 of file MSEdge.h.
Referenced by MSEdge::getDepartPosBound(), MSEdge::getFreeLane(), MSEdge::getLength(), MSEdge::getOccupancy(), MSEdge::insertVehicle(), and MSEdge::recalcCache().
|
mutableprivate |
The mutex used to avoid concurrent updates of myPersons/ myContainers.
Definition at line 239 of file GUIEdge.h.
Referenced by addContainer(), addPerson(), drawGL(), drawMesoVehicles(), lock(), removeContainer(), removePerson(), unlock(), and ~GUIEdge().
|
privateinherited |
The key->value map.
Definition at line 146 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::knowsParameter(), Parameterised::Parameterised(), Parameterised::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), Parameterised::unsetParameter(), and Parameterised::writeParams().
|
mutableprivate |
Definition at line 241 of file GUIEdge.h.
Referenced by getMesoColor(), setColor(), and setFunctionalColor().
|
privateinherited |
ID of GL object.
Definition at line 255 of file GUIGlObject.h.
Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().
|
protectedinherited |
The intersection of lane permissions for this edge.
Definition at line 892 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
protectedinherited |
This edge's numerical id.
Definition at line 839 of file MSEdge.h.
Referenced by MSEdge::getNumericalID().
|
protectedinherited |
the other taz-connector if this edge isTazConnector, otherwise nullptr
Definition at line 898 of file MSEdge.h.
Referenced by MSEdge::getOtherTazConnector(), and MSEdge::setOtherTazConnector().
|
privateinherited |
Parameter table windows which refer to this object.
Definition at line 261 of file GUIGlObject.h.
Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().
|
mutableprotectedinherited |
Persons on the edge for drawing and pushbutton.
Definition at line 877 of file MSEdge.h.
Referenced by MSEdge::addPerson(), drawGL(), MSEdge::getPersons(), MSEdge::getSortedPersons(), and MSEdge::removePerson().
|
protectedinherited |
The preceeding edges.
Definition at line 870 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::closeBuilding(), getBoundary(), MSEdge::getNumPredecessors(), and MSEdge::getPredecessors().
|
protectedinherited |
the priority of the edge (used during network creation)
Definition at line 907 of file MSEdge.h.
Referenced by MSEdge::getPriority().
|
mutableprivateinherited |
Definition at line 981 of file MSEdge.h.
Referenced by MSEdge::getRailwayRoutingEdge().
|
mutableprivateinherited |
a reversed version for backward routing
Definition at line 980 of file MSEdge.h.
Referenced by MSEdge::getReversedRoutingEdge().
|
mutable |
The color of the segments (cached)
Definition at line 223 of file GUIEdge.h.
Referenced by getSegmentColors(), and setMultiColor().
bool GUIEdge::myShowDeadEnd |
whether to highlight this edge as a dead-end edge
Definition at line 226 of file GUIEdge.h.
Referenced by closeBuilding(), and showDeadEnd().
|
protectedinherited |
the real-world name of this edge (need not be unique)
Definition at line 901 of file MSEdge.h.
Referenced by drawGL(), getOptionalName(), and MSEdge::getStreetName().
|
protectedinherited |
the right side for each sublane on this edge
Definition at line 934 of file MSEdge.h.
Referenced by MSEdge::getSubLaneSides(), and MSEdge::initialize().
|
protectedinherited |
The succeeding edges.
Definition at line 865 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::closeBuilding(), getBoundary(), MSEdge::getNumSuccessors(), MSEdge::getSuccessors(), and MSEdge::rebuildAllowedTargets().
|
protectedinherited |
flat penalty when computing traveltime
Definition at line 922 of file MSEdge.h.
Referenced by MSEdge::getMinimumTravelTime(), and MSEdge::recalcCache().
|
protectedinherited |
Definition at line 874 of file MSEdge.h.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), MSEdge::getToJunction(), and MSEdge::setJunctions().
|
protectedinherited |
Vaporizer counter.
Definition at line 851 of file MSEdge.h.
Referenced by MSEdge::decVaporization(), MSEdge::incVaporization(), and MSEdge::isVaporizing().
|
protectedinherited |
Definition at line 867 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::closeBuilding(), and MSEdge::getViaSuccessors().
|
mutableprotectedinherited |
List of waiting vehicles.
Definition at line 964 of file MSEdge.h.
Referenced by MSEdge::addWaiting(), MSEdge::getWaitingVehicle(), and MSEdge::removeWaiting().
|
protectedinherited |
Edge width [m].
Definition at line 913 of file MSEdge.h.
Referenced by MSEdge::getWidth(), and MSEdge::initialize().
|
staticinherited |
associates object types with strings
Definition at line 66 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().