Eclipse SUMO - Simulation of Urban MObility
GUIMEVehicle Class Reference

A MSVehicle extended by some values for usage within the gui. More...

#include <GUIMEVehicle.h>

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

Public Types

typedef long long int NumericalID
 
enum  RouteValidity {
  ROUTE_VALID = 0 , ROUTE_UNCHECKED = 1 << 0 , ROUTE_INVALID = 1 << 1 , ROUTE_START_INVALID_PERMISSIONS = 1 << 2 ,
  ROUTE_START_INVALID_LANE = 1 << 3
}
 
typedef std::vector< SeatSeats
 

Public Member Functions

virtual void activateReminders (const MSMoveReminder::Notification reason, const MSLane *enteredLane=0)
 "Activates" all current move reminder More...
 
void addReminder (MSMoveReminder *rem)
 Adds a MoveReminder dynamically. More...
 
void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
virtual void addTransportable (MSTransportable *transportable)
 Adds a person or container to this vehicle. More...
 
bool allowsBoarding (MSTransportable *t) const
 whether the given transportable is allowed to board this vehicle More...
 
void createDevice (const std::string &deviceName)
 create device of the given type More...
 
void drawAction_drawCarriageClass (const GUIVisualizationSettings &s, bool asImage) const
 draws the given guiShape with distinct carriages/modules More...
 
virtual void drawAction_drawLinkItems (const GUIVisualizationSettings &) const
 
virtual void drawAction_drawPersonsAndContainers (const GUIVisualizationSettings &s) const
 
virtual void drawAction_drawVehicleBlinker (double) const
 
virtual void drawAction_drawVehicleBlueLight () const
 
virtual void drawAction_drawVehicleBrakeLight (double length, bool onlyOne=false) const
 
virtual void drawBestLanes () const
 Draws the vehicle's best lanes. More...
 
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const
 draw name of item More...
 
void drawRouteHelper (const GUIVisualizationSettings &s, const MSRoute &r, bool future, bool noLoop, const RGBColor &col) const
 Draws the route. More...
 
double estimateLeaveSpeed (const MSLink *link) const
 Returns the vehicle's estimated speed after driving accross the link. More...
 
virtual double getAcceleration () const
 Returns the vehicle's acceleration. More...
 
double getAngle () const
 Return current angle. More...
 
virtual double getArrivalPos () const
 Returns this vehicle's desired arrivalPos for its current route (may change on reroute) More...
 
double getAverageSpeed () const
 Returns the vehicle's estimated average speed on the segment assuming no further delays. More...
 
double getBackPositionOnLane (const MSLane *lane) const
 Get the vehicle's position relative to the given lane. More...
 
virtual Boundary getCenteringBoundary () const
 Returns the boundary to which the view shall be centered in order to show the object. More...
 
double getChosenSpeedFactor () const
 Returns the precomputed factor by which the driver wants to be faster than the speed limit. More...
 
double getColorValue (const GUIVisualizationSettings &s, int activeScheme) const
 gets the color value according to the current scheme index More...
 
double getConservativeSpeed (SUMOTime &earliestArrival) const
 Returns the vehicle's estimated speed taking into account delays. More...
 
int getContainerNumber () const
 Returns the number of containers. More...
 
const std::vector< MSTransportable * > & getContainers () const
 retrieve riding containers More...
 
const MSRouteIteratorgetCurrentRouteEdge () const
 Returns an iterator pointing to the current edge in this vehicles route. More...
 
SUMOTime getDepartDelay () const
 Returns the depart delay. More...
 
double getDepartPos () const
 Returns this vehicle's real departure position. More...
 
SUMOTime getDeparture () const
 Returns this vehicle's real departure time. More...
 
MSVehicleDevicegetDevice (const std::type_info &type) const
 Returns a device of the given type if it exists or 0. More...
 
std::string getDeviceDescription ()
 lists equipped device (types) for the current vehicle More...
 
std::string getDeviceParameter (const std::string &deviceName, const std::string &key) const
 try to retrieve the given parameter from any of the vehicles devices, raise InvalidArgument if no device parameter by that name exists More...
 
const std::vector< MSVehicleDevice * > & getDevices () const
 Returns this vehicle's devices. More...
 
const MSEdgegetEdge () const
 Returns the edge the vehicle is currently at. More...
 
std::string getEdgeID () const
 
const std::map< int, double > * getEmissionParameters () const
 Returns the vehicle's emission model parameter. More...
 
const std::string & getID () const
 Returns the id. More...
 
double getImpatience () const
 Returns this vehicles impatience. More...
 
const MSLanegetLane () const
 Returns the lane the vehicle is on. More...
 
double getLastLaneChangeOffset () const
 Returns the time since the last lane change in seconds. More...
 
virtual double getLateralPositionOnLane () const
 Get the vehicle's lateral position on the lane. More...
 
double getLength () const
 Returns the vehicle's length. More...
 
double getMaxSpeed () const
 Returns the maximum speed. More...
 
double getNaviDegree () const
 return the current angle in navigational degrees More...
 
int getNumberReroutes () const
 Returns the number of new routes this vehicle got. More...
 
int getNumContainers () const
 return the number of passengers More...
 
int getNumPassengers () const
 return the number of passengers More...
 
double getOdometer () const
 Returns the distance that was already driven by this vehicle. More...
 
const SUMOVehicleParametergetParameter () const
 Returns the vehicle's parameter (including departure definition) More...
 
GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own parameter window. More...
 
std::vector< std::string > getPersonIDList () const
 Returns the list of persons. More...
 
int getPersonNumber () const
 Returns the number of persons. More...
 
const std::vector< MSTransportable * > & getPersons () const
 retrieve riding persons More...
 
Position getPosition (const double offset=0) const
 Return current position (x/y, cartesian) More...
 
double getPositionOnLane () const
 Get the vehicle's position along the lane. More...
 
std::string getPrefixedParameter (const std::string &key, std::string &error) const
 retrieve parameters of devices, models and the vehicle itself More...
 
double getPreviousSpeed () const
 Returns the vehicle's previous speed. More...
 
virtual const MSEdgegetRerouteOrigin () const
 Returns the starting point for reroutes (usually the current edge) More...
 
const MSRoutegetRoute () const
 Returns the current route. More...
 
int getRoutePosition () const
 return index of edge within route More...
 
int getRouteValidity (bool update=true, bool silent=false)
 check for route validity at first insertion attempt More...
 
int getSegmentIndex () const
 
MSVehicleTypegetSingularType ()
 Replaces the current vehicle type with a new one used by this vehicle only. More...
 
double getSlope () const
 Returns the slope of the road at vehicle's position in degrees. More...
 
double getSpeed () const
 Returns the vehicle's estimated speed assuming no delays. More...
 
virtual double getStopArrivalDelay () const
 Returns the estimated public transport stop arrival delay in seconds. More...
 
virtual double getStopDelay () const
 Returns the estimated public transport stop (departure) delay in seconds. More...
 
std::string getStopInfo () const
 retrieve information about the current stop state More...
 
GUIParameterTableWindowgetTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own type parameter window. More...
 
SUMOVehicleClass getVClass () const
 Returns the vehicle's access class. More...
 
const MSVehicleTypegetVehicleType () const
 Returns the vehicle's type definition. More...
 
double getWidth () const
 Returns the vehicle's width. More...
 
 GUIMEVehicle (SUMOVehicleParameter *pars, const MSRoute *route, MSVehicleType *type, const double speedFactor)
 Constructor. More...
 
bool hasDeparted () const
 Returns whether this vehicle has already departed. More...
 
bool hasDevice (const std::string &deviceName) const
 check whether the vehicle is equiped with a device of the given type More...
 
bool hasValidRoute (std::string &msg, const MSRoute *route=0) const
 Validates the current or given route. More...
 
virtual bool hasValidRouteStart (std::string &msg)
 checks wether the vehicle can depart on the first edge More...
 
virtual void initDevices ()
 
virtual bool isContainer () const
 Whether it is a container. More...
 
virtual bool isFrontOnLane (const MSLane *) const
 Returns the information whether the front of the vehhicle is on the given lane. More...
 
bool isLineStop (double position) const
 returns whether the vehicle serves a public transport line that serves the given stop More...
 
virtual bool isPerson () const
 Whether it is a person. More...
 
virtual bool isRemoteControlled () const
 Returns the information whether the vehicle is fully controlled via TraCI. More...
 
bool isVehicle () const
 Whether it is a vehicle. More...
 
void onDepart ()
 Called when the vehicle is inserted into the network. More...
 
virtual void onLeftBtnPress (void *)
 notify object about left click More...
 
void removeReminder (MSMoveReminder *rem)
 Removes a MoveReminder dynamically. More...
 
void removeTransportable (MSTransportable *t)
 removes a person or container More...
 
void replaceParameter (const SUMOVehicleParameter *newParameter)
 replace the vehicle parameter (deleting the old one) More...
 
bool replaceRouteEdges (ConstMSEdgeVector &edges, double cost, double savings, const std::string &info, bool onInit=false, bool check=false, bool removeStops=true)
 Replaces the current route by the given edges. More...
 
void replaceVehicleType (MSVehicleType *type)
 Replaces the current vehicle type by the one given. More...
 
void reroute (SUMOTime t, const std::string &info, SUMOAbstractRouter< MSEdge, SUMOVehicle > &router, const bool onInit=false, const bool withTaz=false, const bool silent=false)
 Performs a rerouting using the given router. More...
 
void resetRoutePosition (int index, DepartLaneDefinition departLaneProcedure)
 reset index of edge within route More...
 
void selectBlockingFoes () const
 adds the blocking foes to the current selection More...
 
virtual void setArrivalPos (double arrivalPos)
 Sets this vehicle's desired arrivalPos for its current route. More...
 
void setChosenSpeedFactor (const double factor)
 Returns the precomputed factor by which the driver wants to be faster than the speed limit. More...
 
void setDeviceParameter (const std::string &deviceName, const std::string &key, const std::string &value)
 try to set the given parameter from any of the vehicles devices, raise InvalidArgument if no device parameter by that name exists More...
 
void setID (const std::string &newID)
 set the id (inherited from Named but forbidden for vehicles) More...
 
const MSEdgesuccEdge (int nSuccs) const
 Returns the nSuccs'th successor of edge the vehicle is currently at. More...
 
virtual bool wasRemoteControlled (SUMOTime lookBack=DELTA_T) const
 Returns the information whether the vehicle is fully controlled via TraCI. More...
 
 ~GUIMEVehicle ()
 destructor More...
 
insertion/removal
void onRemovalFromNet (const MSMoveReminder::Notification reason)
 Called when the vehicle is removed from the network. More...
 
bool moveRoutePointer ()
 Update when the vehicle enters a new edge in the move step. More...
 
bool hasArrived () const
 Returns whether this vehicle has already arived (reached the arrivalPosition on its final edge) More...
 
bool isOnRoad () const
 Returns the information whether the vehicle is on a road (is simulated) More...
 
virtual bool isIdling () const
 Returns whether the vehicle is trying to re-enter the net. More...
 
void setApproaching (MSLink *link)
 registers vehicle with the given link More...
 
SUMOTime remainingStopDuration () const
 Returns the remaining stop duration for a stopped vehicle or 0. More...
 
void processStop ()
 ends the current stop and performs loading/unloading More...
 
bool stopsAt (MSStoppingPlace *) const
 Returns whether the vehicle stops at the given stopping place. More...
 
bool stopsAtEdge (const MSEdge *) const
 Returns whether the vehicle stops at the given edge. More...
 
SUMOTime checkStop (SUMOTime time)
 Returns until when to stop at the current segment and sets the information that the stop has been reached. More...
 
double getBrakeGap () const
 get distance for coming to a stop (used for rerouting checks) More...
 
bool replaceParkingArea (MSParkingArea *, std::string &)
 replace the current parking area stop with a new stop with merge duration More...
 
MSParkingAreagetNextParkingArea ()
 get the current parking area stop More...
 
const SUMOVehicleParameter::StopgetNextStopParameter () const
 Returns parameters of the next stop or nullptr. More...
 
void setEventTime (SUMOTime t, bool hasDelay=true)
 Sets the (planned) time at which the vehicle leaves his current cell. More...
 
SUMOTime getEventTime () const
 Returns the (planned) time at which the vehicle leaves his current cell. More...
 
virtual void setSegment (MESegment *s, int idx=0)
 Sets the current segment the vehicle is at together with its que. More...
 
MESegmentgetSegment () const
 Returns the current segment the vehicle is on. More...
 
int getQueIndex () const
 Returns the index of the que the vehicle is in. More...
 
void setLastEntryTime (SUMOTime t)
 Sets the entry time for the current segment. More...
 
SUMOTime getLastEntryTime () const
 Returns the time the vehicle entered the current segment. More...
 
void setBlockTime (const SUMOTime t)
 Sets the time at which the vehicle was blocked. More...
 
SUMOTime getBlockTime () const
 Returns the time at which the vehicle was blocked. More...
 
SUMOTime getWaitingTime () const
 Returns the duration for which the vehicle was blocked. More...
 
SUMOTime getTimeLoss () const
 
SUMOTime getAccumulatedWaitingTime () const
 Returns the duration for which the vehicle was blocked. More...
 
double getWaitingSeconds () const
 Returns the number of seconds waited (speed was lesser than 0.1m/s) More...
 
double getEventTimeSeconds () const
 Returns the earliest leave time for the current segment. More...
 
double getLastEntryTimeSeconds () const
 Returns the entry time for the current segment. More...
 
double getBlockTimeSeconds () const
 Returns the time at which the vehicle was blocked on the current segment. More...
 
double getCurrentLinkPenaltySeconds () const
 Returns the delay that is accrued due to option –meso-tls-penalty or –meso-minor-penalty. More...
 
double getCurrentStoppingTimeSeconds () const
 Returns the delay that is accrued due to option –meso-tls-penalty or –meso-minor-penalty. More...
 
bool replaceRoute (const MSRoute *route, const std::string &info, bool onInit=false, int offset=0, bool addRouteStops=true, bool removeStops=true)
 Replaces the current route by the given one. More...
 
bool mayProceed () const
 Returns whether the vehicle is allowed to pass the next junction. More...
 
void updateDetectorForWriting (MSMoveReminder *rem, SUMOTime currentTime, SUMOTime exitTime)
 Updates a single vehicle detector if present. More...
 
void updateDetectors (SUMOTime currentTime, const bool isLeave, const MSMoveReminder::Notification reason=MSMoveReminder::NOTIFICATION_JUNCTION)
 Updates all vehicle detectors. More...
 
BaseInfluencergetBaseInfluencer ()
 Returns the velocity/lane influencer. More...
 
const BaseInfluencergetBaseInfluencer () const
 
bool hasInfluencer () const
 
state io
virtual bool handleCollisionStop (MSStop &stop, const bool collision, const double distToStop, const std::string &errorMsgStart, std::string &errorMsg)
 
bool isStopped () const
 Returns whether the vehicle is at a stop. More...
 
bool isParking () const
 Returns whether the vehicle is parking. More...
 
bool isStoppedTriggered () const
 Returns whether the vehicle is on a triggered stop. More...
 
bool isStoppedInRange (const double pos, const double tolerance) const
 return whether the given position is within range of the current stop More...
 
bool hasStops () const
 Returns whether the vehicle has to stop somewhere. More...
 
double basePos (const MSEdge *edge) const
 departure position where the vehicle fits fully onto the edge (if possible) More...
 
bool addStop (const SUMOVehicleParameter::Stop &stopPar, std::string &errorMsg, SUMOTime untilOffset=0, bool collision=false, MSRouteIterator *searchStart=nullptr)
 Adds a stop. More...
 
void addStops (const bool ignoreStopErrors, MSRouteIterator *searchStart=nullptr)
 Adds stops to the built vehicle. More...
 
bool haveValidStopEdges () const
 check whether all stop.edge MSRouteIterators are valid and in order More...
 
const ConstMSEdgeVector getStopEdges (double &firstPos, double &lastPos) const
 Returns the list of still pending stop edges also returns the first and last stop position. More...
 
std::vector< std::pair< int, double > > getStopIndices () const
 return list of route indices for the remaining stops More...
 
const std::list< MSStop > & getStops () const
 
const std::vector< SUMOVehicleParameter::Stop > & getPastStops () const
 
virtual bool resumeFromStopping ()
 
bool abortNextStop (int nextStopIndex=0)
 deletes the next stop at the given index if it exists More...
 
virtual bool isSelected () const
 whether this vehicle is selected in the GUI More...
 
int getRNGIndex () const
 
std::mt19937 * getRNG () const
 
NumericalID getNumericalID () const
 return the numerical ID which is only for internal usage More...
 
const MSDevice_TransportablegetPersonDevice () const
 
const MSDevice_TransportablegetContainerDevice () const
 
inherited from GUIGlObject
GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own popup-menu. More...
 
void removedPopupMenu ()
 notify object about popup menu removal More...
 
const std::string getOptionalName () const
 Returns the value for generic parameter 'name' or ''. More...
 
void drawOnPos (const GUIVisualizationSettings &s, const Position &pos, const double angle) const
 Draws the object on the specified position with the specified angle. More...
 
void drawGL (const GUIVisualizationSettings &s) const
 Draws the object. More...
 
virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additionally triggered visualisations. More...
 
Atomar getter methods

Returns the full name appearing in the tool tip

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

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

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

Static Public Member Functions

template<class T >
static std::string getIDSecure (const T *obj, const std::string &fallBack="NULL")
 get an identifier for Named-like object which may be Null More...
 
static bool setFunctionalColor (int activeScheme, const MSBaseVehicle *veh, RGBColor &col)
 sets the color according to the current scheme index and some vehicle function More...
 

Static Public Attributes

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

Protected Member Functions

void buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
void buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
void computeSeats (const Position &front, const Position &back, double seatOffset, int maxSeats, double exaggeration, int &requiredSeats, Seats &into) const
 add seats to mySeatPositions and update requiredSeats More...
 
bool drawAction_drawVehicleAsPolyWithCarriagges (const GUIVisualizationSettings &s, bool asImage=false) const
 draw vehicle body and return whether carriages are being drawn More...
 
const SeatgetContainerPosition (int containerIndex) const
 
const SeatgetSeatPosition (int personIndex) const
 returns the seat position for the person with the given index More...
 
const MSVehicleTypegetVType () const
 A shortcut to myVehicle.myType. More...
 
RGBColor setColor (const GUIVisualizationSettings &s) const
 sets the color according to the currente settings More...
 
helper methods for building popup-menus
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header. More...
 
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object. More...
 
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard. More...
 
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object. More...
 
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window. More...
 
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window. More...
 
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More...
 
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window. More...
 

Static Protected Member Functions

static void drawLinkItem (const Position &pos, SUMOTime arrivalTime, SUMOTime leaveTime, double exagerate)
 

Protected Attributes

int myArrivalLane
 The destination lane where the vehicle stops. More...
 
double myArrivalPos
 The position on the destination lane where the vehicle stops. More...
 
MSDevice_TransportablemyContainerDevice
 The containers this vehicle may have. More...
 
Seats myContainerPositions
 
double myDepartPos
 The real depart position. More...
 
SUMOTime myDeparture
 The real departure time. More...
 
std::vector< MSVehicleDevice * > myDevices
 The devices this vehicle has. More...
 
std::string myID
 The name of the object. More...
 
FXMutex myLock
 The mutex used to avoid concurrent updates of the vehicle buffer. More...
 
int myNumberReroutes
 The number of reroutings. More...
 
double myOdometer
 A simple odometer to keep track of the length of the route already driven. More...
 
MSDevice_TransportablemyPersonDevice
 The passengers this vehicle may have. More...
 
int myRouteValidity
 status of the current vehicle route More...
 
Seats mySeatPositions
 positions of seats in the vehicle (updated at every drawing step) More...
 
SUMOTime myStopUntilOffset
 The offset when adding route stops with 'until' on route replacement. More...
 

Static Protected Attributes

static std::vector< MSTransportable * > myEmptyTransportableVector
 
static const SUMOTime NOT_YET_DEPARTED = SUMOTime_MAX
 

Private Member Functions

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

Private Attributes

MSEdgeWeightsStoragemyEdgeWeights
 
std::string myFullName
 full name of GL Object More...
 
GUIGlID myGlID
 The numerical id of the object. More...
 
const GUIGlObjectType myGLObjectType
 The type of the object. More...
 
std::string myMicrosimID
 ID of GL object. More...
 
const NumericalID myNumericalID
 
std::set< GUIParameterTableWindow * > myParamWindows
 Parameter table windows which refer to this object. More...
 
GUIGLObjectPopupMenumyPopup
 current popup (to clean up in destructor). GUIBaseVehicle is not responsible for removal More...
 
MSDevice_VehroutesmyRoutes
 
MSBaseVehiclemyVehicle
 The vehicle to which all calls should be delegated. More...
 

Static Private Attributes

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

state io

void saveState (OutputDevice &out)
 Saves the states of a vehicle. More...
 
void loadState (const SUMOSAXAttributes &attrs, const SUMOTime offset)
 Loads the state of this vehicle from the given description. More...
 
MESegmentmySegment
 The segment the vehicle is at. More...
 
int myQueIndex
 Index of the que the vehicle is in (important for multiqueue extension) More...
 
SUMOTime myEventTime
 The (planned) time of leaving the segment (cell) More...
 
SUMOTime myLastEntryTime
 The time the vehicle entered its current segment. More...
 
SUMOTime myBlockTime
 The time at which the vehicle was blocked on its current segment. More...
 
BaseInfluencermyInfluencer
 An instance of a velocity/lane influencing instance; built in "getInfluencer". More...
 

Emission retrieval

double getCO2Emissions () const
 Returns CO2 emission of the current state. More...
 
double getCOEmissions () const
 Returns CO emission of the current state. More...
 
double getHCEmissions () const
 Returns HC emission of the current state. More...
 
double getNOxEmissions () const
 Returns NOx emission of the current state. More...
 
double getPMxEmissions () const
 Returns PMx emission of the current state. More...
 
double getFuelConsumption () const
 Returns fuel consumption of the current state. More...
 
double getElectricityConsumption () const
 Returns electricity consumption of the current state. More...
 
double getStateOfCharge () const
 Returns actual state of charge of battery (Wh) RICE_CHECK: This may be a misnomer, SOC is typically percentage of the maximum battery capacity. More...
 
double getElecHybridCurrent () const
 Returns actual current (A) of ElecHybrid device RICE_CHECK: Is this the current consumed from the overhead wire or the current driving the poweertrain of the vehicle? More...
 
double getHarmonoise_NoiseEmissions () const
 Returns noise emissions of the current state. More...
 
const MSEdgeWeightsStoragegetWeightsStorage () const
 Returns the vehicle's internal edge travel times/efforts container. More...
 
MSEdgeWeightsStoragegetWeightsStorage ()
 
virtual std::pair< const MSVehicle *const, double > getLeader (double dist=0) const
 Returns the leader of the vehicle looking for a fixed distance. More...
 
virtual std::pair< const MSVehicle *const, double > getFollower (double dist=0) const
 Returns the follower of the vehicle looking for a fixed distance. More...
 
void calculateArrivalParams ()
 (Re-)Calculates the arrival position and lane from the vehicle parameters More...
 
const SUMOVehicleParametermyParameter
 This vehicle's parameter. More...
 
const MSRoutemyRoute
 This vehicle's route. More...
 
MSVehicleTypemyType
 This vehicle's type. More...
 
MSRouteIterator myCurrEdge
 Iterator to current route-edge. More...
 
double myChosenSpeedFactor
 A precomputed factor by which the driver wants to be faster than the speed limit. More...
 
std::list< MSStopmyStops
 The vehicle's list of stops. More...
 
std::vector< SUMOVehicleParameter::StopmyPastStops
 The list of stops that the vehicle has already reached. More...
 

Additional visualisations

bool hasActiveAddVisualisation (GUISUMOAbstractView *const parent, int which) const
 Returns whether the named feature is enabled in the given view. More...
 
void addActiveAddVisualisation (GUISUMOAbstractView *const parent, int which)
 Adds the named visualisation feature to the given view. More...
 
void removeActiveAddVisualisation (GUISUMOAbstractView *const parent, int which)
 Adds the named visualisation feature to the given view. More...
 
void drawRoute (const GUIVisualizationSettings &s, int routeNo, double darken, bool future=false, bool noLoop=false) const
 Chooses the route to draw and draws it, darkening it as given. More...
 
enum  VisualisationFeatures {
  VO_SHOW_BEST_LANES = 1 , VO_SHOW_ROUTE = 2 , VO_SHOW_ALL_ROUTES = 4 , VO_SHOW_LFLINKITEMS = 8 ,
  VO_DRAW_OUTSIDE_NETWORK = 16 , VO_SHOW_FUTURE_ROUTE = 32 , VO_SHOW_ROUTE_NOLOOP = 64
}
 Additional visualisation feature ids. More...
 
std::map< GUISUMOAbstractView *, int > myAdditionalVisualizations
 Enabled visualisations, per view. More...
 

Move reminder structures

MoveReminderCont myMoveReminders
 Currently relevant move reminders. More...
 
typedef std::vector< std::pair< MSMoveReminder *, double > > MoveReminderCont
 Definition of a move reminder container. More...
 

Detailed Description

A MSVehicle extended by some values for usage within the gui.

A visualisable MSVehicle. Extended by the possibility to retrieve names of all available vehicles (static) and the possibility to retrieve the color of the vehicle which is available in different forms allowing an easier recognition of done actions such as lane changing.

Definition at line 52 of file GUIMEVehicle.h.

Member Typedef Documentation

◆ MoveReminderCont

typedef std::vector< std::pair<MSMoveReminder*, double> > MSBaseVehicle::MoveReminderCont
protectedinherited

Definition of a move reminder container.

Definition at line 813 of file MSBaseVehicle.h.

◆ NumericalID

typedef long long int SUMOVehicle::NumericalID
inherited

Definition at line 60 of file SUMOVehicle.h.

◆ Seats

typedef std::vector<Seat> GUIBaseVehicle::Seats
inherited

Definition at line 76 of file GUIBaseVehicle.h.

Member Enumeration Documentation

◆ RouteValidity

Enumerator
ROUTE_VALID 
ROUTE_UNCHECKED 
ROUTE_INVALID 

route was checked and is valid

ROUTE_START_INVALID_PERMISSIONS 
ROUTE_START_INVALID_LANE 

Definition at line 66 of file MSBaseVehicle.h.

◆ VisualisationFeatures

Additional visualisation feature ids.

Enumerator
VO_SHOW_BEST_LANES 

show vehicle's best lanes

VO_SHOW_ROUTE 

show vehicle's current route

VO_SHOW_ALL_ROUTES 

show all vehicle's routes

VO_SHOW_LFLINKITEMS 

LFLinkItems.

VO_DRAW_OUTSIDE_NETWORK 

draw vehicle outside the road network

VO_SHOW_FUTURE_ROUTE 

show vehicle's current continued from the current position

VO_SHOW_ROUTE_NOLOOP 

show vehicle's routes without loops

Definition at line 302 of file GUIBaseVehicle.h.

Constructor & Destructor Documentation

◆ GUIMEVehicle()

GUIMEVehicle::GUIMEVehicle ( SUMOVehicleParameter pars,
const MSRoute route,
MSVehicleType type,
const double  speedFactor 
)

Constructor.

Parameters
[in]parsThe vehicle description
[in]routeThe vehicle's route
[in]typeThe vehicle's type
[in]speedFactorThe factor for driven lane's speed limits
Exceptions
ProcessErrorIf a value is wrong

Definition at line 46 of file GUIMEVehicle.cpp.

◆ ~GUIMEVehicle()

GUIMEVehicle::~GUIMEVehicle ( )

destructor

Definition at line 56 of file GUIMEVehicle.cpp.

Member Function Documentation

◆ _getWeightsStorage()

MSEdgeWeightsStorage & MSBaseVehicle::_getWeightsStorage ( ) const
privateinherited

Definition at line 1257 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myEdgeWeights.

Referenced by MSBaseVehicle::getWeightsStorage().

Here is the caller graph for this function:

◆ abortNextStop()

bool MSBaseVehicle::abortNextStop ( int  nextStopIndex = 0)
virtualinherited

deletes the next stop at the given index if it exists

Implements SUMOVehicle.

Definition at line 1124 of file MSBaseVehicle.cpp.

References MSBaseVehicle::hasStops(), MSBaseVehicle::isStopped(), MSBaseVehicle::myStops, and MSBaseVehicle::resumeFromStopping().

Referenced by MSDevice_Taxi::customerArrived().

Here is the caller graph for this function:

◆ activateReminders()

void MSBaseVehicle::activateReminders ( const MSMoveReminder::Notification  reason,
const MSLane enteredLane = 0 
)
virtualinherited

"Activates" all current move reminder

For all move reminder stored in "myMoveReminders", their method "MSMoveReminder::notifyEnter" is called.

Parameters
[in]reasonThe reason for changing the reminders' states
[in]enteredLaneThe lane, which is entered (if applicable)
See also
MSMoveReminder
MSMoveReminder::notifyEnter
MSMoveReminder::Notification

Reimplemented in MSVehicle.

Definition at line 664 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myMoveReminders.

Referenced by MESegment::receive(), and MELoop::teleportVehicle().

Here is the caller graph for this function:

◆ addActiveAddVisualisation()

void GUIBaseVehicle::addActiveAddVisualisation ( GUISUMOAbstractView *const  parent,
int  which 
)
inherited

Adds the named visualisation feature to the given view.

Parameters
[in]parentThe view for which the feature shall be enabled
[in]whichThe visualisation feature to enable
See also
GUISUMOAbstractView::addAdditionalGLVisualisation

Definition at line 769 of file GUIBaseVehicle.cpp.

References GUISUMOAbstractView::addAdditionalGLVisualisation(), and GUIBaseVehicle::myAdditionalVisualizations.

Referenced by GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowBestLanes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFutureRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowLFLinkItems(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowRouteNoLoops(), and GUIViewTraffic::onGamingClick().

Here is the caller graph for this function:

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

Definition at line 309 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::GUIParameterTableWindow().

Here is the caller graph for this function:

◆ addReminder()

void MSBaseVehicle::addReminder ( MSMoveReminder rem)
inherited

Adds a MoveReminder dynamically.

Parameters
[in]remthe reminder to add
See also
MSMoveReminder

Definition at line 637 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myMoveReminders.

Referenced by MSVehicle::adaptLaneEntering2MoveReminder(), MESegment::addReminders(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtLaneChange(), and MSVehicle::processNextStop().

Here is the caller graph for this function:

◆ addStop()

bool MSBaseVehicle::addStop ( const SUMOVehicleParameter::Stop stopPar,
std::string &  errorMsg,
SUMOTime  untilOffset = 0,
bool  collision = false,
MSRouteIterator searchStart = nullptr 
)
virtualinherited

Adds a stop.

The stop is put into the sorted list.

Parameters
[in]stopThe stop to add
Returns
Whether the stop could be added

Implements SUMOVehicle.

Definition at line 826 of file MSBaseVehicle.cpp.

References MSLane::allowsVehicleClass(), SUMOVehicleParameter::Stop::arrival, BASE, MSBaseVehicle::basePos(), MSStop::busstop, MSStop::chargingStation, MSStop::collision, MSStop::containerstop, DEFAULT, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, MSEdge::dictionary(), MSLane::dictionary(), MSStop::edge, SUMOVehicleParameter::Stop::edge, MSRoute::end(), SUMOVehicleParameter::Stop::endPos, MSBaseVehicle::getEdge(), MSLane::getEdge(), MSStop::getEndPos(), Named::getID(), MSNet::getInstance(), SUMOTrafficObject::getLane(), MSEdge::getLanes(), MSBaseVehicle::getLength(), MSLane::getLength(), MSVehicleType::getLength(), MSLane::getNextNormal(), MSEdge::getNormalBefore(), SUMOTrafficObject::getPositionOnLane(), MELoop::getSegmentForEdge(), MSBaseVehicle::getVClass(), MSVehicleType::getVehicleClass(), GIVEN, MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSBaseVehicle::handleCollisionStop(), MSBaseVehicle::hasDeparted(), SUMOVehicleParameter::id, SUMOVehicleParameter::Stop::index, MSStop::initPars(), MSEdge::isInternal(), MSLane::isInternal(), MSStop::lane, SUMOVehicleParameter::Stop::lane, MIN2(), MSBaseVehicle::myCurrEdge, MSBaseVehicle::myParameter, MSBaseVehicle::myRoute, MSBaseVehicle::myStops, MSBaseVehicle::myType, MSStop::overheadWireSegment, MSStop::parkingarea, MSStop::pars, MSStop::segment, SUMOVehicleParameter::Stop::startPos, STOP_INDEX_END, STOP_INDEX_FIT, SUMOVehicleParameter::Stop::until, and MSNet::warnOnce().

Referenced by MSBaseVehicle::addStops(), MSVehicle::addTraciStop(), MSLane::handleCollisionBetween(), MSBaseVehicle::replaceRoute(), and GUIVehicle::rerouteDRTStop().

Here is the caller graph for this function:

◆ addStops()

void MSBaseVehicle::addStops ( const bool  ignoreStopErrors,
MSRouteIterator searchStart = nullptr 
)
inherited

Adds stops to the built vehicle.

This code needs to be separated from the MSBaseVehicle constructor since it is not allowed to call virtual functions from a constructor

Parameters
[in]ignoreStopErrorswhether invalid stops trigger a warning only

Definition at line 994 of file MSBaseVehicle.cpp.

References MSBaseVehicle::addStop(), SUMOVehicleParameter::depart, SUMOVehicleParameter::Stop::endPos, MSRoute::getStops(), MSBaseVehicle::myParameter, MSBaseVehicle::myRoute, SUMOVehicleParameter::repetitionOffset, SUMOVehicleParameter::repetitionsDone, SUMOVehicleParameter::Stop::startPos, SUMOVehicleParameter::stops, and WRITE_WARNING.

Referenced by MSVehicleControl::initVehicle(), and MSBaseVehicle::replaceRoute().

Here is the caller graph for this function:

◆ addTo()

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

Adds this object to the given container.

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

Definition at line 117 of file Named.h.

References Named::StoringVisitor::add().

◆ addTransportable()

void MSBaseVehicle::addTransportable ( MSTransportable transportable)
virtualinherited

Adds a person or container to this vehicle.

Parameters
[in]transportableThe person/container to add

Implements SUMOVehicle.

Reimplemented in MSVehicle.

Definition at line 544 of file MSBaseVehicle.cpp.

References MSDevice_Transportable::addTransportable(), MSDevice_Transportable::buildVehicleDevices(), SUMOVehicleParameter::depart, DEPART_CONTAINER_TRIGGERED, DEPART_TRIGGERED, SUMOVehicleParameter::departProcedure, MSNet::getCurrentTimeStep(), MSNet::getInstance(), MSTransportable::isPerson(), MSBaseVehicle::myContainerDevice, MSBaseVehicle::myDevices, MSBaseVehicle::myMoveReminders, MSBaseVehicle::myParameter, and MSBaseVehicle::myPersonDevice.

Referenced by MSVehicle::addTransportable().

Here is the caller graph for this function:

◆ allowsBoarding()

bool MSBaseVehicle::allowsBoarding ( MSTransportable t) const
virtualinherited

whether the given transportable is allowed to board this vehicle

Implements SUMOVehicle.

Definition at line 531 of file MSBaseVehicle.cpp.

References MSDevice_Taxi::allowsBoarding(), MSBaseVehicle::getDevice(), MSBaseVehicle::getPersonNumber(), and MSBaseVehicle::getVehicleType().

◆ basePos()

double MSBaseVehicle::basePos ( const MSEdge edge) const
inherited

departure position where the vehicle fits fully onto the edge (if possible)

Definition at line 814 of file MSBaseVehicle.cpp.

References MSRoute::begin(), MSBaseVehicle::getLength(), MSEdge::getLength(), MSBaseVehicle::getVehicleType(), MSBaseVehicle::hasStops(), MAX2(), MIN2(), MSBaseVehicle::myRoute, and MSBaseVehicle::myStops.

Referenced by MSBaseVehicle::addStop(), and MSLane::insertVehicle().

Here is the caller graph for this function:

◆ buildAdditionalsPopupOptions()

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

◆ buildCenterPopupEntry()

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

Builds an entry which allows to center to the object.

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

Definition at line 238 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

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

Builds the header.

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

Definition at line 229 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildPositionCopyEntry()

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

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

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

Definition at line 288 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildSelectionPopupEntry()

◆ buildShapePopupOptions()

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

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

Definition at line 324 of file GUIGlObject.cpp.

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

Referenced by GNEPOI::getPopUpMenu(), and GUIPointOfInterest::getPopUpMenu().

Here is the caller graph for this function:

◆ buildShowManipulatorPopupEntry()

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

Builds an entry which allows to open the manipulator window.

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

Definition at line 300 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowParamsPopupEntry()

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

Builds an entry which allows to open the parameter window.

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

Definition at line 270 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowTypeParamsPopupEntry()

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

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

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

Definition at line 279 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ calculateArrivalParams()

◆ checkStop()

SUMOTime MEVehicle::checkStop ( SUMOTime  time)
inherited

Returns until when to stop at the current segment and sets the information that the stop has been reached.

Parameters
[in]timethe current time
Returns
stop time for the segment

Definition at line 213 of file MEVehicle.cpp.

References MSStopOut::active(), MSBaseVehicle::getContainerNumber(), MSStopOut::getInstance(), MSBaseVehicle::getPersonNumber(), MSBaseVehicle::myCurrEdge, MEVehicle::myLastEntryTime, MEVehicle::mySegment, MSBaseVehicle::myStops, and MSStopOut::stopStarted().

Referenced by MESegment::receive().

Here is the caller graph for this function:

◆ computeSeats()

void GUIBaseVehicle::computeSeats ( const Position front,
const Position back,
double  seatOffset,
int  maxSeats,
double  exaggeration,
int &  requiredSeats,
Seats into 
) const
protectedinherited

add seats to mySeatPositions and update requiredSeats

Definition at line 900 of file GUIBaseVehicle.cpp.

References Position::angleTo2D(), Position::distanceTo2D(), GUIBaseVehicle::getVType(), MSVehicleType::getWidth(), MAX2(), and PositionVector::positionAtOffset2D().

Referenced by GUIVehicle::drawAction_drawCarriageClass(), and GUIBaseVehicle::drawOnPos().

Here is the caller graph for this function:

◆ createDevice()

void MSBaseVehicle::createDevice ( const std::string &  deviceName)
inherited

◆ createFullName()

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

create full name

Definition at line 370 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ drawAction_drawCarriageClass()

void GUIMEVehicle::drawAction_drawCarriageClass ( const GUIVisualizationSettings s,
bool  asImage 
) const
virtual

draws the given guiShape with distinct carriages/modules

Implements GUIBaseVehicle.

Definition at line 152 of file GUIMEVehicle.cpp.

References GUIBaseVehicleHelper::drawAction_drawVehicleAsBoxPlus(), MSBaseVehicle::getLength(), GUIBaseVehicle::getVType(), and MSBaseVehicle::getWidth().

◆ drawAction_drawLinkItems()

virtual void GUIBaseVehicle::drawAction_drawLinkItems ( const GUIVisualizationSettings ) const
inlinevirtualinherited

Reimplemented in GUIVehicle.

Definition at line 142 of file GUIBaseVehicle.h.

Referenced by GUIBaseVehicle::drawGLAdditional().

Here is the caller graph for this function:

◆ drawAction_drawPersonsAndContainers()

void GUIBaseVehicle::drawAction_drawPersonsAndContainers ( const GUIVisualizationSettings s) const
virtualinherited

◆ drawAction_drawVehicleAsPolyWithCarriagges()

bool GUIBaseVehicle::drawAction_drawVehicleAsPolyWithCarriagges ( const GUIVisualizationSettings s,
bool  asImage = false 
) const
protectedinherited

draw vehicle body and return whether carriages are being drawn

Definition at line 857 of file GUIBaseVehicle.cpp.

References GUIBaseVehicle::drawAction_drawCarriageClass(), GUIBaseVehicleHelper::drawAction_drawVehicleAsImage(), GUIBaseVehicleHelper::drawAction_drawVehicleAsPoly(), and GUIBaseVehicle::getVType().

Referenced by GUIBaseVehicle::drawOnPos().

Here is the caller graph for this function:

◆ drawAction_drawVehicleBlinker()

virtual void GUIBaseVehicle::drawAction_drawVehicleBlinker ( double  ) const
inlinevirtualinherited

Reimplemented in GUIVehicle.

Definition at line 137 of file GUIBaseVehicle.h.

Referenced by GUIBaseVehicle::drawOnPos().

Here is the caller graph for this function:

◆ drawAction_drawVehicleBlueLight()

virtual void GUIBaseVehicle::drawAction_drawVehicleBlueLight ( ) const
inlinevirtualinherited

Reimplemented in GUIVehicle.

Definition at line 146 of file GUIBaseVehicle.h.

Referenced by GUIBaseVehicle::drawOnPos().

Here is the caller graph for this function:

◆ drawAction_drawVehicleBrakeLight()

virtual void GUIBaseVehicle::drawAction_drawVehicleBrakeLight ( double  length,
bool  onlyOne = false 
) const
inlinevirtualinherited

Reimplemented in GUIVehicle.

Definition at line 138 of file GUIBaseVehicle.h.

References UNUSED_PARAMETER.

Referenced by GUIBaseVehicle::drawOnPos().

Here is the caller graph for this function:

◆ drawBestLanes()

virtual void GUIBaseVehicle::drawBestLanes ( ) const
inlinevirtualinherited

Draws the vehicle's best lanes.

Reimplemented in GUIVehicle.

Definition at line 145 of file GUIBaseVehicle.h.

Referenced by GUIBaseVehicle::drawGLAdditional().

Here is the caller graph for this function:

◆ drawGL()

void GUIBaseVehicle::drawGL ( const GUIVisualizationSettings s) const
virtualinherited

Draws the object.

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

Implements GUIGlObject.

Definition at line 597 of file GUIBaseVehicle.cpp.

References GUIBaseVehicle::drawOnPos(), GUIBaseVehicle::getAngle(), and GUIBaseVehicle::getPosition().

Referenced by GUILane::drawGL(), GUIParkingArea::drawGL(), and GUIBaseVehicle::drawGLAdditional().

Here is the caller graph for this function:

◆ drawGLAdditional()

◆ drawLinkItem()

void GUIBaseVehicle::drawLinkItem ( const Position pos,
SUMOTime  arrivalTime,
SUMOTime  leaveTime,
double  exagerate 
)
staticprotectedinherited

Definition at line 640 of file GUIBaseVehicle.cpp.

References GLHelper::drawFilledCircle(), GLHelper::drawText(), RGBColor::GREEN, STEPS2TIME, toString(), Position::x(), and Position::y().

Referenced by GUIVehicle::drawAction_drawLinkItems().

Here is the caller graph for this function:

◆ drawName()

◆ drawOnPos()

void GUIBaseVehicle::drawOnPos ( const GUIVisualizationSettings s,
const Position pos,
const double  angle 
) const
inherited

Draws the object on the specified position with the specified angle.

Parameters
[in]sThe settings for the current view (may influence drawing)
[in]posThe position to draw the vehicle on
[in]angleThe drawing angle of the vehicle

Definition at line 396 of file GUIBaseVehicle.cpp.

References GUIVisualizationSettings::angle, GUIBaseVehicle::computeSeats(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBaseVehicleHelper::drawAction_drawVehicleAsBoxPlus(), GUIBaseVehicle::drawAction_drawVehicleAsPolyWithCarriagges(), GUIBaseVehicleHelper::drawAction_drawVehicleAsTrianglePlus(), GUIBaseVehicle::drawAction_drawVehicleBlinker(), GUIBaseVehicle::drawAction_drawVehicleBlueLight(), GUIBaseVehicle::drawAction_drawVehicleBrakeLight(), GUIVisualizationSettings::drawBrakeGap, GUIVisualizationSettings::drawLaneChangePreference, GUIVisualizationSettings::drawMinGap, GUIGlObject::drawName(), GLHelper::drawOutlineCircle(), GLHelper::drawTextSettings(), GUIPropertySchemeStorage< T >::getActive(), GUIBaseVehicle::getColorValue(), MSBaseVehicle::getDevice(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), MSVehicleType::getLength(), MSVehicleType::getMinGap(), GUIBaseVehicle::getNumContainers(), GUIBaseVehicle::getNumPassengers(), MSBaseVehicle::getParameter(), MSBaseVehicle::getPrefixedParameter(), MSDevice_BTreceiver::getRange(), SUMOTrafficObject::getSpeed(), GUIGlObject::getType(), StringTokenizer::getVector(), GUIBaseVehicle::getVType(), MSVehicleType::getWidth(), MSGlobals::gUseMesoSim, SUMOVehicleParameter::line, M_PI, MIN2(), GUIBaseVehicle::myContainerPositions, GUIBaseVehicle::mySeatPositions, GUIBaseVehicle::myVehicle, StringTokenizer::NEWLINE, RAD2DEG, GUIVisualizationSettings::scale, GUIVisualizationTextSettings::scaledSize(), GUIBaseVehicle::setColor(), GUIVisualizationTextSettings::show, GUIVisualizationSettings::showBlinker, GUIVisualizationSettings::showBTRange, SUMO_const_waitingContainerWidth, SUMO_const_waitingPersonWidth, SVS_ANT, SVS_BICYCLE, SVS_EMERGENCY, SVS_MOPED, SVS_MOTORCYCLE, SVS_PEDESTRIAN, SVS_RAIL, SVS_RAIL_CAR, SVS_RAIL_CARGO, SVS_SHIP, toString(), GUIVisualizationSettings::vehicleColorer, GUIVisualizationSettings::vehicleName, GUIVisualizationSettings::vehicleQuality, GUIVisualizationSettings::vehicleSize, GUIVisualizationSettings::vehicleText, GUIVisualizationSettings::vehicleTextParam, GUIVisualizationSettings::vehicleValue, Position::x(), and Position::y().

Referenced by GUIBaseVehicle::drawGL(), and GUIEdge::drawMesoVehicles().

Here is the caller graph for this function:

◆ drawRoute()

void GUIBaseVehicle::drawRoute ( const GUIVisualizationSettings s,
int  routeNo,
double  darken,
bool  future = false,
bool  noLoop = false 
) const
inherited

Chooses the route to draw and draws it, darkening it as given.

Parameters
[in]sThe visualisation settings, needed to determine the vehicle's color
[in]routeNoThe route to show (0: the current, >0: prior)
[in]darkenThe amount to darken the route by

Definition at line 789 of file GUIBaseVehicle.cpp.

References RGBColor::changedBrightness(), GUIBaseVehicle::drawRouteHelper(), MSBaseVehicle::getRoute(), MSDevice_Vehroutes::getRoute(), GUIBaseVehicle::myRoutes, GUIBaseVehicle::myVehicle, GUIBaseVehicle::setColor(), and GLHelper::setColor().

Referenced by GUIBaseVehicle::drawGLAdditional().

Here is the caller graph for this function:

◆ drawRouteHelper()

void GUIMEVehicle::drawRouteHelper ( const GUIVisualizationSettings s,
const MSRoute r,
bool  future,
bool  noLoop,
const RGBColor col 
) const
virtual

◆ estimateLeaveSpeed()

double MEVehicle::estimateLeaveSpeed ( const MSLink link) const
inherited

Returns the vehicle's estimated speed after driving accross the link.

See also
MSVehicle.cpp::estimateLeaveSpeed

Definition at line 123 of file MEVehicle.cpp.

References MSLink::getLength(), MEVehicle::getSpeed(), MSLane::getVehicleMaxSpeed(), MSBaseVehicle::getVehicleType(), MSLink::getViaLaneOrLane(), and MIN2().

Referenced by MESegment::isOpen().

Here is the caller graph for this function:

◆ getAcceleration()

double MSBaseVehicle::getAcceleration ( ) const
virtualinherited

Returns the vehicle's acceleration.

This default implementation returns always 0.

Returns
The acceleration

Implements SUMOTrafficObject.

Reimplemented in MSVehicle.

Definition at line 486 of file MSBaseVehicle.cpp.

Referenced by MSBaseVehicle::getCO2Emissions(), MSBaseVehicle::getCOEmissions(), MSBaseVehicle::getElectricityConsumption(), MSBaseVehicle::getFuelConsumption(), MSBaseVehicle::getHarmonoise_NoiseEmissions(), MSBaseVehicle::getHCEmissions(), MSBaseVehicle::getNOxEmissions(), and MSBaseVehicle::getPMxEmissions().

Here is the caller graph for this function:

◆ getAccumulatedWaitingTime()

SUMOTime MEVehicle::getAccumulatedWaitingTime ( ) const
inlinevirtualinherited

Returns the duration for which the vehicle was blocked.

Implements SUMOVehicle.

Definition at line 294 of file MEVehicle.h.

References MEVehicle::getWaitingTime().

Referenced by MSDevice_ElecHybrid::notifyLeave().

Here is the caller graph for this function:

◆ getAngle()

double GUIMEVehicle::getAngle ( ) const
inlinevirtual

Return current angle.

Note
implementation of abstract method does not work otherwise

Implements GUIBaseVehicle.

Definition at line 88 of file GUIMEVehicle.h.

References MEVehicle::getAngle().

◆ getArrivalPos()

virtual double MSBaseVehicle::getArrivalPos ( ) const
inlinevirtualinherited

Returns this vehicle's desired arrivalPos for its current route (may change on reroute)

Returns
This vehicle's real arrivalPos

Implements SUMOVehicle.

Definition at line 317 of file MSBaseVehicle.h.

References MSBaseVehicle::myArrivalPos.

Referenced by MSLCM_SL2015::_wantsChangeSublane(), MSLane::isInsertionSuccess(), MSVehicle::replaceStop(), and MSVehicle::rerouteParkingArea().

Here is the caller graph for this function:

◆ getAverageSpeed()

double MEVehicle::getAverageSpeed ( ) const
inherited

Returns the vehicle's estimated average speed on the segment assuming no further delays.

Returns
The vehicle's estimated average speed
Note
This is only an upper bound. The speed will be lower if the preceeding vehicle is delayed

Definition at line 117 of file MEVehicle.cpp.

References MESegment::getLength(), MEVehicle::myEventTime, MEVehicle::myLastEntryTime, MEVehicle::mySegment, and STEPS2TIME.

Referenced by MEVehicle::getSpeed(), and MSDevice_ElecHybrid::notifyLeave().

Here is the caller graph for this function:

◆ getBackPositionOnLane()

double MEVehicle::getBackPositionOnLane ( const MSLane lane) const
virtualinherited

Get the vehicle's position relative to the given lane.

Returns
The back position of the vehicle (in m from the given lane's begin)

Implements SUMOTrafficObject.

Definition at line 72 of file MEVehicle.cpp.

References MSVehicleType::getLength(), MEVehicle::getPositionOnLane(), and MSBaseVehicle::getVehicleType().

◆ getBaseInfluencer() [1/2]

MEVehicle::BaseInfluencer & MEVehicle::getBaseInfluencer ( )
virtualinherited

Returns the velocity/lane influencer.

If no influencer was existing before, one is built, first

Returns
Reference to this vehicle's speed influencer

Implements MSBaseVehicle.

Definition at line 360 of file MEVehicle.cpp.

References MEVehicle::myInfluencer.

◆ getBaseInfluencer() [2/2]

const MEVehicle::BaseInfluencer * MEVehicle::getBaseInfluencer ( ) const
virtualinherited

Implements MSBaseVehicle.

Definition at line 369 of file MEVehicle.cpp.

References MEVehicle::myInfluencer.

◆ getBlockTime()

SUMOTime MEVehicle::getBlockTime ( ) const
inlineinherited

Returns the time at which the vehicle was blocked.

Returns
The blocking time

Definition at line 278 of file MEVehicle.h.

References MEVehicle::myBlockTime.

Referenced by MELoop::checkCar(), and MEVehicle::getBlockTimeSeconds().

Here is the caller graph for this function:

◆ getBlockTimeSeconds()

double MEVehicle::getBlockTimeSeconds ( ) const
inlineinherited

Returns the time at which the vehicle was blocked on the current segment.

Definition at line 321 of file MEVehicle.h.

References MEVehicle::getBlockTime(), and STEPS2TIME.

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

Here is the caller graph for this function:

◆ getBrakeGap()

double MEVehicle::getBrakeGap ( ) const
inlinevirtualinherited

get distance for coming to a stop (used for rerouting checks)

Implements SUMOVehicle.

Definition at line 184 of file MEVehicle.h.

◆ getCenteringBoundary()

Boundary GUIMEVehicle::getCenteringBoundary ( ) const
virtual

◆ getChosenSpeedFactor()

double MSBaseVehicle::getChosenSpeedFactor ( ) const
inlinevirtualinherited

Returns the precomputed factor by which the driver wants to be faster than the speed limit.

Returns
Speed limit factor

Implements SUMOTrafficObject.

Definition at line 470 of file MSBaseVehicle.h.

References MSBaseVehicle::myChosenSpeedFactor.

Referenced by MSLane::getDepartSpeed(), GUIVehicle::getParameterWindow(), getParameterWindow(), and GUISUMOViewParent::onUpdSpeedFactor().

Here is the caller graph for this function:

◆ getCO2Emissions()

double MSBaseVehicle::getCO2Emissions ( ) const
inherited

Returns CO2 emission of the current state.

Returns
The current CO2 emission

Definition at line 1141 of file MSBaseVehicle.cpp.

References PollutantsInterface::CO2, PollutantsInterface::compute(), MSBaseVehicle::getAcceleration(), MSVehicleType::getEmissionClass(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), SUMOVehicle::isIdling(), MSBaseVehicle::isOnRoad(), and MSBaseVehicle::myType.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getCO2Emission(), GUIVehicle::getColorValue(), and GUIVehicle::getParameterWindow().

Here is the caller graph for this function:

◆ getCOEmissions()

double MSBaseVehicle::getCOEmissions ( ) const
inherited

Returns CO emission of the current state.

Returns
The current CO emission

Definition at line 1151 of file MSBaseVehicle.cpp.

References PollutantsInterface::CO, PollutantsInterface::compute(), MSBaseVehicle::getAcceleration(), MSVehicleType::getEmissionClass(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), SUMOVehicle::isIdling(), MSBaseVehicle::isOnRoad(), and MSBaseVehicle::myType.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getCOEmission(), GUIVehicle::getColorValue(), and GUIVehicle::getParameterWindow().

Here is the caller graph for this function:

◆ getColorValue()

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

◆ getConservativeSpeed()

double MEVehicle::getConservativeSpeed ( SUMOTime earliestArrival) const
inherited

Returns the vehicle's estimated speed taking into account delays.

Returns
The vehicle's estimated speed
Parameters
[in,out]earliestArrivalA lower bound on leaveTime, modified to contain new lower bound on leave Time
Note
This is only an upper bound. The speed may be even lower if there are further delays downstream

Definition at line 132 of file MEVehicle.cpp.

References DELTA_T, MESegment::getLength(), MAX2(), MEVehicle::myEventTime, MEVehicle::myLastEntryTime, MEVehicle::mySegment, and STEPS2TIME.

◆ getContainerDevice()

const MSDevice_Transportable* MSBaseVehicle::getContainerDevice ( ) const
inlineinherited

Definition at line 615 of file MSBaseVehicle.h.

References MSBaseVehicle::myContainerDevice.

Referenced by GUIBaseVehicle::getNumContainers().

Here is the caller graph for this function:

◆ getContainerNumber()

int MSBaseVehicle::getContainerNumber ( ) const
virtualinherited

Returns the number of containers.

Returns
The number of contaiers on-board

Implements SUMOVehicle.

Definition at line 1284 of file MSBaseVehicle.cpp.

References SUMOVehicleParameter::containerNumber, MSBaseVehicle::myContainerDevice, MSBaseVehicle::myParameter, and MSDevice_Transportable::size().

Referenced by MEVehicle::checkStop(), GUIVehicle::getParameterWindow(), MSVehicle::leaveLane(), MSVehicle::processNextStop(), and MSXMLRawOut::writeVehicle().

Here is the caller graph for this function:

◆ getContainerPosition()

const GUIBaseVehicle::Seat & GUIBaseVehicle::getContainerPosition ( int  containerIndex) const
protectedinherited

if there are not enough positions in the vehicle containers have to squeeze onto the last position

Definition at line 810 of file GUIBaseVehicle.cpp.

References MIN2(), and GUIBaseVehicle::myContainerPositions.

Referenced by GUIBaseVehicle::drawAction_drawPersonsAndContainers().

Here is the caller graph for this function:

◆ getContainers()

const std::vector< MSTransportable * > & MSBaseVehicle::getContainers ( ) const
virtualinherited

retrieve riding containers

Implements SUMOVehicle.

Definition at line 1313 of file MSBaseVehicle.cpp.

References MSDevice_Transportable::getTransportables(), MSBaseVehicle::myContainerDevice, and MSBaseVehicle::myEmptyTransportableVector.

Referenced by MSXMLRawOut::writeVehicle().

Here is the caller graph for this function:

◆ getCurrentLinkPenaltySeconds()

double MEVehicle::getCurrentLinkPenaltySeconds ( ) const
inherited

Returns the delay that is accrued due to option –meso-tls-penalty or –meso-minor-penalty.

Definition at line 295 of file MEVehicle.cpp.

References MESegment::getLinkPenalty(), MEVehicle::mySegment, and STEPS2TIME.

Referenced by getParameterWindow().

Here is the caller graph for this function:

◆ getCurrentRouteEdge()

const MSRouteIterator& MSBaseVehicle::getCurrentRouteEdge ( ) const
inlinevirtualinherited

Returns an iterator pointing to the current edge in this vehicles route.

Returns
The current route pointer

Implements SUMOVehicle.

Definition at line 223 of file MSBaseVehicle.h.

References MSBaseVehicle::myCurrEdge.

Referenced by MSRailSignal::DriveWay::deadlockLaneOccupied(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), MSRailSignal::hasOncomingRailTraffic(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), and MSVehicle::replaceStop().

Here is the caller graph for this function:

◆ getCurrentStoppingTimeSeconds()

double MEVehicle::getCurrentStoppingTimeSeconds ( ) const
inherited

Returns the delay that is accrued due to option –meso-tls-penalty or –meso-minor-penalty.

Definition at line 235 of file MEVehicle.cpp.

References MEVehicle::myLastEntryTime, MSBaseVehicle::myStops, and STEPS2TIME.

Referenced by getParameterWindow(), and MSDevice_Tripinfo::notifyMoveInternal().

Here is the caller graph for this function:

◆ getDepartDelay()

SUMOTime MSBaseVehicle::getDepartDelay ( ) const
inlinevirtualinherited

Returns the depart delay.

Implements SUMOVehicle.

Definition at line 288 of file MSBaseVehicle.h.

References SUMOVehicleParameter::depart, MSBaseVehicle::getDeparture(), and MSBaseVehicle::getParameter().

Referenced by GUIVehicle::getColorValue(), getColorValue(), GUIVehicle::getParameterWindow(), getParameterWindow(), and MSLane::insertVehicle().

Here is the caller graph for this function:

◆ getDepartPos()

double MSBaseVehicle::getDepartPos ( ) const
inlinevirtualinherited

Returns this vehicle's real departure position.

Returns
This vehicle's real departure position

Implements SUMOVehicle.

Definition at line 309 of file MSBaseVehicle.h.

References MSBaseVehicle::myDepartPos.

◆ getDeparture()

SUMOTime MSBaseVehicle::getDeparture ( ) const
inlinevirtualinherited

Returns this vehicle's real departure time.

Returns
This vehicle's real departure time

Implements SUMOVehicle.

Definition at line 283 of file MSBaseVehicle.h.

References MSBaseVehicle::myDeparture.

Referenced by MSBaseVehicle::getDepartDelay(), and MSVehicle::Influencer::postProcessRemoteControl().

Here is the caller graph for this function:

◆ getDevice()

MSVehicleDevice * MSBaseVehicle::getDevice ( const std::type_info &  type) const
virtualinherited

◆ getDeviceDescription()

std::string GUIBaseVehicle::getDeviceDescription ( )
inherited

lists equipped device (types) for the current vehicle

Definition at line 890 of file GUIBaseVehicle.cpp.

References MSBaseVehicle::getDevices(), joinToString(), and GUIBaseVehicle::myVehicle.

Referenced by GUIVehicle::getParameterWindow(), and getParameterWindow().

Here is the caller graph for this function:

◆ getDeviceParameter()

std::string MSBaseVehicle::getDeviceParameter ( const std::string &  deviceName,
const std::string &  key 
) const
inherited

try to retrieve the given parameter from any of the vehicles devices, raise InvalidArgument if no device parameter by that name exists

Definition at line 1373 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myDevices.

Referenced by MSBaseVehicle::getPrefixedParameter().

Here is the caller graph for this function:

◆ getDevices()

const std::vector<MSVehicleDevice*>& MSBaseVehicle::getDevices ( ) const
inlinevirtualinherited

Returns this vehicle's devices.

Returns
This vehicle's devices

Implements SUMOVehicle.

Definition at line 385 of file MSBaseVehicle.h.

References MSBaseVehicle::myDevices.

Referenced by GUIBaseVehicle::getDeviceDescription().

Here is the caller graph for this function:

◆ getEdge()

◆ getEdgeID()

std::string GUIMEVehicle::getEdgeID ( ) const

Definition at line 250 of file GUIMEVehicle.cpp.

References MSBaseVehicle::getEdge(), and Named::getID().

Referenced by getParameterWindow().

Here is the caller graph for this function:

◆ getElecHybridCurrent()

double MSBaseVehicle::getElecHybridCurrent ( ) const
inherited

Returns actual current (A) of ElecHybrid device RICE_CHECK: Is this the current consumed from the overhead wire or the current driving the poweertrain of the vehicle?

Returns
The current of ElecHybrid device

Definition at line 1225 of file MSBaseVehicle.cpp.

References MSDevice_ElecHybrid::getCurrentFromOverheadWire(), and MSBaseVehicle::getDevice().

Referenced by GUIVehicle::getParameterWindow().

Here is the caller graph for this function:

◆ getElectricityConsumption()

double MSBaseVehicle::getElectricityConsumption ( ) const
inherited

Returns electricity consumption of the current state.

Returns
The current electricity consumption

Definition at line 1201 of file MSBaseVehicle.cpp.

References PollutantsInterface::compute(), PollutantsInterface::ELEC, MSBaseVehicle::getAcceleration(), MSVehicleType::getEmissionClass(), MSBaseVehicle::getEmissionParameters(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), SUMOVehicle::isIdling(), MSBaseVehicle::isOnRoad(), and MSBaseVehicle::myType.

Referenced by GUIVehicle::getColorValue(), LIBSUMO_NAMESPACE::Vehicle::getElectricityConsumption(), and GUIVehicle::getParameterWindow().

Here is the caller graph for this function:

◆ getEmissionParameters()

const std::map< int, double > * MSBaseVehicle::getEmissionParameters ( ) const
virtualinherited

Returns the vehicle's emission model parameter.

Returns
The vehicle's emission parameters

Implements SUMOVehicle.

Definition at line 179 of file MSBaseVehicle.cpp.

References MSBaseVehicle::getDevice(), and MSDevice_Battery::getEnergyParams().

Referenced by MSBaseVehicle::getElectricityConsumption().

Here is the caller graph for this function:

◆ getEventTime()

SUMOTime MEVehicle::getEventTime ( ) const
inlineinherited

Returns the (planned) time at which the vehicle leaves his current cell.

Returns
The time the vehicle thinks he leaves his cell at

Definition at line 219 of file MEVehicle.h.

References MEVehicle::myEventTime.

Referenced by MELoop::addLeaderCar(), MELoop::checkCar(), MEVehicle::getEventTimeSeconds(), LIBSUMO_NAMESPACE::Vehicle::getLastActionTime(), MESegment::isOpen(), MESegment::receive(), MELoop::removeLeaderCar(), MESegment::send(), MEVehicle::setApproaching(), MESegment::setSpeedForQueue(), MELoop::teleportVehicle(), MEVehicle::updateDetectors(), and MELoop::vaporizeCar().

Here is the caller graph for this function:

◆ getEventTimeSeconds()

double MEVehicle::getEventTimeSeconds ( ) const
inlineinherited

Returns the earliest leave time for the current segment.

Definition at line 311 of file MEVehicle.h.

References MEVehicle::getEventTime(), and STEPS2TIME.

Referenced by getParameterWindow().

Here is the caller graph for this function:

◆ getFollower()

virtual std::pair<const MSVehicle* const, double> MSBaseVehicle::getFollower ( double  dist = 0) const
inlinevirtualinherited

Returns the follower of the vehicle looking for a fixed distance.

If the distance is not given it is set to the value of MSCFModel::brakeGap(2*roadSpeed, 4.5, 0) The gap returned does not include the minGap. If there are multiple followers, the one that maximizes the term (getSecureGap - gap) is returned.

Parameters
distup to which distance to look at least for a leader
Returns
The leading vehicle together with the gap; (0, -1) if no leader was found.

Reimplemented in MSVehicle.

Definition at line 772 of file MSBaseVehicle.h.

References UNUSED_PARAMETER, and WRITE_WARNING.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getFollower().

Here is the caller graph for this function:

◆ getFuelConsumption()

double MSBaseVehicle::getFuelConsumption ( ) const
inherited

Returns fuel consumption of the current state.

Returns
The current fuel consumption

Definition at line 1191 of file MSBaseVehicle.cpp.

References PollutantsInterface::compute(), PollutantsInterface::FUEL, MSBaseVehicle::getAcceleration(), MSVehicleType::getEmissionClass(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), SUMOVehicle::isIdling(), MSBaseVehicle::isOnRoad(), and MSBaseVehicle::myType.

Referenced by GUIVehicle::getColorValue(), LIBSUMO_NAMESPACE::Vehicle::getFuelConsumption(), and GUIVehicle::getParameterWindow().

Here is the caller graph for this function:

◆ getFullName()

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 166 of file GUIGlObject.cpp.

References GUIGlObject::myGlID.

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

◆ getHarmonoise_NoiseEmissions()

double MSBaseVehicle::getHarmonoise_NoiseEmissions ( ) const
inherited

Returns noise emissions of the current state.

Returns
The noise produced

Definition at line 1235 of file MSBaseVehicle.cpp.

References HelpersHarmonoise::computeNoise(), MSBaseVehicle::getAcceleration(), MSVehicleType::getEmissionClass(), SUMOTrafficObject::getSpeed(), SUMOVehicle::isIdling(), MSBaseVehicle::isOnRoad(), and MSBaseVehicle::myType.

Referenced by GUIVehicle::getColorValue(), LIBSUMO_NAMESPACE::Vehicle::getNoiseEmission(), and GUIVehicle::getParameterWindow().

Here is the caller graph for this function:

◆ getHCEmissions()

double MSBaseVehicle::getHCEmissions ( ) const
inherited

Returns HC emission of the current state.

Returns
The current HC emission

Definition at line 1161 of file MSBaseVehicle.cpp.

References PollutantsInterface::compute(), MSBaseVehicle::getAcceleration(), MSVehicleType::getEmissionClass(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), PollutantsInterface::HC, SUMOVehicle::isIdling(), MSBaseVehicle::isOnRoad(), and MSBaseVehicle::myType.

Referenced by GUIVehicle::getColorValue(), LIBSUMO_NAMESPACE::Vehicle::getHCEmission(), and GUIVehicle::getParameterWindow().

Here is the caller graph for this function:

◆ getID()

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

Returns the id.

Returns
The stored id

Definition at line 73 of file Named.h.

References Named::myID.

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

◆ getIDSecure()

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

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

Definition at line 66 of file Named.h.

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

◆ getImpatience()

double MSBaseVehicle::getImpatience ( ) const
virtualinherited

◆ getLane()

const MSLane* MEVehicle::getLane ( ) const
inlinevirtualinherited

Returns the lane the vehicle is on.

Returns
The vehicle's current lane

Implements SUMOTrafficObject.

Definition at line 81 of file MEVehicle.h.

◆ getLastEntryTime()

SUMOTime MEVehicle::getLastEntryTime ( ) const
inlineinherited

Returns the time the vehicle entered the current segment.

Returns
The entry time

Definition at line 261 of file MEVehicle.h.

References MEVehicle::myLastEntryTime.

Referenced by MELoop::changeSegment(), MEVehicle::getLastEntryTimeSeconds(), MESegment::newArrival(), MSDevice_ElecHybrid::notifyLeave(), MEVehicle::updateDetectorForWriting(), and MEVehicle::updateDetectors().

Here is the caller graph for this function:

◆ getLastEntryTimeSeconds()

double MEVehicle::getLastEntryTimeSeconds ( ) const
inlineinherited

Returns the entry time for the current segment.

Definition at line 316 of file MEVehicle.h.

References MEVehicle::getLastEntryTime(), and STEPS2TIME.

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

Here is the caller graph for this function:

◆ getLastLaneChangeOffset()

double GUIMEVehicle::getLastLaneChangeOffset ( ) const
virtual

Returns the time since the last lane change in seconds.

See also
MSVehicle::myLastLaneChangeOffset
Returns
The time since the last lane change in seconds

Implements GUIBaseVehicle.

Definition at line 230 of file GUIMEVehicle.cpp.

◆ getLateralPositionOnLane()

virtual double MSBaseVehicle::getLateralPositionOnLane ( ) const
inlinevirtualinherited

Get the vehicle's lateral position on the lane.

Returns
The lateral position of the vehicle (in m relative to the centerline of the lane)

Implements SUMOVehicle.

Reimplemented in MSVehicle.

Definition at line 206 of file MSBaseVehicle.h.

◆ getLeader()

virtual std::pair<const MSVehicle* const, double> MSBaseVehicle::getLeader ( double  dist = 0) const
inlinevirtualinherited

Returns the leader of the vehicle looking for a fixed distance.

If the distance is not given it is calculated from the brake gap. The gap returned does not include the minGap.

Parameters
distup to which distance to look at least for a leader
Returns
The leading vehicle together with the gap; (0, -1) if no leader was found.

Reimplemented in MSVehicle.

Definition at line 758 of file MSBaseVehicle.h.

References UNUSED_PARAMETER, and WRITE_WARNING.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getLeader().

Here is the caller graph for this function:

◆ getLength()

◆ getMaxSpeed()

double MSBaseVehicle::getMaxSpeed ( ) const
virtualinherited

Returns the maximum speed.

Returns
The vehicle's maximum speed

Implements SUMOTrafficObject.

Definition at line 195 of file MSBaseVehicle.cpp.

References MSVehicleType::getMaxSpeed(), and MSBaseVehicle::myType.

Referenced by MSCFModel_Wiedemann::_v(), MSVehicleTransfer::checkInsertions(), MSCFModel_ACC::followSpeed(), GUIVehicle::getTypeParameterWindow(), getTypeParameterWindow(), MSVehicle::Influencer::implicitDeltaPosRemote(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), and MSVehicle::updateBestLanes().

Here is the caller graph for this function:

◆ getMicrosimID()

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

◆ getNaviDegree()

double GUIBaseVehicle::getNaviDegree ( ) const
inlineinherited

return the current angle in navigational degrees

Definition at line 93 of file GUIBaseVehicle.h.

References GUIBaseVehicle::getAngle(), and GeomHelper::naviDegree().

Referenced by GUIVehicle::getParameterWindow(), and getParameterWindow().

Here is the caller graph for this function:

◆ getNextParkingArea()

MSParkingArea* MEVehicle::getNextParkingArea ( )
inlinevirtualinherited

get the current parking area stop

Implements SUMOVehicle.

Definition at line 196 of file MEVehicle.h.

◆ getNextStopParameter()

const SUMOVehicleParameter::Stop* MEVehicle::getNextStopParameter ( ) const
inlinevirtualinherited

Returns parameters of the next stop or nullptr.

Implements SUMOVehicle.

Definition at line 200 of file MEVehicle.h.

◆ getNOxEmissions()

double MSBaseVehicle::getNOxEmissions ( ) const
inherited

Returns NOx emission of the current state.

Returns
The current NOx emission

Definition at line 1171 of file MSBaseVehicle.cpp.

References PollutantsInterface::compute(), MSBaseVehicle::getAcceleration(), MSVehicleType::getEmissionClass(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), SUMOVehicle::isIdling(), MSBaseVehicle::isOnRoad(), MSBaseVehicle::myType, and PollutantsInterface::NO_X.

Referenced by GUIVehicle::getColorValue(), LIBSUMO_NAMESPACE::Vehicle::getNOxEmission(), and GUIVehicle::getParameterWindow().

Here is the caller graph for this function:

◆ getNumberReroutes()

int MSBaseVehicle::getNumberReroutes ( ) const
inlinevirtualinherited

Returns the number of new routes this vehicle got.

Returns
the number of new routes this vehicle got

Implements SUMOVehicle.

Definition at line 359 of file MSBaseVehicle.h.

References MSBaseVehicle::myNumberReroutes.

Referenced by GUIBaseVehicle::drawGLAdditional(), GUIVehicle::getColorValue(), and getColorValue().

Here is the caller graph for this function:

◆ getNumContainers()

int GUIBaseVehicle::getNumContainers ( ) const
inherited

return the number of passengers

Definition at line 882 of file GUIBaseVehicle.cpp.

References MSBaseVehicle::getContainerDevice(), GUIBaseVehicle::myVehicle, and MSDevice_Transportable::size().

Referenced by GUIVehicle::drawAction_drawCarriageClass(), and GUIBaseVehicle::drawOnPos().

Here is the caller graph for this function:

◆ getNumericalID()

NumericalID MSBaseVehicle::getNumericalID ( ) const
inlinevirtualinherited

return the numerical ID which is only for internal usage

Implements SUMOVehicle.

Definition at line 607 of file MSBaseVehicle.h.

References MSBaseVehicle::myNumericalID.

Referenced by MSLane::vehicle_position_sorter::operator()(), and MSVehicleTransfer::VehicleInformation::operator<().

Here is the caller graph for this function:

◆ getNumPassengers()

int GUIBaseVehicle::getNumPassengers ( ) const
inherited

return the number of passengers

Definition at line 873 of file GUIBaseVehicle.cpp.

References MSBaseVehicle::getPersonDevice(), GUIBaseVehicle::myVehicle, and MSDevice_Transportable::size().

Referenced by GUIVehicle::drawAction_drawCarriageClass(), and GUIBaseVehicle::drawOnPos().

Here is the caller graph for this function:

◆ getOdometer()

double MSBaseVehicle::getOdometer ( ) const
virtualinherited

Returns the distance that was already driven by this vehicle.

Returns
the distance driven [m]

Implements SUMOVehicle.

Definition at line 526 of file MSBaseVehicle.cpp.

References SUMOTrafficObject::getPositionOnLane(), MSBaseVehicle::hasArrived(), MSBaseVehicle::myArrivalPos, MSBaseVehicle::myDepartPos, and MSBaseVehicle::myOdometer.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getDistance(), GUIVehicle::getParameterWindow(), and getParameterWindow().

Here is the caller graph for this function:

◆ getOptionalName()

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

Returns the value for generic parameter 'name' or ''.

Reimplemented from GUIGlObject.

Definition at line 390 of file GUIBaseVehicle.cpp.

References MSBaseVehicle::getParameter(), Parameterised::getParameter(), and GUIBaseVehicle::myVehicle.

◆ getParameter()

◆ getParameterWindow()

◆ getParentName()

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

Returns the name of the parent object (if any)

Returns
This object's parent id

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

Definition at line 160 of file GUIGlObject.cpp.

References StringUtils::emptyString.

Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().

Here is the caller graph for this function:

◆ getPastStops()

const std::vector<SUMOVehicleParameter::Stop>& MSBaseVehicle::getPastStops ( ) const
inlineinherited

Definition at line 581 of file MSBaseVehicle.h.

References MSBaseVehicle::myPastStops.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getStops().

Here is the caller graph for this function:

◆ getPersonDevice()

const MSDevice_Transportable* MSBaseVehicle::getPersonDevice ( ) const
inlineinherited

Definition at line 611 of file MSBaseVehicle.h.

References MSBaseVehicle::myPersonDevice.

Referenced by GUIBaseVehicle::getNumPassengers().

Here is the caller graph for this function:

◆ getPersonIDList()

std::vector< std::string > MSBaseVehicle::getPersonIDList ( ) const
virtualinherited

Returns the list of persons.

Returns
The list of passengers on-board

Implements SUMOVehicle.

Definition at line 1274 of file MSBaseVehicle.cpp.

References MSBaseVehicle::getPersons().

Referenced by LIBSUMO_NAMESPACE::Vehicle::getPersonIDList().

Here is the caller graph for this function:

◆ getPersonNumber()

int MSBaseVehicle::getPersonNumber ( ) const
virtualinherited

Returns the number of persons.

Returns
The number of passengers on-board

Implements SUMOVehicle.

Definition at line 1268 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myParameter, MSBaseVehicle::myPersonDevice, SUMOVehicleParameter::personNumber, and MSDevice_Transportable::size().

Referenced by MSBaseVehicle::allowsBoarding(), MEVehicle::checkStop(), GUIVehicle::getParameterWindow(), LIBSUMO_NAMESPACE::Vehicle::getPersonNumber(), MSVehicle::leaveLane(), MSVehicle::processNextStop(), and MSXMLRawOut::writeVehicle().

Here is the caller graph for this function:

◆ getPersons()

const std::vector< MSTransportable * > & MSBaseVehicle::getPersons ( ) const
virtualinherited

retrieve riding persons

Implements SUMOVehicle.

Definition at line 1303 of file MSBaseVehicle.cpp.

References MSDevice_Transportable::getTransportables(), MSBaseVehicle::myEmptyTransportableVector, and MSBaseVehicle::myPersonDevice.

Referenced by MSBaseVehicle::getPersonIDList(), MSVehicle::rerouteParkingArea(), and MSXMLRawOut::writeVehicle().

Here is the caller graph for this function:

◆ getPMxEmissions()

double MSBaseVehicle::getPMxEmissions ( ) const
inherited

Returns PMx emission of the current state.

Returns
The current PMx emission

Definition at line 1181 of file MSBaseVehicle.cpp.

References PollutantsInterface::compute(), MSBaseVehicle::getAcceleration(), MSVehicleType::getEmissionClass(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), SUMOVehicle::isIdling(), MSBaseVehicle::isOnRoad(), MSBaseVehicle::myType, and PollutantsInterface::PM_X.

Referenced by GUIVehicle::getColorValue(), GUIVehicle::getParameterWindow(), and LIBSUMO_NAMESPACE::Vehicle::getPMxEmission().

Here is the caller graph for this function:

◆ getPopUpMenu()

◆ getPosition()

Position GUIMEVehicle::getPosition ( const double  offset = 0) const
inlinevirtual

Return current position (x/y, cartesian)

Note
implementation of abstract method does not work otherwise

Implements GUIBaseVehicle.

Definition at line 73 of file GUIMEVehicle.h.

References MEVehicle::getPosition().

◆ getPositionOnLane()

double MEVehicle::getPositionOnLane ( ) const
virtualinherited

Get the vehicle's position along the lane.

Returns
The position of the vehicle (in m from the lane's begin)

Implements SUMOTrafficObject.

Definition at line 78 of file MEVehicle.cpp.

References MESegment::getIndex(), MESegment::getLength(), and MEVehicle::mySegment.

Referenced by MEVehicle::getAngle(), MEVehicle::getBackPositionOnLane(), getCenteringBoundary(), getParameterWindow(), MEVehicle::getPosition(), MEVehicle::getSlope(), and MEVehicle::hasArrived().

Here is the caller graph for this function:

◆ getPrefixedParameter()

std::string MSBaseVehicle::getPrefixedParameter ( const std::string &  key,
std::string &  error 
) const
inherited

retrieve parameters of devices, models and the vehicle itself

Definition at line 1438 of file MSBaseVehicle.cpp.

References StringUtils::endsWith(), StringTokenizer::get(), MSVehicle::getCarFollowModel(), MSBaseVehicle::getDeviceParameter(), Named::getID(), MSVehicle::getLaneChangeModel(), MSBaseVehicle::getParameter(), MSCFModel::getParameter(), MSAbstractLaneChangeModel::getParameter(), Parameterised::getParameter(), MSBaseVehicle::hasDevice(), StringTokenizer::size(), and StringUtils::startsWith().

Referenced by GUIBaseVehicle::drawOnPos(), GUIVehicle::getColorValue(), and MSFCDExport::write().

Here is the caller graph for this function:

◆ getPreviousSpeed()

double MSBaseVehicle::getPreviousSpeed ( ) const
virtualinherited

Returns the vehicle's previous speed.

Returns
The vehicle's speed

Implements SUMOTrafficObject.

Reimplemented in MSVehicle.

Definition at line 95 of file MSBaseVehicle.cpp.

◆ getQueIndex()

int MEVehicle::getQueIndex ( ) const
inlineinherited

Returns the index of the que the vehicle is in.

Returns
The que index

Definition at line 245 of file MEVehicle.h.

References MEVehicle::myQueIndex.

Referenced by getCenteringBoundary(), MESegment::getLink(), getParameterWindow(), MESegment::removeCar(), MEVehicle::saveState(), and MESegment::send().

Here is the caller graph for this function:

◆ getRerouteOrigin()

virtual const MSEdge* MSBaseVehicle::getRerouteOrigin ( ) const
inlinevirtualinherited

Returns the starting point for reroutes (usually the current edge)

This differs from *myCurrEdge only if the vehicle is on an internal edge

Returns
The rerouting start point

Reimplemented in MSVehicle.

Definition at line 215 of file MSBaseVehicle.h.

References MSBaseVehicle::myCurrEdge.

Referenced by LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSBaseVehicle::replaceRouteEdges(), and MSBaseVehicle::reroute().

Here is the caller graph for this function:

◆ getRNG()

◆ getRNGIndex()

int MSBaseVehicle::getRNGIndex ( ) const
virtualinherited
Returns
The index of the vehicle's associated RNG

Implements SUMOVehicle.

Definition at line 1417 of file MSBaseVehicle.cpp.

References MSBaseVehicle::getEdge(), SUMOTrafficObject::getLane(), MSEdge::getLanes(), and MSLane::getRNGIndex().

Referenced by LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSVehicle::replaceStop(), GUIVehicle::rerouteDRTStop(), LIBSUMO_NAMESPACE::Vehicle::rerouteEffort(), MSVehicle::rerouteParkingArea(), and LIBSUMO_NAMESPACE::Vehicle::rerouteTraveltime().

Here is the caller graph for this function:

◆ getRoute()

◆ getRoutePosition()

◆ getRouteValidity()

int MSBaseVehicle::getRouteValidity ( bool  update = true,
bool  silent = false 
)
virtualinherited

◆ getSeatPosition()

const GUIBaseVehicle::Seat & GUIBaseVehicle::getSeatPosition ( int  personIndex) const
protectedinherited

returns the seat position for the person with the given index

if there are not enough seats in the vehicle people have to squeeze onto the last seat

Definition at line 804 of file GUIBaseVehicle.cpp.

References MIN2(), and GUIBaseVehicle::mySeatPositions.

Referenced by GUIBaseVehicle::drawAction_drawPersonsAndContainers().

Here is the caller graph for this function:

◆ getSegment()

MESegment* MEVehicle::getSegment ( ) const
inlineinherited

Returns the current segment the vehicle is on.

Returns
The segment the vehicle is on

Definition at line 237 of file MEVehicle.h.

References MEVehicle::mySegment.

Referenced by MELoop::changeSegment(), MELoop::checkCar(), getCenteringBoundary(), getColorValue(), getSegmentIndex(), MEVehicle::isOnRoad(), MESegment::loadState(), MSDevice_ElecHybrid::notifyLeave(), MEVehicle::setApproaching(), MELoop::teleportVehicle(), and MELoop::vaporizeCar().

Here is the caller graph for this function:

◆ getSegmentIndex()

int GUIMEVehicle::getSegmentIndex ( ) const

Definition at line 255 of file GUIMEVehicle.cpp.

References MESegment::getIndex(), and MEVehicle::getSegment().

Referenced by getParameterWindow().

Here is the caller graph for this function:

◆ getSingularType()

MSVehicleType & MSBaseVehicle::getSingularType ( )
inherited

Replaces the current vehicle type with a new one used by this vehicle only.

If the currently used vehicle type is already marked as being used by this vehicle only, no new type is created.

Returns
The new modifiable vehicle type
See also
MSBaseVehicle::myType

Definition at line 1406 of file MSBaseVehicle.cpp.

References MSVehicleType::buildSingularType(), MSVehicleType::getID(), Named::getID(), MSVehicleType::isVehicleSpecific(), MSBaseVehicle::myType, and MSBaseVehicle::replaceVehicleType().

Referenced by MSVehicle::joinTrainPart(), MSVehicle::joinTrainPartFront(), MSDevice_Bluelight::notifyMove(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::setActionStepLength(), MSDevice_ToC::setState(), and MSDevice_ToC::triggerMRM().

Here is the caller graph for this function:

◆ getSlope()

double MEVehicle::getSlope ( ) const
virtualinherited

Returns the slope of the road at vehicle's position in degrees.

Returns
The slope

Implements SUMOTrafficObject.

Definition at line 93 of file MEVehicle.cpp.

References MSBaseVehicle::getEdge(), MSEdge::getLanes(), MEVehicle::getPositionOnLane(), MSLane::getShape(), MSLane::interpolateLanePosToGeometryPos(), and PositionVector::slopeDegreeAtOffset().

◆ getSpeed()

double MEVehicle::getSpeed ( ) const
virtualinherited

Returns the vehicle's estimated speed assuming no delays.

Returns
The vehicle's estimated speed
Note
This is only an upper bound. The speed will be lower if the preceeding vehicle is delayed

Implements SUMOTrafficObject.

Definition at line 107 of file MEVehicle.cpp.

References MEVehicle::getAverageSpeed(), and MEVehicle::getWaitingTime().

Referenced by MEVehicle::estimateLeaveSpeed(), getColorValue(), getParameterWindow(), MESegment::isOpen(), MESegment::newArrival(), MSDevice_ElecHybrid::notifyLeave(), MESegment::receive(), and MEVehicle::setApproaching().

Here is the caller graph for this function:

◆ getStateOfCharge()

double MSBaseVehicle::getStateOfCharge ( ) const
inherited

Returns actual state of charge of battery (Wh) RICE_CHECK: This may be a misnomer, SOC is typically percentage of the maximum battery capacity.

Returns
The actual battery state of charge

Definition at line 1210 of file MSBaseVehicle.cpp.

References MSDevice_Battery::getActualBatteryCapacity(), MSDevice_ElecHybrid::getActualBatteryCapacity(), and MSBaseVehicle::getDevice().

Referenced by GUIVehicle::getParameterWindow().

Here is the caller graph for this function:

◆ getStopArrivalDelay()

virtual double MSBaseVehicle::getStopArrivalDelay ( ) const
inlinevirtualinherited

Returns the estimated public transport stop arrival delay in seconds.

Todo:
implement for meso

Reimplemented in MSVehicle.

Definition at line 301 of file MSBaseVehicle.h.

References INVALID_DOUBLE.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getStopArrivalDelay().

Here is the caller graph for this function:

◆ getStopDelay()

virtual double MSBaseVehicle::getStopDelay ( ) const
inlinevirtualinherited

Returns the estimated public transport stop (departure) delay in seconds.

Todo:
implement for meso

Reimplemented in MSVehicle.

Definition at line 294 of file MSBaseVehicle.h.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getStopDelay().

Here is the caller graph for this function:

◆ getStopEdges()

const ConstMSEdgeVector MSBaseVehicle::getStopEdges ( double &  firstPos,
double &  lastPos 
) const
inherited

Returns the list of still pending stop edges also returns the first and last stop position.

Definition at line 1078 of file MSBaseVehicle.cpp.

References MSStop::edge, MSStop::getEndPos(), MSBaseVehicle::haveValidStopEdges(), MSStop::lane, and MSBaseVehicle::myStops.

Referenced by MSBaseVehicle::reroute().

Here is the caller graph for this function:

◆ getStopIndices()

std::vector< std::pair< int, double > > MSBaseVehicle::getStopIndices ( ) const
virtualinherited

return list of route indices for the remaining stops

Implements SUMOVehicle.

Definition at line 1112 of file MSBaseVehicle.cpp.

References MSRoute::begin(), MSBaseVehicle::myRoute, and MSBaseVehicle::myStops.

◆ getStopInfo()

std::string GUIMEVehicle::getStopInfo ( ) const
virtual

retrieve information about the current stop state

Implements GUIBaseVehicle.

Definition at line 237 of file GUIMEVehicle.cpp.

References MSBaseVehicle::isParking(), and MSBaseVehicle::isStopped().

◆ getStops()

const std::list<MSStop>& MSBaseVehicle::getStops ( ) const
inlineinherited

returns the list of stops not yet reached in the stop queue

Returns
the list of upcoming stops

Definition at line 577 of file MSBaseVehicle.h.

References MSBaseVehicle::myStops.

Referenced by MSDevice_Taxi::customerArrived(), MSCFModel_CC::finalizeSpeed(), LIBSUMO_NAMESPACE::Vehicle::getStops(), and MSDevice_Taxi::hasFuturePickup().

Here is the caller graph for this function:

◆ getTimeLoss()

SUMOTime MEVehicle::getTimeLoss ( ) const
inlinevirtualinherited

Implements SUMOVehicle.

Definition at line 288 of file MEVehicle.h.

References MEVehicle::getWaitingTime().

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 202 of file GUIGlObject.cpp.

References GUIGlObject::myGLObjectType.

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

◆ getTypeParameterWindow()

GUIParameterTableWindow * GUIMEVehicle::getTypeParameterWindow ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
virtual

◆ getVClass()

◆ getVehicleType()

const MSVehicleType& MSBaseVehicle::getVehicleType ( ) const
inlinevirtualinherited

Returns the vehicle's type definition.

Returns
The vehicle's type definition

Implements SUMOTrafficObject.

Definition at line 141 of file MSBaseVehicle.h.

References MSBaseVehicle::myType.

Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_CACC::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeaders(), MSPModel_Striping::addCrossingVehs(), MSBaseVehicle::allowsBoarding(), libsumo::Helper::applySubscriptionFilters(), MSBaseVehicle::basePos(), MSLaneChanger::change(), MSLaneChanger::changeOpposite(), MSLCM_SL2015::checkBlocking(), MSLaneChanger::checkChange(), MSLaneChangerSublane::checkChangeToNewLane(), MSLane::checkFailure(), MSLane::checkForPedestrians(), GUIApplicationWindow::checkGamingEvents(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSDevice_SSM::classifyEncounter(), MSLCM_SL2015::commitManoeuvre(), MSLaneChanger::computeOvertakingTime(), MSAbstractLaneChangeModel::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIVehicle::drawAction_drawVehicleBlinker(), GUIVehicle::drawAction_drawVehicleBrakeLight(), GUIEdge::drawMesoVehicles(), MSLane::enteredByLaneChange(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtLaneChange(), MSDevice_SSM::estimateConflictTimes(), MSAbstractLaneChangeModel::estimateLCDuration(), MSVehicle::estimateLeaveSpeed(), MEVehicle::estimateLeaveSpeed(), MSVehicle::estimateTimeToNextStop(), MSLane::executeMovements(), MSCFModel_Rail::followSpeed(), MSLane::freeInsertion(), MSVehicle::Influencer::gapControlSpeed(), MSAbstractLaneChangeModel::getAngleOffset(), MEVehicle::getBackPositionOnLane(), MSLane::getBruttoOccupancy(), GUIBaseVehicle::getCenteringBoundary(), getCenteringBoundary(), MSLaneChanger::getColumnleader(), MSLane::getCriticalLeader(), MSEdge::getDepartLane(), MSEdge::getDepartPosBound(), MSLane::getDepartPosLat(), LIBSUMO_NAMESPACE::Vehicle::getDrivingDistance2D(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), MSBaseVehicle::getImpatience(), MSVehicle::getLateralOverlap(), MSLane::getLeader(), MSVehicle::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), GUIVehicle::getLeftSideOnEdge(), MSLane::getNettoOccupancy(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), MSVehicle::getRightSideOnEdge(), MSVehicle::getRightSideOnLane(), MSVehicle::getSafeFollowSpeed(), MSLeaderInfo::getSubLanes(), MSVehicle::getTimeGapOnLane(), MSPModel_Striping::getVehicleObstacles(), libsumo::Helper::getVehicleType(), GUIBaseVehicle::getVType(), MSLCM_SL2015::getWidth(), MSLink::getZipperSpeed(), MSLane::handleCollisionBetween(), MESegment::hasSpaceFor(), MSIdling_Stop::idle(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitSpeedRemote(), MSLane::incorporateVehicle(), MSLCM_SL2015::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_SL2015::informLeaders(), MSLane::insertVehicle(), MSLane::isInsertionSuccess(), MESegment::isOpen(), MSVehicle::joinTrainPart(), MSVehicle::joinTrainPartFront(), MSVehicle::keepClear(), MSLCM_SL2015::keepLatGap(), MSAbstractLaneChangeModel::laneChangeOutput(), MSLane::lastInsertion(), MSLane::leftByLaneChange(), MESegment::loadState(), MSLaneChanger::mayChange(), MSPModel_Striping::moveInDirection(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSDevice_Bluelight::notifyMove(), LIBSUMO_NAMESPACE::Vehicle::openGap(), MSVehicle::overlap(), MSLCM_LC2013::overtakeDistance(), MSLCM_DK2008::patchSpeed(), MSCFModel_Krauss::patchSpeedBeforeLC(), MSVehicle::planMoveInternal(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), MSVehicle::processTraCISpeedControl(), MESegment::receive(), MSLaneChanger::ChangeElem::registerHop(), MSLaneChanger::registerUnchanged(), MSAbstractLaneChangeModel::remainingTime(), MESegment::Queue::remove(), MSLane::removeVehicle(), MSLane::safeInsertionSpeed(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSBaseVehicle::saveState(), GUIVehicle::selectBlockingFoes(), MESegment::send(), MSVehicleType::setActionStepLength(), MSAbstractLaneChangeModel::setFollowerGaps(), GUIBaseVehicle::setFunctionalColor(), MSAbstractLaneChangeModel::setLeaderGaps(), MSAbstractLaneChangeModel::setOrigLeaderGaps(), MSVehicle::setTentativeLaneAndPosition(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSCFModel_CACC::speedGapControl(), MSLaneChangerSublane::startChangeSublane(), MSVehicle::unsafeLinkAhead(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSLCM_SL2015::updateGaps(), MSLCM_DK2008::wantsChangeToLeft(), MSLCM_DK2008::wantsChangeToRight(), MSFCDExport::write(), MSBatteryExport::write(), and MSQueueExport::writeLane().

◆ getVType()

const MSVehicleType& GUIBaseVehicle::getVType ( ) const
inlineprotectedinherited

A shortcut to myVehicle.myType.

Definition at line 348 of file GUIBaseVehicle.h.

References MSBaseVehicle::getVehicleType(), and GUIBaseVehicle::myVehicle.

Referenced by GUIBaseVehicle::computeSeats(), GUIVehicle::drawAction_drawCarriageClass(), drawAction_drawCarriageClass(), GUIBaseVehicle::drawAction_drawVehicleAsPolyWithCarriagges(), and GUIBaseVehicle::drawOnPos().

Here is the caller graph for this function:

◆ getWaitingSeconds()

double MEVehicle::getWaitingSeconds ( ) const
inlineinherited

Returns the number of seconds waited (speed was lesser than 0.1m/s)

The value is reset if the vehicle moves faster than 0.1m/s Intentional stopping does not count towards this time.

Returns
The time the vehicle is standing

Definition at line 305 of file MEVehicle.h.

References MEVehicle::getWaitingTime(), and STEPS2TIME.

Referenced by getColorValue(), getParameterWindow(), and MSEmissionExport::write().

Here is the caller graph for this function:

◆ getWaitingTime()

SUMOTime MEVehicle::getWaitingTime ( ) const
inlinevirtualinherited

Returns the duration for which the vehicle was blocked.

Implements SUMOTrafficObject.

Definition at line 284 of file MEVehicle.h.

References MAX2(), MEVehicle::myBlockTime, and MEVehicle::myEventTime.

Referenced by MELoop::checkCar(), MEVehicle::getAccumulatedWaitingTime(), MEVehicle::getSpeed(), MEVehicle::getTimeLoss(), MEVehicle::getWaitingSeconds(), MESegment::isOpen(), MSDevice_ElecHybrid::notifyLeave(), and MEVehicle::setApproaching().

Here is the caller graph for this function:

◆ getWeightsStorage() [1/2]

MSEdgeWeightsStorage & MSBaseVehicle::getWeightsStorage ( )
inherited

Definition at line 1251 of file MSBaseVehicle.cpp.

References MSBaseVehicle::_getWeightsStorage().

◆ getWeightsStorage() [2/2]

const MSEdgeWeightsStorage & MSBaseVehicle::getWeightsStorage ( ) const
inherited

Returns the vehicle's internal edge travel times/efforts container.

If the vehicle does not have such a container, it is built.

Returns
The vehicle's knowledge about edge weights

Definition at line 1245 of file MSBaseVehicle.cpp.

References MSBaseVehicle::_getWeightsStorage().

Referenced by LIBSUMO_NAMESPACE::Vehicle::getAdaptedTraveltime(), MSNet::getEffort(), LIBSUMO_NAMESPACE::Vehicle::getEffort(), MSNet::getTravelTime(), LIBSUMO_NAMESPACE::Vehicle::setAdaptedTraveltime(), and LIBSUMO_NAMESPACE::Vehicle::setEffort().

Here is the caller graph for this function:

◆ getWidth()

double MSBaseVehicle::getWidth ( ) const
inlineinherited

◆ handleCollisionStop()

bool MSBaseVehicle::handleCollisionStop ( MSStop stop,
const bool  collision,
const double  distToStop,
const std::string &  errorMsgStart,
std::string &  errorMsg 
)
virtualinherited

Reimplemented in MSVehicle.

Definition at line 774 of file MSBaseVehicle.cpp.

References UNUSED_PARAMETER.

Referenced by MSBaseVehicle::addStop().

Here is the caller graph for this function:

◆ hasActiveAddVisualisation()

bool GUIBaseVehicle::hasActiveAddVisualisation ( GUISUMOAbstractView *const  parent,
int  which 
) const
inherited

Returns whether the named feature is enabled in the given view.

Parameters
[in]parentThe view for which the feature may be enabled
[in]whichThe visualisation feature
Returns
see comment

Definition at line 763 of file GUIBaseVehicle.cpp.

References GUIBaseVehicle::myAdditionalVisualizations.

Referenced by GUIBaseVehicle::drawGLAdditional(), GUIBaseVehicle::getPopUpMenu(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowBestLanes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFutureRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowLFLinkItems(), and GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowRouteNoLoops().

Here is the caller graph for this function:

◆ hasArrived()

bool MEVehicle::hasArrived ( ) const
virtualinherited

Returns whether this vehicle has already arived (reached the arrivalPosition on its final edge)

Reimplemented from MSBaseVehicle.

Definition at line 157 of file MEVehicle.cpp.

References MSRoute::end(), MEVehicle::getPositionOnLane(), MSBaseVehicle::myArrivalPos, MSBaseVehicle::myCurrEdge, MEVehicle::myEventTime, MSBaseVehicle::myRoute, MEVehicle::mySegment, and SUMOTime_MIN.

Referenced by MEVehicle::moveRoutePointer(), and MESegment::receive().

Here is the caller graph for this function:

◆ hasDeparted()

bool MSBaseVehicle::hasDeparted ( ) const
virtualinherited

Returns whether this vehicle has already departed.

Implements SUMOVehicle.

Definition at line 500 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myDeparture, and MSBaseVehicle::NOT_YET_DEPARTED.

Referenced by MSBaseVehicle::addStop(), MSBaseVehicle::createDevice(), MSLane::forceVehicleInsertion(), LIBSUMO_NAMESPACE::Vehicle::getRouteIndex(), MEVehicle::loadState(), MSVehicle::loadState(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), LIBSUMO_NAMESPACE::Vehicle::remove(), and MSVehicle::replaceStop().

Here is the caller graph for this function:

◆ hasDevice()

bool MSBaseVehicle::hasDevice ( const std::string &  deviceName) const
inherited

check whether the vehicle is equiped with a device of the given type

Definition at line 1343 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myDevices.

Referenced by MSBaseVehicle::createDevice(), and MSBaseVehicle::getPrefixedParameter().

Here is the caller graph for this function:

◆ hasInfluencer()

bool MEVehicle::hasInfluencer ( ) const
inlinevirtualinherited

Implements MSBaseVehicle.

Definition at line 357 of file MEVehicle.h.

References MEVehicle::myInfluencer.

◆ hasStops()

◆ hasValidRoute()

bool MSBaseVehicle::hasValidRoute ( std::string &  msg,
const MSRoute route = 0 
) const
virtualinherited

Validates the current or given route.

Parameters
[out]msgDescription why the route is not valid (if it is the case)
[in]routeThe route to check (or 0 if the current route shall be checked)
Returns
Whether the vehicle's current route is valid

Implements SUMOVehicle.

Definition at line 568 of file MSBaseVehicle.cpp.

References MSRoute::begin(), MSRoute::end(), MSVehicleType::getVehicleClass(), MSBaseVehicle::myCurrEdge, MSBaseVehicle::myRoute, and MSBaseVehicle::myType.

Referenced by MSBaseVehicle::getRouteValidity(), MESegment::initialise(), LIBSUMO_NAMESPACE::Vehicle::isRouteValid(), MSBaseVehicle::replaceRouteEdges(), and LIBSUMO_NAMESPACE::Vehicle::setRouteID().

Here is the caller graph for this function:

◆ hasValidRouteStart()

bool MSBaseVehicle::hasValidRouteStart ( std::string &  msg)
virtualinherited

checks wether the vehicle can depart on the first edge

Implements SUMOVehicle.

Reimplemented in MSVehicle.

Definition at line 596 of file MSBaseVehicle.cpp.

References MSRoute::getEdges(), Named::getID(), MSBaseVehicle::myRoute, MSBaseVehicle::myRouteValidity, and MSBaseVehicle::ROUTE_START_INVALID_PERMISSIONS.

Referenced by MSBaseVehicle::getRouteValidity().

Here is the caller graph for this function:

◆ haveValidStopEdges()

bool MSBaseVehicle::haveValidStopEdges ( ) const
inherited

check whether all stop.edge MSRouteIterators are valid and in order

Definition at line 1018 of file MSBaseVehicle.cpp.

References MSRoute::begin(), MSRoute::end(), Named::getID(), MSNet::getInstance(), SUMOTrafficObject::getLane(), SUMOTrafficObject::getPositionOnLane(), MSBaseVehicle::myCurrEdge, MSBaseVehicle::myRoute, MSBaseVehicle::myStops, time2string(), toString(), WRITE_ERROR, and WRITE_WARNING.

Referenced by MSVehicle::enterLaneAtMove(), MSBaseVehicle::getStopEdges(), MSVehicle::replaceRoute(), and GUIVehicle::rerouteDRTStop().

Here is the caller graph for this function:

◆ initDevices()

void MSBaseVehicle::initDevices ( )
virtualinherited

Reimplemented in MSVehicle.

Definition at line 160 of file MSBaseVehicle.cpp.

References MSDevice::buildVehicleDevices(), MSBaseVehicle::myDevices, and MSBaseVehicle::myMoveReminders.

Referenced by MSVehicle::initDevices(), and MSVehicleControl::initVehicle().

Here is the caller graph for this function:

◆ isContainer()

virtual bool SUMOTrafficObject::isContainer ( ) const
inlinevirtualinherited

Whether it is a container.

Returns
true for containers, false otherwise

Reimplemented in MSTransportable.

Definition at line 72 of file SUMOTrafficObject.h.

◆ isFrontOnLane()

virtual bool MSBaseVehicle::isFrontOnLane ( const MSLane ) const
inlinevirtualinherited

Returns the information whether the front of the vehhicle is on the given lane.

Returns
Whether the vehicle's front is on that lane

Implements SUMOVehicle.

Reimplemented in MSVehicle.

Definition at line 198 of file MSBaseVehicle.h.

◆ isIdling()

bool MEVehicle::isIdling ( ) const
virtualinherited

Returns whether the vehicle is trying to re-enter the net.

Returns
true if the vehicle is trying to enter the net (eg after parking)

Implements SUMOVehicle.

Definition at line 173 of file MEVehicle.cpp.

◆ isLineStop()

bool MSBaseVehicle::isLineStop ( double  position) const
virtualinherited

returns whether the vehicle serves a public transport line that serves the given stop

Implements SUMOVehicle.

Definition at line 1323 of file MSBaseVehicle.cpp.

References SUMOVehicleParameter::Stop::endPos, MSRoute::getStops(), SUMOVehicleParameter::line, MSBaseVehicle::myParameter, MSBaseVehicle::myRoute, SUMOVehicleParameter::Stop::startPos, and SUMOVehicleParameter::stops.

◆ isOnRoad()

bool MEVehicle::isOnRoad ( ) const
virtualinherited

Returns the information whether the vehicle is on a road (is simulated)

Returns
Whether the vehicle is simulated

Reimplemented from MSBaseVehicle.

Definition at line 167 of file MEVehicle.cpp.

References MEVehicle::getSegment().

◆ isParking()

bool MSBaseVehicle::isParking ( ) const
virtualinherited

Returns whether the vehicle is parking.

Returns
whether the vehicle is parking

Implements SUMOVehicle.

Definition at line 791 of file MSBaseVehicle.cpp.

References MSBaseVehicle::isStopped(), and MSBaseVehicle::myStops.

Referenced by MSVehicleTransfer::add(), MSVehicle::computeAngle(), GUIVehicle::drawAction_drawCarriageClass(), MSLane::executeMovements(), MSVehicle::getCurrentParkingArea(), MSVehicle::getPosition(), GUIVehicle::getStopInfo(), getStopInfo(), MSVehicle::processNextStop(), and MSBatteryExport::write().

Here is the caller graph for this function:

◆ isPerson()

virtual bool SUMOTrafficObject::isPerson ( ) const
inlinevirtualinherited

Whether it is a person.

Returns
true for persons, false otherwise

Reimplemented in MSTransportable.

Definition at line 65 of file SUMOTrafficObject.h.

◆ isRemoteControlled()

virtual bool MSBaseVehicle::isRemoteControlled ( ) const
inlinevirtualinherited

Returns the information whether the vehicle is fully controlled via TraCI.

Returns
Whether the vehicle is remote-controlled

Implements SUMOVehicle.

Reimplemented in MSVehicle.

Definition at line 186 of file MSBaseVehicle.h.

◆ isSelected()

virtual bool MSBaseVehicle::isSelected ( ) const
inlinevirtualinherited

whether this vehicle is selected in the GUI

Implements SUMOVehicle.

Reimplemented in GUIVehicle.

Definition at line 597 of file MSBaseVehicle.h.

Referenced by MSCFModel_Wiedemann::_v(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), and MSCFModel_IDM::followSpeed().

Here is the caller graph for this function:

◆ isStopped()

◆ isStoppedInRange()

bool MSBaseVehicle::isStoppedInRange ( const double  pos,
const double  tolerance 
) const
virtualinherited

return whether the given position is within range of the current stop

Implements SUMOVehicle.

Definition at line 804 of file MSBaseVehicle.cpp.

References SUMOVehicleParameter::Stop::endPos, MSBaseVehicle::isStopped(), MSBaseVehicle::myStops, MSStop::pars, and SUMOVehicleParameter::Stop::startPos.

◆ isStoppedTriggered()

bool MSBaseVehicle::isStoppedTriggered ( ) const
virtualinherited

Returns whether the vehicle is on a triggered stop.

Returns
whether the vehicle is on a triggered stop

Implements SUMOVehicle.

Definition at line 798 of file MSBaseVehicle.cpp.

References MSBaseVehicle::isStopped(), and MSBaseVehicle::myStops.

Referenced by GUIVehicle::drawRouteHelper(), and MSVehicle::keepStopping().

Here is the caller graph for this function:

◆ isVehicle()

bool MSBaseVehicle::isVehicle ( ) const
inlinevirtualinherited

Whether it is a vehicle.

Returns
true for vehicles, false otherwise

Reimplemented from SUMOTrafficObject.

Definition at line 93 of file MSBaseVehicle.h.

◆ loadState()

◆ mayProceed()

bool MEVehicle::mayProceed ( ) const
inherited

Returns whether the vehicle is allowed to pass the next junction.

Returns
true iff the vehicle may drive over the next junction

Definition at line 289 of file MEVehicle.cpp.

References MESegment::isOpen(), and MEVehicle::mySegment.

Referenced by MELoop::changeSegment().

Here is the caller graph for this function:

◆ moveRoutePointer()

bool MEVehicle::moveRoutePointer ( )
inherited

Update when the vehicle enters a new edge in the move step.

Returns
Whether the vehicle's route has ended (due to vaporization, or because the destination was reached)

Definition at line 139 of file MEVehicle.cpp.

References MSRoute::end(), MEVehicle::hasArrived(), MSBaseVehicle::myCurrEdge, MSBaseVehicle::myParameter, MSBaseVehicle::myRoute, and SUMOVehicleParameter::via.

Referenced by METriggeredCalibrator::execute(), MESegment::receive(), and MELoop::teleportVehicle().

Here is the caller graph for this function:

◆ onDepart()

void MSBaseVehicle::onDepart ( )
virtualinherited

Called when the vehicle is inserted into the network.

Sets optional information about departure time, informs the vehicle control about a further running vehicle.

Implements SUMOVehicle.

Definition at line 492 of file MSBaseVehicle.cpp.

References MSNet::getCurrentTimeStep(), MSNet::getInstance(), SUMOTrafficObject::getPositionOnLane(), MSNet::getVehicleControl(), MSBaseVehicle::myDepartPos, MSBaseVehicle::myDeparture, and MSVehicleControl::vehicleDeparted().

Referenced by MSVehicle::enterLaneAtInsertion(), MSVehicle::Influencer::postProcessRemoteControl(), and MESegment::receive().

Here is the caller graph for this function:

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void *  )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 163 of file GUIGlObject.h.

Referenced by GUISUMOAbstractView::onLeftBtnPress().

Here is the caller graph for this function:

◆ onRemovalFromNet()

void MEVehicle::onRemovalFromNet ( const MSMoveReminder::Notification  reason)
virtualinherited

Called when the vehicle is removed from the network.

Moves along work reminders and informs all devices about quitting. Calls "leaveLane" then.

Parameters
[in]reasonwhy the vehicle leaves (reached its destination, parking, teleport)

Reimplemented from MSBaseVehicle.

Definition at line 375 of file MEVehicle.cpp.

References MELoop::changeSegment(), MSNet::getInstance(), MSGlobals::gMesoNet, and MELoop::removeLeaderCar().

◆ processStop()

◆ remainingStopDuration()

SUMOTime MEVehicle::remainingStopDuration ( ) const
inlinevirtualinherited

Returns the remaining stop duration for a stopped vehicle or 0.

Implements SUMOVehicle.

Definition at line 160 of file MEVehicle.h.

◆ removeActiveAddVisualisation()

void GUIBaseVehicle::removeActiveAddVisualisation ( GUISUMOAbstractView *const  parent,
int  which 
)
virtualinherited

Adds the named visualisation feature to the given view.

Parameters
[in]parentThe view for which the feature shall be enabled
[in]whichThe visualisation feature to enable
See also
GUISUMOAbstractView::removeAdditionalGLVisualisation

Reimplemented from GUIGlObject.

Definition at line 779 of file GUIBaseVehicle.cpp.

References GUIBaseVehicle::myAdditionalVisualizations, and GUISUMOAbstractView::removeAdditionalGLVisualisation().

Referenced by GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideBestLanes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideFutureRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideLFLinkItems(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideRouteNoLoops(), and GUIViewTraffic::onGamingRightClick().

Here is the caller graph for this function:

◆ removedPopupMenu()

void GUIBaseVehicle::removedPopupMenu ( )
virtualinherited

notify object about popup menu removal

Reimplemented from GUIGlObject.

Definition at line 376 of file GUIBaseVehicle.cpp.

References GUIBaseVehicle::myPopup.

◆ removeParameterTable()

void GUIGlObject::removeParameterTable ( GUIParameterTableWindow w)
inherited

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

Parameters
[in]wThe closed parameter window

Definition at line 315 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

Here is the caller graph for this function:

◆ removeReminder()

void MSBaseVehicle::removeReminder ( MSMoveReminder rem)
inherited

Removes a MoveReminder dynamically.

Parameters
[in]remthe reminder to remove
See also
MSMoveReminder

Definition at line 648 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myMoveReminders.

◆ removeTransportable()

void MSBaseVehicle::removeTransportable ( MSTransportable t)
virtualinherited

removes a person or container

Implements SUMOVehicle.

Definition at line 1291 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myContainerDevice, MSBaseVehicle::myPersonDevice, and MSDevice_Transportable::removeTransportable().

◆ replaceParameter()

void MSBaseVehicle::replaceParameter ( const SUMOVehicleParameter newParameter)
virtualinherited

replace the vehicle parameter (deleting the old one)

Implements SUMOVehicle.

Definition at line 189 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myParameter.

Referenced by MSVehicle::rerouteParkingArea().

Here is the caller graph for this function:

◆ replaceParkingArea()

bool MEVehicle::replaceParkingArea ( MSParkingArea ,
std::string &   
)
inlinevirtualinherited

replace the current parking area stop with a new stop with merge duration

Implements SUMOVehicle.

Definition at line 190 of file MEVehicle.h.

◆ replaceRoute()

bool MEVehicle::replaceRoute ( const MSRoute route,
const std::string &  info,
bool  onInit = false,
int  offset = 0,
bool  addRouteStops = true,
bool  removeStops = true 
)
virtualinherited

Replaces the current route by the given one.

Reimplemented from MSBaseVehicle.

Definition at line 193 of file MEVehicle.cpp.

References MESegment::getLink(), MEVehicle::mySegment, MSLink::removeApproaching(), MSBaseVehicle::replaceRoute(), and MEVehicle::setApproaching().

◆ replaceRouteEdges()

bool MSBaseVehicle::replaceRouteEdges ( ConstMSEdgeVector edges,
double  cost,
double  savings,
const std::string &  info,
bool  onInit = false,
bool  check = false,
bool  removeStops = true 
)
virtualinherited

Replaces the current route by the given edges.

It is possible that the new route is not accepted, if a) it does not contain the vehicle's current edge, or b) something fails on insertion into the routes container (see in-line comments).

Parameters
[in]edgesThe new list of edges to pass
[in]onInitWhether the vehicle starts with this route
[in]checkWhether the route should be checked for validity
[in]removeStopsWhether stops should be removed if they do not fit onto the new route
Returns
Whether the new route was accepted

Implements SUMOVehicle.

Definition at line 333 of file MSBaseVehicle.cpp.

References MSRoute::addReference(), MSRoute::begin(), RGBColor::DEFAULT_COLOR, MSRoute::dictionary(), StringUtils::endsWith(), MSGlobals::gCheckRoutes, MSRoute::getColor(), MSRoute::getEdges(), Named::getID(), MSBaseVehicle::getRerouteOrigin(), MSRoute::hasRoute(), MSBaseVehicle::hasValidRoute(), MSBaseVehicle::myCurrEdge, MSBaseVehicle::myRoute, MSRoute::release(), MSBaseVehicle::replaceRoute(), MSRoute::setCosts(), MSRoute::setSavings(), MSRoute::size(), SUMO_TAG_PARKING_ZONE_REROUTE, toString(), and WRITE_WARNING.

Referenced by LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSIdling_RandomCircling::idle(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::replaceStop(), MSBaseVehicle::reroute(), GUIVehicle::rerouteDRTStop(), MSVehicle::rerouteParkingArea(), and LIBSUMO_NAMESPACE::Vehicle::setRoute().

Here is the caller graph for this function:

◆ replaceVehicleType()

void MSBaseVehicle::replaceVehicleType ( MSVehicleType type)
virtualinherited

Replaces the current vehicle type by the one given.

If the currently used vehicle type is marked as being used by this vehicle only, it is deleted, first. The new, given type is then assigned to "myType".

Parameters
[in]typeThe new vehicle type
See also
MSBaseVehicle::myType

Implements SUMOTrafficObject.

Definition at line 1396 of file MSBaseVehicle.cpp.

References MSNet::getInstance(), MSNet::getVehicleControl(), MSVehicleType::isVehicleSpecific(), MSBaseVehicle::myType, and MSVehicleControl::removeVType().

Referenced by MSBaseVehicle::getSingularType(), MSDevice_Bluelight::notifyMove(), LIBSUMO_NAMESPACE::Vehicle::setType(), and MSDevice_ToC::switchHolderType().

Here is the caller graph for this function:

◆ reroute()

void MSBaseVehicle::reroute ( SUMOTime  t,
const std::string &  info,
SUMOAbstractRouter< MSEdge, SUMOVehicle > &  router,
const bool  onInit = false,
const bool  withTaz = false,
const bool  silent = false 
)
virtualinherited

Performs a rerouting using the given router.

Tries to find a new route between the current edge and the destination edge, first. Tries to replace the current route by the new one using replaceRoute.

Parameters
[in]tThe time for which the route is computed
[in]routerThe router to use
See also
replaceRoute

Implements SUMOVehicle.

Definition at line 217 of file MSBaseVehicle.cpp.

References MSEdge::allowedLanes(), MSBaseVehicle::calculateArrivalParams(), SUMOAbstractRouter< E, V >::compute(), SUMOAbstractRouter< E, V >::computeLooped(), DEBUG_COND, MSInsertionControl::descheduleDeparture(), MSEdge::dictionary(), MSRoute::end(), SUMOVehicleParameter::fromTaz, MSGlobals::gCheckRoutes, MSRoute::getEdges(), Named::getID(), Named::getIDSecure(), MSNet::getInsertionControl(), MSNet::getInstance(), SUMOTrafficObject::getLane(), MSRoute::getLastEdge(), SUMOTrafficObject::getPositionOnLane(), MSBaseVehicle::getRerouteOrigin(), MSBaseVehicle::getStopEdges(), MSBaseVehicle::getVClass(), MSEdge::isTazConnector(), MSBaseVehicle::myArrivalPos, MSBaseVehicle::myCurrEdge, MSBaseVehicle::myParameter, MSBaseVehicle::myRoute, SUMOAbstractRouter< E, V >::recomputeCosts(), MSBaseVehicle::replaceRouteEdges(), SIMTIME, toString(), SUMOVehicleParameter::toTaz, SUMOVehicleParameter::via, and WRITE_WARNING.

Referenced by LIBSUMO_NAMESPACE::Vehicle::changeTarget(), GUIVehicle::rerouteDRTStop(), LIBSUMO_NAMESPACE::Vehicle::rerouteEffort(), and LIBSUMO_NAMESPACE::Vehicle::rerouteTraveltime().

Here is the caller graph for this function:

◆ resetRoutePosition()

void MSBaseVehicle::resetRoutePosition ( int  index,
DepartLaneDefinition  departLaneProcedure 
)
inherited

reset index of edge within route

Definition at line 518 of file MSBaseVehicle.cpp.

References MSRoute::begin(), MSRoute::end(), MSBaseVehicle::myArrivalPos, MSBaseVehicle::myCurrEdge, MSBaseVehicle::myParameter, and MSBaseVehicle::myRoute.

Referenced by MSCalibrator::execute(), and LIBSUMO_NAMESPACE::Vehicle::moveTo().

Here is the caller graph for this function:

◆ resumeFromStopping()

virtual bool MSBaseVehicle::resumeFromStopping ( )
inlinevirtualinherited

resumes a vehicle from stopping

Returns
true on success, the resuming fails if the vehicle wasn't parking in the first place

Reimplemented in MSVehicle.

Definition at line 589 of file MSBaseVehicle.h.

Referenced by MSBaseVehicle::abortNextStop().

Here is the caller graph for this function:

◆ saveState()

◆ selectBlockingFoes()

void GUIMEVehicle::selectBlockingFoes ( ) const
virtual

adds the blocking foes to the current selection

Implements GUIBaseVehicle.

Definition at line 261 of file GUIMEVehicle.cpp.

◆ setApproaching()

void MEVehicle::setApproaching ( MSLink link)
inherited

registers vehicle with the given link

Parameters
[in]linkthe link on which the car shall register its approach

Definition at line 179 of file MEVehicle.cpp.

References MEVehicle::getEventTime(), MSBaseVehicle::getLength(), MEVehicle::getSegment(), MEVehicle::getSpeed(), MSLink::getState(), MEVehicle::getWaitingTime(), LINKSTATE_ALLWAY_STOP, RandHelper::rand(), and MSLink::setApproaching().

Referenced by MELoop::addLeaderCar(), and MEVehicle::replaceRoute().

Here is the caller graph for this function:

◆ setArrivalPos()

virtual void MSBaseVehicle::setArrivalPos ( double  arrivalPos)
inlinevirtualinherited

Sets this vehicle's desired arrivalPos for its current route.

Implements SUMOVehicle.

Definition at line 323 of file MSBaseVehicle.h.

References MSBaseVehicle::myArrivalPos.

◆ setBlockTime()

void MEVehicle::setBlockTime ( const SUMOTime  t)
inlineinherited

Sets the time at which the vehicle was blocked.

Parameters
[in]tThe blocking time

Definition at line 269 of file MEVehicle.h.

References MEVehicle::myBlockTime, and MEVehicle::myLastEntryTime.

Referenced by MELoop::checkCar(), and MESegment::receive().

Here is the caller graph for this function:

◆ setChosenSpeedFactor()

void MSBaseVehicle::setChosenSpeedFactor ( const double  factor)
inlinevirtualinherited

Returns the precomputed factor by which the driver wants to be faster than the speed limit.

Returns
Speed limit factor

Implements SUMOVehicle.

Definition at line 477 of file MSBaseVehicle.h.

References MSBaseVehicle::myChosenSpeedFactor.

Referenced by MSCFModel_CC::finalizeSpeed(), and GUISUMOViewParent::onCmdSpeedFactor().

Here is the caller graph for this function:

◆ setColor()

RGBColor GUIBaseVehicle::setColor ( const GUIVisualizationSettings s) const
protectedinherited

sets the color according to the currente settings

Definition at line 650 of file GUIBaseVehicle.cpp.

References GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), GUIBaseVehicle::getColorValue(), GUIPropertySchemeStorage< T >::getScheme(), GUIBaseVehicle::myVehicle, GLHelper::setColor(), GUIBaseVehicle::setFunctionalColor(), and GUIVisualizationSettings::vehicleColorer.

Referenced by GUIBaseVehicle::drawOnPos(), and GUIBaseVehicle::drawRoute().

Here is the caller graph for this function:

◆ setDeviceParameter()

void MSBaseVehicle::setDeviceParameter ( const std::string &  deviceName,
const std::string &  key,
const std::string &  value 
)
inherited

try to set the given parameter from any of the vehicles devices, raise InvalidArgument if no device parameter by that name exists

Definition at line 1384 of file MSBaseVehicle.cpp.

References MSBaseVehicle::myDevices.

◆ setEventTime()

void MEVehicle::setEventTime ( SUMOTime  t,
bool  hasDelay = true 
)
inlineinherited

Sets the (planned) time at which the vehicle leaves his current cell.

Parameters
[in]tThe leaving time

Definition at line 207 of file MEVehicle.h.

References MESegment::getEdge(), MSEdge::markDelayed(), MEVehicle::myEventTime, MEVehicle::myLastEntryTime, and MEVehicle::mySegment.

Referenced by MELoop::checkCar(), METriggeredCalibrator::execute(), MESegment::receive(), MESegment::send(), MESegment::setSpeedForQueue(), and MELoop::teleportVehicle().

Here is the caller graph for this function:

◆ setFunctionalColor()

◆ setID()

void MSBaseVehicle::setID ( const std::string &  newID)
virtualinherited

set the id (inherited from Named but forbidden for vehicles)

Reimplemented from Named.

Definition at line 169 of file MSBaseVehicle.cpp.

◆ setLastEntryTime()

void MEVehicle::setLastEntryTime ( SUMOTime  t)
inlineinherited

Sets the entry time for the current segment.

Parameters
[in]tThe entry time

Definition at line 253 of file MEVehicle.h.

References MEVehicle::myLastEntryTime.

Referenced by MESegment::receive().

Here is the caller graph for this function:

◆ setMicrosimID()

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

◆ setSegment()

virtual void MEVehicle::setSegment ( MESegment s,
int  idx = 0 
)
inlinevirtualinherited

Sets the current segment the vehicle is at together with its que.

Parameters
[in]sThe current segment
[in]qThe current que

Definition at line 228 of file MEVehicle.h.

References MEVehicle::myQueIndex, and MEVehicle::mySegment.

Referenced by MELoop::changeSegment(), METriggeredCalibrator::execute(), MEVehicle::loadState(), MESegment::receive(), and MELoop::teleportVehicle().

Here is the caller graph for this function:

◆ stopsAt()

bool MEVehicle::stopsAt ( MSStoppingPlace ) const
inlinevirtualinherited

Returns whether the vehicle stops at the given stopping place.

Implements SUMOVehicle.

Definition at line 168 of file MEVehicle.h.

◆ stopsAtEdge()

bool MEVehicle::stopsAtEdge ( const MSEdge edge) const
inlinevirtualinherited

Returns whether the vehicle stops at the given edge.

Implements SUMOVehicle.

Definition at line 172 of file MEVehicle.h.

◆ succEdge()

const MSEdge * MSBaseVehicle::succEdge ( int  nSuccs) const
virtualinherited

Returns the nSuccs'th successor of edge the vehicle is currently at.

If the rest of the route (counted from the current edge) has less than nSuccs edges, 0 is returned.

Parameters
[in]nSuccsThe number of edge to look forward
Returns
The nSuccs'th following edge in the vehicle's route

Implements SUMOVehicle.

Definition at line 201 of file MSBaseVehicle.cpp.

References MSRoute::begin(), MSBaseVehicle::myCurrEdge, and MSBaseVehicle::myRoute.

Referenced by MSVehicleTransfer::add(), MSLane::appropriate(), MSVehicleTransfer::checkInsertions(), MESegment::getLink(), MSBaseVehicle::hasArrived(), MESegment::hasSpaceFor(), MSPedestrianPushButton::isActiveForEdge(), and MELoop::nextSegment().

Here is the caller graph for this function:

◆ updateDetectorForWriting()

void MEVehicle::updateDetectorForWriting ( MSMoveReminder rem,
SUMOTime  currentTime,
SUMOTime  exitTime 
)
inherited

◆ updateDetectors()

void MEVehicle::updateDetectors ( SUMOTime  currentTime,
const bool  isLeave,
const MSMoveReminder::Notification  reason = MSMoveReminder::NOTIFICATION_JUNCTION 
)
inherited

◆ wasRemoteControlled()

virtual bool MSBaseVehicle::wasRemoteControlled ( SUMOTime  lookBack = DELTA_T) const
inlinevirtualinherited

Returns the information whether the vehicle is fully controlled via TraCI.

Returns
Whether the vehicle was remote-controlled within the given time range

Implements SUMOVehicle.

Reimplemented in MSVehicle.

Definition at line 190 of file MSBaseVehicle.h.

References UNUSED_PARAMETER.

Field Documentation

◆ GUIGlObjectTypeNamesInitializer

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

LinkStates (Currently unused)

vector for TypeNames Initializer

Definition at line 275 of file GUIGlObject.h.

◆ INVALID_ID

◆ myAdditionalVisualizations

std::map<GUISUMOAbstractView*, int> GUIBaseVehicle::myAdditionalVisualizations
inherited

◆ myArrivalLane

int MSBaseVehicle::myArrivalLane
protectedinherited

The destination lane where the vehicle stops.

Definition at line 838 of file MSBaseVehicle.h.

Referenced by MSBaseVehicle::calculateArrivalParams(), and MSVehicle::updateBestLanes().

◆ myArrivalPos

◆ myBlockTime

SUMOTime MEVehicle::myBlockTime
protectedinherited

The time at which the vehicle was blocked on its current segment.

Definition at line 387 of file MEVehicle.h.

Referenced by MEVehicle::getBlockTime(), MEVehicle::getWaitingTime(), MEVehicle::loadState(), MEVehicle::saveState(), and MEVehicle::setBlockTime().

◆ myChosenSpeedFactor

double MSBaseVehicle::myChosenSpeedFactor
protectedinherited

A precomputed factor by which the driver wants to be faster than the speed limit.

Definition at line 796 of file MSBaseVehicle.h.

Referenced by MSBaseVehicle::getChosenSpeedFactor(), MSBaseVehicle::saveState(), and MSBaseVehicle::setChosenSpeedFactor().

◆ myContainerDevice

◆ myContainerPositions

Seats GUIBaseVehicle::myContainerPositions
mutableprotectedinherited

◆ myCurrEdge

◆ myCurrentNumericalIndex

SUMOVehicle::NumericalID MSBaseVehicle::myCurrentNumericalIndex = 0
staticprivateinherited

Definition at line 868 of file MSBaseVehicle.h.

◆ myDepartPos

double MSBaseVehicle::myDepartPos
protectedinherited

◆ myDeparture

◆ myDevices

◆ myEdgeWeights

MSEdgeWeightsStorage* MSBaseVehicle::myEdgeWeights
mutableprivateinherited

◆ myEmptyTransportableVector

std::vector< MSTransportable * > MSBaseVehicle::myEmptyTransportableVector
staticprotectedinherited

Definition at line 857 of file MSBaseVehicle.h.

Referenced by MSBaseVehicle::getContainers(), and MSBaseVehicle::getPersons().

◆ myEventTime

SUMOTime MEVehicle::myEventTime
protectedinherited

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 258 of file GUIGlObject.h.

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

◆ myGlID

GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 249 of file GUIGlObject.h.

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

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 252 of file GUIGlObject.h.

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

◆ myID

◆ myInfluencer

BaseInfluencer* MEVehicle::myInfluencer
protectedinherited

An instance of a velocity/lane influencing instance; built in "getInfluencer".

Definition at line 390 of file MEVehicle.h.

Referenced by MEVehicle::getBaseInfluencer(), and MEVehicle::hasInfluencer().

◆ myLastEntryTime

◆ myLock

FXMutex GUIBaseVehicle::myLock
mutableprotectedinherited

The mutex used to avoid concurrent updates of the vehicle buffer.

Definition at line 361 of file GUIBaseVehicle.h.

Referenced by GUIVehicle::drawBestLanes(), and GUIBaseVehicle::~GUIBaseVehicle().

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 255 of file GUIGlObject.h.

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

◆ myMoveReminders

◆ myNumberReroutes

int MSBaseVehicle::myNumberReroutes
protectedinherited

◆ myNumericalID

const NumericalID MSBaseVehicle::myNumericalID
privateinherited

Definition at line 860 of file MSBaseVehicle.h.

Referenced by MSBaseVehicle::getNumericalID().

◆ myOdometer

double MSBaseVehicle::myOdometer
protectedinherited

A simple odometer to keep track of the length of the route already driven.

Definition at line 847 of file MSBaseVehicle.h.

Referenced by MSBaseVehicle::getOdometer(), MSVehicle::leaveLane(), MEVehicle::loadState(), MSVehicle::loadState(), MSBaseVehicle::saveState(), and MEVehicle::updateDetectors().

◆ myParameter

◆ myParamWindows

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

Parameter table windows which refer to this object.

Definition at line 261 of file GUIGlObject.h.

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

◆ myPastStops

std::vector<SUMOVehicleParameter::Stop> MSBaseVehicle::myPastStops
protectedinherited

◆ myPersonDevice

◆ myPopup

GUIGLObjectPopupMenu* GUIBaseVehicle::myPopup
privateinherited

current popup (to clean up in destructor). GUIBaseVehicle is not responsible for removal

Definition at line 374 of file GUIBaseVehicle.h.

Referenced by GUIBaseVehicle::getPopUpMenu(), GUIBaseVehicle::removedPopupMenu(), and GUIBaseVehicle::~GUIBaseVehicle().

◆ myQueIndex

int MEVehicle::myQueIndex
protectedinherited

Index of the que the vehicle is in (important for multiqueue extension)

Definition at line 378 of file MEVehicle.h.

Referenced by MEVehicle::getQueIndex(), and MEVehicle::setSegment().

◆ myRoute

◆ myRoutes

MSDevice_Vehroutes* GUIBaseVehicle::myRoutes
privateinherited

◆ myRouteValidity

int MSBaseVehicle::myRouteValidity
protectedinherited

status of the current vehicle route

Definition at line 850 of file MSBaseVehicle.h.

Referenced by MSBaseVehicle::getRouteValidity(), MSBaseVehicle::hasValidRouteStart(), and MSVehicle::hasValidRouteStart().

◆ mySeatPositions

Seats GUIBaseVehicle::mySeatPositions
mutableprotectedinherited

positions of seats in the vehicle (updated at every drawing step)

Definition at line 364 of file GUIBaseVehicle.h.

Referenced by GUIVehicle::drawAction_drawCarriageClass(), GUIBaseVehicle::drawOnPos(), GUIBaseVehicle::getSeatPosition(), and GUIBaseVehicle::GUIBaseVehicle().

◆ mySegment

◆ myStops

std::list<MSStop> MSBaseVehicle::myStops
protectedinherited

The vehicle's list of stops.

Definition at line 799 of file MSBaseVehicle.h.

Referenced by MSBaseVehicle::abortNextStop(), MSBaseVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTransportable(), MSBaseVehicle::basePos(), MSVehicle::checkReversal(), MEVehicle::checkStop(), MSVehicle::collisionStopTime(), MSVehicle::computeAngle(), GUIVehicle::drawRouteHelper(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSVehicle::estimateTimeToNextStop(), MSVehicle::getCurrentParkingArea(), MEVehicle::getCurrentStoppingTimeSeconds(), MSVehicle::getNextParkingArea(), MSVehicle::getNextStop(), MSVehicle::getNextStopParameter(), MSVehicle::getPosition(), MSVehicle::getStopArrivalDelay(), MSVehicle::getStopDelay(), MSBaseVehicle::getStopEdges(), MSBaseVehicle::getStopIndices(), GUIVehicle::getStopInfo(), MSBaseVehicle::getStops(), MSVehicle::hasArrived(), MSBaseVehicle::hasStops(), MSBaseVehicle::haveValidStopEdges(), MSBaseVehicle::isParking(), MSBaseVehicle::isStopped(), MSBaseVehicle::isStoppedInRange(), MSVehicle::isStoppedOnLane(), MSBaseVehicle::isStoppedTriggered(), MSVehicle::joinTrainPart(), MSVehicle::joinTrainPartFront(), MSVehicle::keepStopping(), MSVehicle::leaveLane(), MSVehicle::loadState(), MSVehicle::planMoveInternal(), MSVehicle::processNextStop(), MEVehicle::processStop(), MSVehicle::remainingStopDuration(), MSVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSVehicle::replaceStop(), GUIVehicle::rerouteDRTStop(), MSVehicle::resumeFromStopping(), MEVehicle::saveState(), MSVehicle::saveState(), MSVehicle::setBlinkerInformation(), MSVehicle::stopsAt(), MSVehicle::stopsAtEdge(), MSVehicle::updateBestLanes(), and MSVehicle::willStop().

◆ myStopUntilOffset

SUMOTime MSBaseVehicle::myStopUntilOffset
protectedinherited

The offset when adding route stops with 'until' on route replacement.

Definition at line 844 of file MSBaseVehicle.h.

Referenced by MSBaseVehicle::replaceRoute().

◆ myType

MSVehicleType* MSBaseVehicle::myType
protectedinherited

◆ myVehicle

◆ NOT_YET_DEPARTED

const SUMOTime MSBaseVehicle::NOT_YET_DEPARTED = SUMOTime_MAX
staticprotectedinherited

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 66 of file GUIGlObject.h.

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


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