Eclipse SUMO - Simulation of Urban MObility
|
Representation of a lane in the micro simulation (gui-version) More...
#include <GUILane.h>
Public Types | |
enum | CollisionAction { COLLISION_ACTION_NONE , COLLISION_ACTION_WARN , COLLISION_ACTION_TELEPORT , COLLISION_ACTION_REMOVE } |
typedef std::map< std::string, std::string > | Map |
parameters map | |
enum | MinorLinkMode { FOLLOW_NEVER = 0 , FOLLOW_ALWAYS = 1 , FOLLOW_ONCOMING = 2 } |
determine whether/how getFollowers looks upstream beyond minor links More... | |
typedef std::vector< MSVehicle * > | VehCont |
Container for vehicles. | |
Public Member Functions | ||||
void | addApproachingLane (MSLane *lane, bool warnMultiCon) | |||
void | addIncomingLane (MSLane *lane, MSLink *viaLink) | |||
void | addLeaders (const MSVehicle *vehicle, double vehPos, MSLeaderDistanceInfo &result, bool oppositeDirection=false) | |||
get leaders for ego on the given lane | ||||
void | addParking (MSBaseVehicle *veh) | |||
add parking vehicle. This should only used during state loading | ||||
void | addSecondaryShape (const PositionVector &shape) override | |||
void | addTo (const StoringVisitor &cont) const | |||
Adds this object to the given container. | ||||
bool | allowsChangingLeft (SUMOVehicleClass vclass) const | |||
Returns whether the given vehicle class may change left from this lane. | ||||
bool | allowsChangingRight (SUMOVehicleClass vclass) const | |||
Returns whether the given vehicle class may change left from this lane. | ||||
bool | allowsVehicleClass (SUMOVehicleClass vclass) const | |||
bool | allowsVehicleClass (SUMOVehicleClass vclass, int routingMode) const | |||
virtual bool | appropriate (const MSVehicle *veh) const | |||
void | changeLanes (const SUMOTime time) | |||
void | checkBufferType () | |||
void | clearParameter () | |||
Clears the parameter map. | ||||
void | detectCollisions (SUMOTime timestep, const std::string &stage) override | |||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const | |||
Draws additional, user-triggered visualisations. | ||||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const | |||
draw name of item | ||||
bool | empty () const | |||
Returns true if there is not a single vehicle on the lane. | ||||
void | enteredByLaneChange (MSVehicle *v) | |||
MSLane * | getBidiLane () const | |||
retrieve bidirectional lane or nullptr | ||||
MSLane * | getCanonicalPredecessorLane () const | |||
MSLane * | getCanonicalSuccessorLane () const | |||
double | getCenterOnEdge () const | |||
std::pair< MSVehicle *const, double > | getCriticalLeader (double dist, double seen, double speed, const MSVehicle &veh) const | |||
Returns the most dangerous leader and the distance to him. | ||||
int | getCrossingIndex () const | |||
return the index of the link to the next crossing if this is walkingArea, else -1 | ||||
double | getDouble (const std::string &key, const double defaultValue) const | |||
Returns the value for a given key converted to a double. | ||||
std::vector< double > | getDoubles (const std::string &key, std::vector< double > defaultValue=std::vector< double >()) const | |||
Returns the value for a given key converted to a list of doubles. | ||||
MSEdge & | getEdge () const | |||
Returns the lane's edge. | ||||
const MSLink * | getEntryLink () const | |||
Returns the entry link if this is an internal lane, else nullptr. | ||||
MSVehicle * | getFirstAnyVehicle () const | |||
returns the first vehicle that is fully or partially on this lane | ||||
MSVehicle * | getFirstFullVehicle () const | |||
returns the first vehicle for which this lane is responsible or 0 | ||||
const MSLane * | getFirstInternalInConnection (double &offset) const | |||
Returns 0 if the lane is not internal. Otherwise the first part of the connection (sequence of internal lanes along junction) corresponding to the lane is returned and the offset is set to the distance of the begin of this lane to the begin of the returned. | ||||
std::pair< MSVehicle *const, double > | getFollower (const MSVehicle *ego, double egoPos, double dist, MinorLinkMode mLinkMode) const | |||
Find follower vehicle for the given ego vehicle (which may be on the opposite direction lane) | ||||
MSLeaderDistanceInfo | getFollowersOnConsecutive (const MSVehicle *ego, double backOffset, bool allSublanes, double searchDist=-1, MinorLinkMode mLinkMode=FOLLOW_ALWAYS) const | |||
return the sublane followers with the largest missing rear gap among all predecessor lanes (within dist) | ||||
const std::string & | getID () const | |||
Returns the id. | ||||
const std::vector< IncomingLaneInfo > & | getIncomingLanes () const | |||
LinkState | getIncomingLinkState () const | |||
get the state of the link from the logical predecessor to this lane | ||||
const MSLane * | getInternalFollowingLane (const MSLane *const) const | |||
returns the internal lane leading to the given lane or nullptr, if there is none | ||||
const StopOffset & | getLaneStopOffsets () const | |||
Returns vehicle class specific stopOffsets. | ||||
MSVehicle * | getLastAnyVehicle () const | |||
returns the last vehicle that is fully or partially on this lane | ||||
MSVehicle * | getLastFullVehicle () const | |||
returns the last vehicle for which this lane is responsible or 0 | ||||
std::pair< MSVehicle *const, double > | getLeader (const MSVehicle *veh, const double vehPos, const std::vector< MSLane * > &bestLaneConts, double dist=-1, bool checkTmpVehicles=false) const | |||
Returns the immediate leader of veh and the distance to veh starting on this lane. | ||||
std::pair< MSVehicle *const, double > | getLeaderOnConsecutive (double dist, double seen, double speed, const MSVehicle &veh, const std::vector< MSLane * > &bestLaneConts) const | |||
Returns the immediate leader and the distance to him. | ||||
void | getLeadersOnConsecutive (double dist, double seen, double speed, const MSVehicle *ego, const std::vector< MSLane * > &bestLaneConts, MSLeaderDistanceInfo &result, bool oppositeDirection=false) const | |||
Returns the immediate leaders and the distance to them (as getLeaderOnConsecutive but for the sublane case) | ||||
double | getLengthGeometryFactor (bool secondaryShape) const override | |||
const std::vector< MSLink * > & | getLinkCont () const | |||
returns the container with all links !!! | ||||
const MSLink * | getLinkTo (const MSLane *const) const | |||
returns the link to the given lane or nullptr, if it is not connected | ||||
MSLane * | getLogicalPredecessorLane () const | |||
get the most likely precedecessor lane (sorted using by_connections_to_sorter). The result is cached in myLogicalPredecessorLane | ||||
MSLane * | getLogicalPredecessorLane (const MSEdge &fromEdge) const | |||
return the (first) predecessor lane from the given edge | ||||
double | getMaximumBrakeDist () const | |||
compute maximum braking distance on this lane | ||||
double | getMissingRearGap (const MSVehicle *leader, double backOffset, double leaderSpeed) const | |||
return by how much further the leader must be inserted to avoid rear end collisions | ||||
const MSEdge * | getNextNormal () const | |||
Returns the lane's follower if it is an internal lane, the edge of the lane otherwise. | ||||
std::vector< const MSLane * > | getNormalIncomingLanes () const | |||
get the list of all direct (disregarding internal predecessors) non-internal predecessor lanes of this lane | ||||
const MSLane * | getNormalPredecessorLane () const | |||
get normal lane leading to this internal lane, for normal lanes, the lane itself is returned | ||||
const MSLane * | getNormalSuccessorLane () const | |||
get normal lane following this internal lane, for normal lanes, the lane itself is returned | ||||
MSLane * | getOpposite () const | |||
return the neighboring opposite direction lane for lane changing or nullptr | ||||
std::pair< MSVehicle *const, double > | getOppositeFollower (const MSVehicle *ego) const | |||
std::pair< MSVehicle *const, double > | getOppositeLeader (const MSVehicle *ego, double dist, bool oppositeDir, MinorLinkMode mLinkMode=MinorLinkMode::FOLLOW_NEVER) const | |||
double | getOppositePos (double pos) const | |||
return the corresponding position on the opposite lane | ||||
const std::vector< std::pair< const MSLane *, const MSEdge * > > | getOutgoingViaLanes () const | |||
get the list of outgoing lanes | ||||
const PositionVector * | getOutlineShape () const | |||
MSLane * | getParallelLane (int offset, bool includeOpposite=true) const | |||
Returns the lane with the given offset parallel to this one or 0 if it does not exist. | ||||
MSLane * | getParallelOpposite () const | |||
return the opposite direction lane of this lanes edge or nullptr | ||||
virtual const std::string | getParameter (const std::string &key, const std::string defaultValue="") const | |||
Returns the value for a given key. | ||||
const Parameterised::Map & | getParametersMap () const | |||
Returns the inner key/value map. | ||||
std::string | getParametersStr (const std::string kvsep="=", const std::string sep="|") const | |||
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". | ||||
std::string | getParentName () const override | |||
Returns the name of the parent object (if any) | ||||
const std::set< const MSBaseVehicle * > & | getParkingVehicles () const | |||
retrieve the parking vehicles (see GUIParkingArea) | ||||
MSVehicle * | getPartialBehind (const MSVehicle *ego) const | |||
MSLeaderInfo | getPartialBeyond () const | |||
get all vehicles that are inlapping from consecutive edges | ||||
int | getRightmostSublane () const | |||
double | getRightSideOnEdge () const | |||
SumoRNG * | getRNG () const | |||
return the associated RNG | ||||
int | getRNGIndex () const | |||
returns the associated RNG index | ||||
double | getSpaceTillLastStanding (const MSVehicle *ego, bool &foundStopped) const | |||
return the empty space up to the last standing vehicle or the empty space on the whole lane if no vehicle is standing | ||||
std::vector< StopWatch< std::chrono::nanoseconds > > & | getStopWatch () | |||
std::set< MSVehicle * > | getSurroundingVehicles (double startPos, double downstreamDist, double upstreamDist, std::shared_ptr< LaneCoverageInfo > checkedLanes) const | |||
Returns all vehicles closer than downstreamDist along the road network starting on the given position. Predecessor lanes are searched upstream for the given upstreamDistance. | ||||
int | getThreadIndex () const | |||
returns the associated thread index | ||||
std::vector< const MSJunction * > | getUpcomingJunctions (double pos, double range, const std::vector< MSLane * > &contLanes) const | |||
Returns all upcoming junctions within given range along the given (non-internal) continuation lanes measured from given position. | ||||
std::vector< const MSLink * > | getUpcomingLinks (double pos, double range, const std::vector< MSLane * > &contLanes) const | |||
Returns all upcoming links within given range along the given (non-internal) continuation lanes measured from given position. | ||||
std::set< MSVehicle * > | getVehiclesInRange (const double a, const double b) const | |||
Returns all vehicles on the lane overlapping with the interval [a,b]. | ||||
double | getVehicleStopOffset (const MSVehicle *veh) const | |||
Returns vehicle class specific stopOffset for the vehicle. | ||||
GUILane (const std::string &id, double maxSpeed, double friction, double length, MSEdge *const edge, int numericalID, const PositionVector &shape, double width, SVCPermissions permissions, SVCPermissions changeLeft, SVCPermissions changeRight, int index, bool isRampAccel, const std::string &type, const PositionVector &outlineShape) | ||||
Constructor. | ||||
bool | hadPermissionChanges () const | |||
bool | hasParameter (const std::string &key) const | |||
Returns whether the parameter is set. | ||||
bool | hasPedestrians () const | |||
whether the lane has pedestrians on it | ||||
void | initRestrictions () | |||
initialized vClass-specific speed limits | ||||
bool | isApproachedFrom (MSEdge *const edge) | |||
bool | isApproachedFrom (MSEdge *const edge, MSLane *const lane) | |||
bool | isCrossing () const | |||
bool | isEmpty () const | |||
bool | isInternal () const | |||
bool | isLinkEnd (std::vector< MSLink * >::const_iterator &i) const | |||
bool | isLinkEnd (std::vector< MSLink * >::iterator &i) | |||
bool | isNormal () const | |||
bool | isWalkingArea () const | |||
void | leftByLaneChange (MSVehicle *v) | |||
void | mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true) | |||
Adds or appends all given parameters from the map. | ||||
bool | mustCheckJunctionCollisions () const | |||
whether this lane must check for junction collisions | ||||
bool | needsCollisionCheck () const | |||
short-circut collision check if nothing changed since the last check | ||||
std::pair< const MSPerson *, double > | nextBlocking (double minPos, double minRight, double maxLeft, double stopTime=0, bool bidi=false) const | |||
This is just a wrapper around MSPModel::nextBlocking. You should always check using hasPedestrians before calling this method. | ||||
virtual void | onLeftBtnPress (void *) | |||
notify object about left click | ||||
virtual void | removeActiveAddVisualisation (GUISUMOAbstractView *const, int) | |||
remove additional user-griggered visualisations | ||||
void | removeParking (MSBaseVehicle *veh) override | |||
remove parking vehicle | ||||
MSVehicle * | removeVehicle (MSVehicle *remVehicle, MSMoveReminder::Notification notification, bool notify) override | |||
void | requireCollisionCheck () | |||
require another collision check due to relevant changes in the simulation | ||||
void | resetPartialOccupation (MSVehicle *v) override | |||
Removes the information about a vehicle lapping into this lane. | ||||
void | resetPermissions (long long transientID) | |||
void | setChangeLeft (SVCPermissions permissions) | |||
Sets the permissions for changing to the left neighbour lane. | ||||
void | setChangeRight (SVCPermissions permissions) | |||
Sets the permissions for changing to the right neighbour lane. | ||||
void | setFrictionCoefficient (double val) | |||
Sets a new friction coefficient for the lane [to be later (used by TraCI and MSCalibrator)]. | ||||
virtual void | setID (const std::string &newID) | |||
resets the id | ||||
void | setLaneStopOffset (const StopOffset &stopOffset) | |||
Set vehicle class specific stopOffsets. | ||||
void | setLength (double val) | |||
Sets a new length for the lane (used by TraCI only) | ||||
void | setMaxSpeed (double val, bool byVSS=false, bool byTraCI=false, double jamThreshold=-1) | |||
Sets a new maximum speed for the lane (used by TraCI and MSCalibrator) | ||||
virtual void | setParameter (const std::string &key, const std::string &value) | |||
Sets a parameter. | ||||
void | setParameters (const Parameterised ¶ms) | |||
set the inner key/value map in map<string, string> format | ||||
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" | ||||
double | setPartialOccupation (MSVehicle *v) override | |||
Sets the information about a vehicle lapping into this lane. | ||||
void | setPermissions (SVCPermissions permissions, long long transientID) | |||
Sets the permissions to the given value. If a transientID is given, the permissions are recored as temporary. | ||||
void | setRightSideOnEdge (double value, int rightmostSublane) | |||
void | sortManeuverReservations () | |||
sorts myManeuverReservations | ||||
void | sortPartialVehicles () | |||
sorts myPartialVehicles | ||||
void | unsetParameter (const std::string &key) | |||
Removes a parameter. | ||||
void | updateParameters (const Parameterised::Map &mapArg) | |||
Adds or updates all given parameters from the map. | ||||
void | visit (const MSLane::StoringVisitor &cont) const | |||
Callback for visiting the lane when traversing an RTree. | ||||
void | writeParams (OutputDevice &device) const | |||
write Params in the given outputdevice | ||||
~GUILane () | ||||
Destructor. | ||||
Access to vehicles | ||||
const VehCont & | getVehiclesSecure () const override | |||
Returns the vehicles container; locks it for microsimulation. | ||||
void | releaseVehicles () const override | |||
Allows to use the container for microsimulation again. | ||||
Vehicle movement (longitudinal) | ||||
void | planMovements (const SUMOTime t) override | |||
void | setJunctionApproaches (const SUMOTime t) const override | |||
void | executeMovements (const SUMOTime t) override | |||
void | integrateNewVehicles () override | |||
Additional initialisation | ||||
void | addLink (MSLink *link) | |||
Delayed initialization. | ||||
void | setOpposite (MSLane *oppositeLane) | |||
Adds a neighbor to this lane. | ||||
void | setBidiLane (MSLane *bidyLane) | |||
Adds the (overlapping) reverse direction lane to this lane. | ||||
Atomar value getter | ||||
double | getLengthGeometryFactor () const | |||
return shape.length() / myLength | ||||
const PositionVector & | getShape () const | |||
Returns this lane's shape. | ||||
int | getNumericalID () const | |||
Returns this lane's numerical id. | ||||
bool | isAccelLane () const | |||
return whether this lane is an acceleration lane | ||||
const std::string & | getLaneType () const | |||
return the type of this lane | ||||
double | interpolateLanePosToGeometryPos (double lanePos) const | |||
const Position | geometryPositionAtOffset (double offset, double lateralOffset=0) const | |||
double | interpolateGeometryPosToLanePos (double geometryPos) const | |||
double | getVehicleMaxSpeed (const SUMOTrafficObject *const veh) const | |||
Returns the lane's maximum speed, given a vehicle's speed limit adaptation. | ||||
double | getSpeedLimit () const | |||
Returns the lane's maximum allowed speed. | ||||
double | getFrictionCoefficient () const | |||
Returns the lane's friction coefficient. | ||||
double | getLength () const | |||
Returns the lane's length. | ||||
SVCPermissions | getPermissions () const | |||
Returns the vehicle class permissions for this lane. | ||||
SVCPermissions | getChangeLeft () const | |||
Returns the vehicle class permissions for changing to the left neighbour lane. | ||||
SVCPermissions | getChangeRight () const | |||
Returns the vehicle class permissions for changing to the right neighbour lane. | ||||
double | getWidth () const | |||
Returns the lane's width. | ||||
int | getIndex () const | |||
Returns the lane's index. | ||||
interaction with MSMoveReminder | ||||
virtual void | addMoveReminder (MSMoveReminder *rem) | |||
Add a move-reminder to move-reminder container. | ||||
virtual void | removeMoveReminder (MSMoveReminder *rem) | |||
Remove a move-reminder from move-reminder container. | ||||
const std::vector< MSMoveReminder * > & | getMoveReminders () const | |||
Return the list of this lane's move reminders. | ||||
Vehicle insertion | ||||
bool | insertVehicle (MSVehicle &v) | |||
Tries to insert the given vehicle. | ||||
bool | isInsertionSuccess (MSVehicle *vehicle, double speed, double pos, double posLat, bool recheckNextLanes, MSMoveReminder::Notification notification) | |||
Tries to insert the given vehicle with the given state (speed and pos) | ||||
bool | checkFailure (const MSVehicle *aVehicle, double &speed, double &dist, const double nspeed, const bool patchSpeed, const std::string errorMsg, InsertionCheck check) const | |||
bool | lastInsertion (MSVehicle &veh, double mspeed, double posLat, bool patchSpeed) | |||
inserts vehicle as close as possible to the last vehicle on this lane (or at the end of the lane if there is no leader) | ||||
bool | freeInsertion (MSVehicle &veh, double speed, double posLat, MSMoveReminder::Notification notification=MSMoveReminder::NOTIFICATION_DEPARTED) | |||
Tries to insert the given vehicle on any place. | ||||
void | forceVehicleInsertion (MSVehicle *veh, double pos, MSMoveReminder::Notification notification, double posLat=0) | |||
Inserts the given vehicle at the given position. | ||||
Handling vehicles lapping into several lanes (-> partial occupation) | ||||
or which committed a maneuver that will lead them into another (sublane case -> maneuver reservations) | ||||
virtual void | setManeuverReservation (MSVehicle *v) | |||
Registers the lane change intentions (towards this lane) for the given vehicle. | ||||
virtual void | resetManeuverReservation (MSVehicle *v) | |||
Unregisters a vehicle, which previously registered for maneuvering into this lane. | ||||
const MSLeaderInfo | getLastVehicleInformation (const MSVehicle *ego, double latOffset, double minPos=0, bool allowCached=true) const | |||
Returns the last vehicles on the lane. | ||||
const MSLeaderInfo | getFirstVehicleInformation (const MSVehicle *ego, double latOffset, bool onlyFrontOnLane, double maxPos=std::numeric_limits< double >::max(), bool allowCached=true) const | |||
analogue to getLastVehicleInformation but in the upstream direction | ||||
Access to vehicles | ||||
int | getVehicleNumber () const | |||
Returns the number of vehicles on this lane (for which this lane is responsible) | ||||
int | getVehicleNumberWithPartials () const | |||
Returns the number of vehicles on this lane (including partial occupators) | ||||
int | getPartialVehicleNumber () const | |||
Returns the number of vehicles partially on this lane (for which this lane is not responsible) | ||||
AnyVehicleIterator | anyVehiclesBegin () const | |||
begin iterator for iterating over all vehicles touching this lane in downstream direction | ||||
AnyVehicleIterator | anyVehiclesEnd () const | |||
end iterator for iterating over all vehicles touching this lane in downstream direction | ||||
AnyVehicleIterator | anyVehiclesUpstreamBegin () const | |||
begin iterator for iterating over all vehicles touching this lane in upstream direction | ||||
AnyVehicleIterator | anyVehiclesUpstreamEnd () const | |||
end iterator for iterating over all vehicles touching this lane in upstream direction | ||||
Vehicle movement (longitudinal) | ||||
void | updateLeaderInfo (const MSVehicle *veh, VehCont::reverse_iterator &vehPart, VehCont::reverse_iterator &vehRes, MSLeaderInfo &ahead) const | |||
This updates the MSLeaderInfo argument with respect to the given MSVehicle. All leader-vehicles on the same edge, which are relevant for the vehicle (i.e. with position > vehicle's position) and not already integrated into the LeaderInfo, are integrated. The given iterators vehPart and vehRes give access to these vehicles which are either partial occupators or have issued a maneuver reservation for the lane (the latter occurs only for the sublane model). | ||||
void | markRecalculateBruttoSum () | |||
Set a flag to recalculate the brutto (including minGaps) occupancy of this lane (used if mingap is changed) | ||||
void | updateLengthSum () | |||
updated current vehicle length sum (delayed to avoid lane-order-dependency) | ||||
Current state retrieval | ||||
double | getMeanSpeed () const | |||
Returns the mean speed on this lane. | ||||
double | getMeanSpeedBike () const | |||
get the mean speed of all bicycles on this lane | ||||
double | getWaitingSeconds () const | |||
Returns the overall waiting time on this lane. | ||||
double | getBruttoOccupancy () const | |||
Returns the brutto (including minGaps) occupancy of this lane during the last step. | ||||
double | getNettoOccupancy () const | |||
Returns the netto (excluding minGaps) occupancy of this lane during the last step (including minGaps) | ||||
double | getBruttoVehLenSum () const | |||
Returns the sum of lengths of vehicles, including their minGaps, which were on the lane during the last step. | ||||
template<PollutantsInterface::EmissionType ET> | ||||
double | getEmissions () const | |||
Returns the sum of last step emissions The value is always per 1s, so multiply by step length if necessary. | ||||
double | getHarmonoise_NoiseEmissions () const | |||
Returns the sum of last step noise emissions. | ||||
State saving/loading | ||||
void | saveState (OutputDevice &out) | |||
Saves the state of this lane into the given stream. | ||||
void | clearState () | |||
Remove all vehicles before quick-loading state. | ||||
void | loadState (const std::vector< std::string > &vehIDs, MSVehicleControl &vc) | |||
Loads the state of this segment with the given parameters. | ||||
bool | hasApproaching () const | |||
getter methods | ||||
Returns the full name appearing in the tool tip
| ||||
const std::string & | getFullName () const | |||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. | ||||
FXIcon * | getGLIcon () const | |||
get icon associated with this GL Object | ||||
interfaces to be implemented by derived classes | ||||
virtual void | removedPopupMenu () | |||
notify object about popup menu removal | ||||
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own type parameter window (optional) | ||||
const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. | ||||
virtual const std::string | getOptionalName () const | |||
Returns the name of the object (default "") | ||||
virtual void | setMicrosimID (const std::string &newID) | |||
Changes the microsimID of the object. | ||||
GUIGlObjectType | getType () const | |||
Returns the type of the object as coded in GUIGlObjectType. | ||||
bool | isBlocked () const | |||
get blocking status | ||||
void | setBlocked (const bool state=true) | |||
set blocking status | ||||
virtual double | getExaggeration (const GUIVisualizationSettings &s) const | |||
return exaggeration associated with this GLObject | ||||
virtual bool | isGLObjectLocked () const | |||
check if element is locked (Currently used only in netedit) | ||||
virtual void | markAsFrontElement () | |||
mark element as front element (Currently used only in netedit) | ||||
virtual void | deleteGLObject () | |||
delete GLObject (Currently used only in netedit) | ||||
virtual void | selectGLObject () | |||
select GLObject (Currently used only in netedit) | ||||
virtual void | updateGLObject () | |||
update GLObject (geometry, ID, etc.) (optional) | ||||
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. | ||||
Static Public Member Functions | |
static bool | areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|") |
check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas) | |
static bool | areParametersValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|") |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" | |
static void | clear () |
Clears the dictionary. | |
static MSLane * | dictionary (const std::string &id) |
Returns the MSLane associated to the key id. | |
static bool | dictionary (const std::string &id, MSLane *lane) |
Static (sic!) container methods {. | |
static int | dictSize () |
Returns the number of stored lanes. | |
template<class RTREE > | |
static void | fill (RTREE &into) |
Fills the given RTree with lane instances. | |
static CollisionAction | getCollisionAction () |
template<class T > | |
static std::string | getIDSecure (const T *obj, const std::string &fallBack="NULL") |
get an identifier for Named-like object which may be Null | |
static CollisionAction | getIntermodalCollisionAction () |
static int | getNumRNGs () |
return the number of RNGs | |
static void | initCollisionAction (const OptionsCont &oc, const std::string &option, CollisionAction &myAction) |
static void | initCollisionOptions (const OptionsCont &oc) |
static void | initRNGs (const OptionsCont &oc) |
initialize rngs | |
static void | insertIDs (std::vector< std::string > &into) |
Adds the ids of all stored lanes into the given vector. | |
static void | loadRNGState (int index, const std::string &state) |
load random number generator state for the given rng index | |
static void | saveRNGStates (OutputDevice &out) |
save random number generator states to the given output device | |
static std::vector< MSLink * >::const_iterator | succLinkSec (const SUMOVehicle &veh, int nRouteSuccs, const MSLane &succLinkSource, const std::vector< MSLane * > &conts) |
Static Public Attributes | |
static const long | CHANGE_PERMISSIONS_GUI = 1 |
static const long | CHANGE_PERMISSIONS_PERMANENT = 0 |
static const GUIGlID | INVALID_ID = 0 |
static const double | INVALID_PRIORITY |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings | |
Protected Types | |
typedef std::map< std::string, MSLane * > | DictType |
definition of the static dictionary type | |
Protected Member Functions | |
void | buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI | |
void | buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI | |
bool | checkForPedestrians (const MSVehicle *aVehicle, double &speed, double &dist, double pos, bool patchSpeed) const |
check whether pedestrians on this lane interfere with vehicle insertion | |
bool | detectCollisionBetween (SUMOTime timestep, const std::string &stage, MSVehicle *collider, MSVehicle *victim, std::set< const MSVehicle *, ComparatorNumericalIdLess > &toRemove, std::set< const MSVehicle *, ComparatorNumericalIdLess > &toTeleport) const |
detect whether there is a collision between the two vehicles | |
void | detectPedestrianJunctionCollision (const MSVehicle *collider, const PositionVector &colliderBoundary, const MSLane *foeLane, SUMOTime timestep, const std::string &stage, std::set< const MSVehicle *, ComparatorNumericalIdLess > &toRemove, std::set< const MSVehicle *, ComparatorNumericalIdLess > &toTeleport) |
detect whether a vehicle collids with pedestrians on the junction | |
double | getDepartPosLat (const MSVehicle &veh) |
double | getDepartSpeed (const MSVehicle &veh, bool &patchSpeed) |
double | getFractionalVehicleLength (bool brutto) const |
return length of fractional vehicles on this lane | |
void | handleCollisionBetween (SUMOTime timestep, const std::string &stage, const MSVehicle *collider, const MSVehicle *victim, double gap, double latGap, std::set< const MSVehicle *, ComparatorNumericalIdLess > &toRemove, std::set< const MSVehicle *, ComparatorNumericalIdLess > &toTeleport) const |
take action upon collision | |
void | handleIntermodalCollisionBetween (SUMOTime timestep, const std::string &stage, const MSVehicle *collider, const MSTransportable *victim, double gap, const std::string &collisionType, std::set< const MSVehicle *, ComparatorNumericalIdLess > &toRemove, std::set< const MSVehicle *, ComparatorNumericalIdLess > &toTeleport) const |
bool | hasApproaching (const std::vector< MSLink * > &links) const |
check whether any of the outgoing links are being approached | |
double | safeInsertionSpeed (const MSVehicle *veh, double seen, const MSLeaderInfo &leaders, double speed) |
return the maximum safe speed for insertion behind leaders (a negative value indicates that safe insertion is impossible) | |
helper methods for building popup-menus | |
void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) |
Builds the header. | |
void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to center to the object. | |
void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds entries which allow to copy the name / typed name into the clipboard. | |
void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to (de)select the object. | |
void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the parameter window. | |
void | buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the type parameter window. | |
void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, const GUIMainWindow &app) const |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. | |
void | buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the manipulator window. | |
Protected Attributes | |
std::map< MSEdge *, std::vector< MSLane * > > | myApproachingLanes |
All direct internal and direct (disregarding internal predecessors) non-internal predecessor lanes of this lane. | |
MSLane * | myBidiLane |
double | myBruttoVehicleLengthSum |
The current length of all vehicles on this lane, including their minGaps. | |
double | myBruttoVehicleLengthSumToRemove |
The length of all vehicles that have left this lane in the current step (this lane, including their minGaps) | |
MSLane * | myCanonicalPredecessorLane |
Similar to LogicalPredecessorLane,. | |
MSLane * | myCanonicalSuccessorLane |
Main successor lane,. | |
SVCPermissions | myChangeLeft |
The vClass permissions for changing from this lane. | |
SVCPermissions | myChangeRight |
MSEdge *const | myEdge |
The lane's edge, for routing only. | |
MSLeaderInfo | myFollowerInfo |
followers on all sublanes as seen by vehicles on consecutive lanes (cached) | |
SUMOTime | myFollowerInfoTime |
time step for which myFollowerInfo was last updated | |
double | myFrictionCoefficient |
Lane-wide friction coefficient [0..1]. | |
std::string | myID |
The name of the object. | |
std::vector< IncomingLaneInfo > | myIncomingLanes |
All direct predecessor lanes. | |
int | myIndex |
The lane index. | |
const bool | myIsRampAccel |
whether this lane is an acceleration lane | |
StopOffset | myLaneStopOffset |
const std::string | myLaneType |
the type of this lane | |
MSLeaderInfo | myLeaderInfo |
leaders on all sublanes as seen by approaching vehicles (cached) | |
SUMOTime | myLeaderInfoTime |
time step for which myLeaderInfo was last updated | |
double | myLength |
Lane length [m]. | |
const double | myLengthGeometryFactor |
precomputed myShape.length / myLength | |
std::vector< MSLink * > | myLinks |
MSLane * | myLogicalPredecessorLane |
VehCont | myManeuverReservations |
The vehicles which registered maneuvering into the lane within their current action step. This is currently only relevant for sublane simulation, since continuous lanechanging uses the partial vehicle mechanism. | |
double | myMaxSpeed |
Lane-wide speed limit [m/s]. | |
bool | myNeedsCollisionCheck |
whether a collision check is currently needed | |
double | myNettoVehicleLengthSum |
The current length of all vehicles on this lane, excluding their minGaps. | |
double | myNettoVehicleLengthSumToRemove |
The length of all vehicles that have left this lane in the current step (this lane, excluding their minGaps) | |
int | myNumericalID |
Unique numerical ID (set on reading by netload) | |
MSLane * | myOpposite |
SVCPermissions | myOriginalPermissions |
The original vClass permissions for this lane (before temporary modifications) | |
PositionVector * | myOutlineShape = nullptr |
the outline of the lane (optional) | |
std::set< const MSBaseVehicle * > | myParkingVehicles |
VehCont | myPartialVehicles |
The lane's partial vehicles. This container holds all vehicles that are partially on this lane but which are in myVehicles of another lane. Reasons for partial occupancies include the following. | |
std::map< long long, SVCPermissions > | myPermissionChanges |
SVCPermissions | myPermissions |
The vClass permissions for this lane. | |
bool | myRecalculateBruttoSum |
Flag to recalculate the occupancy (including minGaps) after a change in minGap. | |
const std::map< SUMOVehicleClass, double > * | myRestrictions |
The vClass speed restrictions for this lane. | |
int | myRightmostSublane |
the index of the rightmost sublane of this lane on myEdge | |
double | myRightSideOnEdge |
the combined width of all lanes with lower index on myEdge | |
int | myRNGIndex |
PositionVector | myShape |
The shape of the lane. | |
bool | mySpeedByTraCI |
Whether the current speed limit has been set through TraCI. | |
bool | mySpeedByVSS |
Whether the current speed limit is set by a variable speed sign (VSS) | |
VehCont | myTmpVehicles |
Container for lane-changing vehicles. After completion of lane-change- process, the containers will be swapped with myVehicles. | |
MFXSynchQue< MSVehicle *, std::vector< MSVehicle * > > | myVehBuffer |
Buffer for vehicles that moved from their previous lane onto this one. Integrated after all vehicles executed their moves. | |
VehCont | myVehicles |
The lane's vehicles. This container holds all vehicles that have their front (longitudinally) and their center (laterally) on this lane. These are the vehicles that this lane is 'responsibly' for (i.e. when executing movements) | |
const double | myWidth |
Lane width [m]. | |
Static Protected Attributes | |
static DictType | myDict |
Static dictionary to associate string-ids with objects. | |
static std::vector< SumoRNG > | myRNGs |
Private Member Functions | |
std::string | createFullName () const |
create full name | |
Static Private Member Functions | |
static int | getInsertionChecks (const MSVehicle *veh) |
static bool | isParameterValid (const std::string &value, const std::string &kvsep, const std::string &sep) |
check if given string can be parsed to a parameter of type "key=value" | |
Private Attributes | |
bool | myAmBlocked = false |
whether the object can be deleted | |
std::string | myFullName |
full name of GL Object | |
const GUIGlID | myGlID |
The numerical id of the object. | |
const GUIGlObjectType | myGLObjectType |
The type of the object. | |
FXIcon * | myIcon |
icon associatd with this GL Object | |
Parameterised::Map | myMap |
The key->value map. | |
std::string | myMicrosimID |
ID of GL object. | |
std::vector< MSMoveReminder * > | myMoveReminders |
This lane's move reminder. | |
std::set< GUIParameterTableWindow * > | myParamWindows |
Parameter table windows which refer to this object. | |
std::vector< StopWatch< std::chrono::nanoseconds > > | myStopWatch |
Static Private Attributes | |
static StringBijection< GUIGlObjectType >::Entry | GUIGlObjectTypeNamesInitializer [] |
vector for TypeNames Initializer | |
static double | myCheckJunctionCollisionMinGap |
static bool | myCheckJunctionCollisions |
static CollisionAction | myCollisionAction |
the action to take on collisions | |
static double | myCollisionMinGapFactor |
static SUMOTime | myCollisionStopTime |
static bool | myExtrapolateSubstepDepart |
static CollisionAction | myIntermodalCollisionAction |
static SUMOTime | myIntermodalCollisionStopTime |
inherited from GUIGlObject | |
std::vector< double > | myShapeRotations |
The rotations of the shape parts. | |
std::vector< double > | myShapeRotations2 |
std::vector< double > | myShapeLengths |
The lengths of the shape parts. | |
std::vector< double > | myShapeLengths2 |
std::vector< RGBColor > | myShapeColors |
The color of the shape parts (cached) | |
std::vector< RGBColor > | myShapeColors2 |
std::vector< int > | myShapeSegments |
the meso segment index for each geometry segment | |
std::vector< int > | mySegmentStartIndex |
the shape indices where the meso segment changes (for segmentsIndex > 0) | |
double | myHalfLaneWidth |
Half of lane width, for speed-up. | |
double | myQuarterLaneWidth |
Quarter of lane width, for speed-up. | |
double | myReachability = INVALID_DOUBLE |
the time distance from a particular edge | |
std::vector< MSParkingArea * > * | myParkingAreas |
list of parkingAreas on this lane | |
TesselatedPolygon * | myTesselation |
An object that stores the tesselation. | |
bool | myAmClosed |
state for dynamic lane closings | |
PositionVector | myShape2 |
secondary shape for visualization | |
double | myLengthGeometryFactor2 |
FXMutex | myLock |
The mutex used to avoid concurrent updates of the vehicle buffer. | |
static GUIVisualizationSettings * | myCachedGUISettings |
cached for tracking color value | |
static const RGBColor | MESO_USE_LANE_COLOR |
special color to signify alternative coloring scheme | |
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) override |
Returns an own popup-menu. | |
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override |
Returns an own parameter window. | |
Boundary | getCenteringBoundary () const override |
Returns the boundary to which the view shall be centered in order to show the object. | |
void | drawGL (const GUIVisualizationSettings &s) const override |
Draws the object. | |
double | getClickPriority () const override |
Returns the priority of receiving mouse clicks. | |
const PositionVector & | getShape (bool secondary) const override |
const std::vector< double > & | getShapeRotations (bool secondary) const |
const std::vector< double > & | getShapeLengths (bool secondary) const |
double | firstWaitingTime () const |
bool | neighLaneNotBidi () const |
whether any of the neighboring lanes is not a bidi-lane | |
void | drawMarkings (const GUIVisualizationSettings &s, double scale) const |
draw lane borders and white markings | |
void | drawBikeMarkings () const |
bike lane markings on top of an intersection | |
void | drawJunctionChangeProhibitions () const |
bike lane markings on top of an intersection | |
void | drawDirectionIndicators (double exaggeration, bool spreadSuperposed, bool s2) const |
direction indicators for lanes | |
void | debugDrawFoeIntersections () const |
draw intersection positions of foe internal lanes with this one | |
double | getEdgeLaneNumber () const |
double | getStoredEdgeTravelTime () const |
Returns the stored traveltime for the edge of this lane. | |
double | getLoadedEdgeWeight () const |
Returns the loaded weight (effort) for the edge of this lane. | |
void | setReachability (double value) |
double | getReachability () const |
void | closeTraffic (bool rebuildAllowed=true) |
close this lane for traffic | |
bool | isClosed () const |
double | getColorValue (const GUIVisualizationSettings &s, int activeScheme) const override |
gets the color value according to the current scheme index | |
double | getColorValueWithFunctional (const GUIVisualizationSettings &s, int activeScheme) const |
gets the color value according to the current scheme index including values for things that set the color indirectly | |
double | getColorValueForTracker () const |
return color value based on cached settings | |
double | getScaleValue (const GUIVisualizationSettings &s, int activeScheme, bool s2) const |
gets the scaling value according to the current scheme index | |
bool | isSelected () const override |
whether this lane is selected in the GUI | |
bool | setFunctionalColor (const GUIColorer &c, RGBColor &col, int activeScheme=-1) const |
bool | drawAsRailway (const GUIVisualizationSettings &s) const |
whether to draw this lane as a railway | |
void | swapAfterLaneChange (SUMOTime t) override |
moves myTmpVehicles int myVehicles after a lane change procedure | |
void | incorporateVehicle (MSVehicle *veh, double pos, double speed, double posLat, const MSLane::VehCont::iterator &at, MSMoveReminder::Notification notification=MSMoveReminder::NOTIFICATION_DEPARTED) override |
Inserts the vehicle into this lane, and informs it about entering the network. | |
void | drawLinkNo (const GUIVisualizationSettings &s) const |
helper methods | |
void | drawTLSLinkNo (const GUIVisualizationSettings &s, const GUINet &net) const |
void | drawLinkRules (const GUIVisualizationSettings &s, const GUINet &net) const |
void | drawLinkRule (const GUIVisualizationSettings &s, const GUINet &net, const MSLink *link, const PositionVector &shape, double x1, double x2) const |
void | drawArrows (bool secondaryShape) const |
void | drawLane2LaneConnections (double exaggeration, bool s2) const |
PositionVector | splitAtSegments (const PositionVector &shape) |
add intermediate points at segment borders | |
double | getPendingEmits () const |
get number of vehicles waiting for departure on this lane | |
void | initRotations (const PositionVector &shape, std::vector< double > &rotations, std::vector< double > &lengths, std::vector< RGBColor > &colors) |
bool | setMultiColor (const GUIVisualizationSettings &s, const GUIColorer &c, RGBColor &col) const |
sets multiple colors according to the current scheme index and some lane function | |
RGBColor | setColor (const GUIVisualizationSettings &s) const |
sets the color according to the currente settings | |
bool | drawAsWaterway (const GUIVisualizationSettings &s) const |
whether to draw this lane as a waterway | |
bool | isLaneOrEdgeSelected () const |
whether this lane or its parent edge is selected in the GUI | |
std::vector< RGBColor > & | getShapeColors (bool secondary) const |
Representation of a lane in the micro simulation (gui-version)
An extended MSLane. A mechanism to avoid concurrent visualisation and simulation what may cause problems when vehicles disappear is implemented using a mutex.
|
protectedinherited |
|
inherited |
parameters map
Definition at line 45 of file Parameterised.h.
|
inherited |
|
inherited |
|
inherited |
GUILane::GUILane | ( | const std::string & | id, |
double | maxSpeed, | ||
double | friction, | ||
double | length, | ||
MSEdge *const | edge, | ||
int | numericalID, | ||
const PositionVector & | shape, | ||
double | width, | ||
SVCPermissions | permissions, | ||
SVCPermissions | changeLeft, | ||
SVCPermissions | changeRight, | ||
int | index, | ||
bool | isRampAccel, | ||
const std::string & | type, | ||
const PositionVector & | outlineShape | ||
) |
Constructor.
[in] | id | The lane's id |
[in] | maxSpeed | The speed allowed on this lane |
[in] | friction | The initial friction on this lane |
[in] | length | The lane's length |
[in] | edge | The edge this lane belongs to |
[in] | numericalID | The numerical id of the lane |
[in] | shape | The shape of the lane |
[in] | width | The width of the lane |
[in] | permissions | Encoding of vehicle classes that may drive on this lane |
Definition at line 77 of file GUILane.cpp.
References MSGlobals::gUseMesoSim, initRotations(), PositionVector::length(), myHalfLaneWidth, myQuarterLaneWidth, MSLane::myShape, myShapeColors, myShapeLengths, myShapeRotations, myShapeSegments, MSLane::myWidth, and splitAtSegments().
GUILane::~GUILane | ( | ) |
Destructor.
Definition at line 107 of file GUILane.cpp.
References myLock, myParkingAreas, and myTesselation.
|
inherited |
Definition at line 2789 of file MSLane.cpp.
References MSLane::getEdge(), Named::getID(), MSEdge::isInternal(), MSLane::myApproachingLanes, TL, and WRITE_WARNINGF.
Referenced by NLHandler::addConnection().
Definition at line 2779 of file MSLane.cpp.
References MSLane::getLength(), MSLane::IncomingLaneInfo::lane, MSLane::IncomingLaneInfo::length, MSLane::myIncomingLanes, and MSLane::IncomingLaneInfo::viaLink.
Referenced by NLHandler::addConnection().
|
inherited |
get leaders for ego on the given lane
Definition at line 4064 of file MSLane.cpp.
References MSLeaderDistanceInfo::addLeader(), MSCFModel::brakeGap(), DEBUG_COND, DEBUG_COND2, MSGlobals::gComputeLC, MSVehicle::getBackPositionOnLane(), MSVehicle::getBestLanesContinuation(), MSLane::getBidiLane(), MSVehicle::getCarFollowModel(), Named::getID(), MSVehicle::getLane(), MSLane::getLastVehicleInformation(), MSLane::getLeadersOnConsecutive(), MSLane::getLength(), MSVehicleType::getMinGap(), MSVehicle::getSpeed(), MSVehicle::getUpstreamOppositeLanes(), MSBaseVehicle::getVehicleType(), MSLane::isInternal(), MAX2(), MSLane::myMaxSpeed, MSLeaderInfo::numFreeSublanes(), MSLeaderInfo::numSublanes(), MSLeaderDistanceInfo::toString(), and toString().
Referenced by MSLaneChangerSublane::checkChangeOpposite(), and LIBSUMO_NAMESPACE::Vehicle::getNeighbors().
|
inherited |
Delayed initialization.
Not all lane-members are known at the time the lane is born, above all the pointers to other lanes, so we have to add them later.
[in] | link | An outgoing link |
Definition at line 325 of file MSLane.cpp.
References MSLane::myLinks.
Referenced by NLHandler::addConnection().
|
virtualinherited |
Add a move-reminder to move-reminder container.
The move reminder will not be deleted by the lane.
[in] | rem | The move reminder to add |
Definition at line 352 of file MSLane.cpp.
References MSLane::myMoveReminders, and MSLane::myVehicles.
Referenced by MSDriveWay::buildRoute(), MSDriveWay::buildSubFoe(), and MSMoveReminder::MSMoveReminder().
|
inherited |
Definition at line 369 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
inherited |
add parking vehicle. This should only used during state loading
Definition at line 3602 of file MSLane.cpp.
References MSLane::myParkingVehicles.
Referenced by MSVehicleTransfer::loadState().
|
overridevirtual |
Reimplemented from MSLane.
Definition at line 139 of file GUILane.cpp.
References initRotations(), PositionVector::length(), MAX2(), MSLane::myLength, myLengthGeometryFactor2, myShape2, myShapeColors2, myShapeLengths2, and myShapeRotations2.
|
inlineinherited |
Adds this object to the given container.
[in,filled] | cont The container to add this item to |
Definition at line 118 of file Named.h.
References Named::StoringVisitor::add().
|
inlineinherited |
Returns whether the given vehicle class may change left from this lane.
Definition at line 932 of file MSLane.h.
References MSLane::myChangeLeft.
Referenced by MSLaneChanger::changeOpposite().
|
inlineinherited |
Returns whether the given vehicle class may change left from this lane.
Definition at line 937 of file MSLane.h.
References MSLane::myChangeRight.
Referenced by drawGL(), drawJunctionChangeProhibitions(), and drawMarkings().
|
inlineinherited |
Definition at line 925 of file MSLane.h.
References MSLane::myPermissions.
Referenced by NLTriggerBuilder::addAccess(), MSBaseVehicle::addStop(), MSLaneChanger::changeOpposite(), libsumo::Helper::convertCartesianToRoadMap(), MSPModel_NonInteracting::PState::getPosition(), MSBaseVehicle::insertStop(), MSLCM_SL2015::mustOvertakeStopped(), MSBaseVehicle::replaceStop(), MSVehicle::updateBestLanes(), and MSLCM_SL2015::updateExpectedSublaneSpeeds().
|
inherited |
Definition at line 4603 of file MSLane.cpp.
References MSLane::myOriginalPermissions, MSLane::myPermissions, and libsumo::ROUTING_MODE_IGNORE_TRANSIENT_PERMISSIONS.
|
inlineinherited |
begin iterator for iterating over all vehicles touching this lane in downstream direction
Definition at line 489 of file MSLane.h.
References MSLane::myPartialVehicles, MSLane::myTmpVehicles, and MSLane::myVehicles.
Referenced by MSLane::detectCollisions(), MSLane::getFollowersOnConsecutive(), MSLane::getLastVehicleInformation(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSPModel_Striping::getVehicleObstacles(), and MSLane::insertVehicle().
|
inlineinherited |
end iterator for iterating over all vehicles touching this lane in downstream direction
Definition at line 495 of file MSLane.h.
References MSLane::myPartialVehicles, MSLane::myTmpVehicles, and MSLane::myVehicles.
Referenced by MSLane::detectCollisions(), MSLane::getFollowersOnConsecutive(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSPModel_Striping::getVehicleObstacles(), and MSLane::insertVehicle().
|
inlineinherited |
begin iterator for iterating over all vehicles touching this lane in upstream direction
Definition at line 501 of file MSLane.h.
References MSLane::myPartialVehicles, MSLane::myTmpVehicles, and MSLane::myVehicles.
Referenced by MSLane::getFirstVehicleInformation(), MSLane::getFollower(), and MSPModel_Striping::getVehicleObstacles().
|
inlineinherited |
end iterator for iterating over all vehicles touching this lane in upstream direction
Definition at line 507 of file MSLane.h.
Referenced by MSLane::getFollower(), and MSPModel_Striping::getVehicleObstacles().
|
virtualinherited |
Returns the information whether this lane may be used to continue the current route
Definition at line 2470 of file MSLane.cpp.
References MSVehicle::getBestLanes(), MSVehicle::getBestLanesContinuation(), MSVehicle::getLaneChangeModel(), MSVehicle::getLaneIndex(), MSEdge::isInternal(), MSAbstractLaneChangeModel::isOpposite(), MSLane::myEdge, MSLane::myLinks, MSBaseVehicle::succEdge(), and MSLane::succLinkSec().
Referenced by MSLane::executeMovements().
|
staticinherited |
check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)
Definition at line 219 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEFrameAttributeModules::GenericDataAttributes::areAttributesValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), and GNETAZRelData::isValid().
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 200 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEDetector::isDetectorValid(), GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEMultiEntryExitDetector::isValid(), GNEOverheadWire::isValid(), GNEParkingArea::isValid(), GNEParkingSpace::isValid(), GNERerouter::isValid(), GNERouteProbe::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNETractionSubstation::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEContainer::isValid(), GNEPerson::isValid(), GNERoute::isValid(), GNEStop::isValid(), GNEVehicle::isValid(), GNEVType::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNELane::isValid(), GNELaneType::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNETLSEditorFrame::TLSAttributes::isValidParameters(), and GNEFrameAttributeModules::GenericDataAttributes::onCmdSetParameters().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 407 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.
|
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 286 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_CENTER, RECENTERVIEW, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
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 295 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), MID_COPY_NAME, MID_COPY_TYPED_NAME, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::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 274 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIMainWindow::getBoldFont(), GUIGlObject::getFullName(), OptionsCont::getOptions(), MID_COPY_TEST_COORDINATES, GUIGlObject::myIcon, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
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 336 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GEOHACK, GeoConvHelper::getFinal(), GUIIconSubSys::getIcon(), GUIMainWindow::getOnlineMaps(), GOOGLEMAPS, GUIGLObjectPopupMenu::insertMenuPaneChild(), MID_COPY_CURSOR_GEOPOSITION, MID_COPY_CURSOR_POSITION, MID_SHOW_GEOPOSITION_ONLINE, OSM, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
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 305 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), FLAG_MINUS, FLAG_PLUS, GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, GUISelectedStorage::isSelected(), MID_ADDSELECT, MID_REMOVESELECT, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 384 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.
Referenced by 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 360 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MANIP, MID_MANIP, and TL.
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 318 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWPARS, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
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 327 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWTYPEPARS, and TL.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), and GUIPerson::getPopUpMenu().
|
inherited |
Definition at line 2384 of file MSLane.cpp.
References MSEdge::changeLanes(), and MSLane::myEdge.
|
inherited |
Definition at line 313 of file MSLane.cpp.
References MSGlobals::gNumSimThreads, MSLane::myVehBuffer, and MFXSynchQue< T, Container >::unsetCondition().
|
inherited |
Definition at line 795 of file MSLane.cpp.
References MSCFModel::brakeGap(), MSInsertionControl::descheduleDeparture(), MSGlobals::gEmergencyInsert, MSVehicle::getCarFollowModel(), MSCFModel::getEmergencyDecel(), Named::getID(), MSLane::getInsertionChecks(), MSNet::getInsertionControl(), MSNet::getInstance(), MSVehicleType::getMinGap(), MSBaseVehicle::getVehicleType(), MIN2(), TL, WRITE_ERRORF, and WRITE_WARNINGF.
Referenced by MSLane::checkForPedestrians(), and MSLane::isInsertionSuccess().
|
protectedinherited |
check whether pedestrians on this lane interfere with vehicle insertion
Definition at line 4496 of file MSLane.cpp.
References MSLane::checkFailure(), COLLISION, DEBUG_COND2, MSCFModel::FUTURE, MSVehicle::getCarFollowModel(), MSLane::getEdge(), Named::getID(), MSLane::getInsertionChecks(), MSVehicle::getLateralPositionOnLane(), MSVehicleType::getLength(), MSVehicleType::getLengthWithGap(), MSCFModel::getMaxDecel(), MSVehicle::getRightSideOnLane(), MSBaseVehicle::getVehicleType(), MSVehicleType::getWidth(), MSLane::hasPedestrians(), MSLane::nextBlocking(), PEDESTRIAN, SIMTIME, and MSCFModel::stopSpeed().
Referenced by MSLane::isInsertionSuccess().
|
staticinherited |
Clears the dictionary.
Definition at line 2437 of file MSLane.cpp.
References MSLane::clear(), and MSLane::myDict.
Referenced by NLBuilder::buildNet(), MSLane::clear(), and MSNet::clearAll().
|
inherited |
Clears the parameter map.
Definition at line 139 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing(), and GNESingleParametersDialog::onCmdAccept().
|
inherited |
Remove all vehicles before quick-loading state.
Definition at line 3665 of file MSLane.cpp.
References MSLane::myBruttoVehicleLengthSum, MSLane::myBruttoVehicleLengthSumToRemove, MSLane::myFollowerInfoTime, MSLane::myLeaderInfoTime, MSLane::myLinks, MSLane::myManeuverReservations, MSLane::myNettoVehicleLengthSum, MSLane::myNettoVehicleLengthSumToRemove, MSLane::myParkingVehicles, MSLane::myPartialVehicles, MSLane::myVehicles, and SUMOTime_MIN.
void GUILane::closeTraffic | ( | bool | rebuildAllowed = true | ) |
close this lane for traffic
Definition at line 1560 of file GUILane.cpp.
References MSLane::CHANGE_PERMISSIONS_GUI, MSGlobals::gCheckRoutes, MSLane::getEdge(), myAmClosed, MSLane::myPermissionChanges, MSEdge::rebuildAllowedLanes(), MSLane::resetPermissions(), MSLane::setPermissions(), and SVC_AUTHORITY.
Referenced by GUIEdge::closeTraffic(), and GUIViewTraffic::onCmdCloseLane().
|
privateinherited |
create full name
Definition at line 430 of file GUIGlObject.cpp.
References GUIGlObject::getMicrosimID(), StringBijection< T >::getString(), GUIGlObject::myGLObjectType, and GUIGlObject::TypeNames.
Referenced by GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
void GUILane::debugDrawFoeIntersections | ( | ) | const |
draw intersection positions of foe internal lanes with this one
Definition at line 965 of file GUILane.cpp.
References GLHelper::drawLine(), PositionVector::extrapolate(), MSLane::geometryPositionAtOffset(), MSLink::getConflicts(), MSLink::getFoeLanes(), MSLane::getLength(), MSLane::getLinkCont(), PositionVector::getOrthogonal(), MSLane::getShape(), PositionVector::length(), GLHelper::popMatrix(), and GLHelper::pushMatrix().
Referenced by drawGL().
|
virtualinherited |
delete GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, GNEWalkingArea, and GNENetworkElement.
Definition at line 221 of file GUIGlObject.cpp.
|
protectedinherited |
detect whether there is a collision between the two vehicles
Definition at line 1895 of file MSLane.cpp.
References MSLane::COLLISION_ACTION_TELEPORT, DEBUG_COND, DEBUG_COND2, DELTA_T, MSVehicle::getBackPositionOnLane(), MSVehicle::getCarFollowModel(), MSVehicle::getCenterOnEdge(), MSCFModel::getCollisionMinGapFactor(), MSLane::getEdge(), MSVehicle::getFurtherLanes(), Named::getID(), MSVehicle::getInfluencer(), MSVehicle::getLane(), MSVehicle::getLaneChangeModel(), MSVehicle::getLateralOverlap(), MSBaseVehicle::getLength(), MSLane::getLength(), MSVehicleType::getMinGap(), MSEdge::getNumLanes(), MSVehicle::getPositionOnLane(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getVehicleType(), MSVehicleType::getWidth(), MSGlobals::gLaneChangeDuration, MSGlobals::gSublane, MSLane::handleCollisionBetween(), MSVehicle::hasInfluencer(), MSVehicle::isBidiOn(), MSAbstractLaneChangeModel::isChangingLanes(), MSLane::isInternal(), MSAbstractLaneChangeModel::isOpposite(), MSVehicle::Influencer::isRemoteAffected(), MSLane::myCollisionAction, MSLane::myCollisionMinGapFactor, MSLane::myEdge, SIMTIME, and std::swap().
Referenced by MSLane::detectCollisions().
|
overridevirtual |
the same as in MSLane, but locks the access for the visualisation first; the access will be granted at the end of this method
Reimplemented from MSLane.
Definition at line 219 of file GUILane.cpp.
References MSLane::detectCollisions(), and myLock.
|
protectedinherited |
detect whether a vehicle collids with pedestrians on the junction
Definition at line 1854 of file MSLane.cpp.
References MSLane::COLLISION_ACTION_NONE, DEBUG_COND, MSVehicle::getBoundingPoly(), MSLane::getEdge(), Named::getID(), MSEdge::getPersons(), MSEdge::getSortedPersons(), MSLane::handleIntermodalCollisionBetween(), MSLane::hasPedestrians(), MSEdge::isCrossing(), MSEdge::isWalkingArea(), MSLane::myIntermodalCollisionAction, PositionVector::overlapsWith(), and SIMTIME.
Referenced by MSLane::detectCollisions().
|
staticinherited |
Returns the MSLane associated to the key id.
The lane is returned if exists, otherwise 0 is returned.
[in] | id | The id of the lane |
Definition at line 2426 of file MSLane.cpp.
References MSLane::myDict.
|
staticinherited |
Static (sic!) container methods {.
Inserts a MSLane into the static dictionary
Returns true if the key id isn't already in the dictionary. Otherwise returns false.
[in] | id | The id of the lane |
[in] | lane | The lane itself |
make non-static
why is the id given? The lane is named
Definition at line 2414 of file MSLane.cpp.
References MSLane::myDict.
Referenced by NLHandler::addConnection(), NLNetShapeHandler::addConnection(), NLHandler::addLane(), NLNetShapeHandler::addLane(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), NLEdgeControlBuilder::build(), LIBSUMO_NAMESPACE::Lane::getLane(), NLTriggerBuilder::getLane(), NLDetectorBuilder::getLaneChecking(), NLShapeHandler::getLanePos(), MSE2Collector::getLanes(), MSEdge::getStopPosition(), NEMALogic::init(), MSBaseVehicle::insertStop(), MSPedestrianPushButton::loadPushButtons(), MSRailSignalConstraint_Predecessor::loadState(), MSVehicleTransfer::loadState(), LIBSUMO_NAMESPACE::Person::moveTo(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSStateHandler::myStartElement(), MSTriggeredRerouter::myStartElement(), NLTriggerBuilder::parseAndBuildLaneSpeedTrigger(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), NLHandler::parseLanes(), TraCIServerAPI_Lane::processSet(), MSPModel_Striping::PState::PState(), MSE2Collector::recalculateDetectorLength(), MSBaseVehicle::replaceRoute(), and MSBaseVehicle::replaceStop().
|
inlinestaticinherited |
Returns the number of stored lanes.
Definition at line 815 of file MSLane.h.
References MSLane::myDict.
|
private |
Definition at line 435 of file GUILane.cpp.
References GLHelper::drawBoxLine(), GLHelper::drawTriangleAtEnd(), MSLane::getShape(), LEFT, LINKSTATE_DEADEND, MSLane::myLinks, MSLane::myWidth, NODIR, PARTLEFT, PARTRIGHT, GLHelper::popMatrix(), GLHelper::pushMatrix(), RAD2DEG, RIGHT, STRAIGHT, SUMO_const_laneWidth, TURN, TURN_LEFTHAND, Position::x(), and Position::y().
Referenced by drawGL().
bool GUILane::drawAsRailway | ( | const GUIVisualizationSettings & | s | ) | const |
whether to draw this lane as a railway
Definition at line 1533 of file GUILane.cpp.
References isRailway(), MSLane::myPermissions, GUIVisualizationSettings::showRails, and SVC_BUS.
Referenced by drawGL(), and drawLinkRule().
|
private |
whether to draw this lane as a waterway
Definition at line 1539 of file GUILane.cpp.
References isWaterway(), MSLane::myPermissions, and GUIVisualizationSettings::showRails.
Referenced by drawGL(), and drawLinkRule().
void GUILane::drawBikeMarkings | ( | ) | const |
bike lane markings on top of an intersection
fixme
Definition at line 843 of file GUILane.cpp.
References MSLane::getShape(), getShapeLengths(), getShapeRotations(), GLO_JUNCTION, myHalfLaneWidth, GLHelper::popMatrix(), and GLHelper::pushMatrix().
Referenced by drawGL().
void GUILane::drawDirectionIndicators | ( | double | exaggeration, |
bool | spreadSuperposed, | ||
bool | s2 | ||
) | const |
direction indicators for lanes
Definition at line 937 of file GUILane.cpp.
References MSLane::getShape(), getShapeLengths(), getShapeRotations(), GLO_EDGE, MAX2(), MIN2(), myHalfLaneWidth, myQuarterLaneWidth, MSLane::myWidth, GLHelper::popMatrix(), and GLHelper::pushMatrix().
Referenced by drawGL().
|
overridevirtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 529 of file GUILane.cpp.
References MSLane::allowsChangingRight(), RGBColor::alpha(), RGBColor::BLUE, RGBColor::changedBrightness(), GUIVisualizationSizeSettings::constantSize, debugDrawFoeIntersections(), GLHelper::debugVertices(), drawArrows(), drawAsRailway(), drawAsWaterway(), drawBikeMarkings(), GLHelper::drawBoxLine(), GLHelper::drawBoxLines(), GUIVisualizationSettings::drawCrossingsAndWalkingareas, GLHelper::drawCrossTies(), drawDirectionIndicators(), GUIVisualizationSettings::drawForRectangleSelection, GUIBaseVehicle::drawGL(), drawGL(), drawJunctionChangeProhibitions(), GUIVisualizationSettings::drawJunctionShape, drawLane2LaneConnections(), GLHelper::drawLine(), GUIVisualizationSettings::drawLinkJunctionIndex, drawLinkNo(), drawLinkRules(), GUIVisualizationSettings::drawLinkTLIndex, drawMarkings(), TesselatedPolygon::drawTesselation(), drawTLSLinkNo(), GUIVisualizationSettings::edgeScaler, GUIVisualizationSizeSettings::exaggeration, GUIVisualizationSettings::forceDrawForRectangleSelection, GUIVisualizationSettings::geometryIndices, GUIPropertySchemeStorage< T >::getActive(), MSEdge::getBidiEdge(), MSLane::getBidiLane(), GUIPropertyScheme< T >::getColor(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), Named::getID(), MSNet::getInstance(), MSEdge::getLanes(), MSLane::getLinkCont(), PositionVector::getMinZ(), MSLane::getNormalPredecessorLane(), MSLane::getNormalSuccessorLane(), MSEdge::getNumericalID(), MSLane::getPermissions(), GUIEdge::getScaleValue(), getScaleValue(), GUIPropertySchemeStorage< T >::getScheme(), MSLane::getShape(), getShapeColors(), getShapeLengths(), getShapeRotations(), MSEdge::getToJunction(), MSJunction::getType(), GUIGlObject::getType(), getVehiclesSecure(), MSLane::getWidth(), MSGlobals::gLateralResolution, MSGlobals::gLefthand, GLO_JUNCTION, GLO_SHAPE, gSelected, MSGlobals::gUseMesoSim, MSGlobals::gUsingInternalLanes, isAirway(), MSEdge::isCrossing(), MSLane::isCrossing(), MSEdge::isInternal(), MSLane::isInternal(), GUISelectedStorage::isSelected(), MSEdge::isWalkingArea(), MSLane::isWalkingArea(), isWaterway(), GUIVisualizationSettings::junctionSize, GUIVisualizationSettings::laneMinSize, GUIVisualizationSettings::laneScaler, GUIVisualizationSettings::laneShowBorders, GUIVisualizationSettings::laneWidthExaggeration, RGBColor::MAGENTA, MAX2(), MIN2(), GUIVisualizationSizeSettings::minSize, PositionVector::move2side(), MSLane::myBidiLane, MSLane::myEdge, myHalfLaneWidth, MSLane::myIndex, MSLane::myOutlineShape, MSLane::myParkingVehicles, MSLane::myPartialVehicles, MSLane::myPermissions, myQuarterLaneWidth, mySegmentStartIndex, myShapeSegments, myTesselation, MSLane::myWidth, neighLaneNotBidi(), GLHelper::popMatrix(), GLHelper::popName(), GLHelper::pushMatrix(), GLHelper::pushName(), RAIL_CROSSING, RAIL_SIGNAL, releaseVehicles(), RENDERING_BUFFER, GUIVisualizationSettings::scale, GUIVisualizationSettings::secondaryShape, setColor(), GLHelper::setColor(), GUIVisualizationTextSettings::show(), GUIVisualizationSettings::showBikeMarkings, GUIVisualizationSettings::showLane2Lane, GUIVisualizationSettings::showLaneDirection, GUIVisualizationSettings::showLinkDecals, GUIVisualizationSettings::showLinkRules, GUIVisualizationSettings::showSublanes, GUIVisualizationSettings::spreadSuperposed, SUMO_const_halfLaneWidth, SUMO_const_laneMarkWidth, SUMO_const_laneWidth, SVC_BICYCLE, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_RAIL_CLASSES, SVC_SUBWAY, GUIVisualizationSettings::trueZ, and GUIVisualizationSettings::vehicleSize.
Referenced by GUIEdge::drawGL(), and drawGL().
|
virtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.
Definition at line 253 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
void GUILane::drawJunctionChangeProhibitions | ( | ) | const |
bike lane markings on top of an intersection
Definition at line 872 of file GUILane.cpp.
References MSLane::allowsChangingRight(), MSEdge::getLanes(), MSLane::getShape(), getShapeLengths(), getShapeRotations(), MSGlobals::gLefthand, GLO_JUNCTION, MIN2(), MSLane::myEdge, myHalfLaneWidth, MSLane::myIndex, MSLane::myPermissions, GLHelper::popMatrix(), GLHelper::pushMatrix(), SUMO_const_laneMarkWidth, and SVC_PASSENGER.
Referenced by drawGL().
|
private |
Definition at line 502 of file GUILane.cpp.
References GLHelper::drawTriangleAtEnd(), PositionVector::getCentroid(), MSLane::getEdge(), GUIVisualizationSettings::getLinkColor(), MSJunction::getShape(), MSLane::getShape(), getShape(), MSEdge::getToJunction(), MSEdge::isWalkingArea(), MSLane::myEdge, MSLane::myLinks, GLHelper::setColor(), Position::x(), and Position::y().
Referenced by drawGL().
|
private |
helper methods
Definition at line 241 of file GUILane.cpp.
References GUIVisualizationSettings::drawLinkJunctionIndex, GLHelper::drawTextAtEnd(), PositionVector::extrapolate(), MSLane::getEdge(), MSLink::getIndex(), MSLane::getLinkTo(), MSLane::getLogicalPredecessorLane(), MSLane::getShape(), MSGlobals::gLefthand, MSEdge::isCrossing(), myHalfLaneWidth, MSLane::myLinks, MSLane::myWidth, PositionVector::reverse(), GUIVisualizationSettings::scale, GUIVisualizationSettings::secondaryShape, and toString().
Referenced by drawGL().
|
private |
Definition at line 362 of file GUILane.cpp.
References drawAsRailway(), drawAsWaterway(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GUIVisualizationSettings::getLinkColor(), GUINet::getLinkTLID(), MSLink::getState(), MSEdge::getToJunction(), MSJunction::getType(), MSLane::isInternal(), GUIVisualizationSettings::junctionSize, GUIVisualizationSettings::laneWidthExaggeration, LINKSTATE_ALLWAY_STOP, LINKSTATE_DEADEND, LINKSTATE_EQUAL, LINKSTATE_MAJOR, LINKSTATE_MINOR, LINKSTATE_STOP, LINKSTATE_TL_GREEN_MAJOR, LINKSTATE_TL_GREEN_MINOR, LINKSTATE_TL_OFF_BLINKING, LINKSTATE_TL_OFF_NOSIGNAL, LINKSTATE_TL_RED, LINKSTATE_TL_REDYELLOW, LINKSTATE_TL_YELLOW_MAJOR, LINKSTATE_TL_YELLOW_MINOR, MAX2(), MSLane::myEdge, myHalfLaneWidth, GLHelper::popMatrix(), GLHelper::popName(), GLHelper::pushMatrix(), GLHelper::pushName(), RAD2DEG, RAIL_SIGNAL, GUIVisualizationSettings::realisticLinkRules, GLHelper::setColor(), GUIVisualizationColorSettings::SUMO_color_DEADEND_SHOW, Position::x(), and Position::y().
Referenced by drawLinkRules().
|
private |
Definition at line 307 of file GUILane.cpp.
References drawLinkRule(), PositionVector::extrapolate(), MSLane::getEdge(), GUIVisualizationSettings::getLinkColor(), MSLane::getLinkTo(), MSLane::getLogicalPredecessorLane(), StopOffset::getOffset(), StopOffset::getPermissions(), MSLane::getShape(), MSLink::getTLLogic(), MSEdge::getToJunction(), MSJunction::getType(), MSGlobals::gLefthand, MSLane::isCrossing(), StopOffset::isDefined(), LINKSTATE_MAJOR, MSLane::myEdge, myHalfLaneWidth, MSLane::myLaneStopOffset, MSLane::myLinks, MSLane::myWidth, GLHelper::popMatrix(), GLHelper::pushMatrix(), RAD2DEG, RAIL_SIGNAL, PositionVector::reverse(), GUIVisualizationSettings::secondaryShape, GLHelper::setColor(), GUIVisualizationSettings::showRails, SVC_PASSENGER, Position::x(), and Position::y().
Referenced by drawGL().
void GUILane::drawMarkings | ( | const GUIVisualizationSettings & | s, |
double | scale | ||
) | const |
draw lane borders and white markings
Definition at line 820 of file GUILane.cpp.
References MSLane::allowsChangingRight(), GLHelper::drawBoxLines(), GLHelper::drawInverseMarkings(), MSEdge::getLanes(), MSLane::getShape(), getShapeLengths(), getShapeRotations(), MSGlobals::gLefthand, GLO_EDGE, MSLane::myEdge, myHalfLaneWidth, MSLane::myIndex, MSLane::myPermissions, GLHelper::popMatrix(), GLHelper::pushMatrix(), GUIVisualizationSettings::secondaryShape, setColor(), SUMO_const_laneMarkWidth, and SVC_PASSENGER.
Referenced by drawGL().
|
inherited |
draw name of item
Definition at line 436 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show().
Referenced by GNEEdge::drawEdgeName(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNECrossing::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GNEJunction::drawJunctionName(), GNELaneAreaDetector::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GUIBaseVehicle::drawOnPos(), GNEDemandElementPlan::drawPlanLanePartial(), and GNEPoly::drawPolygonNameAndType().
|
private |
Definition at line 268 of file GUILane.cpp.
References GUIVisualizationSettings::drawLinkTLIndex, GLHelper::drawTextAtEnd(), PositionVector::extrapolate(), MSLane::getEdge(), GUINet::getLinkTLIndex(), MSLane::getLinkTo(), MSLane::getLogicalPredecessorLane(), MSLane::getShape(), MSGlobals::gLefthand, MSEdge::isCrossing(), myHalfLaneWidth, MSLane::myLinks, MSLane::myWidth, PositionVector::reverse(), GUIVisualizationSettings::scale, GUIVisualizationSettings::secondaryShape, and toString().
Referenced by drawGL().
|
inlineinherited |
Returns true if there is not a single vehicle on the lane.
Definition at line 739 of file MSLane.h.
References MSLane::myVehBuffer, MSLane::myVehicles, and MFXSynchQue< T, Container >::size().
Referenced by MSEdge::getFirstAllowed(), and MSQueueExport::writeLane().
|
inherited |
Definition at line 3278 of file MSLane.cpp.
References MSVehicleType::getLength(), MSVehicleType::getLengthWithGap(), MSBaseVehicle::getVehicleType(), MSLane::myBruttoVehicleLengthSum, and MSLane::myNettoVehicleLengthSum.
Referenced by MSAbstractLaneChangeModel::primaryLaneChanged().
|
overridevirtual |
the same as in MSLane, but locks the access for the visualisation first; the access will be granted at the end of this method
Reimplemented from MSLane.
Definition at line 184 of file GUILane.cpp.
References MSLane::executeMovements(), and myLock.
|
staticinherited |
Fills the given RTree with lane instances.
[in,filled] | into The RTree to fill |
Definition at line 2454 of file MSLane.cpp.
References PositionVector::getBoxBoundary(), MSLane::getShape(), Boundary::grow(), MSLane::myDict, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by libsumo::Helper::collectObjectsInRange().
double GUILane::firstWaitingTime | ( | ) | const |
Definition at line 1115 of file GUILane.cpp.
References MSLane::myVehicles.
Referenced by getColorValue(), and getScaleValue().
|
inherited |
Inserts the given vehicle at the given position.
No checks are done, vehicle insertion using this method may generate collisions (possibly delayed).
[in] | veh | The vehicle to insert |
[in] | pos | The position at which the vehicle shall be inserted |
[in] | notification | The cause of insertion (i.e. departure, teleport, parking) defaults to departure |
[in] | posLat | The lateral position at which the vehicle shall be inserted |
Definition at line 1348 of file MSLane.cpp.
References MSLane::getDepartSpeed(), MSVehicle::getSpeed(), MSBaseVehicle::hasDeparted(), MSLane::incorporateVehicle(), MSLane::myVehicles, and MSVehicle::updateBestLanes().
Referenced by MSVehicle::executeFractionalMove(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), and MSAbstractLaneChangeModel::primaryLaneChanged().
|
inherited |
Tries to insert the given vehicle on any place.
[in] | veh | The vehicle to insert |
[in] | speed | The maximum insertion speed |
[in] | notification | The cause of insertion (i.e. departure, teleport, parking) defaults to departure |
Definition at line 505 of file MSLane.cpp.
References MSVehicle::getBackPositionOnLane(), MSVehicle::getCarFollowModel(), MSLane::getLength(), MSVehicleType::getLength(), MSCFModel::getMaxDecel(), MSVehicleType::getMinGap(), MSLane::getMissingRearGap(), MSVehicle::getPositionOnLane(), MSCFModel::getSecureGap(), MSVehicle::getSpeed(), MSBaseVehicle::getVehicleType(), MSCFModel::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MIN2(), MSLane::myLength, MSLane::myPartialVehicles, MSLane::myVehicles, MSMoveReminder::NOTIFICATION_TELEPORT, and MSVehicle::setTentativeLaneAndPosition().
Referenced by MSVehicleTransfer::checkInsertions(), and MSLane::insertVehicle().
|
inlineinherited |
Definition at line 560 of file MSLane.h.
References MSLane::interpolateLanePosToGeometryPos(), MSLane::myShape, and PositionVector::positionAtOffset().
Referenced by GUIBusStop::addAccess(), MSStoppingPlace::addAccess(), GUIE3Collector::MyWrapper::buildDefinition(), MSPerson::checkAccess(), TraCIServerAPI_Simulation::commandPositionConversion(), MSVehicle::computeAngle(), LIBSUMO_NAMESPACE::Simulation::convert2D(), LIBSUMO_NAMESPACE::Simulation::convert3D(), debugDrawFoeIntersections(), GUIEdge::drawMesoVehicles(), GUIVehicle::drawRouteHelper(), GUIBaseVehicle::drawStopLabels(), MSVehicle::getBackPosition(), GUIMEVehicle::getCenteringBoundary(), NLShapeHandler::getLanePos(), MEVehicle::getPosition(), MSVehicle::getPosition(), MSVehicle::getPositionAlongBestLanes(), MSVehicle::getSlope(), MSVehicle::interpolateLateralZ(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSPModel_Striping::PState::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIMEInductLoop::MyWrapper::MyWrapper(), GUIViewTraffic::onGamingClick(), and MSVehicle::validatePosition().
|
inherited |
retrieve bidirectional lane or nullptr
Definition at line 4564 of file MSLane.cpp.
References MSLane::myBidiLane.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSVehicle::adaptToLeaders(), MSLane::addLeaders(), MSVehicle::betterContinuation(), MSDriveWay::buildDriveWay(), MSDriveWay::buildRoute(), MSDriveWay::checkCrossingFlanks(), MSDriveWay::checkFlanks(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSVehicle::computeFurtherLanes(), MSLane::detectCollisions(), drawGL(), GUIVehicle::drawRouteHelper(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSLane::executeMovements(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Lane::getBidiLane(), MSVehicle::getCenterOnEdge(), MSLCM_SL2015::getDesiredAlignment(), MSLane::getFollowersOnConsecutive(), MSLane::getFractionalVehicleLength(), MSVehicle::getLatOffset(), MSLink::getLeaderInfo(), MSPModel_Striping::getVehicleObstacles(), MSLane::incorporateVehicle(), MSLCM_SL2015::isBidi(), MSLCHelper::isBidiFollower(), MSLCHelper::isBidiLeader(), MSVehicle::isBidiOn(), MSVehicle::isFrontOnLane(), MSLane::isInsertionSuccess(), MSDriveWay::isSwitch(), MSVehicle::leaveLane(), neighLaneNotBidi(), MSDriveWay::notifyLeaveBack(), MSVehicle::planMoveInternal(), MSVehicle::processLaneAdvances(), MSLane::safeInsertionSpeed(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), and MSVehicle::updateFurtherLanes().
|
inherited |
Returns the brutto (including minGaps) occupancy of this lane during the last step.
Definition at line 3315 of file MSLane.cpp.
References MSLane::getFractionalVehicleLength(), MSVehicleType::getLength(), MSVehicle::getPositionOnLane(), MSLane::getVehiclesSecure(), MSBaseVehicle::getVehicleType(), MIN2(), MSLane::myBruttoVehicleLengthSum, MSLane::myLength, MSLane::myVehicles, and MSLane::releaseVehicles().
Referenced by MSLCM_LC2013::_wantsChange(), getColorValue(), getParameterWindow(), getScaleValue(), and MSEdge::insertVehicle().
|
inlineinherited |
Returns the sum of lengths of vehicles, including their minGaps, which were on the lane during the last step.
Definition at line 1158 of file MSLane.h.
References MSLane::myBruttoVehicleLengthSum.
Referenced by MSVehicle::checkRewindLinkLanes(), and MSLCHelper::getRoundaboutDistBonus().
|
inherited |
Return the main predecessor lane for the current. If there are several incoming lanes, the first attempt is to return the priorized. If this does not yield an unambiguous lane, the one with the least angle difference to the current is selected.
Definition at line 3191 of file MSLane.cpp.
References Named::getID(), MSGlobals::gNumSimThreads, MSLane::myCanonicalPredecessorLane, Named::myID, and MSLane::myIncomingLanes.
Referenced by MSVehicle::computeAngle(), MSLane::getEntryLink(), MSLane::getFirstInternalInConnection(), and MSE2Collector::selectLanes().
|
inherited |
Return the main successor lane for the current. If there are several outgoing lanes, the first attempt is to return the priorized. If this does not yield an unambiguous lane, the one with the least angle difference to the current is selected.
Definition at line 3215 of file MSLane.cpp.
References Named::getID(), MSLane::myCanonicalSuccessorLane, Named::myID, and MSLane::myLinks.
Referenced by MSDevice_SSM::classifyEncounter(), MSVehicle::getDistanceToLeaveJunction(), MSVehicle::getNextEdgePtr(), MSPModel_Striping::getNextLane(), MSLane::getNormalSuccessorLane(), MSLane::getOppositeFollower(), and MSE2Collector::selectLanes().
|
overridevirtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 1079 of file GUILane.cpp.
References Boundary::add(), Boundary::grow(), MSLane::myShape, and RENDERING_BUFFER.
|
inlineinherited |
Definition at line 1202 of file MSLane.h.
References MSLane::myRightSideOnEdge, and MSLane::myWidth.
Referenced by MSVehicle::getCenterOnEdge().
|
inlineinherited |
Returns the vehicle class permissions for changing to the left neighbour lane.
Definition at line 621 of file MSLane.h.
References MSLane::myChangeLeft.
|
inlineinherited |
Returns the vehicle class permissions for changing to the right neighbour lane.
Definition at line 628 of file MSLane.h.
References MSLane::myChangeRight.
|
overridevirtual |
Returns the priority of receiving mouse clicks.
Reimplemented from GUIGlObject.
Definition at line 1619 of file GUILane.cpp.
References GLO_CROSSING, GLO_LANE, MSGlobals::gUseMesoSim, GUIGlObject::INVALID_PRIORITY, MSEdge::isCrossing(), and MSLane::myEdge.
|
inlinestaticinherited |
Definition at line 1357 of file MSLane.h.
References MSLane::myCollisionAction.
Referenced by MSLane::executeMovements(), and MSVehicle::resumeFromStopping().
|
overridevirtual |
gets the color value according to the current scheme index
Reimplemented from GUIGlObject.
Definition at line 1273 of file GUILane.cpp.
References GUIVisualizationSettings::edgeData, GUIVisualizationSettings::edgeDataID, GUIVisualizationSettings::edgeParam, firstWaitingTime(), MSLane::getBruttoOccupancy(), MSEdge::getDistance(), GUINet::getEdgeData(), getEdgeLaneNumber(), GUINet::getGUIInstance(), MSLane::getHarmonoise_NoiseEmissions(), MSNet::getInstance(), MSLane::getLength(), MSLane::getLengthGeometryFactor(), getLoadedEdgeWeight(), GUINet::getMeanData(), MSLane::getMeanSpeed(), MSLane::getNettoOccupancy(), Parameterised::getParameter(), getPendingEmits(), MSEdge::getPermissions(), MSEdge::getPriority(), MSEdge::getRoutingSpeed(), MSLane::getShape(), MSLane::getSpeedLimit(), MSNet::getStoppingPlaces(), getStoredEdgeTravelTime(), MSNet::getWeightsStorage(), MSGlobals::gNumSimThreads, Parameterised::hasParameter(), isLaneOrEdgeSelected(), isRailway(), MSEdge::isTazConnector(), MSEdge::isWalkingArea(), MSEdgeWeightsStorage::knowsTravelTime(), GUIVisualizationSettings::laneParam, GUIVisualizationSettings::MISSING_DATA, MSLane::myEdge, MSLane::myLength, MSLane::myMaxSpeed, myParkingAreas, MSLane::myPermissions, myReachability, MSLane::myRNGIndex, MSEdgeWeightsStorage::retrieveExistingTravelTime(), GUIVisualizationSettings::secondaryShape, SUMO_TAG_PARKING_AREA, SVC_AIRCRAFT, SVC_AUTHORITY, SVC_BICYCLE, SVC_BUS, SVC_DRONE, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_RAIL_CLASSES, SVC_RAIL_FAST, SVC_SHIP, StringUtils::toBool(), and StringUtils::toDouble().
Referenced by GUIViewTraffic::buildColorRainbow(), getColorValueWithFunctional(), setColor(), and setMultiColor().
double GUILane::getColorValueForTracker | ( | ) | const |
return color value based on cached settings
Definition at line 1261 of file GUILane.cpp.
References GUIPropertySchemeStorage< T >::getActive(), getColorValueWithFunctional(), GUIVisualizationSettings::laneColorer, and myCachedGUISettings.
Referenced by getParameterWindow().
double GUILane::getColorValueWithFunctional | ( | const GUIVisualizationSettings & | s, |
int | activeScheme | ||
) | const |
gets the color value according to the current scheme index including values for things that set the color indirectly
Definition at line 1153 of file GUILane.cpp.
References PositionVector::beginEndAngle(), getColorValue(), MSLane::getShape(), GeomHelper::naviDegree(), and GUIVisualizationSettings::secondaryShape.
Referenced by GUIEdge::drawGL(), and getColorValueForTracker().
|
inherited |
Returns the most dangerous leader and the distance to him.
Goes along the vehicle's estimated used lanes (bestLaneConts). For each link, it is determined whether the ego vehicle will pass it. If so, the subsequent lane is investigated. Check all lanes up to the stopping distance of ego. Return the leader vehicle (and the gap) which puts the biggest speed constraint on ego.
If no leading vehicle was found, <0, -1> is returned.
Pretty slow, as it has to go along lanes.
[in] | dist | The distance to investigate |
[in] | seen | The already seen place (normally the place in front on own lane) |
[in] | speed | The speed of the vehicle used for determining whether a subsequent link will be opened at arrival time |
[in] | veh | The (ego) vehicle for which the information shall be computed |
Definition at line 3051 of file MSLane.cpp.
References MSVehicle::adaptToJunctionLeader(), MSCFModel::brakeGap(), DEBUG_COND2, gDebugFlag1, MSVehicle::getBackPositionOnLane(), MSVehicle::getBestLanesContinuation(), MSVehicle::getCarFollowModel(), MSNet::getCurrentTimeStep(), Named::getID(), MSBaseVehicle::getImpatience(), MSNet::getInstance(), MSLane::getLastAnyVehicle(), MSVehicle::getLateralPositionOnLane(), MSLane::getLength(), MSVehicleType::getLength(), MSCFModel::getMaxDecel(), MSVehicleType::getMinGap(), MSVehicle::getSpeed(), MSLane::getVehicleMaxSpeed(), MSBaseVehicle::getVehicleType(), MSCFModel::insertionFollowSpeed(), MSLane::isInternal(), MSLane::isLinkEnd(), MAX2(), SIMTIME, MSLane::succLinkSec(), and TIME2STEPS.
Referenced by MSLaneChanger::checkChange().
|
inherited |
return the index of the link to the next crossing if this is walkingArea, else -1
Definition at line 3285 of file MSLane.cpp.
References MSLane::myLinks.
|
protectedinherited |
Definition at line 642 of file MSLane.cpp.
References CENTER, DEFAULT, SUMOVehicleParameter::departPosLat, SUMOVehicleParameter::departPosLatProcedure, MSBaseVehicle::getParameter(), MSBaseVehicle::getVehicleType(), MSLane::getWidth(), MSVehicleType::getWidth(), GIVEN, gPrecisionRandom, LEFT, RandHelper::rand(), RANDOM, RIGHT, and roundDecimal().
Referenced by MSLane::insertVehicle().
|
protectedinherited |
Definition at line 591 of file MSLane.cpp.
References AVG, DEFAULT, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, DESIRED, MSBaseVehicle::getChosenSpeedFactor(), MSLane::getLastAnyVehicle(), MSLane::getMeanSpeed(), MSBaseVehicle::getParameter(), MSVehicle::getSpeed(), MSLane::getVehicleMaxSpeed(), GIVEN, gPrecisionRandom, LAST, LIMIT, MAX, MIN2(), RandHelper::rand(), RANDOM, and roundDecimal().
Referenced by MSLane::forceVehicleInsertion(), and MSLane::insertVehicle().
|
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 100 of file Parameterised.cpp.
References Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by MSPModel_JuPedSim::add(), MSVehicleType::build(), MSVehicleType::check(), EnergyParams::EnergyParams(), 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(), MSActuatedTrafficLightLogic::init(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), and MSDevice_Battery::readParameterValue().
|
inherited |
Returns the value for a given key converted to a list of doubles.
[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 118 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by EnergyParams::EnergyParams().
|
inlineinherited |
Returns the lane's edge.
Definition at line 764 of file MSLane.h.
References MSLane::myEdge.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSStageDriving::abort(), MSLane::StoringVisitor::add(), MSLane::addApproachingLane(), NLHandler::addConnection(), NLNetShapeHandler::addLane(), MSLaneChangerSublane::addOutsideLeaders(), MSRouteHandler::addPersonTrip(), MSDevice_Taxi::addReservation(), MSRouteHandler::addRideOrTransport(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), MSRouteHandler::addTranship(), MSSwarmTrafficLightLogic::allowLine(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilters(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), MSDriveWay::buildRoute(), MSSOTLE2Sensors::buildSensorForLane(), libsumo::Helper::buildStopParameters(), MSStageDriving::canLeaveVehicle(), MSPerson::checkAccess(), MSLaneChanger::checkChange(), MSLaneChangerSublane::checkChangeOpposite(), MSLink::checkContOff(), MSLane::checkForPedestrians(), MSVehicle::checkLinkLeader(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSLink::checkWalkingAreaFoe(), MSDevice_SSM::classifyEncounter(), MSEdge::closeBuilding(), closeTraffic(), MSVehicle::computeFurtherLanes(), MSLCM_SL2015::computeSpeedGain(), MSLaneChanger::continueChange(), NLDetectorBuilder::createInductLoop(), GUIDetectorBuilder::createInductLoop(), MSLane::detectCollisionBetween(), MSE2Collector::detectorUpdate(), MSE3Collector::detectorUpdate(), MSInductLoop::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), MSLCHelper::divergentRoute(), drawLane2LaneConnections(), drawLinkNo(), drawLinkRules(), drawTLSLinkNo(), MSVehicle::enterLaneAtMove(), MSVehicle::estimateTimeToNextStop(), MSStoppingPlaceRerouter::evaluateDestination(), MSPModel_JuPedSim::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSStoppingPlace::getAccessPos(), MSMeanData_Net::getAttributeValue(), MSVehicle::getBackPositionOnLane(), MSVehicle::getBestLanesContinuation(), MSLaneChanger::getBestLanesOpposite(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), MSVehicle::getCurrentEdge(), MSRoute::getDistanceBetween(), MSStop::getEdge(), MSStageDriving::getEdge(), MSVehicle::getFollower(), MSLane::getFollowersOnConsecutive(), MSVehicle::getLatOffset(), MSLink::getLeaderInfo(), MSLCM_SL2015::getLeftBorder(), GUIVehicle::getLeftSublaneOnEdge(), MSLane::getLogicalPredecessorLane(), LIBSUMO_NAMESPACE::Vehicle::getNeighbors(), MSLCM_SL2015::getNeighRight(), MSVehicle::getNextEdgePtr(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), MSAbstractLaneChangeModel::getNormalizedLaneIndex(), MSCFModel_CC::getParameter(), getParentName(), getPopUpMenu(), MSVehicle::getPosition(), MSVehicle::getRerouteOrigin(), GUIVehicle::getRightSublaneOnEdge(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount(), MSAbstractLaneChangeModel::getShadowDirection(), MSVehicle::getUpcomingLanesUntil(), MSDevice_SSM::getVehiclesOnJunction(), GUIVehicle::getVisualPosition(), MSLane::handleCollisionBetween(), MSVehicle::influenceChangeDecision(), MSTrafficLightLogic::initMesoTLSPenalties(), MSBaseVehicle::insertStop(), MSLCHelper::isBidiFollower(), MSVehicle::isBidiOn(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MSVehicle::isOppositeLane(), MSLink::lastWasContMajor(), MSLink::lastWasContState(), MSVehicle::leaveLane(), MESegment::limitedControlOverride(), MSPedestrianPushButton::loadPushButtons(), MSStageDriving::loadState(), MSStageWalking::loadState(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSLeaderDistanceInfo::moveSamePosTo(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSPModel_Striping::PState::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSDevice_GLOSA::notifyEnter(), MSDevice_Routing::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSDriveWay::notifyEnter(), MSDevice_SSM::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_Bluelight::notifyMove(), MSDevice_StationFinder::notifyMove(), GUIViewTraffic::onCmdAddRerouter(), GUIViewTraffic::onCmdCloseEdge(), MSLane::edge_finder::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSLCM_SL2015::outsideEdge(), NLTriggerBuilder::parseAndBuildCalibrator(), MSRouteHandler::parseWalkPositions(), MSVehicle::passingMinor(), MSLCM_DK2008::patchSpeed(), MSVehicle::planMoveInternal(), MSInternalJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSAbstractLaneChangeModel::primaryLaneChanged(), MSPerson::MSPersonStage_Access::proceed(), MSStageDriving::proceed(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), MSPModel_Striping::PState::PState(), MSPModel_Striping::registerCrossingApproach(), MSLeaderInfo::removeOpposite(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceStop(), MSStoppingPlaceRerouter::reroute(), GUIVehicle::rerouteDRTStop(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_StationFinder::rerouteToChargingStation(), MSVehicle::resumeFromStopping(), LIBSUMO_NAMESPACE::Lane::setAllowed(), LIBSUMO_NAMESPACE::Lane::setDisallowed(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), GUIViewTraffic::showLaneReachability(), MSLaneChangerSublane::startChangeSublane(), MSDevice_StationFinder::teleportToChargingStation(), MSLCM_SL2015::tieBrakeLeader(), MSVehicle::unsafeLinkAhead(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSLaneChangerSublane::updateChanger(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::Influencer::updateRemoteControlRoute(), MSLCM_DK2008::wantsChangeToLeft(), MSLCM_DK2008::wantsChangeToRight(), MSVehicle::willStop(), and MSFCDExport::write().
double GUILane::getEdgeLaneNumber | ( | ) | const |
Definition at line 1121 of file GUILane.cpp.
References MSEdge::getLanes(), and MSLane::myEdge.
Referenced by getColorValue(), and getScaleValue().
|
inlineinherited |
Returns the sum of last step emissions The value is always per 1s, so multiply by step length if necessary.
Definition at line 1168 of file MSLane.h.
References MSLane::getVehiclesSecure(), and MSLane::releaseVehicles().
Referenced by MSFullExport::writeLane().
|
inherited |
Returns the entry link if this is an internal lane, else nullptr.
Definition at line 2691 of file MSLane.cpp.
References MSLane::getCanonicalPredecessorLane(), MSLane::getLinkTo(), and MSLane::isInternal().
Referenced by MSDevice_SSM::classifyEncounter(), MSLink::computeDistToDivergence(), MSLink::getLeaderInfo(), MSLink::getLengthBeforeCrossing(), MSLane::getUpcomingLinks(), MSDevice_SSM::getVehiclesOnJunction(), MSVehicle::isLeader(), and MSLink::setRequestInformation().
|
inlinevirtualinherited |
return exaggeration associated with this GLObject
Reimplemented in GUIBaseVehicle, GUIBusStop, GUICalibrator, GUIChargingStation, GUIDetectorWrapper, GUIE3Collector::MyWrapper, GUIInstantInductLoop::MyWrapper, GUIJunctionWrapper, GUILaneSpeedTrigger, GUIOverheadWire, GUIOverheadWireClamp, GUIParkingArea, GUITriggeredRerouter, GUITriggeredRerouter::GUITriggeredRerouterEdge, GUIMEInductLoop::MyWrapper, GUIMEVehicle, GNEAdditional, GNETAZ, GNEContainer, GNEPerson, GNERoute, GNEStop, GNEStopPlan, GNEVehicle, GNEConnection, GNEEdge, GNEJunction, GNELane, GUIContainer, GUIE2Collector::MyWrapper, GUIPerson, GNEPOI, GNEPoly, GUIPointOfInterest, and GUIPolygon.
Definition at line 176 of file GUIGlObject.h.
References UNUSED_PARAMETER.
Referenced by GUIPointOfInterest::checkDraw(), GUIPolygon::checkDraw(), GNEWalkingArea::drawGL(), GUIPointOfInterest::drawInnerPOI(), and GUIPolygon::drawInnerPolygon().
|
inherited |
returns the first vehicle that is fully or partially on this lane
Definition at line 2605 of file MSLane.cpp.
References MSVehicle::getPositionOnLane(), MSLane::myPartialVehicles, and MSLane::myVehicles.
Referenced by MSVehicle::processLinkApproaches().
|
inherited |
returns the first vehicle for which this lane is responsible or 0
Definition at line 2577 of file MSLane.cpp.
References MSLane::myVehicles.
Referenced by MSVehicle::checkRewindLinkLanes().
|
inherited |
Returns 0 if the lane is not internal. Otherwise the first part of the connection (sequence of internal lanes along junction) corresponding to the lane is returned and the offset is set to the distance of the begin of this lane to the begin of the returned.
Definition at line 2396 of file MSLane.cpp.
References MSLane::getCanonicalPredecessorLane(), MSLane::getLength(), and MSLane::isInternal().
Referenced by MSDevice_SSM::classifyEncounter().
|
inherited |
analogue to getLastVehicleInformation but in the upstream direction
Definition at line 1465 of file MSLane.cpp.
References MSLeaderInfo::addLeader(), MSLane::anyVehiclesUpstreamBegin(), DEBUG_COND2, MSNet::getCurrentTimeStep(), Named::getID(), MSNet::getInstance(), MSVehicle::getLatOffset(), MSVehicle::getPositionOnLane(), MSGlobals::gNumSimThreads, MSVehicle::isFrontOnLane(), MSLane::myFollowerInfo, MSLane::myFollowerInfoTime, MSLane::myLength, and MSLane::myWidth.
Referenced by MSLane::getFollowersOnConsecutive().
|
inherited |
Find follower vehicle for the given ego vehicle (which may be on the opposite direction lane)
[in] | ego | The ego vehicle |
[in] | egoPos | The ego position mapped to the current lane |
[in] | dist | The look-back distance when looking at consecutive lanes |
[in] | ignoreMinorLinks | Whether backward search should stop at minor links |
Definition at line 4316 of file MSLane.cpp.
References MSLane::anyVehiclesUpstreamBegin(), MSLane::anyVehiclesUpstreamEnd(), DEBUG_COND2, MSLeaderDistanceInfo::getClosest(), MSLane::getFollowersOnConsecutive(), Named::getID(), MSVehicleType::getLength(), MSVehicleType::getMinGap(), MSVehicle::getPositionOnLane(), and MSBaseVehicle::getVehicleType().
Referenced by libsumo::Helper::applySubscriptionFilters(), MSVehicle::getFollower(), MSLaneChanger::getOncomingVehicle(), MSLane::getOppositeFollower(), and MSLane::getOppositeLeader().
|
inherited |
return the sublane followers with the largest missing rear gap among all predecessor lanes (within dist)
XXX iterate in reverse and abort when there are no more freeSublanes
XXX dubious term. here for backwards compatibility
Definition at line 3725 of file MSLane.cpp.
References MSCriticalFollowerDistanceInfo::addFollower(), MSLane::anyVehiclesBegin(), MSLane::anyVehiclesEnd(), DEBUG_COND2, MSLane::FOLLOW_ALWAYS, MSLane::FOLLOW_ONCOMING, gDebugFlag1, MSEdge::getBidiEdge(), MSLane::getBidiLane(), MSLane::getEdge(), MSLane::getFirstVehicleInformation(), MSVehicle::getFurtherLanes(), Named::getID(), Named::getIDSecure(), MSLane::getIncomingLanes(), MSVehicle::getLane(), MSVehicle::getLaneChangeModel(), MSEdge::getLanes(), MSVehicle::getLateralPositionOnLane(), MSVehicle::getLatOffset(), MSVehicle::getLeftSideOnLane(), MSBaseVehicle::getLength(), MSLane::getLength(), MSVehicleType::getLength(), MSVehicleType::getLengthWithGap(), MSLane::getLogicalPredecessorLane(), MSLane::getMaximumBrakeDist(), MSVehicleType::getMinGap(), MSVehicle::getPositionOnLane(), MSLane::getRightSideOnEdge(), MSVehicle::getRightSideOnLane(), MSVehicle::getSpeed(), MSLeaderInfo::getSublaneOffset(), MSBaseVehicle::getVehicleType(), MSLane::getWidth(), MSGlobals::gLateralResolution, MSVehicle::isBidiOn(), MSVehicle::isFrontOnLane(), MSVehicle::isOnRoad(), MSAbstractLaneChangeModel::isOpposite(), MSLane::IncomingLaneInfo::lane, MSLane::IncomingLaneInfo::length, MAX2(), MSLane::myEdge, MSLane::myIncomingLanes, MSLane::myWidth, MSLeaderInfo::numFreeSublanes(), MSLeaderInfo::numSublanes(), MSVehicle::onFurtherEdge(), MSLeaderInfo::setSublaneOffset(), SIMTIME, STRAIGHT, SUMO_const_haltingSpeed, MSLeaderInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), and MSLane::IncomingLaneInfo::viaLink.
Referenced by MSLaneChangerSublane::checkChangeOpposite(), MSLane::getFollower(), MSLane::getMissingRearGap(), LIBSUMO_NAMESPACE::Vehicle::getNeighbors(), MSLane::isInsertionSuccess(), and MSVehicle::planMoveInternal().
|
protectedinherited |
return length of fractional vehicles on this lane
Definition at line 3296 of file MSLane.cpp.
References MSLane::getBidiLane(), MSGlobals::gSublane, MSLane::myLength, and MSLane::myPartialVehicles.
Referenced by MSLane::getBruttoOccupancy(), and MSLane::getNettoOccupancy().
|
inlineinherited |
Returns the lane's friction coefficient.
Definition at line 599 of file MSLane.h.
References MSLane::myFrictionCoefficient.
Referenced by getParameterWindow(), and MSDevice_Friction::notifyMove().
|
inlineinherited |
Definition at line 94 of file GUIGlObject.h.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GNENetworkElement::getShapeEditedPopUpMenu(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUIParameterTableWindow::onLeftBtnPress(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inherited |
get icon associated with this GL Object
Definition at line 194 of file GUIGlObject.cpp.
References GUIGlObject::myIcon.
Referenced by GNENetworkElement::getShapeEditedPopUpMenu().
|
inlineinherited |
Returns the numerical id of the object.
Definition at line 104 of file GUIGlObject.h.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIJunctionWrapper::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIPerson::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIEdge::getScaleValue(), GNEViewNet::getToolTipID(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), isLaneOrEdgeSelected(), GUIVehicle::isSelected(), GUIContainer::isSelected(), GUIEdge::isSelected(), isSelected(), GUIPerson::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEElementTree::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), ComparatorClickPriority::operator()(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIViewTraffic::showLaneReachability(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
|
inherited |
Returns the sum of last step noise emissions.
Definition at line 3404 of file MSLane.cpp.
References MSLane::getVehiclesSecure(), MSLane::releaseVehicles(), and HelpersHarmonoise::sum().
Referenced by getColorValue(), getScaleValue(), and MSFullExport::writeLane().
|
inlineinherited |
Returns the id.
Definition at line 74 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSDriveWay::_saveState(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), MSDevice_GLOSA::adaptSpeed(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSDetectorControl::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSDriveWay::addBidiFoes(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), NIXMLEdgesHandler::addEdge(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSDriveWay::addParallelFoes(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), MSDriveWay::addSidings(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSPModel_JuPedSim::addWaitingSet(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Interacting::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), NIVisumTL::build(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSDriveWay::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSDriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDriveWay::buildSubFoe(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::cancelCustomer(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSDriveWay::canUseSiding(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSCFModel_CC::changeWholePlatoonLane(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSDriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSDriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSE2Collector::checkPositioning(), MSRoute::checkRemoval(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), RORouteHandler::closeRouteDistribution(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), MSDispatch_GreedyClosest::computeDispatch(), NBNodeShapeComputer::computeEdgeBoundaries(), MSVehicle::computeFurtherLanes(), MSDevice_SSM::computeGlobalMeasures(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), NBRampsComputer::computeRamps(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSDriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::correctConflicting(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSDefinition::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), MSDevice_ToC::deactivateDeliberateLCs(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSEdge::dictionaryHint(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), drawGL(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MSE3Collector::enter(), NEMAPhase::enter(), MSParkingArea::enter(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), MSStoppingPlaceRerouter::evaluateDestination(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), Command_RouteReplacement::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSPModel_JuPedSim::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignalControl::findDeadlockFoes(), MSDriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), MSDevice_StationFinder::generateOutput(), MSStopOut::generateOutputForUnfinished(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), LIBSUMO_NAMESPACE::Edge::getBidiEdge(), LIBSUMO_NAMESPACE::Lane::getBidiLane(), SUMOTrafficObject::getBoolParam(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSDriveWay::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), NBNodeShapeComputer::getDefaultRadius(), MSDriveWay::getDepartureDriveway(), MSLink::getDescription(), MSStop::getDescription(), MSRailSignalConstraint_Predecessor::getDescription(), NBTrafficLightDefinition::getDescription(), MSStageTrip::getDestinationDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSRailSignal::LinkInfo::getDriveWay(), GUIVehicle::getDriveWays(), MSSimpleTrafficLightLogic::getEarliest(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSLane::getFirstVehicleInformation(), SUMOTrafficObject::getFloatParam(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSPModel_InteractingState::getID(), MSPModel_Striping::PStateVehicle::getID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSDriveWay::getJunctionLinkID(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), NEMALogic::getLaneInfoFromNEMAState(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), MSDevice_SSM::getMDRAC_PRT(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSRailSignal::getNewDrivewayID(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSStageTrip::getOriginDescription(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_StationFinder::getParameter(), MSDevice_ToC::getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIContainer::getParameterWindow(), getParameterWindow(), 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_NAMESPACE::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), GUIBaseVehicle::getScaleValue(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), SUMOTrafficObject::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), SUMOTrafficObject::getTimeParam(), MSDriveWay::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSStageTrip::getVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSStoppingPlaceRerouter::getWeight(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSDriveWay::hasJoin(), MSDriveWay::hasLinkConflict(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSRailSignalControl::haveDeadlock(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), NBNode::indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSCalibrator::init(), NBEdge::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSPModel_JuPedSim::initialize(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSLane::insertVehicle(), MSEdge::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSLane::integrateNewVehicles(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::isLeader(), MESegment::isOpen(), MSCFModel_CC::isPlatoonLaneChangeSafe(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSVehicle::leaveLaneBack(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSDriveWay::match(), MEVehicle::mayProceed(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSDevice_FCDReplay::move(), MSTransportableDevice_FCDReplay::move(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSParkingArea::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), MSLCM_SL2015::mustOvertakeStopped(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSPModel_Interacting::nextBlocking(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDriveWay::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_StationFinder::notifyMove(), MSDevice_ToC::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSDefinition::onCmdResetCurrentProgram(), 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_stopPoints(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSLCM_SL2015::preventSliding(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), MSPModel_Striping::PState::PState(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSPModel_Striping::registerCrossingApproach(), MSLink::removeApproaching(), MSLink::removeApproachingPerson(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), MSPerson::replaceWalk(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSStageTrip::reroute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_StationFinder::rerouteToChargingStation(), MSDriveWay::reserve(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MEVehicle::resumeFromStopping(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSStageWalking::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_LC2013::saveBlockerLength(), MSLane::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSDevice_Battery::saveState(), MSDevice_StationFinder::saveState(), MSSimpleTrafficLightLogic::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), NBNodeCont::setAsTLControlled(), GNEJunction::setAttribute(), MSSimpleDriverState::setAwareness(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), NLEdgeControlBuilder::setDefaultStopOffset(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), NBEdge::setGeometry(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), MSDevice_Battery::setMaximumChargeRate(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingThreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSStopOut::stopStarted(), MSRailSignal::storeTraCIVehicles(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), MSDevice_ToC::switchHolderType(), GNETLSEditorFrame::TLSDefinition::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), MSDevice_StationFinder::teleportToChargingStation(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSPModel_Interacting::unregisterCrossingApproach(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSLCM_SL2015::updateCFRelated(), MSDevice_StationFinder::updateChargeLimit(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSRailSignal::updateCurrentPhase(), MSVehicle::updateDriveItems(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSDispatch::updateReservationFromPos(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), 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(), MSRailSignalConstraint_Predecessor::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSDriveWay::writeBlocks(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), MSDriveWay::writeDepatureBlocks(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), 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(), MSCalibrator::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 67 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSDriveWay::addSidings(), MSLaneChanger::avoidDeadlock(), MSDriveWay::canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AFRouter< E, N, V >::compute(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), AFBuild< E, N, V >::computeArcFlagsAux(), AFCentralizedSPTree< E, N, V >::computeCentralizedSPTree(), NBOwnTLDef::computeLogicAndConts(), Node2EdgeRouter< E, N, V >::computeNode2Edge(), Node2EdgeRouter< E, N, V >::computeNode2Edges(), MSDriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), NBPTLineCont::findWay(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSDriveWay::hasLinkConflict(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().
|
inlineinherited |
Definition at line 950 of file MSLane.h.
References MSLane::myIncomingLanes.
Referenced by MSPModel_JuPedSim::addWaitingSet(), MSVehicle::brakeForOverlap(), MSSOTLE2Sensors::buildContinueSensior(), MSDriveWay::buildRoute(), MSDriveWay::checkFlanks(), MSDevice_SSM::classifyEncounter(), MSVehicle::computeFurtherLanes(), MSPModel_JuPedSim::execute(), MSDriveWay::findFlankProtection(), MSLink::getCorrespondingEntryLink(), MSLane::getFollowersOnConsecutive(), MSLogicJunction::getInternalLanes(), MSNoLogicJunction::getInternalLanes(), MSLink::getInternalLengthsBefore(), MSLink::getLeaderInfo(), MSPModel_Striping::getNextLaneObstacles(), MSPModel_Striping::getNextWalkingArea(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSLink::isExitLinkAfterInternalJunction(), MSVehicle::isLeader(), MSDriveWay::isSwitch(), MSLane::incoming_lane_priority_sorter::operator()(), MSVehicle::passingMinor(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSPModel_Striping::registerCrossingApproach(), MSLink::setRequestInformation(), and MSPModel_Interacting::unregisterCrossingApproach().
|
inherited |
get the state of the link from the logical predecessor to this lane
Definition at line 3236 of file MSLane.cpp.
References MSLane::getLinkTo(), MSLane::getLogicalPredecessorLane(), MSLink::getState(), and LINKSTATE_DEADEND.
|
inlineinherited |
Returns the lane's index.
Definition at line 642 of file MSLane.h.
References MSLane::myIndex.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilters(), MSLaneChanger::avoidDeadlock(), MSVehicle::betterContinuation(), MSDriveWay::buildRoute(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChanger::continueChange(), MSVehicle::enterLaneAtMove(), MSCalibrator::execute(), MSVehicle::executeMove(), MSMeanData_Net::getAttributeValue(), MSLaneChanger::getBestLanesOpposite(), MSVehicle::getLaneIndex(), LIBSUMO_NAMESPACE::Vehicle::getLaneIndex(), MSLink::getLeaderInfo(), MSAbstractLaneChangeModel::getNormalizedLaneIndex(), MSVehicle::getRerouteOrigin(), MSLCHelper::getRoundaboutDistBonus(), MSAbstractLaneChangeModel::getShadowDirection(), MSLink::getZipperSpeed(), MSEdge::insertVehicle(), MSCalibrator::myStartElement(), MSDevice_Vehroutes::notifyEnter(), MSLink::opened(), MSEdge::parallelLane(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::saveBlockerLength(), MSLCM_SL2015::saveBlockerLength(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), MSLaneChangerSublane::startChangeSublane(), MSLCM_SL2015::tieBrakeLeader(), and MSLaneChangerSublane::updateChanger().
|
staticprivateinherited |
Definition at line 1358 of file MSLane.cpp.
References MSBaseVehicle::getParameter(), MSGlobals::gInsertionChecks, SUMOVehicleParameter::insertionChecks, VEHPARS_INSERTION_CHECKS_SET, and SUMOVehicleParameter::wasSet().
Referenced by MSLane::checkFailure(), MSLane::checkForPedestrians(), MSLane::isInsertionSuccess(), and MSLane::safeInsertionSpeed().
|
inlinestaticinherited |
Definition at line 1361 of file MSLane.h.
References MSLane::myIntermodalCollisionAction.
returns the internal lane leading to the given lane or nullptr, if there is none
Definition at line 2680 of file MSLane.cpp.
References MSLane::myLinks.
Referenced by MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSPModel_Striping::getNextLane(), MSVehicle::getUpcomingLanesUntil(), and NLTriggerBuilder::parseAndBuildOverheadWireSection().
|
inherited |
Returns vehicle class specific stopOffsets.
Definition at line 3713 of file MSLane.cpp.
References MSLane::myLaneStopOffset.
|
inlineinherited |
return the type of this lane
Definition at line 548 of file MSLane.h.
References MSLane::myLaneType.
|
inherited |
returns the last vehicle that is fully or partially on this lane
Definition at line 2586 of file MSLane.cpp.
References MSLane::myBidiLane, MSLane::myPartialVehicles, and MSLane::myVehicles.
Referenced by MSVehicle::checkRewindLinkLanes(), MSLaneChanger::getColumnleader(), MSLane::getCriticalLeader(), MSLane::getDepartSpeed(), MSLane::getLeaderOnConsecutive(), MSLane::isInsertionSuccess(), and MSLane::lastInsertion().
|
inherited |
returns the last vehicle for which this lane is responsible or 0
Definition at line 2568 of file MSLane.cpp.
References MSLane::myVehicles.
Referenced by MSCalibrator::remainingVehicleCapacity().
|
inherited |
Returns the last vehicles on the lane.
The information about the last vehicles in this lanes in all sublanes occupied by ego are returned. Partial occupators are included
[in] | ego | The vehicle for which to restrict the returned leaderInfo |
[in] | minPos | The minimum position from which to start search for leaders |
[in] | allowCached | Whether the cached value may be used |
Definition at line 1409 of file MSLane.cpp.
References MSLeaderInfo::addLeader(), MSLane::anyVehiclesBegin(), DEBUG_COND, DEBUG_COND2, gDebugFlag1, MSNet::getCurrentTimeStep(), Named::getID(), MSNet::getInstance(), MSVehicle::getLatOffset(), MSVehicle::getPositionOnLane(), MSGlobals::gNumSimThreads, MAX2(), MSLane::myLeaderInfo, MSLane::myLeaderInfoTime, MSLane::myWidth, and MSLeaderInfo::toString().
Referenced by MSLane::addLeaders(), MSLane::getLeadersOnConsecutive(), MSLane::isInsertionSuccess(), and MSVehicle::planMoveInternal().
|
inherited |
Returns the immediate leader of veh and the distance to veh starting on this lane.
Iterates over the current lane to find a leader and then uses getLeaderOnConsecutive()
[in] | veh | The vehicle for which the information shall be computed |
[in] | vehPos | The vehicle position relative to this lane (may be negative) |
[in] | bestLaneConts | The succeding lanes that shall be checked (if any) |
[in] | dist | Optional distance to override default (ego stopDist) |
[in] | checkTmpVehicles | Whether myTmpVehicles should be used instead of myVehicles |
Definition at line 2842 of file MSLane.cpp.
References MSLane::anyVehiclesBegin(), MSLane::anyVehiclesEnd(), MSCFModel::brakeGap(), DEBUG_COND2, MSVehicle::getBackPositionOnLane(), MSVehicle::getCarFollowModel(), Named::getID(), MSVehicle::getLaneChangeModel(), MSLane::getLeaderOnConsecutive(), MSLane::getLength(), MSVehicleType::getMinGap(), MSVehicle::getPositionOnLane(), MSAbstractLaneChangeModel::getShadowLane(), MSVehicle::getSpeed(), MSBaseVehicle::getVehicleType(), MSGlobals::gLaneChangeDuration, gPrecision, MSAbstractLaneChangeModel::isChangingLanes(), MSAbstractLaneChangeModel::isOpposite(), MSLane::myTmpVehicles, MSLane::myVehicles, and toString().
Referenced by libsumo::Helper::applySubscriptionFilters(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChange(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::insertVehicle(), and MSLane::lastInsertion().
|
inherited |
Returns the immediate leader and the distance to him.
Goes along the vehicle's estimated used lanes (bestLaneConts). For each link, it is determined whether the vehicle will pass it. If so, the subsequent lane is investigated. If a vehicle (leader) is found, it is returned, together with the length of the investigated lanes until this vehicle's end, including the already seen place (seen).
If no leading vehicle was found, <0, -1> is returned.
Pretty slow, as it has to go along lanes.
[in] | dist | The distance to investigate |
[in] | seen | The already seen place (normally the place in front on own lane) |
[in] | speed | The speed of the vehicle used for determining whether a subsequent link will be opened at arrival time |
[in] | veh | The vehicle for which the information shall be computed |
[in] | bestLaneConts | The lanes the vehicle will use in future |
Definition at line 2914 of file MSLane.cpp.
References MSCFModel::brakeGap(), DEBUG_COND2, MSGlobals::gComputeLC, gDebugFlag1, MSVehicle::getBackPositionOnLane(), MSVehicle::getCarFollowModel(), MSBaseVehicle::getCurrentRouteEdge(), Named::getID(), Named::getIDSecure(), MSVehicle::getLane(), MSEdge::getLanes(), MSLane::getLastAnyVehicle(), MSLane::getLength(), MSLane::getLinkCont(), MSCFModel::getMaxDecel(), MSVehicleType::getMinGap(), MSEdge::getNumLanes(), MSBaseVehicle::getRoute(), MSBaseVehicle::getRoutePosition(), MSVehicle::getSpeed(), MSLane::getVehicleMaxSpeed(), MSLane::getVehiclesSecure(), MSBaseVehicle::getVehicleType(), MSLane::isInternal(), MSVehicle::isLeader(), MSLane::isLinkEnd(), MAX2(), MSLane::myPartialVehicles, MSLane::releaseVehicles(), MSRoute::size(), MSLane::succLinkSec(), and toString().
Referenced by MSLane::getLeader(), and MSVehicle::getLeader().
|
inherited |
Returns the immediate leaders and the distance to them (as getLeaderOnConsecutive but for the sublane case)
Definition at line 3953 of file MSLane.cpp.
References MSLeaderDistanceInfo::addLeader(), MSCFModel::brakeGap(), DEBUG_COND2, Position::distanceTo2D(), MSGlobals::gComputeLC, gDebugFlag1, MSVehicle::getBackPositionOnLane(), MSVehicle::getCarFollowModel(), Named::getID(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLength(), MSVehicleType::getLength(), MSVehicleType::getMinGap(), MSVehicle::getPosition(), MSVehicle::getSpeed(), MSLane::getVehicleMaxSpeed(), MSBaseVehicle::getVehicleType(), MSVehicle::isFrontOnLane(), MSLane::isInternal(), MSVehicle::isLeader(), MSLane::isLinkEnd(), MSLink::LinkLeader::latOffset, MSLink::LinkLeader::llFlags, MIN2(), MSLane::myPartialVehicles, MSLeaderInfo::numFreeSublanes(), MSLeaderInfo::numSublanes(), MSLink::LinkLeader::sameSource(), MSLink::LinkLeader::sameTarget(), SIMTIME, MSLane::succLinkSec(), MSLeaderInfo::toString(), and MSLink::LinkLeader::vehAndGap.
Referenced by MSLane::addLeaders().
|
inlineinherited |
Returns the lane's length.
Definition at line 606 of file MSLane.h.
References MSLane::myLength.
Referenced by MSStageWalking::activateLeaveReminders(), MSVehicle::adaptLaneEntering2MoveReminder(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), NLTriggerBuilder::addAccess(), NLHandler::addConnection(), MSPModel_Striping::addCrossingVehs(), NLHandler::addE2Detector(), MSLane::addIncomingLane(), MSLane::addLeaders(), MSParkingArea::addLotEntry(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSBaseVehicle::addStop(), libsumo::Helper::applySubscriptionFilterLanes(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildInductLoop(), NLTriggerBuilder::buildInnerOverheadWireSegments(), MSDriveWay::buildRoute(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChange(), MSE2Collector::checkPositioning(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSDevice_SSM::classifyEncounter(), MSVehicle::computeAngle(), MSTrainHelper::computeCarriages(), MSLink::computeDistToDivergence(), MSVehicle::computeFurtherLanes(), debugDrawFoeIntersections(), MSLane::detectCollisionBetween(), GUIEdge::drawMesoVehicles(), GUIVehicle::drawRouteHelper(), MSVehicle::estimateTimeToNextStop(), MSStoppingPlaceRerouter::evaluateDestination(), MSVehicle::executeMove(), MSLane::executeMovements(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSLane::freeInsertion(), MSMeanData_Net::getAttributeValue(), MSVehicle::getBackPositionOnLane(), getColorValue(), MSLaneChanger::getColumnleader(), MSLane::getCriticalLeader(), MSRoute::getDistanceBetween(), MSVehicle::getDistanceToLeaveJunction(), MSLane::getFirstInternalInConnection(), MSLane::getFollowersOnConsecutive(), MSAbstractLaneChangeModel::getForwardPos(), MSLink::getInternalLengthsAfter(), MSLink::getInternalLengthsBefore(), libsumo::Helper::getLaneChecking(), NLShapeHandler::getLanePos(), MSLane::getLeader(), MSVehicle::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSLink::ConflictInfo::getLengthBehindCrossing(), MSLink::getLengthsBeforeCrossing(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), MSLane::getOppositeFollower(), MSCFModel_CC::getParameter(), MSVehicle::getPastLanesUntil(), NLTriggerBuilder::getPosition(), MSVehicle::getPositionAlongBestLanes(), NLDetectorBuilder::getPositionChecking(), MSLaneChanger::getRealLeader(), MSVehicle::getRerouteOrigin(), MSLCHelper::getRoundaboutDistBonus(), MSLane::getSpaceTillLastStanding(), MSLane::getSurroundingVehicles(), LIBSUMO_NAMESPACE::Lane::getTraveltime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSPModel_Striping::getVehicleObstacles(), MSLane::handleCollisionBetween(), MSVehicle::hasArrivedInternal(), MSLCM_LC2013::informFollower(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), MSLane::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSCFModel_EIDM::internalspeedlimit(), MSLane::isInsertionSuccess(), MSVehicle::joinTrainPartFront(), MSLane::lastInsertion(), MSVehicle::leaveLane(), MSPModel_Striping::moveInDirectionOnLane(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSE2Collector::MSE2Collector(), MSParkingArea::MSParkingArea(), MSDevice_GLOSA::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_StationFinder::notifyMove(), NLTriggerBuilder::parseAndBeginParkingArea(), NLTriggerBuilder::parseAndBuildChargingStation(), NLTriggerBuilder::parseAndBuildOverheadWireSegment(), MSRouteHandler::parseWalkPositions(), MSVehicle::planMoveInternal(), MSVehicle::Influencer::postProcessRemoteControl(), MSDevice_Taxi::prepareStop(), MSVehicle::processLaneAdvances(), MSE2Collector::recalculateDetectorLength(), MSLink::recheckSetRequestInformation(), MSPModel_Striping::registerCrossingApproach(), MSCalibrator::remainingVehicleCapacity(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSLane::setBidiLane(), MSVehicle::setBlinkerInformation(), MSLane::setOpposite(), MSLink::setRequestInformation(), MSVehicle::unsafeLinkAhead(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::validatePosition(), MSLCM_DK2008::wantsChangeToLeft(), MSLCM_DK2008::wantsChangeToRight(), MSMeanData::writeEdge(), and MSQueueExport::writeLane().
|
inlineinherited |
return shape.length() / myLength
Definition at line 538 of file MSLane.h.
References MSLane::myLengthGeometryFactor.
Referenced by getColorValue(), and getScaleValue().
|
inlineoverridevirtual |
Reimplemented from MSLane.
Definition at line 99 of file GUILane.h.
References MSLane::myLengthGeometryFactor, and myLengthGeometryFactor2.
|
inlineinherited |
returns the container with all links !!!
Definition at line 724 of file MSLane.h.
References MSLane::myLinks.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSPModel_Striping::addCrossingVehs(), MSPModel_JuPedSim::addWaitingSet(), MSVehicle::brakeForOverlap(), MSDriveWay::buildRoute(), MSDevice_SSM::classifyEncounter(), MSVehicle::computeFurtherLanes(), MSLink::computeParallelLink(), MSLink::contIntersect(), debugDrawFoeIntersections(), drawGL(), MSPModel_JuPedSim::execute(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSVehicle::getBestLanesContinuation(), MSLink::getCorrespondingExitLink(), LIBSUMO_NAMESPACE::Lane::getInternalFoes(), MSLink::getInternalLengthsAfter(), LIBSUMO_NAMESPACE::Vehicle::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLink::getLengthsBeforeCrossing(), MESegment::getLink(), LIBSUMO_NAMESPACE::Lane::getLinks(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextWalkingArea(), MSLink::getOppositeDirectionLink(), MSVehicle::getPastLanesUntil(), MSVehicle::getPositionAlongBestLanes(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount(), MSLane::getSurroundingVehicles(), MSVehicle::getUpcomingLanesUntil(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), NEMALogic::init(), MSE2Collector::initAuxiliaries(), NEMALogic::isLeftTurnLane(), MSVehicle::isOppositeLane(), MSDriveWay::isSwitch(), MSStateHandler::myStartElement(), MSVehicle::planMoveInternal(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::processLaneAdvances(), MSVehicle::setBlinkerInformation(), MSLink::setRequestInformation(), MSVehicle::updateBestLanes(), MSVehicle::updateDriveItems(), MSLCM_DK2008::wantsChangeToLeft(), and MSLCM_DK2008::wantsChangeToRight().
returns the link to the given lane or nullptr, if it is not connected
Definition at line 2668 of file MSLane.cpp.
References MSLane::isInternal(), and MSLane::myLinks.
Referenced by NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), MSLaneChanger::changeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSPModel_Striping::connectedDirection(), drawLinkNo(), drawLinkRules(), drawTLSLinkNo(), MSVehicle::enterLaneAtMove(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSLane::getEntryLink(), MSLane::getIncomingLinkState(), MSLaneChanger::getLaneAfter(), MSPModel_Striping::getNextLane(), MSVehicle::getPositionAlongBestLanes(), MSLane::getUpcomingLinks(), MSE2Collector::initAuxiliaries(), MSPModel_Striping::insertWalkArePaths(), MSLink::lastWasContMajor(), MSLink::lastWasContState(), MSLane::incoming_lane_priority_sorter::operator()(), MSVehicle::processLaneAdvances(), MSPModel_Striping::PState::PState(), MSE2Collector::recalculateDetectorLength(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), setFunctionalColor(), and MSAbstractLaneChangeModel::updateShadowLane().
double GUILane::getLoadedEdgeWeight | ( | ) | const |
Returns the loaded weight (effort) for the edge of this lane.
Definition at line 1140 of file GUILane.cpp.
References MSNet::getInstance(), MSNet::getWeightsStorage(), MSEdgeWeightsStorage::knowsEffort(), MSLane::myEdge, MSEdgeWeightsStorage::retrieveExistingEffort(), and STEPS2TIME.
Referenced by getColorValue(), getParameterWindow(), and getScaleValue().
|
inherited |
get the most likely precedecessor lane (sorted using by_connections_to_sorter). The result is cached in myLogicalPredecessorLane
Definition at line 3135 of file MSLane.cpp.
References MSLane::getEdge(), MSEdge::getPredecessors(), MSLane::myEdge, MSLane::myIncomingLanes, and MSLane::myLogicalPredecessorLane.
Referenced by MSVehicle::checkLinkLeader(), MSVehicle::computeFurtherLanes(), drawLinkNo(), drawLinkRules(), drawTLSLinkNo(), MSVehicle::enterLaneAtLaneChange(), MSLane::getFollowersOnConsecutive(), MSLane::getIncomingLinkState(), MSLink::getLeaderInfo(), MSPModel_Striping::getNextLane(), MSLane::getNormalPredecessorLane(), MSVehicle::getPastLanesUntil(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSVehicle::isLeader(), MSLink::lastWasContMajor(), MSLink::lastWasContState(), libsumo::Helper::moveToXYMap(), MSInternalJunction::postloadInit(), setFunctionalColor(), MSLink::setRequestInformation(), and MSVehicle::updateBestLanes().
return the (first) predecessor lane from the given edge
Definition at line 3180 of file MSLane.cpp.
References MSLane::myIncomingLanes.
|
inherited |
compute maximum braking distance on this lane
Definition at line 2830 of file MSLane.cpp.
References MSNet::getInstance(), MSVehicleControl::getMaxSpeedFactor(), MSVehicleControl::getMinDeceleration(), MSVehicleControl::getMinDecelerationRail(), MSLane::getSpeedLimit(), MSNet::getVehicleControl(), isRailway(), MIN2(), MSLane::myPermissions, and SVC_SHIP.
Referenced by MSLane::getFollowersOnConsecutive(), MSLane::getOppositeFollower(), and MSVehicle::getUpstreamOppositeLanes().
|
inherited |
Returns the mean speed on this lane.
Definition at line 3358 of file MSLane.cpp.
References MSLane::getVehiclesSecure(), MSEdge::hasLaneChanger(), MSLane::myEdge, MSLane::myMaxSpeed, MSLane::myVehicles, and MSLane::releaseVehicles().
Referenced by getColorValue(), MSLane::getDepartSpeed(), getScaleValue(), LIBSUMO_NAMESPACE::Lane::getTraveltime(), MSCalibrator::invalidJam(), MSLane::isInsertionSuccess(), and MSFullExport::writeLane().
|
inherited |
get the mean speed of all bicycles on this lane
Definition at line 3379 of file MSLane.cpp.
References MSLane::getVehiclesSecure(), MSLane::myMaxSpeed, MSLane::myVehicles, MSLane::releaseVehicles(), and SVC_BICYCLE.
|
inlineinherited |
Returns the id of the object as known to microsim.
Definition at line 143 of file GUIGlObject.h.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNEViewNet::askMergeJunctions(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), GNEInternalLane::drawGL(), GUIGlObject::drawName(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEContainer::getAttribute(), GNEDistribution::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEWalkingArea::getAttribute(), GNEDetector::getDetectorAttribute(), GNEWalkingArea::getNBWalkingArea(), GUIDialog_ChooserAbstract::getObjectName(), GNEDialogACChooser::getObjectName(), GNEMultiEntryExitDetector::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNETractionSubstation::getParentName(), GNEVariableSpeedSign::getParentName(), GNEDistribution::getParentName(), GNEVType::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNEChange_TLS::GNEChange_TLS(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GUIGLObjectPopupMenu::onCmdCopyName(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNENetHelper::AttributeCarriers::retrieveConnection(), GNENetHelper::AttributeCarriers::retrieveCrossing(), GNENetHelper::AttributeCarriers::retrieveInternalLane(), GNENetHelper::AttributeCarriers::retrieveLane(), GNENetHelper::AttributeCarriers::retrieveWalkingArea(), GNEStop::setStopMicrosimID(), GNENet::splitEdge(), and GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements().
|
inherited |
return by how much further the leader must be inserted to avoid rear end collisions
Definition at line 2814 of file MSLane.cpp.
References MSVehicle::getCarFollowModel(), MSLane::getFollowersOnConsecutive(), MSCFModel::getMaxDecel(), MSCFModel::getSecureGap(), and MSVehicle::getSpeed().
Referenced by MSLane::freeInsertion(), and MSLane::isInsertionSuccess().
|
inlineinherited |
Return the list of this lane's move reminders.
Definition at line 323 of file MSLane.h.
References MSLane::myMoveReminders.
Referenced by MSStageWalking::activateEntryReminders(), MSVehicle::adaptLaneEntering2MoveReminder(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::processNextStop(), and MSVehicle::workOnIdleReminders().
|
inherited |
Returns the netto (excluding minGaps) occupancy of this lane during the last step (including minGaps)
Definition at line 3330 of file MSLane.cpp.
References MSLane::getFractionalVehicleLength(), MSVehicleType::getLength(), MSVehicle::getPositionOnLane(), MSLane::getVehiclesSecure(), MSBaseVehicle::getVehicleType(), MSLane::myLength, MSLane::myNettoVehicleLengthSum, MSLane::myVehicles, and MSLane::releaseVehicles().
Referenced by getColorValue(), getParameterWindow(), getScaleValue(), and MSFullExport::writeLane().
|
inherited |
Returns the lane's follower if it is an internal lane, the edge of the lane otherwise.
Definition at line 2390 of file MSLane.cpp.
References MSEdge::getNormalSuccessor(), and MSLane::myEdge.
Referenced by MSBaseVehicle::addStop(), MSDriveWay::buildRoute(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSDriveWay::notifyEnter(), and MSVehicle::updateBestLanes().
|
inherited |
get the list of all direct (disregarding internal predecessors) non-internal predecessor lanes of this lane
Definition at line 3257 of file MSLane.cpp.
References MSLane::myApproachingLanes.
Referenced by MSTractionSubstation::addOverheadWireSegmentToCircuit(), and NLTriggerBuilder::parseAndBuildOverheadWireSection().
|
inherited |
get normal lane leading to this internal lane, for normal lanes, the lane itself is returned
Definition at line 3160 of file MSLane.cpp.
References MSLane::getLogicalPredecessorLane(), MSLane::getNormalPredecessorLane(), and MSLane::isInternal().
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), drawGL(), MSLink::getCustomConflict(), MSLink::getLeaderInfo(), MSLane::getNormalPredecessorLane(), MSLCHelper::isBidiFollower(), MSLCHelper::isBidiLeader(), MSVehicle::isLeader(), MSDriveWay::isSwitch(), MSLink::setRequestInformation(), and MSVehicle::updateBestLanes().
|
inherited |
get normal lane following this internal lane, for normal lanes, the lane itself is returned
Definition at line 3170 of file MSLane.cpp.
References MSLane::getCanonicalSuccessorLane(), MSLane::getNormalSuccessorLane(), and MSLane::isInternal().
Referenced by drawGL(), MSLink::getCustomConflict(), MSLane::getNormalSuccessorLane(), MSLCHelper::isBidiFollower(), MSLCHelper::isBidiLeader(), and MSDevice_StationFinder::notifyMove().
|
inlineinherited |
Returns this lane's numerical id.
Definition at line 525 of file MSLane.h.
References MSLane::myNumericalID.
Referenced by MSDevice_ToC::checkDynamicToC(), MSDevice_ToC::notifyMove(), and MSPModel_Striping::walkingarea_path_sorter::operator()().
|
inlinestaticinherited |
return the number of RNGs
Definition at line 251 of file MSLane.h.
References MSLane::myRNGs.
Referenced by MSLane::loadRNGState(), and MSLane::saveRNGStates().
|
inherited |
return the neighboring opposite direction lane for lane changing or nullptr
Definition at line 4299 of file MSLane.cpp.
References MSLane::myOpposite.
Referenced by MSLaneChanger::changeOpposite(), MSEdge::closeBuilding(), MSVehicle::executeMove(), MSLink::getOppositeDirectionLink(), MSLink::getParallelLink(), MSVehicle::getUpstreamOppositeLanes(), MSLCM_SL2015::prepareStep(), MSLaneChangerSublane::startChangeSublane(), and MSLane::swapAfterLaneChange().
|
inherited |
Definition at line 4367 of file MSLane.cpp.
References DEBUG_COND2, MSLane::FOLLOW_NEVER, MSVehicle::getBackPositionOnLane(), MSLane::getCanonicalSuccessorLane(), MSLane::getFollower(), Named::getID(), MSVehicle::getLaneChangeModel(), MSLane::getLeader(), MSLane::getLength(), MSVehicleType::getLength(), MSLane::getMaximumBrakeDist(), MSLane::getOppositePos(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getVehicleType(), MSAbstractLaneChangeModel::isOpposite(), and SIMTIME.
Referenced by MSLaneChanger::changeOpposite(), MSLaneChanger::checkOppositeStop(), and MSLaneChanger::computeSafeOppositeLength().
|
inherited |
Definition at line 4339 of file MSLane.cpp.
References DEBUG_COND2, MSVehicle::getBestLanesContinuation(), MSLane::getFollower(), Named::getID(), MSVehicle::getLaneChangeModel(), MSLane::getLeader(), MSVehicleType::getLength(), MSVehicleType::getMinGap(), MSLane::getOppositePos(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getVehicleType(), MSAbstractLaneChangeModel::isOpposite(), and SIMTIME.
Referenced by MSLaneChanger::changeOpposite(), and MSLaneChanger::checkOppositeStop().
|
inherited |
return the corresponding position on the opposite lane
Definition at line 4311 of file MSLane.cpp.
References MAX2(), and MSLane::myLength.
Referenced by libsumo::Helper::applySubscriptionFilterLateralDistance(), MSLaneChanger::changeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChanger::computeSafeOppositeLength(), MSVehicle::executeMove(), LIBSUMO_NAMESPACE::Vehicle::getNeighbors(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSVehicle::getPastLanesUntil(), MSStop::getReachedThreshold(), MSVehicle::getUpcomingLanesUntil(), MSVehicle::planMoveInternal(), and MSAbstractLaneChangeModel::primaryLaneChanged().
|
virtualinherited |
Returns the name of the object (default "")
Reimplemented in GUIBaseVehicle, GUIBusStop, GUIChargingStation, GUIJunctionWrapper, GUIParkingArea, GUITrafficLightLogicWrapper, GNEAdditional, GNEEdge, GNENetworkElement, GUIEdge, GUIPointOfInterest, and GUIPolygon.
Definition at line 239 of file GUIGlObject.cpp.
Referenced by GUIDialog_ChooserAbstract::getObjectName().
|
inherited |
get the list of outgoing lanes
Definition at line 3247 of file MSLane.cpp.
References MSLane::myLinks.
Referenced by MSTractionSubstation::addOverheadWireSegmentToCircuit(), and NLTriggerBuilder::parseAndBuildOverheadWireSection().
|
inlineinherited |
Definition at line 1350 of file MSLane.h.
References MSLane::myOutlineShape.
Referenced by MSPModel_JuPedSim::buildPedestrianNetwork().
|
inherited |
Returns the lane with the given offset parallel to this one or 0 if it does not exist.
[in] | offset | The offset of the result lane |
Definition at line 2773 of file MSLane.cpp.
References MSLane::myEdge, and MSEdge::parallelLane().
Referenced by libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilters(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChange(), MSLink::computeParallelLink(), MSLaneChanger::continueChange(), MSAbstractLaneChangeModel::determineTargetLane(), LIBSUMO_NAMESPACE::Vehicle::getNeighbors(), MSAbstractLaneChangeModel::getShadowLane(), MSVehicle::lateralDistanceToLane(), MSLCM_SL2015::mustOvertakeStopped(), neighLaneNotBidi(), MSVehicle::planMoveInternal(), and MSAbstractLaneChangeModel::updateTargetLane().
|
inherited |
return the opposite direction lane of this lanes edge or nullptr
Definition at line 4305 of file MSLane.cpp.
References MSEdge::getLanes(), and MSLane::myEdge.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), libsumo::Helper::applySubscriptionFilterLateralDistance(), MSVehicle::executeMove(), MSDevice_SSM::findSurroundingVehicles(), MSVehicle::getLatOffset(), MSLCM_SL2015::getLeftBorder(), MSAbstractLaneChangeModel::getNormalizedLaneIndex(), MSVehicle::getPastLanesUntil(), MSVehicle::getPositionAlongBestLanes(), MSVehicle::getUpcomingLanesUntil(), MSVehicle::lateralDistanceToLane(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::updateExpectedSublaneSpeeds().
|
virtualinherited |
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 |
Reimplemented in MSActuatedTrafficLightLogic, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 90 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSVehicleType::check(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUIVehicle::getColorValue(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUIEdge::getColorValue(), getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), RORoutable::getMaxSpeed(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), GUIBaseVehicle::getOptionalName(), GUITrafficLightLogicWrapper::getOptionalName(), MSDevice_SSM::getOutputFilename(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSBaseVehicle::getPrefixedParameter(), GUIBaseVehicle::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), SUMOTrafficObject::getStringParam(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSStoppingPlaceRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSRailSignalControl::haveDeadlock(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), MSStageDriving::init(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), NIImporter_OpenStreetMap::insertNodeChecking(), MSAbstractLaneChangeModel::laneChangeOutput(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSDevice_GLOSA::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), MSVehicle::slowDownForSchedule(), NBEdgeCont::splitAt(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
|
inherited |
Returns the inner key/value map.
Definition at line 145 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), NBEdge::addLane(), NBEdge::append(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), NLDetectorBuilder::endE3Detector(), GNEAccess::getACParametersMap(), GNECalibrator::getACParametersMap(), GNEDetector::getACParametersMap(), GNEMultiEntryExitDetector::getACParametersMap(), GNEOverheadWire::getACParametersMap(), GNEParkingSpace::getACParametersMap(), GNERerouter::getACParametersMap(), GNERouteProbe::getACParametersMap(), GNEStoppingPlace::getACParametersMap(), GNETAZ::getACParametersMap(), GNEVaporizer::getACParametersMap(), GNEVariableSpeedSign::getACParametersMap(), GNEDataInterval::getACParametersMap(), GNEDataSet::getACParametersMap(), GNEGenericData::getACParametersMap(), GNEContainer::getACParametersMap(), GNEPerson::getACParametersMap(), GNEPersonTrip::getACParametersMap(), GNERide::getACParametersMap(), GNERoute::getACParametersMap(), GNEStop::getACParametersMap(), GNEStopPlan::getACParametersMap(), GNETranship::getACParametersMap(), GNETransport::getACParametersMap(), GNEVehicle::getACParametersMap(), GNEVType::getACParametersMap(), GNEWalk::getACParametersMap(), GNEConnection::getACParametersMap(), GNECrossing::getACParametersMap(), GNEEdge::getACParametersMap(), GNEEdgeType::getACParametersMap(), GNEJunction::getACParametersMap(), GNELane::getACParametersMap(), GNELaneType::getACParametersMap(), GNEPOI::getACParametersMap(), GNEPoly::getACParametersMap(), MSRailSignalConstraint_Predecessor::getDescription(), NWWriter_OpenDrive::getDividerType(), getParameterWindow(), GNESingleParametersDialog::GNESingleParametersDialog(), MSRailCrossing::init(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), MSPModel_JuPedSim::initialize(), MSBaseVehicle::initTransientModelParams(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), GUIParameterTableWindow::numParams(), GNESingleParametersDialog::onCmdReset(), GNEVType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), Parameterised::setParameters(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), 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 151 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNELaneType::getAttribute(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), and GNEDetector::getDetectorAttribute().
|
overridevirtual |
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 1036 of file GUILane.cpp.
References GUIParameterTableWindow::checkFont(), GUIParameterTableWindow::closeBuilding(), GUISUMOAbstractView::editVisualisationSettings(), MSLane::getBruttoOccupancy(), getColorValueForTracker(), MSEdge::getDistance(), MSEdge::getEdgeType(), MSLane::getFrictionCoefficient(), Named::getID(), MSNet::getInstance(), getLoadedEdgeWeight(), MSLane::getNettoOccupancy(), Parameterised::getParametersMap(), getPendingEmits(), MSEdge::getPriority(), MSNet::getRestrictions(), MSEdge::getRoutingSpeed(), MSLane::getSpeedLimit(), getStoredEdgeTravelTime(), MSEdge::getStreetName(), MSEdge::getTimePenalty(), getVehicleClassNames(), GUIParameterTableWindow::mkItem(), MSLane::myBidiLane, myCachedGUISettings, MSLane::myEdge, MSLane::myLaneType, MSLane::myLength, MSLane::myPermissions, MSLane::myWidth, TL, toString(), and StringUtils::wrapText().
|
inlineoverridevirtual |
Returns the name of the parent object (if any)
Reimplemented from GUIGlObject.
Definition at line 93 of file GUILane.h.
References MSLane::getEdge(), and Named::getID().
|
inlineinherited |
retrieve the parking vehicles (see GUIParkingArea)
Definition at line 1253 of file MSLane.h.
References MSLane::myParkingVehicles.
Referenced by MSLane::StoringVisitor::add(), and GUIParkingArea::drawGL().
Definition at line 4130 of file MSLane.cpp.
References DEBUG_COND2, Named::getID(), MSVehicle::getPositionOnLane(), MSVehicle::isFrontOnLane(), MSLane::myPartialVehicles, SIMTIME, and toString().
|
inherited |
get all vehicles that are inlapping from consecutive edges
Definition at line 4153 of file MSLane.cpp.
References MSLeaderInfo::addLeader(), MSVehicle::getLatOffset(), MSVehicle::isFrontOnLane(), MSLane::myPartialVehicles, and MSLane::myWidth.
|
inlineinherited |
Returns the number of vehicles partially on this lane (for which this lane is not responsible)
Definition at line 472 of file MSLane.h.
References MSLane::myPartialVehicles.
|
private |
get number of vehicles waiting for departure on this lane
Definition at line 1614 of file GUILane.cpp.
References MSNet::getInsertionControl(), MSNet::getInstance(), and MSInsertionControl::getPendingEmits().
Referenced by getColorValue(), and getParameterWindow().
|
inlineinherited |
Returns the vehicle class permissions for this lane.
Definition at line 614 of file MSLane.h.
References MSLane::myPermissions.
Referenced by MSSwarmTrafficLightLogic::allowLine(), MSVehicle::computeFurtherLanes(), drawGL(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSLane::incorporateVehicle(), MSInternalJunction::indirectBicycleTurn(), MSDelayBasedTrafficLightLogic::init(), MSVehicle::leaveLane(), GUIApplicationWindow::onCmdEditChosen(), MSPModel_Striping::PState::PState(), and MSVehicle::updateFurtherLanes().
|
overridevirtual |
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 990 of file GUILane.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), FLAG, MSLane::getEdge(), GUIIconSubSys::getIcon(), GUISUMOAbstractView::getPositionInformation(), MSLane::getShape(), VClassIcons::getVClassIcon(), GUISUMOAbstractView::getVisualisationSettings(), GUIGLObjectPopupMenu::insertMenuPaneChild(), MSLane::interpolateGeometryPosToLanePos(), MID_ADD_REROUTER, MID_CLOSE_EDGE, MID_CLOSE_LANE, MID_COPY_EDGE_NAME, MID_REACHABILITY, myAmClosed, MSLane::myPermissionChanges, PositionVector::nearest_offset_to_point25D(), PositionVector::positionAtOffset(), GUIVisualizationSettings::secondaryShape, SumoVehicleClassStrings, TL, toString(), and Position::z().
|
inline |
Definition at line 250 of file GUILane.h.
References myReachability.
|
inlineinherited |
Definition at line 1198 of file MSLane.h.
References MSLane::myRightmostSublane.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
|
inlineinherited |
Definition at line 1194 of file MSLane.h.
References MSLane::myRightSideOnEdge.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), MSLCM_SL2015::checkBlocking(), MSLaneChangerSublane::checkChangeSublane(), MSVehicle::checkLinkLeader(), MSLCM_SL2015::commitManoeuvre(), MSLane::detectCollisions(), MSVehicle::getCenterOnEdge(), MSLane::getFollowersOnConsecutive(), MSVehicle::getLatOffset(), MSLCM_SL2015::getNeighRight(), MEVehicle::getRightSideOnEdge(), MSLCM_SL2015::keepLatGap(), MSVehicle::planMoveInternal(), MSVehicle::setApproachingForAllLinks(), MSLaneChangerSublane::startChangeSublane(), and MSLaneChangerSublane::updateChanger().
|
inlineinherited |
return the associated RNG
Definition at line 246 of file MSLane.h.
References MSLane::myRNGIndex, and MSLane::myRNGs.
Referenced by MSBaseVehicle::getRNG().
|
inlineinherited |
returns the associated RNG index
Definition at line 241 of file MSLane.h.
References MSLane::myRNGIndex.
Referenced by MSEdgeControl::changeLanes(), and MSBaseVehicle::getRNGIndex().
double GUILane::getScaleValue | ( | const GUIVisualizationSettings & | s, |
int | activeScheme, | ||
bool | s2 | ||
) | const |
gets the scaling value according to the current scheme index
Definition at line 1460 of file GUILane.cpp.
References GUIVisualizationSettings::edgeDataScaling, firstWaitingTime(), MSLane::getBruttoOccupancy(), GUINet::getEdgeData(), getEdgeLaneNumber(), GUINet::getGUIInstance(), MSLane::getHarmonoise_NoiseEmissions(), MSNet::getInsertionControl(), MSNet::getInstance(), MSLane::getLengthGeometryFactor(), getLoadedEdgeWeight(), MSLane::getMeanSpeed(), MSLane::getNettoOccupancy(), MSInsertionControl::getPendingEmits(), MSEdge::getPriority(), MSLane::getSpeedLimit(), getStoredEdgeTravelTime(), MSNet::getWeightsStorage(), isLaneOrEdgeSelected(), MSEdgeWeightsStorage::knowsTravelTime(), MSLane::myEdge, MSLane::myLength, MSLane::myMaxSpeed, and MSEdgeWeightsStorage::retrieveExistingTravelTime().
Referenced by GUIEdge::drawGL(), and drawGL().
|
inlineinherited |
Returns this lane's shape.
Definition at line 533 of file MSLane.h.
References MSLane::myShape.
Referenced by drawArrows(), drawBikeMarkings(), drawDirectionIndicators(), drawGL(), drawJunctionChangeProhibitions(), drawLane2LaneConnections(), drawLinkNo(), drawLinkRules(), drawMarkings(), drawTLSLinkNo(), getColorValue(), getColorValueWithFunctional(), getPopUpMenu(), MSLane::by_connections_to_sorter::operator()(), and setMultiColor().
|
overridevirtual |
Reimplemented from MSLane.
Definition at line 1091 of file GUILane.cpp.
References MSLane::myShape, and myShape2.
Referenced by GUIEdge::drawGL(), GUIPerson::drawGLAdditional(), drawLane2LaneConnections(), GUIEdge::drawMesoVehicles(), GUIVehicle::drawRouteHelper(), GUIMEVehicle::drawRouteHelper(), and GUINet::initGUIStructures().
|
private |
Definition at line 1109 of file GUILane.cpp.
References myShapeColors, and myShapeColors2.
Referenced by drawGL(), and setMultiColor().
const std::vector< double > & GUILane::getShapeLengths | ( | bool | secondary | ) | const |
Definition at line 1103 of file GUILane.cpp.
References myShapeLengths, and myShapeLengths2.
Referenced by drawBikeMarkings(), drawDirectionIndicators(), drawGL(), GUIPerson::drawGLAdditional(), drawJunctionChangeProhibitions(), drawMarkings(), GUIVehicle::drawRouteHelper(), and GUIMEVehicle::drawRouteHelper().
const std::vector< double > & GUILane::getShapeRotations | ( | bool | secondary | ) | const |
Definition at line 1097 of file GUILane.cpp.
References myShapeRotations, and myShapeRotations2.
Referenced by drawBikeMarkings(), drawDirectionIndicators(), drawGL(), GUIPerson::drawGLAdditional(), drawJunctionChangeProhibitions(), drawMarkings(), GUIVehicle::drawRouteHelper(), and GUIMEVehicle::drawRouteHelper().
|
inherited |
return the empty space up to the last standing vehicle or the empty space on the whole lane if no vehicle is standing
Definition at line 4579 of file MSLane.cpp.
References MSLane::getLength(), MSBaseVehicle::getVehicleType(), MSLane::getWidth(), MSVehicleType::getWidth(), MSGlobals::gSublane, MSVehicle::isFrontOnLane(), MSLane::myVehicles, and SUMO_const_haltingSpeed.
Referenced by MSVehicle::checkRewindLinkLanes().
|
inlineinherited |
Returns the lane's maximum allowed speed.
Definition at line 592 of file MSLane.h.
References MSLane::myMaxSpeed.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSDevice_GLOSA::adaptSpeed(), MSLaneChanger::changeOpposite(), MSVehicleTransfer::checkInsertions(), MSLaneChanger::checkOppositeStop(), MSLCM_SL2015::checkStrategicChange(), MSVehicle::congested(), MSAbstractLaneChangeModel::congested(), MSDevice_StationFinder::estimateConsumption(), MSStoppingPlaceRerouter::evaluateDestination(), MSPModel_JuPedSim::execute(), MSLane::executeMovements(), MSCFModel_CC::finalizeSpeed(), MSCFModel_ACC::followSpeed(), MSMeanData_Net::getAttributeValue(), getColorValue(), MSE2Collector::getEstimatedCurrentVehicleNumber(), MSLCM_SL2015::getLateralDrift(), LIBSUMO_NAMESPACE::Lane::getLinks(), MSLane::getMaximumBrakeDist(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), getParameterWindow(), getScaleValue(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSCFModel_EIDM::internalspeedlimit(), MSVehicle::planMoveInternal(), MSLCM_LC2013::prepareStep(), MSVehicle::slowDownForSchedule(), MSLCM_DK2008::wantsChangeToRight(), MSMeanData::writeEdge(), and MSFullExport::writeLane().
|
inlineinherited |
Definition at line 1285 of file MSLane.h.
References MSLane::myStopWatch.
Referenced by MSVehicle::planMoveInternal().
double GUILane::getStoredEdgeTravelTime | ( | ) | const |
Returns the stored traveltime for the edge of this lane.
Definition at line 1127 of file GUILane.cpp.
References MSNet::getInstance(), MSNet::getWeightsStorage(), MSEdgeWeightsStorage::knowsTravelTime(), MSLane::myEdge, MSEdgeWeightsStorage::retrieveExistingTravelTime(), and STEPS2TIME.
Referenced by getColorValue(), getParameterWindow(), and getScaleValue().
|
inherited |
Returns all vehicles closer than downstreamDist along the road network starting on the given position. Predecessor lanes are searched upstream for the given upstreamDistance.
[in] | startPos | - start position of the search on the first lane |
[in] | downstreamDist | - distance to search downstream |
[in] | upstreamDist | - distance to search upstream |
[in/out] | checkedLanes - lanes, which were already scanned (current lane is added, if not present, otherwise the scan is aborted; TODO: this may disregard unscanned parts of the lane in specific circular set ups.) |
Definition at line 4168 of file MSLane.cpp.
References Named::getID(), MSLane::getIncomingLanes(), MSLane::getLength(), MSLane::getLinkCont(), MSLane::getSurroundingVehicles(), MSLane::getVehiclesInRange(), MAX2(), MIN2(), Named::myID, and MSLane::myLength.
Referenced by libsumo::Helper::applySubscriptionFilterLanes(), and MSLane::getSurroundingVehicles().
|
inlineinherited |
returns the associated thread index
Definition at line 236 of file MSLane.h.
References MSGlobals::gNumSimThreads, and MSLane::myRNGIndex.
|
inlineinherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 156 of file GUIGlObject.h.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GNEConnection::calculateConnectionContour(), GNEContour::calculateContourEdgeGeometryPoints(), GNECrossing::calculateCrossingContour(), GNEJunction::calculateJunctioncontour(), GNEParkingSpace::calculateSpaceContour(), GNEStoppingPlace::calculateStoppingPlaceContour(), GNEViewNet::checkOverLockedElement(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNECalibrator::drawCalibratorSymbol(), GNELaneAreaDetector::drawE2PartialJunction(), GNELaneAreaDetector::drawE2PartialLane(), GNEEntryExitDetector::drawE3Logo(), GNEEntryExitDetector::drawEntryLogo(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), drawGL(), GUIPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEAdditional::drawListedAdditional(), GUIBaseVehicle::drawOnPos(), GNEDemandElementPlan::drawPlanGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNEAdditional::drawSquaredAdditional(), GNEDemandElement::drawStackLabel(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GNESelectorFrame::SelectionOperation::loadFromFile(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), GNEViewNetHelper::ViewObjectsSelector::updateGenericDataElements(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), GNEViewNetHelper::ViewObjectsSelector::updateShapeElements(), and GNEViewNetHelper::ViewObjectsSelector::updateTAZElements().
|
virtualinherited |
Returns an own type parameter window (optional)
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented in GUIVehicle, GUIMEVehicle, GUIContainer, GUIEdge, GUIPerson, and GUIBaseVehicle.
Definition at line 200 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
|
inherited |
Returns all upcoming junctions within given range along the given (non-internal) continuation lanes measured from given position.
Definition at line 4240 of file MSLane.cpp.
References MSLane::getUpcomingLinks().
|
inherited |
Returns all upcoming links within given range along the given (non-internal) continuation lanes measured from given position.
Definition at line 4251 of file MSLane.cpp.
References MSLane::getEntryLink(), Named::getID(), MSLink::getInternalLengthsAfter(), MSLink::getLane(), MSLane::getLength(), MSLane::getLinkTo(), and MSLane::isInternal().
Referenced by libsumo::Helper::applySubscriptionFilterTurn(), and MSLane::getUpcomingJunctions().
|
inlineinherited |
Returns the lane's maximum speed, given a vehicle's speed limit adaptation.
[in] | The | vehicle to return the adapted speed limit for |
Definition at line 574 of file MSLane.h.
References SUMOTrafficObject::getChosenSpeedFactor(), SUMOTrafficObject::getMaxSpeed(), SUMOTrafficObject::getVClass(), MIN2(), MSLane::myMaxSpeed, MSLane::myRestrictions, MSLane::mySpeedByTraCI, and MSLane::mySpeedByVSS.
Referenced by MSCFModel_EIDM::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLCM_LC2013::anticipateFollowSpeed(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSLaneChanger::changeOpposite(), GUIApplicationWindow::checkGamingEvents(), MSLaneChanger::checkOppositeStop(), MSLCM_SL2015::commitManoeuvre(), MSLaneChanger::computeOvertakingTime(), MSLaneChanger::computeSurplusGap(), MEVehicle::estimateLeaveSpeed(), MSVehicle::estimateTimeToNextStop(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_IDM::finalizeSpeed(), MSCFModel_CACC::followSpeed(), MSCFModel_IDM::followSpeed(), MSCFModel_IDM::freeSpeed(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSLane::getCriticalLeader(), MSLane::getDepartSpeed(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSVehicle::getMaxSpeedOnLane(), GUIBaseVehicle::getScaleValue(), MSLink::getZipperSpeed(), MSVehicle::Influencer::implicitSpeedRemote(), MSCFModel::interactionGap(), MSCFModel_EIDM::interactionGap(), MSCFModel_IDM::interactionGap(), MSCFModel_EIDM::internalspeedlimit(), MSLane::isInsertionSuccess(), MSDevice_Bluelight::notifyMove(), MSDevice_GLOSA::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSCFModel_Krauss::patchSpeedBeforeLC(), MSVehicle::planMoveInternal(), MSVehicle::processNextStop(), MSVehicle::setBlinkerInformation(), MSCFModel_IDM::stopSpeed(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateTimeLoss(), MSEdge::validateDepartSpeed(), MSLCM_DK2008::wantsChangeToLeft(), and MSLCM_DK2008::wantsChangeToRight().
|
inlineinherited |
Returns the number of vehicles on this lane (for which this lane is responsible)
Definition at line 456 of file MSLane.h.
References MSLane::myVehicles.
Referenced by MSLane::executeMovements(), MSCalibrator::invalidJam(), MSVehicle::planMoveInternal(), MSCalibrator::remainingVehicleCapacity(), and MSFullExport::writeLane().
|
inlineinherited |
Returns the number of vehicles on this lane (including partial occupators)
Definition at line 464 of file MSLane.h.
References MSLane::myPartialVehicles, and MSLane::myVehicles.
Referenced by MSVehicleTransfer::checkInsertions(), MSLane::detectCollisions(), MSPModel_Striping::getNextLaneObstacles(), MSLane::isInsertionSuccess(), MSPModel_Striping::moveInDirectionOnLane(), MSVehicle::planMoveInternal(), and MSPModel_Striping::PState::PState().
|
inherited |
Returns all vehicles on the lane overlapping with the interval [a,b].
Definition at line 4220 of file MSLane.cpp.
References MSLane::getVehiclesSecure(), and MSLane::releaseVehicles().
Referenced by libsumo::Helper::applySubscriptionFilterLanes(), and MSLane::getSurroundingVehicles().
|
overridevirtual |
Returns the vehicles container; locks it for microsimulation.
Locks "myLock" preventing usage by microsimulation.
Please note that it is necessary to release the vehicles container afterwards using "releaseVehicles".
Reimplemented from MSLane.
Definition at line 158 of file GUILane.cpp.
References myLock, and MSLane::myVehicles.
Referenced by drawGL().
|
inherited |
Returns vehicle class specific stopOffset for the vehicle.
Definition at line 3700 of file MSLane.cpp.
References StopOffset::getOffset(), StopOffset::getPermissions(), MSBaseVehicle::getVClass(), StopOffset::isDefined(), and MSLane::myLaneStopOffset.
Referenced by MSLane::isInsertionSuccess(), MSVehicle::planMoveInternal(), MSVehicle::processLaneAdvances(), and MSVehicle::processLinkApproaches().
|
inherited |
Returns the overall waiting time on this lane.
Definition at line 3345 of file MSLane.cpp.
References MSLane::myVehicles.
|
inlineinherited |
Returns the lane's width.
Definition at line 635 of file MSLane.h.
References MSLane::myWidth.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), MSPModel_JuPedSim::add(), MSPModel_Striping::addCrossingVehs(), MSLaneChangerSublane::addOutsideLeaders(), MSPModel_JuPedSim::addWaitingSet(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSPerson::checkAccess(), MSLaneChanger::checkChange(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), MSLaneChangerSublane::checkChangeToNewLane(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSDevice_SSM::classifyEncounter(), MSEdge::closeBuilding(), MSTrainHelper::computeCarriages(), MSLaneChanger::computeOvertakingTime(), MSLCM_SL2015::computeSublaneShift(), MSLaneChanger::continueChange(), MSAbstractLaneChangeModel::determineTargetLane(), drawGL(), GUIBaseVehicle::drawStopLabels(), MSVehicle::enterLaneAtMove(), MSLaneChangerSublane::findClosestLeader(), MSVehicle::getCenterOnEdge(), MSStoppingPlace::getCenterPos(), MSLane::getDepartPosLat(), MSLane::getFollowersOnConsecutive(), MSVehicle::getLateralOverlap(), MSPModel_Striping::PState::getLatOffset(), MSVehicle::getLatOffset(), MSLink::getLeaderInfo(), MSVehicle::getLeftSideOnLane(), MSVehicle::getLeftSideOnLane(), LIBSUMO_NAMESPACE::Vehicle::getNeighbors(), MSLCM_SL2015::getNeighRight(), MSPModel_Striping::getNextLaneObstacles(), MEVehicle::getRightSideOnEdge(), MSVehicle::getRightSideOnLane(), MSVehicle::getRightSideOnLane(), MSLane::getSpaceTillLastStanding(), MSLCM_SL2015::getSublaneWidth(), MSLCM_SL2015::getVehicleCenter(), MSPModel_Striping::getVehicleObstacles(), MSStoppingPlace::getWaitPosition(), GUIParkingArea::GUIParkingArea(), GUIBusStop::initShape(), MSLane::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSVehicle::interpolateLateralZ(), MSRouteHandler::interpretDepartPosLat(), MSLCM_SL2015::keepLatGap(), MSVehicle::lateralDistanceToLane(), MSPModel_Striping::moveInDirection(), LIBSUMO_NAMESPACE::Person::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), MSParkingArea::MSParkingArea(), MSLCM_SL2015::mustOvertakeStopped(), MSPModel_Interacting::nextBlocking(), MSDevice_Bluelight::notifyMove(), MSPModel_Striping::numStripes(), MSVehicle::planMoveInternal(), MSLCM_SL2015::prepareStep(), MSVehicle::processLinkApproaches(), MSPModel_Striping::PState::PState(), MSLink::recheckSetRequestInformation(), MSAbstractLaneChangeModel::saveNeighbors(), GUIVehicle::selectBlockingFoes(), MSLink::setRequestInformation(), MSLaneChangerSublane::startChangeSublane(), MSAbstractLaneChangeModel::startLaneChangeManeuver(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), and MSLCM_SL2015::wantsChange().
|
inherited |
Definition at line 4465 of file MSLane.cpp.
References MSLane::myPermissionChanges.
|
protectedinherited |
take action upon collision
Definition at line 2002 of file MSLane.cpp.
References GeomHelper::angleDiff(), MSCFModel::brakeGap(), MSNet::COLLISION, SUMOVehicleParameter::Stop::collision, MSLane::COLLISION_ACTION_REMOVE, MSLane::COLLISION_ACTION_TELEPORT, MSLane::COLLISION_ACTION_WARN, MSVehicle::collisionStopTime(), DEBUG_COND2, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::endPos, MSVehicle::getAngle(), MSEdge::getBidiEdge(), MSVehicle::getCarFollowModel(), MSLane::getEdge(), MSCFModel::getEmergencyDecel(), Named::getID(), MSVehicle::getInfluencer(), MSNet::getInstance(), MSVehicle::getLane(), MSVehicle::getLaneChangeModel(), MSLane::getLength(), MSVehicleType::getLength(), MSVehicle::getPositionOnLane(), MSVehicle::getSpeed(), MSNet::getVehicleControl(), MSBaseVehicle::getVehicleType(), MSGlobals::gSublane, MSVehicle::hasInfluencer(), MSVehicle::ignoreCollision(), MSNet::informVehicleStateListener(), MSLane::isInternal(), MSAbstractLaneChangeModel::isOpposite(), MSVehicle::Influencer::isRemoteAffected(), SUMOVehicleParameter::Stop::lane, MAX3(), MIN2(), MSLane::myCollisionAction, MSLane::myCollisionStopTime, SUMOVehicleParameter::Stop::parametersSet, RAD2DEG, MSVehicleControl::registerCollision(), MSNet::registerCollision(), SPEED2DIST, SUMOVehicleParameter::Stop::startPos, STOP_DURATION_SET, STOP_END_SET, STOP_START_SET, std::swap(), time2string(), TL, TLF, toString(), and WRITE_WARNINGF.
Referenced by MSLane::detectCollisionBetween(), and MSLane::detectCollisions().
|
protectedinherited |
Definition at line 2129 of file MSLane.cpp.
References MSCFModel::brakeGap(), MSNet::COLLISION, SUMOVehicleParameter::Stop::collision, MSLane::COLLISION_ACTION_REMOVE, MSLane::COLLISION_ACTION_TELEPORT, MSLane::COLLISION_ACTION_WARN, MSVehicle::collisionStopTime(), DEBUG_COND2, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::endPos, MSVehicle::getCarFollowModel(), MSTransportable::getEdgePos(), MSCFModel::getEmergencyDecel(), Named::getID(), MSVehicle::getInfluencer(), MSNet::getInstance(), MSVehicle::getLane(), MSVehicleType::getLength(), MSVehicle::getPositionOnLane(), MSVehicle::getSpeed(), MSNet::getVehicleControl(), MSTransportable::getVehicleType(), MSVehicle::hasInfluencer(), MSVehicle::ignoreCollision(), MSNet::informVehicleStateListener(), MSVehicle::Influencer::isRemoteAffected(), SUMOVehicleParameter::Stop::lane, MAX3(), MIN2(), MSLane::myIntermodalCollisionAction, MSLane::myIntermodalCollisionStopTime, SUMOVehicleParameter::Stop::parametersSet, MSVehicleControl::registerCollision(), MSNet::registerCollision(), SPEED2DIST, SUMOVehicleParameter::Stop::startPos, STOP_DURATION_SET, STOP_END_SET, STOP_START_SET, time2string(), TLF, and WRITE_WARNING.
Referenced by MSLane::detectCollisions(), and MSLane::detectPedestrianJunctionCollision().
|
inherited |
Definition at line 3613 of file MSLane.cpp.
References MSLane::myLinks.
Referenced by MSLane::saveState().
|
protectedinherited |
check whether any of the outgoing links are being approached
|
inherited |
Returns whether the parameter is set.
[in] | key | The key to ask for |
Definition at line 84 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSStageWalking::activateEntryReminders(), NBEdge::append(), MSVehicleType::build(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), NWWriter_DlrNavteq::getBrunnelType(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSStoppingPlaceRerouter::getWeight(), MSStageDriving::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSVehicle::slowDownForSchedule(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
|
inherited |
whether the lane has pedestrians on it
Definition at line 4483 of file MSLane.cpp.
References MSNet::getInstance(), MSTransportableControl::getMovementModel(), MSNet::getPersonControl(), MSPModel::hasPedestrians(), and MSNet::hasPersons().
Referenced by MSLCM_LC2013::adaptSpeedToPedestrians(), MSLaneChanger::checkChange(), MSLane::checkForPedestrians(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSInductLoop::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::updateExpectedSublaneSpeeds().
|
overrideprotectedvirtual |
Inserts the vehicle into this lane, and informs it about entering the network.
Calls the vehicles enterLaneAtInsertion function, updates statistics and modifies the active state as needed
[in] | veh | The vehicle to be incorporated |
[in] | pos | The position of the vehicle |
[in] | speed | The speed of the vehicle |
[in] | posLat | The lateral position of the vehicle |
[in] | at | |
[in] | notification | The cause of insertion (i.e. departure, teleport, parking) defaults to departure |
Reimplemented from MSLane.
Definition at line 148 of file GUILane.cpp.
References MSLane::incorporateVehicle(), and myLock.
|
staticinherited |
Definition at line 4409 of file MSLane.cpp.
References MSLane::COLLISION_ACTION_NONE, MSLane::COLLISION_ACTION_REMOVE, MSLane::COLLISION_ACTION_TELEPORT, MSLane::COLLISION_ACTION_WARN, OptionsCont::getString(), TLF, and WRITE_ERROR.
Referenced by MSLane::initCollisionOptions().
|
staticinherited |
Definition at line 4425 of file MSLane.cpp.
References OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getString(), MSLane::initCollisionAction(), MSLane::myCheckJunctionCollisionMinGap, MSLane::myCheckJunctionCollisions, MSLane::myCollisionAction, MSLane::myCollisionMinGapFactor, MSLane::myCollisionStopTime, MSLane::myExtrapolateSubstepDepart, MSLane::myIntermodalCollisionAction, MSLane::myIntermodalCollisionStopTime, and string2time().
Referenced by MSFrame::setMSGlobals().
|
inherited |
initialized vClass-specific speed limits
Definition at line 306 of file MSLane.cpp.
References MSEdge::getEdgeType(), MSNet::getInstance(), MSNet::getRestrictions(), MSGlobals::gUnitTests, MSLane::myEdge, and MSLane::myRestrictions.
Referenced by MSLane::MSLane().
|
staticinherited |
initialize rngs
Definition at line 4532 of file MSLane.cpp.
References OptionsCont::getBool(), OptionsCont::getInt(), RandHelper::initRand(), MSLane::myRNGs, and toString().
Referenced by NLBuilder::initRandomness().
|
private |
Definition at line 118 of file GUILane.cpp.
References Position::distanceTo2D(), RAD2DEG, Position::x(), and Position::y().
Referenced by addSecondaryShape(), and GUILane().
|
staticinherited |
Adds the ids of all stored lanes into the given vector.
[in,filled] | into The vector to add the IDs into |
Definition at line 2446 of file MSLane.cpp.
References MSLane::myDict.
|
inherited |
Tries to insert the given vehicle.
The insertion position and speed are determined in dependence to the vehicle's departure definition, first.
Then, the vehicle is tried to be inserted into the lane using these values by a call to "isInsertionSuccess". The result of "isInsertionSuccess" is returned.
[in] | v | The vehicle to insert |
Definition at line 668 of file MSLane.cpp.
References MSLane::anyVehiclesBegin(), MSLane::anyVehiclesEnd(), BASE, MSBaseVehicle::basePos(), DEBUG_COND2, DEFAULT, DELTA_T, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosLatProcedure, SUMOVehicleParameter::departPosProcedure, SUMOVehicleParameter::departProcedure, MSVehicle::executeFractionalMove(), FALLTHROUGH, FREE, MSLane::freeInsertion(), MSVehicle::getBackPositionOnLane(), MSVehicle::getBestLanesContinuation(), MSVehicle::getCarFollowModel(), MSBaseVehicle::getDepartDelay(), MSLane::getDepartPosLat(), MSLane::getDepartSpeed(), MSStop::getEndPos(), Named::getID(), MSNet::getInsertionControl(), MSNet::getInstance(), MSLane::getLeader(), MSBaseVehicle::getLength(), MSLane::getLength(), MSCFModel::getMaxDecel(), MSVehicleType::getMinGap(), MSBaseVehicle::getNextStop(), MSBaseVehicle::getNextStopParameter(), MSBaseVehicle::getParameter(), MSVehicle::getPositionOnLane(), MSCFModel::getSecureGap(), MSVehicle::getSpeed(), MSBaseVehicle::getVehicleType(), MSLane::getWidth(), MSVehicleType::getWidth(), GIVEN, MSGlobals::gLateralResolution, gPrecisionRandom, MSBaseVehicle::hasStops(), MSLane::isInsertionSuccess(), MSBaseVehicle::isStopped(), MSStop::lane, LAST, MSLane::lastInsertion(), MAX2(), MIN2(), MSLane::myEdge, MSLane::myExtrapolateSubstepDepart, MSLane::myLength, MSMoveReminder::NOTIFICATION_DEPARTED, RandHelper::rand(), RANDOM, RANDOM_FREE, MSInsertionControl::retractDescheduleDeparture(), roundDecimal(), SIMTIME, SPLIT, SUMOVehicleParameter::Stop::split, SPLIT_FRONT, STEPS2TIME, and STOP.
Referenced by MSEdge::insertVehicle().
|
overridevirtual |
the same as in MSLane, but locks the access for the visualisation first; the access will be granted at the end of this method
Reimplemented from MSLane.
Definition at line 212 of file GUILane.cpp.
References MSLane::integrateNewVehicles(), and myLock.
|
inlineinherited |
Definition at line 566 of file MSLane.h.
References MSLane::myLengthGeometryFactor.
Referenced by libsumo::Helper::convertCartesianToRoadMap(), MSLaneChanger::foundHilltop(), getPopUpMenu(), libsumo::Helper::moveToXYMap(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSStageDriving::setArrived(), and MSLink::setRequestInformation().
|
inlineinherited |
Definition at line 554 of file MSLane.h.
References MSLane::myLengthGeometryFactor.
Referenced by MSVehicle::computeAngle(), GUIOverheadWire::drawGL(), GUIEdge::drawMesoVehicles(), MSLane::geometryPositionAtOffset(), MEVehicle::getAngle(), LIBSUMO_NAMESPACE::Lane::getAngle(), MSStoppingPlace::getCenterPos(), MSStage::getLanePosition(), MSVehicle::getPosition(), MEVehicle::getSlope(), MSVehicle::getSlope(), LIBSUMO_NAMESPACE::Person::getSlope(), MSStoppingPlace::getWaitPosition(), GUIOverheadWire::GUIOverheadWire(), GUIChargingStation::initAppearance(), MSParkingArea::MSParkingArea(), GUIInductLoop::MyWrapper::MyWrapper(), and MSParkingArea::setRoadsideCapacity().
|
inlineinherited |
return whether this lane is an acceleration lane
Definition at line 543 of file MSLane.h.
References MSLane::myIsRampAccel.
Referenced by MSLCM_LC2013::informFollower().
|
inlineinherited |
Definition at line 956 of file MSLane.h.
References MSLane::myApproachingLanes.
Definition at line 2804 of file MSLane.cpp.
References MSLane::myApproachingLanes.
|
inlineinherited |
get blocking status
Definition at line 166 of file GUIGlObject.h.
References GUIGlObject::myAmBlocked.
|
inline |
Definition at line 266 of file GUILane.h.
References myAmClosed.
Referenced by GUIEdge::closeTraffic().
|
inherited |
Returns whether the lane pertains to a crossing edge
Definition at line 2557 of file MSLane.cpp.
References MSEdge::isCrossing(), and MSLane::myEdge.
Referenced by drawGL(), drawLinkRules(), LIBSUMO_NAMESPACE::Lane::getInternalFoes(), MSLink::getLeaderInfo(), MSPModel_Striping::PState::getNextCrossing(), and MSPModel_Striping::getNextLane().
|
inlineinherited |
Returns the information whether the lane is has no vehicle and no partial occupation
Definition at line 865 of file MSLane.h.
References MSLane::myPartialVehicles, and MSLane::myVehicles.
|
virtualinherited |
check if element is locked (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 208 of file GUIGlObject.cpp.
Referenced by GNEViewNetHelper::ViewObjectsSelector::filterLockedElements(), and GNEViewNet::processLeftButtonPressNetwork().
|
inherited |
Tries to insert the given vehicle with the given state (speed and pos)
Checks whether the vehicle can be inserted at the given position with the given speed so that no collisions with leader/follower occur and the speed does not cause unexpected behaviour on consecutive lanes. Returns false if the vehicle can not be inserted.
If the insertion can take place, incorporateVehicle() is called and true is returned.
[in] | vehicle | The vehicle to insert |
[in] | speed | The speed with which it shall be inserted |
[in] | pos | The position at which it shall be inserted |
[in] | posLat | The lateral position at which it shall be inserted |
[in] | recheckNextLanes | Forces patching the speed for not being too fast on next lanes |
[in] | notification | The cause of insertion (i.e. departure, teleport, parking) defaults to departure |
Definition at line 827 of file MSLane.cpp.
References ARRIVAL_SPEED, SUMOVehicleParameter::arrivalSpeed, SUMOVehicleParameter::arrivalSpeedProcedure, AVG, MSRoute::begin(), BIDI, MSCFModel::brakeGap(), MSLane::checkFailure(), MSLane::checkForPedestrians(), MSVehicle::checkLinkLeader(), COLLISION, DEBUG_COND, DEBUG_COND2, SUMOVehicleParameter::departProcedure, SUMOVehicleParameter::departSpeedProcedure, MSInsertionControl::descheduleDeparture(), DESIRED, SUMOVehicleParameter::Stop::endPos, MSDriveWay::foeDriveWayOccupied(), FOLLOWER_GAP, MSCFModel::freeSpeed(), MSCFModel::FUTURE, MSGlobals::gCheckRoutes, gDebugFlag1, MSVehicle::getActionStepLengthSecs(), MSBaseVehicle::getArrivalPos(), MSVehicle::getBackPositionOnLane(), MSVehicle::getBestLaneDist(), MSVehicle::getBestLaneOffset(), MSVehicle::getBestLanesContinuation(), MSLane::getBidiLane(), MSVehicle::getCarFollowModel(), MSNet::getCurrentTimeStep(), MSDriveWay::getDepartureDriveway(), MSLane::getEdge(), MSAbstractLaneChangeModel::getExtraReservation(), MSLane::getFollowersOnConsecutive(), Named::getID(), Named::getIDSecure(), MSBaseVehicle::getImpatience(), MSLane::getInsertionChecks(), MSNet::getInsertionControl(), MSNet::getInstance(), SUMOVTypeParameter::getJMParam(), MSLink::getJunction(), MSVehicle::getLaneChangeModel(), MSLane::getLastAnyVehicle(), MSRoute::getLastEdge(), MSLane::getLastVehicleInformation(), MSLane::getLength(), MSVehicleType::getLength(), MSCFModel::getMaxDecel(), MSLane::getMeanSpeed(), MSVehicleType::getMinGap(), MSLane::getMissingRearGap(), MSBaseVehicle::getNextStop(), MSBaseVehicle::getParameter(), MSVehicleType::getParameter(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getRoute(), MSCFModel::getSecureGap(), MSAbstractLaneChangeModel::getShadowLane(), MSVehicle::getSpeed(), MSLink::getState(), MSLink::getTLLogic(), MSEdge::getToJunction(), MSJunction::getType(), MSBaseVehicle::getVClass(), MSLane::getVehicleMaxSpeed(), MSLane::getVehicleNumberWithPartials(), MSLane::getVehicleStopOffset(), MSBaseVehicle::getVehicleType(), GIVEN, MSRailSignal::hasInsertionConstraint(), MSBaseVehicle::hasStops(), MSLeaderInfo::hasVehicles(), MSLane::incorporateVehicle(), MSCFModel::insertionStopSpeed(), INVALID_SPEED, MSLane::isInternal(), MSLane::isLinkEnd(), isRailway(), JUNCTION, MSStop::lane, LANECHANGE, LAST, LEADER_GAP, LIMIT, LINKSTATE_ALLWAY_STOP, LINKSTATE_EQUAL, LINKSTATE_MINOR, LINKSTATE_STOP, MAX2(), Named::myID, MSLane::myLength, MSLane::myManeuverReservations, MSLane::myPartialVehicles, MSLane::myVehicles, NONE, MSLeaderInfo::numFreeSublanes(), MSLeaderInfo::numSublanes(), ONCOMING_TRAIN, MSStop::pars, RAIL_SIGNAL, MSVehicle::registerInsertionApproach(), MSLane::safeInsertionSpeed(), MSPModel::SAFETY_GAP, Parameterised::setParameter(), MSVehicle::setTentativeLaneAndPosition(), SIMTIME, SUMOVehicleParameter::Stop::speed, SPEED_LIMIT, SPLIT, SUMOVehicleParameter::Stop::startPos, STOP, MSCFModel::stopSpeed(), MSLane::succLinkSec(), SUMO_ATTR_JM_STOPLINE_CROSSING_GAP, SUMO_const_haltingSpeed, TIME2STEPS, TL, MSLeaderInfo::toString(), toString(), Parameterised::unsetParameter(), MSVehicle::updateBestLanes(), WRITE_ERRORF, and WRITE_WARNINGF.
Referenced by MSVehicleTransfer::checkInsertions(), MSLane::freeInsertion(), MSLane::insertVehicle(), and MSLane::lastInsertion().
|
inherited |
Returns whether the lane pertains to an internal edge
Definition at line 2545 of file MSLane.cpp.
References MSEdge::isInternal(), and MSLane::myEdge.
Referenced by MSLane::addLeaders(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), libsumo::Helper::applySubscriptionFilterTurn(), MSVehicle::brakeForOverlap(), MSDriveWay::buildRoute(), MSLaneChanger::changeOpposite(), MSDevice_ToC::checkDynamicToC(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSDevice_SSM::classifyEncounter(), MSVehicle::computeAngle(), MSVehicle::computeFurtherLanes(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLCHelper::divergentRoute(), drawGL(), drawLinkRule(), GUIVehicle::drawRouteHelper(), MSVehicle::executeFractionalMove(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSLink::getCorrespondingEntryLink(), MSLane::getCriticalLeader(), MSVehicle::getDistanceToLeaveJunction(), MSLane::getEntryLink(), MSLane::getFirstInternalInConnection(), LIBSUMO_NAMESPACE::Lane::getInternalFoes(), MSLogicJunction::getInternalLanes(), MSNoLogicJunction::getInternalLanes(), MSLink::getInternalLengthsAfter(), MSLink::getInternalLengthsBefore(), LIBSUMO_NAMESPACE::Vehicle::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLane::getLinkTo(), MSVehicle::getNextEdgePtr(), MSLane::getNormalPredecessorLane(), MSLane::getNormalSuccessorLane(), MSVehicle::getPastLanesUntil(), MSVehicle::getPositionAlongBestLanes(), MSVehicle::getPreviousLane(), MSVehicle::getRerouteOrigin(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSLane::handleCollisionBetween(), MSE2Collector::initAuxiliaries(), MSBaseVehicle::insertStop(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MSVehicle::isOppositeLane(), MSVehicle::joinTrainPartFront(), MSLink::MSLink(), MSDevice_Routing::notifyEnter(), MSLane::incoming_lane_priority_sorter::operator()(), NLTriggerBuilder::parseAndBuildOverheadWireSegment(), MSVehicle::planMoveInternal(), MSDevice_Taxi::prepareStop(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceStop(), MSBaseVehicle::rerouteBetweenStops(), MSLane::succLinkSec(), MSVehicle::updateBestLanes(), MSVehicle::updateDriveItems(), and MSFCDExport::write().
|
private |
whether this lane or its parent edge is selected in the GUI
Definition at line 1609 of file GUILane.cpp.
References GUIGlObject::getGlID(), GLO_EDGE, gSelected, isSelected(), GUISelectedStorage::isSelected(), and MSLane::myEdge.
Referenced by getColorValue(), and getScaleValue().
|
inlineinherited |
Returns the information whether the given link shows at the end of the list of links (is not valid)
Definition at line 853 of file MSLane.h.
References MSLane::myLinks.
Referenced by MSLaneChanger::checkChange(), MSLane::getCriticalLeader(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), MSCFModel_EIDM::internalspeedlimit(), MSLane::isInsertionSuccess(), MSDevice_GLOSA::notifyEnter(), MSVehicle::planMoveInternal(), and MSVehicle::unsafeLinkAhead().
|
inlineinherited |
Returns the information whether the given link shows at the end of the list of links (is not valid)
Definition at line 859 of file MSLane.h.
References MSLane::myLinks.
|
inherited |
Returns whether the lane pertains to a normal edge
Definition at line 2551 of file MSLane.cpp.
References MSEdge::isNormal(), and MSLane::myEdge.
Referenced by MSVehicle::getDistanceToLeaveJunction(), NEMALogic::getLaneInfoFromNEMAState(), MSLink::getLeaderInfo(), MSStageWalking::loadState(), MSPModel_Striping::PState::moveTo(), MSLane::setBidiLane(), and MSLink::setRequestInformation().
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 254 of file Parameterised.cpp.
References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().
Referenced by Parameterised::areAttributesValid(), and Parameterised::areParametersValid().
|
overridevirtual |
whether this lane is selected in the GUI
Reimplemented from MSLane.
Definition at line 1604 of file GUILane.cpp.
References GUIGlObject::getGlID(), GLO_LANE, gSelected, and GUISelectedStorage::isSelected().
Referenced by isLaneOrEdgeSelected().
|
inherited |
Returns whether the lane pertains to a walkingarea
Definition at line 2562 of file MSLane.cpp.
References MSEdge::isWalkingArea(), and MSLane::myEdge.
Referenced by drawGL(), and MSPModel_Striping::registerCrossingApproach().
|
inherited |
inserts vehicle as close as possible to the last vehicle on this lane (or at the end of the lane if there is no leader)
look for a leaders on consecutive lanes
Definition at line 470 of file MSLane.cpp.
References MSCFModel::brakeGap(), MSVehicle::getBackPositionOnLane(), MSVehicle::getBestLanesContinuation(), MSVehicle::getCarFollowModel(), MSLane::getLastAnyVehicle(), MSLane::getLeader(), MSLane::getLength(), MSCFModel::getMaxDecel(), MSVehicleType::getMinGap(), MSCFModel::getSecureGap(), MSVehicle::getSpeed(), MSBaseVehicle::getVehicleType(), MSLane::isInsertionSuccess(), MIN2(), MSMoveReminder::NOTIFICATION_DEPARTED, MSVehicle::setTentativeLaneAndPosition(), and MSVehicle::updateBestLanes().
Referenced by MSLane::insertVehicle().
|
inherited |
Definition at line 3271 of file MSLane.cpp.
References MSVehicleType::getLength(), MSVehicleType::getLengthWithGap(), MSBaseVehicle::getVehicleType(), MSLane::myBruttoVehicleLengthSum, and MSLane::myNettoVehicleLengthSum.
Referenced by MSAbstractLaneChangeModel::primaryLaneChanged().
|
staticinherited |
load random number generator state for the given rng index
Definition at line 4555 of file MSLane.cpp.
References MSLane::getNumRNGs(), RandHelper::loadState(), MSLane::myRNGs, TLF, and toString().
Referenced by MSStateHandler::myStartElement().
|
inherited |
Loads the state of this segment with the given parameters.
This method is called for every internal que the segment has. Every vehicle is retrieved from the given MSVehicleControl and added to this lane.
[in] | vehIDs | The vehicle ids for the current que |
[in] | vc | The vehicle control to retrieve references vehicles from |
What about throwing an IOError?
What about throwing an error if something else fails (a vehicle can not be referenced)?
Definition at line 3682 of file MSLane.cpp.
References MSNet::getInstance(), MSVehicle::getLastActionTime(), MSVehicle::getLateralPositionOnLane(), MSVehicle::getPositionOnLane(), MSVehicle::getSpeed(), MSVehicleControl::getVehicle(), MSLane::incorporateVehicle(), MSLane::myVehicles, MSMoveReminder::NOTIFICATION_LOAD_STATE, MSVehicle::processNextStop(), MSVehicle::resetActionOffset(), and MSVehicle::updateBestLanes().
Referenced by MSStateHandler::myStartElement().
|
virtualinherited |
mark element as front element (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 215 of file GUIGlObject.cpp.
|
inherited |
Set a flag to recalculate the brutto (including minGaps) occupancy of this lane (used if mingap is changed)
Definition at line 2358 of file MSLane.cpp.
References MSLane::myRecalculateBruttoSum.
Referenced by MSVehicle::updateLaneBruttoSum().
|
inherited |
Adds or appends all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 65 of file Parameterised.cpp.
References Parameterised::getParameter(), Parameterised::hasParameter(), and Parameterised::setParameter().
Referenced by NBEdge::append().
|
inherited |
whether this lane must check for junction collisions
Definition at line 4570 of file MSLane.cpp.
References MSEdge::isInternal(), MSLane::myCheckJunctionCollisions, MSLane::myEdge, and MSLane::myLinks.
Referenced by MSLane::detectCollisions(), and MSVehicle::processLaneAdvances().
|
inlineinherited |
short-circut collision check if nothing changed since the last check
Definition at line 705 of file MSLane.h.
References MSLane::myNeedsCollisionCheck.
bool GUILane::neighLaneNotBidi | ( | ) | const |
whether any of the neighboring lanes is not a bidi-lane
Definition at line 807 of file GUILane.cpp.
References MSLane::getBidiLane(), and MSLane::getParallelLane().
Referenced by drawGL().
|
inherited |
This is just a wrapper around MSPModel::nextBlocking. You should always check using hasPedestrians before calling this method.
Definition at line 4490 of file MSLane.cpp.
References MSNet::getInstance(), MSTransportableControl::getMovementModel(), MSNet::getPersonControl(), and MSPModel::nextBlocking().
Referenced by MSLCM_LC2013::adaptSpeedToPedestrians(), MSLaneChanger::checkChange(), MSLane::checkForPedestrians(), MSLane::detectCollisions(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::updateExpectedSublaneSpeeds().
|
inlinevirtualinherited |
notify object about left click
Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.
Definition at line 218 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::onLeftBtnPress().
|
overridevirtual |
the same as in MSLane, but locks the access for the visualisation first; the access will be granted at the end of this method
Reimplemented from MSLane.
Definition at line 171 of file GUILane.cpp.
References myLock, and MSLane::planMovements().
|
overridevirtual |
Allows to use the container for microsimulation again.
Unlocks "myLock" preventing usage by microsimulation.
Reimplemented from MSLane.
Definition at line 165 of file GUILane.cpp.
References myLock.
Referenced by drawGL().
|
inlinevirtualinherited |
remove additional user-griggered visualisations
Reimplemented in GUIBaseVehicle, and GUIPerson.
Definition at line 215 of file GUIGlObject.h.
|
inlinevirtualinherited |
notify object about popup menu removal
Reimplemented in GUIBaseVehicle.
Definition at line 124 of file GUIGlObject.h.
Referenced by GUIGLObjectPopupMenu::removePopupFromObject().
|
virtualinherited |
Remove a move-reminder from move-reminder container.
The move reminder will not be deleted by the lane.
[in] | rem | The move reminder to remvoe |
Definition at line 362 of file MSLane.cpp.
References MSLane::myMoveReminders, and MSLane::myVehicles.
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 375 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
overridevirtual |
remove parking vehicle
Reimplemented from MSLane.
Definition at line 198 of file GUILane.cpp.
References myLock, and MSLane::removeParking().
|
overridevirtual |
the same as in MSLane, but locks the access for the visualisation first; the access will be granted at the end of this method
Reimplemented from MSLane.
Definition at line 191 of file GUILane.cpp.
References myLock, and MSLane::removeVehicle().
|
inlineinherited |
require another collision check due to relevant changes in the simulation
Definition at line 710 of file MSLane.h.
References MSLane::myNeedsCollisionCheck.
Referenced by MSLaneChanger::continueChange().
|
virtualinherited |
Unregisters a vehicle, which previously registered for maneuvering into this lane.
[in] | v | The vehicle |
Definition at line 427 of file MSLane.cpp.
References DEBUG_COND2, Named::getID(), MSLane::myManeuverReservations, and SIMTIME.
Referenced by MSAbstractLaneChangeModel::cleanupTargetLane(), and MSAbstractLaneChangeModel::updateTargetLane().
|
overridevirtual |
Removes the information about a vehicle lapping into this lane.
[in] | v | The vehicle which laps into this lane |
Reimplemented from MSLane.
Definition at line 233 of file GUILane.cpp.
References myLock, and MSLane::resetPartialOccupation().
|
inherited |
Definition at line 4450 of file MSLane.cpp.
References MSLane::myOriginalPermissions, MSLane::myPermissionChanges, MSLane::myPermissions, and SVCAll.
Referenced by closeTraffic(), and MSLane::setPermissions().
|
protectedinherited |
return the maximum safe speed for insertion behind leaders (a negative value indicates that safe insertion is impossible)
Definition at line 1367 of file MSLane.cpp.
References COLLISION, DEBUG_COND2, MSVehicle::getBackPositionOnLane(), MSLane::getBidiLane(), MSVehicle::getBrakeGap(), MSVehicle::getCarFollowModel(), Named::getID(), MSLane::getInsertionChecks(), MSVehicle::getLane(), MSBaseVehicle::getLength(), MSCFModel::getMaxDecel(), MSVehicleType::getMinGap(), MSVehicle::getSpeed(), MSBaseVehicle::getVehicleType(), MSCFModel::insertionFollowSpeed(), INVALID_SPEED, MIN2(), MSLeaderInfo::numSublanes(), and SIMTIME.
Referenced by MSLane::isInsertionSuccess().
|
staticinherited |
save random number generator states to the given output device
Definition at line 4545 of file MSLane.cpp.
References OutputDevice::closeTag(), MSLane::getNumRNGs(), MSLane::myRNGs, OutputDevice::openTag(), RandHelper::saveState(), SUMO_ATTR_INDEX, SUMO_ATTR_STATE, SUMO_TAG_RNGLANE, and OutputDevice::writeAttr().
Referenced by MSStateHandler::saveRNGs().
|
inherited |
Saves the state of this lane into the given stream.
Basically, a list of vehicle ids
[in,filled] | out The (possibly binary) device to write the state into |
Definition at line 3623 of file MSLane.cpp.
References OutputDevice::closeTag(), Named::getID(), MSEdge::getToJunction(), MSJunction::getType(), MSLane::hasApproaching(), MSLane::myEdge, MSLane::myLinks, MSLane::myVehicles, OutputDevice::openTag(), RAIL_CROSSING, RAIL_SIGNAL, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_ARRIVALSPEEDBRAKING, SUMO_ATTR_ARRIVALTIME, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_DISTANCE, SUMO_ATTR_ID, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_REQUEST, SUMO_ATTR_TO, SUMO_ATTR_VALUE, SUMO_ATTR_WAITINGTIME, SUMO_TAG_APPROACHING, SUMO_TAG_LANE, SUMO_TAG_LINK, SUMO_TAG_VIEWSETTINGS_VEHICLES, and OutputDevice::writeAttr().
|
virtualinherited |
select GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, and GNENetworkElement.
Definition at line 227 of file GUIGlObject.cpp.
|
inherited |
Adds the (overlapping) reverse direction lane to this lane.
[in] | id | The lane's id |
Definition at line 339 of file MSLane.cpp.
References Named::getID(), MSLane::getLength(), MSGlobals::gUsingInternalLanes, MSLane::isNormal(), MSLane::myBidiLane, TL, and WRITE_WARNINGF.
|
inlineinherited |
set blocking status
Definition at line 171 of file GUIGlObject.h.
References GUIGlObject::myAmBlocked.
Referenced by GUIGlObjectStorage::getObjectBlocking(), and GUIGlObjectStorage::getObjectBlocking().
|
inherited |
Sets the permissions for changing to the left neighbour lane.
[in] | permissions | The new permissions |
Definition at line 4471 of file MSLane.cpp.
References MSLane::myChangeLeft.
Referenced by LIBSUMO_NAMESPACE::Lane::setChangePermissions().
|
inherited |
Sets the permissions for changing to the right neighbour lane.
[in] | permissions | The new permissions |
Definition at line 4477 of file MSLane.cpp.
References MSLane::myChangeRight.
Referenced by LIBSUMO_NAMESPACE::Lane::setChangePermissions().
|
private |
sets the color according to the currente settings
Definition at line 1166 of file GUILane.cpp.
References GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), getColorValue(), GUIPropertySchemeStorage< T >::getScheme(), MSGlobals::gUseMesoSim, GUIVisualizationSettings::laneColorer, MESO_USE_LANE_COLOR, MSLane::myEdge, GLHelper::setColor(), setFunctionalColor(), and setMultiColor().
Referenced by drawGL(), and drawMarkings().
|
inherited |
Sets a new friction coefficient for the lane [to be later (used by TraCI and MSCalibrator)].
[in] | val | the new friction coefficient [0..1] |
Definition at line 2724 of file MSLane.cpp.
References MSLane::myEdge, MSLane::myFrictionCoefficient, and MSEdge::recalcCache().
bool GUILane::setFunctionalColor | ( | const GUIColorer & | c, |
RGBColor & | col, | ||
int | activeScheme = -1 |
||
) | const |
Definition at line 1183 of file GUILane.cpp.
References PositionVector::beginEndAngle(), RGBColor::fromHSV(), GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), RGBColor::getColorRNG(), MSLane::getLinkTo(), MSLane::getLogicalPredecessorLane(), MSEdge::getPredecessors(), GUIPropertySchemeStorage< T >::getScheme(), MSEdge::getSuccessors(), MSLink::getTLLogic(), MSLink::havePriority(), MSEdge::isCrossing(), MSLane::myEdge, MSLane::myShape, GeomHelper::naviDegree(), RGBColor::parseColor(), RandHelper::rand(), and GLHelper::setColor().
Referenced by setColor(), and GUIEdge::setFunctionalColor().
|
inlinevirtualinherited |
resets the id
[in] | newID | The new id of this object |
Reimplemented in MSBaseVehicle, MSTransportable, and NBLoadedSUMOTLDef.
Definition at line 82 of file Named.h.
References Named::myID.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), NBLoadedSUMOTLDef::setID(), and IntermodalNetwork< E, L, N, V >::splitEdge().
|
overridevirtual |
the same as in MSLane, but locks the access for the visualisation first; the access will be granted at the end of this method
Reimplemented from MSLane.
Definition at line 177 of file GUILane.cpp.
References myLock, and MSLane::setJunctionApproaches().
|
inherited |
Set vehicle class specific stopOffsets.
Definition at line 3719 of file MSLane.cpp.
References MSLane::myLaneStopOffset.
|
inherited |
Sets a new length for the lane (used by TraCI only)
[in] | val | the new length in m |
Definition at line 2731 of file MSLane.cpp.
References MSLane::myEdge, MSLane::myLength, and MSEdge::recalcCache().
|
virtualinherited |
Registers the lane change intentions (towards this lane) for the given vehicle.
Definition at line 416 of file MSLane.cpp.
References DEBUG_COND2, Named::getID(), MSLane::myManeuverReservations, and SIMTIME.
Referenced by MSAbstractLaneChangeModel::updateTargetLane().
|
inherited |
Sets a new maximum speed for the lane (used by TraCI and MSCalibrator)
[in] | val | the new speed in m/s |
[in] | whether | a variable speed sign (VSS) imposes the speed limit |
[in] | whether | TraCI imposes the speed limit |
Definition at line 2708 of file MSLane.cpp.
References MESegment::getNextSegment(), MELoop::getSegmentForEdge(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSLane::myEdge, MSLane::myIndex, MSLane::myMaxSpeed, MSLane::mySpeedByTraCI, MSLane::mySpeedByVSS, MSEdge::recalcCache(), MESegment::setSpeed(), and SIMSTEP.
Referenced by MSCalibrator::execute().
|
virtualinherited |
Changes the microsimID of the object.
Definition at line 245 of file GUIGlObject.cpp.
References GUIGlObjectStorage::changeName(), GUIGlObject::createFullName(), GUIGlObjectStorage::gIDStorage, GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNEAdditional::setAdditionalID(), GNEDemandElement::setDemandElementID(), GNENetworkElement::setNetworkElementID(), GNENetHelper::AttributeCarriers::updateAdditionalID(), and GNENetHelper::AttributeCarriers::updateDemandElementID().
|
private |
sets multiple colors according to the current scheme index and some lane function
Definition at line 1235 of file GUILane.cpp.
References GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), getColorValue(), GUIPropertySchemeStorage< T >::getScheme(), MSLane::getShape(), getShapeColors(), MAX2(), and GUIVisualizationSettings::secondaryShape.
Referenced by setColor().
|
inherited |
Adds a neighbor to this lane.
[in] | id | The lane's id |
Definition at line 331 of file MSLane.cpp.
References Named::getID(), MSLane::getLength(), MSLane::myOpposite, TL, and WRITE_WARNINGF.
|
virtualinherited |
Sets a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Reimplemented in MSRailCrossing, MSActuatedTrafficLightLogic, MSRailSignal, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 45 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBRailwayTopologyAnalyzer::addBidiEdge(), NLHandler::addDistrict(), RONetHandler::addParam(), ShapeHandler::addPOI(), NBOwnTLDef::buildNemaPhases(), MSParkingArea::enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSStateHandler::myStartElement(), NIXMLConnectionsHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), MSDevice_Bluelight::notifyMove(), GNESingleParametersDialog::onCmdAccept(), NBRailwayTopologyAnalyzer::reverseEdges(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), Parameterised::setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), Parameterised::updateParameters(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 167 of file Parameterised.cpp.
References Parameterised::getParametersMap(), and Parameterised::myMap.
Referenced by MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageWalking::clone(), and MSStageTrip::reroute().
|
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 173 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(), GNEContainerStop::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNEOverheadWire::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingSpace::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNETractionSubstation::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), and GNEDetector::setDetectorAttribute().
|
overridevirtual |
Sets the information about a vehicle lapping into this lane.
This vehicle is added to myVehicles and may be distinguished from regular vehicles by the disparity between this lane and v->getLane()
[in] | v | The vehicle which laps into this lane |
Reimplemented from MSLane.
Definition at line 226 of file GUILane.cpp.
References myLock, and MSLane::setPartialOccupation().
|
inherited |
Sets the permissions to the given value. If a transientID is given, the permissions are recored as temporary.
[in] | permissions | The new permissions |
[in] | transientID | The id of the permission-modification or the special value PERMANENT |
Definition at line 4438 of file MSLane.cpp.
References MSLane::CHANGE_PERMISSIONS_PERMANENT, MSLane::myOriginalPermissions, MSLane::myPermissionChanges, MSLane::myPermissions, and MSLane::resetPermissions().
Referenced by closeTraffic(), LIBSUMO_NAMESPACE::Lane::setAllowed(), and LIBSUMO_NAMESPACE::Lane::setDisallowed().
|
inline |
Definition at line 246 of file GUILane.h.
References myReachability.
Referenced by GUIViewTraffic::showLaneReachability().
|
inlineinherited |
Definition at line 1184 of file MSLane.h.
References MSLane::myRightmostSublane, and MSLane::myRightSideOnEdge.
|
inherited |
sorts myManeuverReservations
Definition at line 2526 of file MSLane.cpp.
References DEBUG_COND, Named::getID(), MSLane::myManeuverReservations, and toString().
|
inherited |
sorts myPartialVehicles
Definition at line 2518 of file MSLane.cpp.
References MSLane::myPartialVehicles.
Referenced by MSLane::integrateNewVehicles(), and MSLane::swapAfterLaneChange().
|
private |
add intermediate points at segment borders
Definition at line 1576 of file GUILane.cpp.
References Position::distanceTo(), OptionsCont::getOptions(), MSGlobals::gUseMesoSim, PositionVector::indexOfClosest(), PositionVector::insertAtClosest(), MSLane::myLength, mySegmentStartIndex, myShapeSegments, MELoop::numSegmentsFor(), and PositionVector::positionAtOffset().
Referenced by GUILane().
|
staticinherited |
Same as succLink, but does not throw any assertions when the succeeding link could not be found; Returns the myLinks.end() instead; Further, the number of edges to look forward may be given
Definition at line 2619 of file MSLane.cpp.
References Named::getID(), MSNet::getInstance(), MSVehicleType::getVehicleClass(), SUMOTrafficObject::getVehicleType(), MSLane::isInternal(), MSLane::myLinks, SUMOVehicle::succEdge(), time2string(), and WRITE_WARNING.
Referenced by MSLane::appropriate(), MSLaneChanger::checkChange(), MSLane::executeMovements(), MSLane::getCriticalLeader(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), MSCFModel_EIDM::internalspeedlimit(), MSLane::isInsertionSuccess(), MSDevice_GLOSA::notifyEnter(), MSVehicle::planMoveInternal(), MSVehicle::setBlinkerInformation(), and MSVehicle::unsafeLinkAhead().
|
overrideprotectedvirtual |
moves myTmpVehicles int myVehicles after a lane change procedure
Reimplemented from MSLane.
Definition at line 205 of file GUILane.cpp.
References myLock, and MSLane::swapAfterLaneChange().
|
inherited |
Removes a parameter.
[in] | key | The parameter's name |
Definition at line 51 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_OpenStreetMap::insertEdge(), MSLane::isInsertionSuccess(), GNEVType::setAttribute(), and LIBSUMO_NAMESPACE::TrafficLight::swapParameters().
|
virtualinherited |
update GLObject (geometry, ID, etc.) (optional)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, and GNEWalkingArea.
Definition at line 233 of file GUIGlObject.cpp.
|
inherited |
This updates the MSLeaderInfo argument with respect to the given MSVehicle. All leader-vehicles on the same edge, which are relevant for the vehicle (i.e. with position > vehicle's position) and not already integrated into the LeaderInfo, are integrated. The given iterators vehPart and vehRes give access to these vehicles which are either partial occupators or have issued a maneuver reservation for the lane (the latter occurs only for the sublane model).
Definition at line 1568 of file MSLane.cpp.
References MSLeaderInfo::addLeader(), DEBUG_COND, MSVehicle::getPositionOnLane(), MSGlobals::gLaneChangeDuration, MSLane::myManeuverReservations, and MSLane::myPartialVehicles.
Referenced by MSLane::planMovements().
|
inherited |
updated current vehicle length sum (delayed to avoid lane-order-dependency)
Definition at line 2364 of file MSLane.cpp.
References MSLane::myBruttoVehicleLengthSum, MSLane::myBruttoVehicleLengthSumToRemove, MSLane::myNettoVehicleLengthSum, MSLane::myNettoVehicleLengthSumToRemove, MSLane::myRecalculateBruttoSum, and MSLane::myVehicles.
|
inherited |
Adds or updates all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 57 of file Parameterised.cpp.
References Parameterised::setParameter().
Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NLJunctionControlBuilder::closeTrafficLightLogic(), NBTrafficLightDefinition::compute(), NLDetectorBuilder::endE3Detector(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), and LIBSUMO_NAMESPACE::TrafficLight::swapConstraints().
|
inlineinherited |
Callback for visiting the lane when traversing an RTree.
This is used in the TraCIServerAPI_Lane for context subscriptions.
[in] | cont | The context doing all the work |
Definition at line 1334 of file MSLane.h.
References MSLane::StoringVisitor::add().
Referenced by libsumo::Helper::collectObjectsInRange().
|
inherited |
write Params in the given outputdevice
Definition at line 188 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 MSStageWaiting::routeOutput(), MSTransportable::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), MSStop::write(), SUMOVTypeParameter::write(), SUMOVehicleParameter::Stop::write(), NBPTStop::write(), MSRailSignalConstraint_Predecessor::write(), GNEBusStop::writeAdditional(), GNECalibrator::writeAdditional(), GNECalibratorFlow::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEEntryExitDetector::writeAdditional(), GNEInductionLoopDetector::writeAdditional(), GNEInstantInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEOverheadWire::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), GNERerouter::writeAdditional(), GNERouteProbe::writeAdditional(), GNETAZ::writeAdditional(), GNETractionSubstation::writeAdditional(), GNEVaporizer::writeAdditional(), GNEVariableSpeedSign::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), NWWriter_SUMO::writeTrafficLight(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().
|
staticinherited |
Definition at line 1366 of file MSLane.h.
Referenced by closeTraffic().
|
staticinherited |
Definition at line 1365 of file MSLane.h.
Referenced by LIBSUMO_NAMESPACE::Lane::setAllowed(), LIBSUMO_NAMESPACE::Edge::setAllowedSVCPermissions(), LIBSUMO_NAMESPACE::Lane::setDisallowed(), and MSLane::setPermissions().
|
staticprivateinherited |
vector for TypeNames Initializer
Definition at line 52 of file GUIGlObject.h.
|
staticinherited |
Definition at line 72 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTipFor(), and GUIViewTraffic::stopTrack().
|
staticinherited |
Definition at line 73 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::filterContextObjects(), GUIEdge::getClickPriority(), and getClickPriority().
|
staticprivate |
special color to signify alternative coloring scheme
Definition at line 401 of file GUILane.h.
Referenced by setColor().
|
privateinherited |
whether the object can be deleted
Definition at line 318 of file GUIGlObject.h.
Referenced by GUIGlObject::isBlocked(), and GUIGlObject::setBlocked().
|
private |
state for dynamic lane closings
Definition at line 387 of file GUILane.h.
Referenced by closeTraffic(), getPopUpMenu(), and isClosed().
All direct internal and direct (disregarding internal predecessors) non-internal predecessor lanes of this lane.
Definition at line 1563 of file MSLane.h.
Referenced by MSLane::addApproachingLane(), MSLane::getNormalIncomingLanes(), MSLane::isApproachedFrom(), and MSLane::isApproachedFrom().
|
protectedinherited |
Definition at line 1596 of file MSLane.h.
Referenced by drawGL(), MSLane::getBidiLane(), MSLane::getLastAnyVehicle(), getParameterWindow(), MSLane::setBidiLane(), and MSLane::swapAfterLaneChange().
|
protectedinherited |
The current length of all vehicles on this lane, including their minGaps.
Definition at line 1544 of file MSLane.h.
Referenced by MSLane::clearState(), MSLane::enteredByLaneChange(), MSLane::getBruttoOccupancy(), MSLane::getBruttoVehLenSum(), MSLane::incorporateVehicle(), MSLane::integrateNewVehicles(), MSLane::leftByLaneChange(), MSLane::removeVehicle(), and MSLane::updateLengthSum().
|
protectedinherited |
The length of all vehicles that have left this lane in the current step (this lane, including their minGaps)
Definition at line 1550 of file MSLane.h.
Referenced by MSLane::clearState(), MSLane::executeMovements(), and MSLane::updateLengthSum().
|
staticprivate |
cached for tracking color value
Definition at line 394 of file GUILane.h.
Referenced by getColorValueForTracker(), and getParameterWindow().
|
mutableprotectedinherited |
Similar to LogicalPredecessorLane,.
Definition at line 1538 of file MSLane.h.
Referenced by MSLane::getCanonicalPredecessorLane().
|
mutableprotectedinherited |
Main successor lane,.
Definition at line 1541 of file MSLane.h.
Referenced by MSLane::getCanonicalSuccessorLane().
|
protectedinherited |
The vClass permissions for changing from this lane.
Definition at line 1522 of file MSLane.h.
Referenced by MSLane::allowsChangingLeft(), MSLane::getChangeLeft(), and MSLane::setChangeLeft().
|
protectedinherited |
Definition at line 1523 of file MSLane.h.
Referenced by MSLane::allowsChangingRight(), MSLane::getChangeRight(), and MSLane::setChangeRight().
|
staticprivateinherited |
Definition at line 1620 of file MSLane.h.
Referenced by MSLane::detectCollisions(), and MSLane::initCollisionOptions().
|
staticprivateinherited |
Definition at line 1619 of file MSLane.h.
Referenced by MSLane::initCollisionOptions(), and MSLane::mustCheckJunctionCollisions().
|
staticprivateinherited |
the action to take on collisions
Definition at line 1617 of file MSLane.h.
Referenced by MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLane::getCollisionAction(), MSLane::handleCollisionBetween(), and MSLane::initCollisionOptions().
|
staticprivateinherited |
Definition at line 1623 of file MSLane.h.
Referenced by MSLane::detectCollisionBetween(), and MSLane::initCollisionOptions().
|
staticprivateinherited |
Definition at line 1621 of file MSLane.h.
Referenced by MSLane::handleCollisionBetween(), and MSLane::initCollisionOptions().
|
staticprotectedinherited |
Static dictionary to associate string-ids with objects.
Definition at line 1608 of file MSLane.h.
Referenced by MSLane::clear(), MSLane::dictionary(), MSLane::dictionary(), MSLane::dictSize(), MSLane::fill(), and MSLane::insertIDs().
|
protectedinherited |
The lane's edge, for routing only.
Definition at line 1505 of file MSLane.h.
Referenced by MSLane::appropriate(), MSLane::changeLanes(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), drawGL(), drawJunctionChangeProhibitions(), drawLane2LaneConnections(), drawLinkRule(), drawLinkRules(), drawMarkings(), getClickPriority(), getColorValue(), MSLane::getEdge(), getEdgeLaneNumber(), MSLane::getFollowersOnConsecutive(), getLoadedEdgeWeight(), MSLane::getLogicalPredecessorLane(), MSLane::getMeanSpeed(), MSLane::getNextNormal(), MSLane::getParallelLane(), MSLane::getParallelOpposite(), getParameterWindow(), getScaleValue(), getStoredEdgeTravelTime(), MSLane::incorporateVehicle(), MSLane::initRestrictions(), MSLane::insertVehicle(), MSLane::integrateNewVehicles(), MSLane::isCrossing(), MSLane::isInternal(), isLaneOrEdgeSelected(), MSLane::isNormal(), MSLane::isWalkingArea(), MSLane::mustCheckJunctionCollisions(), MSLane::by_connections_to_sorter::operator()(), MSLane::saveState(), setColor(), MSLane::setFrictionCoefficient(), setFunctionalColor(), MSLane::setLength(), and MSLane::setMaxSpeed().
|
staticprivateinherited |
Definition at line 1624 of file MSLane.h.
Referenced by MSLane::initCollisionOptions(), and MSLane::insertVehicle().
|
mutableprotectedinherited |
followers on all sublanes as seen by vehicles on consecutive lanes (cached)
Definition at line 1568 of file MSLane.h.
Referenced by MSLane::getFirstVehicleInformation().
|
mutableprotectedinherited |
time step for which myFollowerInfo was last updated
Definition at line 1573 of file MSLane.h.
Referenced by MSLane::clearState(), and MSLane::getFirstVehicleInformation().
|
protectedinherited |
Lane-wide friction coefficient [0..1].
Definition at line 1510 of file MSLane.h.
Referenced by MSLane::getFrictionCoefficient(), and MSLane::setFrictionCoefficient().
|
privateinherited |
full name of GL Object
Definition at line 312 of file GUIGlObject.h.
Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
privateinherited |
The numerical id of the object.
Definition at line 303 of file GUIGlObject.h.
Referenced by GUIGlObject::getGlID().
|
privateinherited |
The type of the object.
Definition at line 306 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GUIGlObject::getClickPriority(), GUIGlObject::getType(), and GUIGlObject::GUIGlObject().
|
private |
Half of lane width, for speed-up.
Definition at line 368 of file GUILane.h.
Referenced by drawBikeMarkings(), drawDirectionIndicators(), drawGL(), drawJunctionChangeProhibitions(), drawLinkNo(), drawLinkRule(), drawLinkRules(), drawMarkings(), drawTLSLinkNo(), and GUILane().
|
privateinherited |
icon associatd with this GL Object
Definition at line 315 of file GUIGlObject.h.
Referenced by GUIGlObject::buildPopupHeader(), and GUIGlObject::getGLIcon().
|
protectedinherited |
The name of the object.
Definition at line 125 of file Named.h.
Referenced by MSDriveWay::addBidiFoes(), MSE2Collector::addDetectorToLanes(), MSDriveWay::addFoes(), MSDriveWay::addParallelFoes(), MSDriveWay::addReversalFoes(), MSDriveWay::addSwitchFoes(), RODFDetector::buildDestinationDistribution(), MSDriveWay::buildDriveWay(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), NEMALogic::getPhaseObj(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSSOTLTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), Named::setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeAggregatedChargingStationOutput(), MSDriveWay::writeBlocks(), MSDriveWay::writeBlockVehicles(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protectedinherited |
All direct predecessor lanes.
Definition at line 1532 of file MSLane.h.
Referenced by MSLane::addIncomingLane(), MSLane::getCanonicalPredecessorLane(), MSLane::getFollowersOnConsecutive(), MSLane::getIncomingLanes(), MSLane::getLogicalPredecessorLane(), and MSLane::getLogicalPredecessorLane().
|
protectedinherited |
The lane index.
Definition at line 1445 of file MSLane.h.
Referenced by drawGL(), drawJunctionChangeProhibitions(), drawMarkings(), MSLane::getIndex(), and MSLane::setMaxSpeed().
|
staticprivateinherited |
Definition at line 1618 of file MSLane.h.
Referenced by MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), MSLane::getIntermodalCollisionAction(), MSLane::handleIntermodalCollisionBetween(), and MSLane::initCollisionOptions().
|
staticprivateinherited |
Definition at line 1622 of file MSLane.h.
Referenced by MSLane::handleIntermodalCollisionBetween(), and MSLane::initCollisionOptions().
|
protectedinherited |
whether this lane is an acceleration lane
Definition at line 1579 of file MSLane.h.
Referenced by MSLane::isAccelLane().
|
protectedinherited |
Lane's vClass specific stop offset [m]. The map is either of length 0, which means no special stopOffset was set, or of length 1, where the key is a bitset representing a subset of the SUMOVehicleClass Enum and the value is the offset in meters.
Definition at line 1502 of file MSLane.h.
Referenced by drawLinkRules(), MSLane::getLaneStopOffsets(), MSLane::getVehicleStopOffset(), and MSLane::setLaneStopOffset().
|
protectedinherited |
the type of this lane
Definition at line 1582 of file MSLane.h.
Referenced by MSLane::getLaneType(), and getParameterWindow().
|
mutableprotectedinherited |
leaders on all sublanes as seen by approaching vehicles (cached)
Definition at line 1566 of file MSLane.h.
Referenced by MSLane::getLastVehicleInformation().
|
mutableprotectedinherited |
time step for which myLeaderInfo was last updated
Definition at line 1571 of file MSLane.h.
Referenced by MSLane::clearState(), and MSLane::getLastVehicleInformation().
|
protectedinherited |
Lane length [m].
Definition at line 1494 of file MSLane.h.
Referenced by addSecondaryShape(), MSLane::detectCollisions(), MSLane::freeInsertion(), MSLane::getBruttoOccupancy(), getColorValue(), MSLane::getFirstVehicleInformation(), MSLane::getFractionalVehicleLength(), MSLane::getLength(), MSLane::getNettoOccupancy(), MSLane::getOppositePos(), getParameterWindow(), getScaleValue(), MSLane::getSurroundingVehicles(), MSLane::incorporateVehicle(), MSLane::insertVehicle(), MSLane::isInsertionSuccess(), MSLane::setLength(), MSLane::setPartialOccupation(), and splitAtSegments().
|
protectedinherited |
precomputed myShape.length / myLength
Definition at line 1576 of file MSLane.h.
Referenced by MSLane::getLengthGeometryFactor(), getLengthGeometryFactor(), MSLane::getLengthGeometryFactor(), MSLane::interpolateGeometryPosToLanePos(), and MSLane::interpolateLanePosToGeometryPos().
|
private |
Definition at line 391 of file GUILane.h.
Referenced by addSecondaryShape(), and getLengthGeometryFactor().
|
protectedinherited |
The lane's Links to its succeeding lanes and the default right-of-way rule, i.e. blocked or not blocked.
Definition at line 1560 of file MSLane.h.
Referenced by MSLane::addLink(), MSLane::appropriate(), MSLane::clearState(), MSLane::detectCollisions(), drawArrows(), drawLane2LaneConnections(), drawLinkNo(), drawLinkRules(), drawTLSLinkNo(), MSLane::executeMovements(), MSLane::getCanonicalSuccessorLane(), MSLane::getCrossingIndex(), MSLane::getInternalFollowingLane(), MSLane::getLinkCont(), MSLane::getLinkTo(), MSLane::getOutgoingViaLanes(), MSLane::hasApproaching(), MSLane::isLinkEnd(), MSLane::isLinkEnd(), MSLane::mustCheckJunctionCollisions(), MSLane::saveState(), MSLane::succLinkSec(), and MSLane::~MSLane().
|
mutableprivate |
The mutex used to avoid concurrent updates of the vehicle buffer.
Definition at line 398 of file GUILane.h.
Referenced by detectCollisions(), executeMovements(), getVehiclesSecure(), incorporateVehicle(), integrateNewVehicles(), planMovements(), releaseVehicles(), removeParking(), removeVehicle(), resetPartialOccupation(), setJunctionApproaches(), setPartialOccupation(), swapAfterLaneChange(), and ~GUILane().
|
mutableprotectedinherited |
Definition at line 1535 of file MSLane.h.
Referenced by MSLane::getLogicalPredecessorLane().
|
protectedinherited |
The vehicles which registered maneuvering into the lane within their current action step. This is currently only relevant for sublane simulation, since continuous lanechanging uses the partial vehicle mechanism.
The entering vehicles are inserted at the front of this container and the leaving ones leave from the back.
Definition at line 1486 of file MSLane.h.
Referenced by MSLane::clearState(), MSLane::isInsertionSuccess(), MSLane::planMovements(), MSLane::resetManeuverReservation(), MSLane::setManeuverReservation(), MSLane::sortManeuverReservations(), and MSLane::updateLeaderInfo().
|
privateinherited |
The key->value map.
Definition at line 139 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getDoubles(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::hasParameter(), Parameterised::setParameter(), Parameterised::setParameters(), Parameterised::setParametersStr(), Parameterised::unsetParameter(), and Parameterised::writeParams().
|
protectedinherited |
Lane-wide speed limit [m/s].
Definition at line 1508 of file MSLane.h.
Referenced by MSLane::addLeaders(), getColorValue(), MSLane::getMeanSpeed(), MSLane::getMeanSpeedBike(), getScaleValue(), MSLane::getSpeedLimit(), MSLane::getVehicleMaxSpeed(), and MSLane::setMaxSpeed().
|
privateinherited |
ID of GL object.
Definition at line 309 of file GUIGlObject.h.
Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().
|
privateinherited |
This lane's move reminder.
Definition at line 1614 of file MSLane.h.
Referenced by MSLane::addMoveReminder(), MSLane::getMoveReminders(), and MSLane::removeMoveReminder().
|
protectedinherited |
whether a collision check is currently needed
Definition at line 1590 of file MSLane.h.
Referenced by MSLane::detectCollisions(), MSLane::executeMovements(), MSLane::incorporateVehicle(), MSLane::integrateNewVehicles(), MSLane::needsCollisionCheck(), MSLane::requireCollisionCheck(), and MSLane::setPartialOccupation().
|
protectedinherited |
The current length of all vehicles on this lane, excluding their minGaps.
Definition at line 1547 of file MSLane.h.
Referenced by MSLane::clearState(), MSLane::enteredByLaneChange(), MSLane::getNettoOccupancy(), MSLane::incorporateVehicle(), MSLane::integrateNewVehicles(), MSLane::leftByLaneChange(), MSLane::removeVehicle(), and MSLane::updateLengthSum().
|
protectedinherited |
The length of all vehicles that have left this lane in the current step (this lane, excluding their minGaps)
Definition at line 1553 of file MSLane.h.
Referenced by MSLane::clearState(), MSLane::executeMovements(), and MSLane::updateLengthSum().
|
protectedinherited |
Unique numerical ID (set on reading by netload)
Definition at line 1436 of file MSLane.h.
Referenced by MSLane::getNumericalID().
|
protectedinherited |
Definition at line 1593 of file MSLane.h.
Referenced by MSLane::getOpposite(), MSLane::integrateNewVehicles(), and MSLane::setOpposite().
|
protectedinherited |
The original vClass permissions for this lane (before temporary modifications)
Definition at line 1526 of file MSLane.h.
Referenced by MSLane::allowsVehicleClass(), MSLane::resetPermissions(), and MSLane::setPermissions().
|
protectedinherited |
the outline of the lane (optional)
Definition at line 1442 of file MSLane.h.
Referenced by drawGL(), MSLane::getOutlineShape(), MSLane::MSLane(), and MSLane::~MSLane().
|
privateinherited |
Parameter table windows which refer to this object.
Definition at line 321 of file GUIGlObject.h.
Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().
|
mutableprivate |
list of parkingAreas on this lane
Definition at line 377 of file GUILane.h.
Referenced by getColorValue(), and ~GUILane().
|
protectedinherited |
Definition at line 1491 of file MSLane.h.
Referenced by MSLane::addParking(), MSLane::clearState(), drawGL(), MSLane::executeMovements(), MSLane::getParkingVehicles(), and MSLane::removeParking().
|
protectedinherited |
The lane's partial vehicles. This container holds all vehicles that are partially on this lane but which are in myVehicles of another lane. Reasons for partial occupancies include the following.
The entering vehicles are inserted at the front of this container and the leaving ones leave from the back.
Definition at line 1470 of file MSLane.h.
Referenced by MSLane::anyVehiclesBegin(), MSLane::anyVehiclesEnd(), MSLane::anyVehiclesUpstreamBegin(), MSLane::clearState(), MSLane::detectCollisions(), drawGL(), MSLane::freeInsertion(), MSLane::getFirstAnyVehicle(), MSLane::getFractionalVehicleLength(), MSLane::getLastAnyVehicle(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLane::getPartialBehind(), MSLane::getPartialBeyond(), MSLane::getPartialVehicleNumber(), MSLaneChanger::getRealLeader(), MSLane::getVehicleNumberWithPartials(), MSLane::integrateNewVehicles(), MSLane::isEmpty(), MSLane::isInsertionSuccess(), MSLane::planMovements(), MSLane::resetPartialOccupation(), MSLane::setPartialOccupation(), MSLane::sortPartialVehicles(), and MSLane::updateLeaderInfo().
|
protectedinherited |
Definition at line 1599 of file MSLane.h.
Referenced by closeTraffic(), getPopUpMenu(), MSLane::hadPermissionChanges(), MSLane::resetPermissions(), and MSLane::setPermissions().
|
protectedinherited |
The vClass permissions for this lane.
Definition at line 1519 of file MSLane.h.
Referenced by MSLane::allowsVehicleClass(), MSLane::allowsVehicleClass(), drawAsRailway(), drawAsWaterway(), drawGL(), drawJunctionChangeProhibitions(), drawMarkings(), getColorValue(), MSLane::getMaximumBrakeDist(), getParameterWindow(), MSLane::getPermissions(), MSLane::resetPermissions(), and MSLane::setPermissions().
|
private |
Quarter of lane width, for speed-up.
Definition at line 371 of file GUILane.h.
Referenced by drawDirectionIndicators(), drawGL(), and GUILane().
|
private |
the time distance from a particular edge
Definition at line 374 of file GUILane.h.
Referenced by getColorValue(), getReachability(), and setReachability().
|
protectedinherited |
Flag to recalculate the occupancy (including minGaps) after a change in minGap.
Definition at line 1556 of file MSLane.h.
Referenced by MSLane::markRecalculateBruttoSum(), and MSLane::updateLengthSum().
|
protectedinherited |
The vClass speed restrictions for this lane.
Definition at line 1529 of file MSLane.h.
Referenced by MSLane::getVehicleMaxSpeed(), and MSLane::initRestrictions().
|
protectedinherited |
the index of the rightmost sublane of this lane on myEdge
Definition at line 1587 of file MSLane.h.
Referenced by MSLane::getRightmostSublane(), and MSLane::setRightSideOnEdge().
|
protectedinherited |
the combined width of all lanes with lower index on myEdge
Definition at line 1585 of file MSLane.h.
Referenced by MSLane::getCenterOnEdge(), MSLane::getRightSideOnEdge(), and MSLane::setRightSideOnEdge().
|
protectedinherited |
Definition at line 1602 of file MSLane.h.
Referenced by getColorValue(), MSLane::getRNG(), MSLane::getRNGIndex(), MSLane::getThreadIndex(), and MSLane::MSLane().
|
staticprotectedinherited |
Definition at line 1610 of file MSLane.h.
Referenced by MSLane::getNumRNGs(), MSLane::getRNG(), MSLane::initRNGs(), MSLane::loadRNGState(), MSLane::MSLane(), and MSLane::saveRNGStates().
|
private |
the shape indices where the meso segment changes (for segmentsIndex > 0)
Definition at line 365 of file GUILane.h.
Referenced by drawGL(), and splitAtSegments().
|
protectedinherited |
The shape of the lane.
Definition at line 1439 of file MSLane.h.
Referenced by MSLane::geometryPositionAtOffset(), getCenteringBoundary(), MSLane::getShape(), getShape(), MSLane::getShape(), GUILane(), and setFunctionalColor().
|
private |
secondary shape for visualization
Definition at line 390 of file GUILane.h.
Referenced by addSecondaryShape(), and getShape().
|
mutableprivate |
The color of the shape parts (cached)
Definition at line 359 of file GUILane.h.
Referenced by getShapeColors(), and GUILane().
|
mutableprivate |
Definition at line 360 of file GUILane.h.
Referenced by addSecondaryShape(), and getShapeColors().
|
private |
The lengths of the shape parts.
Definition at line 355 of file GUILane.h.
Referenced by getShapeLengths(), and GUILane().
|
private |
Definition at line 356 of file GUILane.h.
Referenced by addSecondaryShape(), and getShapeLengths().
|
private |
The rotations of the shape parts.
Definition at line 351 of file GUILane.h.
Referenced by getShapeRotations(), and GUILane().
|
private |
Definition at line 352 of file GUILane.h.
Referenced by addSecondaryShape(), and getShapeRotations().
|
private |
the meso segment index for each geometry segment
Definition at line 363 of file GUILane.h.
Referenced by drawGL(), GUILane(), and splitAtSegments().
|
protectedinherited |
Whether the current speed limit has been set through TraCI.
Definition at line 1516 of file MSLane.h.
Referenced by MSLane::getVehicleMaxSpeed(), and MSLane::setMaxSpeed().
|
protectedinherited |
Whether the current speed limit is set by a variable speed sign (VSS)
Definition at line 1513 of file MSLane.h.
Referenced by MSLane::getVehicleMaxSpeed(), and MSLane::setMaxSpeed().
|
privateinherited |
Definition at line 1780 of file MSLane.h.
Referenced by MSLane::getStopWatch().
|
mutableprivate |
An object that stores the tesselation.
Definition at line 380 of file GUILane.h.
Referenced by drawGL(), and ~GUILane().
|
protectedinherited |
Container for lane-changing vehicles. After completion of lane-change- process, the containers will be swapped with myVehicles.
Definition at line 1474 of file MSLane.h.
Referenced by MSLaneChangerSublane::addOutsideLeaders(), MSLane::anyVehiclesBegin(), MSLane::anyVehiclesEnd(), MSLane::anyVehiclesUpstreamBegin(), MSLane::getLeader(), and MSLane::swapAfterLaneChange().
|
protectedinherited |
Buffer for vehicles that moved from their previous lane onto this one. Integrated after all vehicles executed their moves.
Definition at line 1478 of file MSLane.h.
Referenced by MSLane::checkBufferType(), MSLane::empty(), MSLane::executeMovements(), and MSLane::integrateNewVehicles().
|
protectedinherited |
The lane's vehicles. This container holds all vehicles that have their front (longitudinally) and their center (laterally) on this lane. These are the vehicles that this lane is 'responsibly' for (i.e. when executing movements)
The entering vehicles are inserted at the front of this container and the leaving ones leave from the back, e.g. the vehicle in front of the junction (often called first) is myVehicles.back() (if it exists). And if it is an iterator at a vehicle, ++it points to the vehicle in front. This is the interaction vehicle.
Definition at line 1458 of file MSLane.h.
Referenced by MSLane::addMoveReminder(), MSLane::anyVehiclesBegin(), MSLane::anyVehiclesEnd(), MSLane::anyVehiclesUpstreamBegin(), MSLane::clearState(), MSLane::detectCollisions(), MSLane::empty(), MSLane::executeMovements(), firstWaitingTime(), MSLane::forceVehicleInsertion(), MSLane::freeInsertion(), MSLane::getBruttoOccupancy(), MSLane::getFirstAnyVehicle(), MSLane::getFirstFullVehicle(), MSLane::getLastAnyVehicle(), MSLane::getLastFullVehicle(), MSLane::getLeader(), MSLane::getMeanSpeed(), MSLane::getMeanSpeedBike(), MSLane::getNettoOccupancy(), MSLane::getSpaceTillLastStanding(), MSLane::getVehicleNumber(), MSLane::getVehicleNumberWithPartials(), MSLane::getVehiclesSecure(), getVehiclesSecure(), MSLane::getWaitingSeconds(), MSLane::incorporateVehicle(), MSLane::integrateNewVehicles(), MSLane::isEmpty(), MSLane::isInsertionSuccess(), MSLane::loadState(), MSLane::planMovements(), MSLane::removeMoveReminder(), MSLane::removeVehicle(), MSLane::saveState(), MSLane::setJunctionApproaches(), MSLane::swapAfterLaneChange(), MSLane::updateLengthSum(), and MSQueueExport::writeLane().
|
protectedinherited |
Lane width [m].
Definition at line 1497 of file MSLane.h.
Referenced by drawArrows(), drawDirectionIndicators(), drawGL(), drawLinkNo(), drawLinkRules(), drawTLSLinkNo(), MSLane::getCenterOnEdge(), MSLane::getFirstVehicleInformation(), MSLane::getFollowersOnConsecutive(), MSLane::getLastVehicleInformation(), getParameterWindow(), MSLane::getPartialBeyond(), MSLane::getWidth(), GUILane(), and MSLane::planMovements().
|
staticinherited |
associates object types with strings
Definition at line 71 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GNESelectorFrame::SelectionOperation::loadFromFile(), and GNESelectorFrame::SelectionOperation::onCmdSave().