![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GUIPerson.h>
Data Structures | |
class | GUIPersonPopupMenu |
Public Types | |
typedef std::vector< MSStage * > | MSTransportablePlan |
the structure holding the plan of a transportable | |
typedef long long int | NumericalID |
Public Member Functions | ||||
SUMOTime | abortStage (SUMOTime step) | |||
Abort current stage (used for aborting waiting for a vehicle) | ||||
void | addTo (const StoringVisitor &cont) const | |||
Adds this object to the given container. | ||||
void | appendStage (MSStage *stage, int next=-1) | |||
Appends the given stage to the current plan. | ||||
bool | checkAccess (const MSStage *const prior, const bool waitAtStop=true) | |||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const | |||
draw name of item | ||||
virtual double | getAngle () const | |||
return the current angle of the transportable | ||||
const MSEdge * | getArrivalEdge () const | |||
returns the final arrival edge | ||||
double | getArrivalPos () const | |||
returns the final arrival pos | ||||
PositionVector | getBoundingBox () const | |||
return the bounding box of the person | ||||
double | getChosenSpeedFactor () const | |||
the current speed factor of the transportable (where applicable) | ||||
MSStage * | getCurrentStage () const | |||
Return the current stage. | ||||
std::string | getCurrentStageDescription () const | |||
Returns the current stage description as a string. | ||||
MSStageType | getCurrentStageType () const | |||
the current stage type of the transportable | ||||
SUMOTime | getDeparture () const | |||
logs depart time of the current stage | ||||
SUMOTime | getDesiredDepart () const | |||
Returns the desired departure time. | ||||
const MSEdge * | getDestination () const | |||
Returns the current destination. | ||||
MSTransportableDevice * | getDevice (const std::type_info &type) const | |||
Returns a device of the given type if it exists or 0. | ||||
const std::vector< MSTransportableDevice * > & | getDevices () const | |||
Returns this vehicle's devices. | ||||
const MSEdge * | getEdge () const | |||
Returns the current edge. | ||||
ConstMSEdgeVector | getEdges (int next) const | |||
Return the edges of the nth next stage. | ||||
const MSEdge * | getFromEdge () const | |||
Returns the departure edge. | ||||
const std::string & | getID () const | |||
Returns the id. | ||||
double | getImpatience () const | |||
Influencer & | getInfluencer () | |||
Returns the velocity/lane influencer. | ||||
const Influencer * | getInfluencer () const | |||
const MSLane * | getLane () const | |||
Returns the current lane (may be nullptr) | ||||
const MSEdge * | getNextDestination () const | |||
Returns the destination after the current destination. | ||||
const std::string & | getNextEdge () const | |||
return the list of internal edges if this person is walking and the pedestrian model allows it | ||||
const MSEdge * | getNextEdgePtr () const | |||
returns the next edge ptr if this person is walking and the pedestrian model allows it | ||||
MSStage * | getNextStage (int next) const | |||
Return the current stage. | ||||
int | getNumRemainingStages () const | |||
Return the number of remaining stages (including the current) | ||||
int | getNumStages () const | |||
Return the total number stages in this persons plan. | ||||
const SUMOVehicleParameter & | getParameter () const | |||
Returns the vehicle's parameter (including departure definition) | ||||
SumoRNG * | getRNG () const | |||
returns the associated RNG | ||||
int | getRoutePosition () const | |||
return index of edge within route | ||||
MSVehicleType & | getSingularType () | |||
Replaces the current vehicle type with a new one used by this vehicle only. | ||||
std::string | getStageSummary (int stageIndex) const | |||
return textual summary for the given stage | ||||
MSStageType | getStageType (int next) const | |||
the stage type for the nth next stage | ||||
SUMOVehicle * | getVehicle () const | |||
The vehicle associated with this transportable. | ||||
const MSVehicleType & | getVehicleType () const | |||
Returns the object's "vehicle" type. | ||||
GUIPerson (const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan, const double speedFactor) | ||||
Constructor. | ||||
bool | hasArrived () const | |||
return whether the person has reached the end of its plan | ||||
bool | hasDeparted () const | |||
return whether the transportable has started it's plan | ||||
bool | hasInfluencer () const | |||
whether the vehicle is individually influenced (via TraCI or special parameters) | ||||
bool | isJammed () const | |||
whether the person is jammed as defined by the current pedestrian model | ||||
virtual bool | isVehicle () const | |||
Whether it is a vehicle. | ||||
bool | isWaiting4Vehicle () const | |||
Whether the transportable waits for a vehicle. | ||||
bool | isWaitingFor (const SUMOVehicle *vehicle) const | |||
Whether the transportable waits for the given vehicle in the current step. | ||||
void | loadState (const std::string &state) | |||
Reconstructs the current state. | ||||
virtual void | onLeftBtnPress (void *) | |||
notify object about left click | ||||
void | removeStage (int next, bool stayInSim=true) | |||
removes the nth next stage | ||||
void | replaceVehicleType (MSVehicleType *type) | |||
Replaces the current vehicle type by the one given. | ||||
void | reroute (ConstMSEdgeVector &newEdges, double departPos, int firstIndex, int nextIndex) | |||
set new walk and replace the stages with relative indices in the interval [firstIndex, nextIndex[ | ||||
void | rerouteParkingArea (MSStoppingPlace *orig, MSStoppingPlace *replacement) | |||
adapt plan when the vehicle reroutes and now stops at replacement instead of orig | ||||
void | routeOutput (OutputDevice &os, const bool withRouteLength) const | |||
Called on writing vehroute output. | ||||
void | saveState (OutputDevice &out) | |||
Saves the current state into the given stream. | ||||
void | setAbortWaiting (const SUMOTime timeout) | |||
void | setChosenSpeedFactor (const double factor) | |||
void | setDeparted (SUMOTime now) | |||
logs depart time of the current stage | ||||
void | setID (const std::string &newID) | |||
set the id (inherited from Named but forbidden for transportables) | ||||
void | setJunctionModelParameter (const std::string &key, const std::string &value) | |||
set individual junction model paramete (not type related) | ||||
void | setRemoteState (Position xyPos) | |||
sets position outside the road network | ||||
void | setSpeed (double speed) | |||
set the speed for all present and future (walking) stages and modify the vType so that stages added later are also affected | ||||
void | tripInfoOutput (OutputDevice &os) const | |||
Called on writing tripinfo output. | ||||
~GUIPerson () | ||||
destructor | ||||
inherited from GUIGlObject | ||||
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) override | |||
Returns an own popup-menu. | ||||
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override | |||
Returns an own parameter window. | ||||
GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override | |||
Returns an own type parameter window. | ||||
double | getExaggeration (const GUIVisualizationSettings &s) const override | |||
return exaggeration associated with this GLObject | ||||
Boundary | getCenteringBoundary () const override | |||
Returns the boundary to which the view shall be centered in order to show the object. | ||||
void | drawGL (const GUIVisualizationSettings &s) const override | |||
Draws the object. | ||||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const override | |||
Draws additionally triggered visualisations. | ||||
bool | proceed (MSNet *net, SUMOTime time, const bool vehicleArrived=false) override | |||
void | setPositionInVehicle (const GUIBaseVehicle::Seat &pos) | |||
Additional visualisations | ||||
bool | hasActiveAddVisualisation (GUISUMOAbstractView *const parent, int which) const | |||
Returns whether the named feature is enabled in the given view. | ||||
void | addActiveAddVisualisation (GUISUMOAbstractView *const parent, int which) | |||
Adds the named visualisation feature to the given view. | ||||
void | removeActiveAddVisualisation (GUISUMOAbstractView *const parent, int which) override | |||
Adds the named visualisation feature to the given view. | ||||
inherited from SUMOTrafficObject | ||||
bool | isPerson () const | |||
Whether it is a person. | ||||
bool | isContainer () const | |||
Whether it is a container. | ||||
std::string | getObjectType () | |||
NumericalID | getNumericalID () const | |||
return the numerical ID which is only for internal usage | ||||
bool | isStopped () const | |||
Returns whether the object is at a stop. | ||||
double | getSlope () const | |||
Returns the slope of the road at object's position in degrees. | ||||
SUMOVehicleClass | getVClass () const | |||
Returns the object's access class. | ||||
double | getMaxSpeed () const | |||
Returns the maximum speed (the minimum of desired and physical maximum speed) | ||||
SUMOTime | getWaitingTime () const | |||
double | getPreviousSpeed () const | |||
Returns the object's previous speed. | ||||
double | getAcceleration () const | |||
Returns the object's acceleration. | ||||
double | getPositionOnLane () const | |||
Get the object's position along the lane. | ||||
double | getBackPositionOnLane (const MSLane *lane) const | |||
Get the object's back position along the given lane. | ||||
Position | getPosition (const double) const | |||
Return current position (x/y, cartesian) | ||||
getter methods | ||||
Returns the full name appearing in the tool tip
| ||||
const std::string & | getFullName () const | |||
virtual std::string | getParentName () const | |||
Returns the name of the parent object (if any) | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. | ||||
FXIcon * | getGLIcon () const | |||
get icon associated with this GL Object | ||||
interfaces to be implemented by derived classes | ||||
virtual void | removedPopupMenu () | |||
notify object about popup menu removal | ||||
const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. | ||||
virtual const std::string | getOptionalName () const | |||
Returns the name of the object (default "") | ||||
virtual void | setMicrosimID (const std::string &newID) | |||
Changes the microsimID of the object. | ||||
GUIGlObjectType | getType () const | |||
Returns the type of the object as coded in GUIGlObjectType. | ||||
virtual double | getClickPriority () const | |||
Returns the priority of receiving mouse clicks. | ||||
bool | isBlocked () const | |||
get blocking status | ||||
void | setBlocked (const bool state=true) | |||
set blocking status | ||||
virtual bool | isGLObjectLocked () | |||
check if element is locked (Currently used only in netedit) | ||||
virtual void | markAsFrontElement () | |||
mark element as front element (Currently used only in netedit) | ||||
virtual void | deleteGLObject () | |||
delete GLObject (Currently used only in netedit) | ||||
virtual void | selectGLObject () | |||
select GLObject (Currently used only in netedit) | ||||
virtual void | updateGLObject () | |||
update GLObject (geometry, ID, etc.) (optional) | ||||
Parameter table window I/O | ||||
Lets this object know a parameter window showing the object's values was opened
| ||||
void | addParameterTable (GUIParameterTableWindow *w) | |||
void | removeParameterTable (GUIParameterTableWindow *w) | |||
Lets this object know a parameter window showing the object's values was closed. | ||||
Static Public Member Functions | |
template<class T > | |
static std::string | getIDSecure (const T *obj, const std::string &fallBack="NULL") |
get an identifier for Named-like object which may be Null | |
Static Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings | |
Protected Member Functions | |
void | buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI | |
void | buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI | |
bool | mouseWithinGeometry (const Position &pos, const double width, const double height, const double offsetX, const double offsetY, const double rot) const |
check if mouse is within elements geometry (for rectangles) | |
bool | mouseWithinGeometry (const Position center, const double radius) const |
check if mouse is within elements geometry (for circles) | |
bool | mouseWithinGeometry (const PositionVector shape) const |
check if mouse is within elements geometry (for filled shapes) | |
bool | mouseWithinGeometry (const PositionVector shape, const double width) const |
check if mouse is within elements geometry (for shapes) | |
bool | mouseWithinGeometry (const PositionVector shape, const double width, GUIGlObject *parent) const |
check if mouse is within elements geometry (for edges) | |
helper methods for building popup-menus | |
void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) |
Builds the header. | |
void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to center to the object. | |
void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds entries which allow to copy the name / typed name into the clipboard. | |
void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to (de)select the object. | |
void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the parameter window. | |
void | buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the type parameter window. | |
void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, const GUIMainWindow &app) const |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. | |
void | buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the manipulator window. | |
Protected Attributes | |
std::vector< MSTransportableDevice * > | myDevices |
The devices this transportable has. | |
std::string | myID |
The name of the object. | |
const SUMOVehicleParameter * | myParameter |
the plan of the transportable | |
MSTransportablePlan * | myPlan |
the plan of the transportable | |
MSTransportablePlan::iterator | myStep |
the iterator over the route | |
MSVehicleType * | myVType |
This transportable's type. (mainly used for drawing related information Note sure if it is really necessary. | |
bool | myWriteEvents |
Whether events shall be written. | |
Private Member Functions | |
std::string | createFullName () const |
create full name | |
void | drawAction_drawWalkingareaPath (const GUIVisualizationSettings &s) const |
draw walking area path | |
void | setColor (const GUIVisualizationSettings &s) const |
sets the color according to the currente settings | |
Private Attributes | |
WrappingCommand< MSTransportable > * | myAbortCommand |
std::map< GUISUMOAbstractView *, int > | myAdditionalVisualizations |
Enabled visualisations, per view. | |
bool | myAmBlocked |
whether the object can be deleted | |
const bool | myAmPerson |
double | myChosenSpeedFactor |
std::string | myFullName |
full name of GL Object | |
const GUIGlID | myGlID |
The numerical id of the object. | |
const GUIGlObjectType | myGLObjectType |
The type of the object. | |
FXIcon * | myIcon |
icon associatd with this GL Object | |
Influencer * | myInfluencer |
An instance of a speed/position influencing instance; built in "getInfluencer". | |
FXMutex | myLock |
The mutex used to avoid concurrent updates of the vehicle buffer. | |
std::string | myMicrosimID |
ID of GL object. | |
const NumericalID | myNumericalID |
std::set< GUIParameterTableWindow * > | myParamWindows |
Parameter table windows which refer to this object. | |
GUIBaseVehicle::Seat | myPositionInVehicle |
The position of a person while riding a vehicle. | |
Static Private Attributes | |
static StringBijection< GUIGlObjectType >::Entry | GUIGlObjectTypeNamesInitializer [] |
vector for TypeNames Initializer | |
static NumericalID | myCurrentNumericalIndex = 0 |
inherited from MSPerson with added locking | |
return the offset from the start of the current edge | |
enum | VisualisationFeatures { VO_SHOW_WALKINGAREA_PATH = 1 , VO_SHOW_ROUTE = 2 , VO_TRACKED = 8 } |
Additional visualisation feature ids. More... | |
double | getEdgePos () const override |
Return the position on the edge. | |
int | getDirection () const override |
Return the movement directon on the edge. | |
Position | getPosition () const override |
return the Network coordinate of the person | |
Position | getGUIPosition (const GUIVisualizationSettings *s=nullptr) const |
return the Network coordinate of the person (only for drawing centering and tracking) | |
double | getGUIAngle () const |
return the angle of the person (only for drawing centering and tracking) | |
double | getNaviDegree () const |
return the current angle of the person | |
double | getWaitingSeconds () const override |
the time this person spent waiting in seconds | |
double | getSpeed () const override |
the current speed of the person | |
std::string | getStageIndexDescription () const |
get stage index description | |
std::string | getEdgeID () const |
get edge ID | |
std::string | getFromEdgeID () const |
ger from edge ID | |
std::string | getDestinationEdgeID () const |
get destination edge ID | |
std::string | getDestinationStopID () const |
get destination stop ID | |
std::string | getVehicleID () const |
get current vehicle id if applicable | |
double | getStopDuration () const |
get remaining duration of current stop or -1 | |
double | getStageArrivalPos () const |
get stage arrival position | |
bool | isSelected () const override |
whether this person is selected in the GUI | |
double | getColorValue (const GUIVisualizationSettings &s, int activeScheme) const override |
gets the color value according to the current scheme index | |
static bool | setFunctionalColor (int activeScheme, const MSPerson *person, RGBColor &col) |
sets the color according to the current scheme index and some vehicle function | |
Definition at line 52 of file GUIPerson.h.
|
inherited |
the structure holding the plan of a transportable
Definition at line 119 of file MSTransportable.h.
|
inherited |
Definition at line 48 of file SUMOTrafficObject.h.
Additional visualisation feature ids.
Enumerator | |
---|---|
VO_SHOW_WALKINGAREA_PATH | show the current walkingarea path |
VO_SHOW_ROUTE | show persons's current route |
VO_TRACKED | track person |
Definition at line 232 of file GUIPerson.h.
GUIPerson::GUIPerson | ( | const SUMOVehicleParameter * | pars, |
MSVehicleType * | vtype, | ||
MSTransportable::MSTransportablePlan * | plan, | ||
const double | speedFactor | ||
) |
Constructor.
Definition at line 168 of file GUIPerson.cpp.
GUIPerson::~GUIPerson | ( | ) |
destructor
Definition at line 175 of file GUIPerson.cpp.
References GUIGlObject::getGlID(), myAdditionalVisualizations, and myLock.
Abort current stage (used for aborting waiting for a vehicle)
Definition at line 255 of file MSTransportable.cpp.
References MSNet::getContainerControl(), Named::getID(), MSNet::getInstance(), MSNet::getPersonControl(), MSTransportable::isPerson(), MSTransportable::proceed(), MSTransportableControl::registerTeleportAbortWait(), time2string(), TL, and WRITE_WARNINGF.
Referenced by MSTransportable::setAbortWaiting().
void GUIPerson::addActiveAddVisualisation | ( | GUISUMOAbstractView *const | parent, |
int | which | ||
) |
Adds the named visualisation feature to the given view.
[in] | parent | The view for which the feature shall be enabled |
[in] | which | The visualisation feature to enable |
Definition at line 671 of file GUIPerson.cpp.
References GUISUMOAbstractView::addAdditionalGLVisualisation(), and myAdditionalVisualizations.
Referenced by GUIPerson::GUIPersonPopupMenu::onCmdShowCurrentRoute(), and GUIPerson::GUIPersonPopupMenu::onCmdShowWalkingareaPath().
|
inherited |
Definition at line 358 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
inlineinherited |
Adds this object to the given container.
[in,filled] | cont The container to add this item to |
Definition at line 118 of file Named.h.
References Named::StoringVisitor::add().
|
inherited |
Appends the given stage to the current plan.
Definition at line 270 of file MSTransportable.cpp.
References Named::getID(), MSTransportable::myPlan, MSTransportable::myStep, and toString().
Referenced by LIBSUMO_NAMESPACE::Person::appendDrivingStage(), LIBSUMO_NAMESPACE::Person::appendStage(), LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSTransportable::removeStage(), LIBSUMO_NAMESPACE::Person::replaceStage(), MSPerson::reroute(), MSTransportable::rerouteParkingArea(), and MSStageTrip::setArrived().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 396 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.
|
protectedinherited |
Builds an entry which allows to center to the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 275 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_CENTER, RECENTERVIEW, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETranship::getPopUpMenu(), GNETransport::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 284 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), MID_COPY_NAME, MID_COPY_TYPED_NAME, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
Builds the header.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 266 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), GUIGlObject::getFullName(), and GUIGlObject::myIcon.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETranship::getPopUpMenu(), GNETransport::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 325 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GEOHACK, GeoConvHelper::getFinal(), GUIIconSubSys::getIcon(), GUIMainWindow::getOnlineMaps(), GOOGLESAT, GUIGLObjectPopupMenu::insertMenuPaneChild(), MID_COPY_CURSOR_GEOPOSITION, MID_COPY_CURSOR_POSITION, MID_SHOW_GEOPOSITION_ONLINE, OSM, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETranship::getPopUpMenu(), GNETransport::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 294 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), FLAG_MINUS, FLAG_PLUS, GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, GUISelectedStorage::isSelected(), MID_ADDSELECT, MID_REMOVESELECT, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 373 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.
Referenced by GUIPointOfInterest::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 349 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MANIP, MID_MANIP, and TL.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 307 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWPARS, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETranship::getPopUpMenu(), GNETransport::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 316 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWTYPEPARS, and TL.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), and getPopUpMenu().
|
virtualinherited |
Reimplemented from MSTransportable.
Definition at line 537 of file MSPerson.cpp.
References MSStoppingPlace::getAccessDistance(), MSStoppingPlace::getAccessPos(), MSStoppingPlace::getBeginLanePosition(), MSStage::getDestination(), MSStage::getDestinationStop(), MSLane::getEdge(), MSStoppingPlace::getEndLanePosition(), MSStoppingPlace::getLane(), MSStage::getStageType(), MSTransportable::myPlan, MSTransportable::myStep, and TRIP.
|
privateinherited |
create full name
Definition at line 489 of file GUIGlObject.cpp.
References GUIGlObject::getMicrosimID(), StringBijection< T >::getString(), GUIGlObject::myGLObjectType, and GUIGlObject::TypeNames.
Referenced by GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
virtualinherited |
delete GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, GNEWalkingArea, and GNENetworkElement.
Definition at line 213 of file GUIGlObject.cpp.
|
private |
draw walking area path
Definition at line 323 of file GUIPerson.cpp.
References GLHelper::drawBoxLines(), MSTransportable::getCurrentStage(), MSStageMoving::getState(), GUIGlObject::getType(), MSPModel_Striping::PState::myWalkingAreaPath, GLHelper::popMatrix(), GLHelper::pushMatrix(), setColor(), and MSPModel_Striping::WalkingAreaPath::shape.
Referenced by drawGL(), and drawGLAdditional().
|
overridevirtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 281 of file GUIPerson.cpp.
References GUIVisualizationSettings::angle, GUIBasePersonHelper::drawAction_drawAsCircle(), GUIBasePersonHelper::drawAction_drawAsImage(), GUIBasePersonHelper::drawAction_drawAsPoly(), GUIBasePersonHelper::drawAction_drawAsTriangle(), drawAction_drawWalkingareaPath(), GUIGlObject::drawName(), GLHelper::drawTextSettings(), GUIPropertySchemeStorage< T >::getActive(), getColorValue(), getExaggeration(), GUIGlObject::getGlID(), getGUIAngle(), getGUIPosition(), GUIGlObject::getType(), MSTransportable::getVehicleType(), GLO_MAX, GUIVisualizationSettings::personColorer, GUIVisualizationSettings::personName, GUIVisualizationSettings::personQuality, GUIVisualizationSettings::personValue, GLHelper::popMatrix(), GLHelper::popName(), GLHelper::pushMatrix(), GLHelper::pushName(), GUIVisualizationSettings::scale, GUIVisualizationTextSettings::scaledSize(), setColor(), GUIVisualizationTextSettings::show(), toString(), Position::x(), and Position::y().
Referenced by GUIBaseVehicle::drawAction_drawPersonsAndContainers(), and GUIEdge::drawGL().
|
overridevirtual |
Draws additionally triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented from GUIGlObject.
Definition at line 341 of file GUIPerson.cpp.
References RGBColor::changedBrightness(), drawAction_drawWalkingareaPath(), GLHelper::drawBoxLines(), GLHelper::getColor(), MSTransportable::getCurrentStage(), MSTransportable::getCurrentStageType(), getExaggeration(), GUIGlObject::getGlID(), MSStageMoving::getRoute(), GUILane::getShape(), GUILane::getShapeLengths(), GUILane::getShapeRotations(), GUIGlObject::getType(), hasActiveAddVisualisation(), GLHelper::popMatrix(), GLHelper::popName(), GLHelper::pushMatrix(), GLHelper::pushName(), GUIVisualizationSettings::secondaryShape, setColor(), GLHelper::setColor(), VO_SHOW_ROUTE, VO_SHOW_WALKINGAREA_PATH, and WALKING.
|
inherited |
draw name of item
Definition at line 495 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show().
Referenced by GNEEdge::drawEdgeName(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNECrossing::drawGL(), GNEJunction::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), drawGL(), GNEPoly::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GUIBaseVehicle::drawOnPos(), GNELaneAreaDetector::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), and GNEDemandElement::drawPersonPlanPartial().
|
inlinevirtualinherited |
Returns the object's acceleration.
Implements SUMOTrafficObject.
Definition at line 103 of file MSTransportable.h.
|
virtualinherited |
return the current angle of the transportable
Implements SUMOTrafficObject.
Reimplemented in GUIContainer.
Definition at line 179 of file MSTransportable.cpp.
References MSNet::getCurrentTimeStep(), and MSNet::getInstance().
Referenced by GUIContainer::getAngle(), MSTransportable::getBoundingBox(), MSLink::getFuturePosition(), getGUIAngle(), getNaviDegree(), MSLink::isOnComingPed(), setFunctionalColor(), MSFCDExport::writeTransportable(), and MSXMLRawOut::writeTransportable().
|
inlineinherited |
returns the final arrival edge
Definition at line 312 of file MSTransportable.h.
References MSTransportable::myPlan.
Referenced by LIBSUMO_NAMESPACE::Person::appendWaitingStage(), and LIBSUMO_NAMESPACE::Person::convertTraCIStage().
|
inlineinherited |
returns the final arrival pos
Definition at line 307 of file MSTransportable.h.
References MSTransportable::myPlan.
Referenced by LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), GUIContainer::getParameterWindow(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), and MSPerson::reroute().
|
virtualinherited |
Get the object's back position along the given lane.
Implements SUMOTrafficObject.
Definition at line 164 of file MSTransportable.cpp.
References MSTransportable::getEdgePos(), MSVehicleType::getLength(), and MSTransportable::getVehicleType().
|
inherited |
return the bounding box of the person
Definition at line 345 of file MSTransportable.cpp.
References PositionVector::append(), MSTransportable::getAngle(), MSVehicleType::getLength(), MSTransportable::getPosition(), MSTransportable::getVehicleType(), PositionVector::move2side(), and PositionVector::reverse().
|
overridevirtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 271 of file GUIPerson.cpp.
References Boundary::add(), getGUIPosition(), MSTransportable::getVehicleType(), Boundary::grow(), and MAX2().
|
inlinevirtualinherited |
the current speed factor of the transportable (where applicable)
Reimplemented from MSTransportable.
Definition at line 267 of file MSPerson.h.
References MSPerson::myChosenSpeedFactor.
Referenced by getParameterWindow(), and GUISUMOViewParent::onUpdSpeedFactor().
|
inlinevirtualinherited |
Returns the priority of receiving mouse clicks.
Reimplemented in GUILane, GNEPOI, GNEPoly, GUIPointOfInterest, and GUIPolygon.
Definition at line 159 of file GUIGlObject.h.
References GUIGlObject::myGLObjectType.
Referenced by GUISUMOAbstractView::getObjectAtPosition().
|
overridevirtual |
gets the color value according to the current scheme index
Reimplemented from GUIGlObject.
Definition at line 433 of file GUIPerson.cpp.
References MSTransportable::getCurrentStageType(), GUIGlObject::getGlID(), getSpeed(), getWaitingSeconds(), GLO_PERSON, gSelected, MSPerson::isJammed(), GUISelectedStorage::isSelected(), MSTransportable::isWaiting4Vehicle(), WAITING, and WAITING_FOR_DEPART.
Referenced by drawGL(), and setColor().
|
inlineinherited |
Return the current stage.
Definition at line 229 of file MSTransportable.h.
References MSTransportable::myStep.
Referenced by drawAction_drawWalkingareaPath(), drawGLAdditional(), getDestinationStopID(), getGUIPosition(), GUIContainer::getParameterWindow(), getStageArrivalPos(), getStopDuration(), getVehicleID(), MSPerson::isJammed(), MSTransportableControl::loadAnyWaiting(), LIBSUMO_NAMESPACE::Person::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSDevice_Transportable::notifyMove(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), MSEdge::transportable_by_position_sorter::operator()(), MSPerson::Influencer::postProcessRemoteControl(), and MSDevice_Transportable::~MSDevice_Transportable().
|
inlineinherited |
Returns the current stage description as a string.
Definition at line 224 of file MSTransportable.h.
References MSTransportable::myAmPerson.
Referenced by GUIContainer::getParameterWindow(), getParameterWindow(), LIBSUMO_NAMESPACE::Person::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSXMLRawOut::writeTransportable().
|
inlineinherited |
the current stage type of the transportable
Definition at line 209 of file MSTransportable.h.
Referenced by MSPModel_Remote::add(), MSPModel_Striping::add(), GUIContainer::drawGL(), drawGLAdditional(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), GUIContainer::getColorValue(), getColorValue(), getGUIAngle(), getGUIPosition(), MSPerson::getNextEdgePtr(), GUIContainer::getPosition(), MSTransportable::isStopped(), MSTransportable::rerouteParkingArea(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), and MSTransportable::~MSTransportable().
|
inherited |
logs depart time of the current stage
Definition at line 148 of file MSTransportable.cpp.
References MSTransportable::myPlan.
Referenced by MSTransportableControl::erase().
|
inherited |
Returns the desired departure time.
Definition at line 138 of file MSTransportable.cpp.
References SUMOVehicleParameter::depart, and MSTransportable::myParameter.
Referenced by MSTransportable::tripInfoOutput().
|
inlineinherited |
Returns the current destination.
Definition at line 161 of file MSTransportable.h.
Referenced by MSStageDriving::canLeaveVehicle(), getDestinationEdgeID(), GUIContainer::getParameterWindow(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSDevice_Transportable::notifyLeave(), and MSTransportable::rerouteParkingArea().
std::string GUIPerson::getDestinationEdgeID | ( | ) | const |
get destination edge ID
Definition at line 590 of file GUIPerson.cpp.
References MSTransportable::getDestination(), Named::getID(), MSTransportable::hasArrived(), and myLock.
Referenced by getParameterWindow().
std::string GUIPerson::getDestinationStopID | ( | ) | const |
get destination stop ID
Definition at line 600 of file GUIPerson.cpp.
References MSTransportable::getCurrentStage(), MSStage::getDestinationStop(), Named::getID(), MSTransportable::hasArrived(), and myLock.
Referenced by getParameterWindow().
|
inherited |
Returns a device of the given type if it exists or 0.
Definition at line 466 of file MSTransportable.cpp.
References MSTransportable::myDevices.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute(), and MSFCDExport::hasOwnOutput().
|
inlineinherited |
Returns this vehicle's devices.
Definition at line 358 of file MSTransportable.h.
References MSTransportable::myDevices.
|
overridevirtual |
Return the movement directon on the edge.
Reimplemented from MSTransportable.
Definition at line 471 of file GUIPerson.cpp.
References MSTransportable::getDirection(), MSTransportable::hasArrived(), myLock, and MSPModel::UNDEFINED_DIRECTION.
|
inlinevirtualinherited |
Returns the current edge.
Implements SUMOTrafficObject.
Definition at line 171 of file MSTransportable.h.
Referenced by MSTransportableControl::abortWaitingForVehicle(), MSPerson::MSPersonStage_Walking::activateEntryReminders(), MSPModel_Striping::add(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), getEdgeID(), GUIContainer::getParameterWindow(), GUIContainer::getPosition(), MSTransportable::getRNG(), MSTransportable::getSlope(), LIBSUMO_NAMESPACE::Person::getSlope(), MSFCDExport::hasOwnOutput(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPerson::MSPersonStage_Walking::proceed(), proceed(), MSTransportable::removeStage(), and LIBSUMO_NAMESPACE::Person::rerouteTraveltime().
std::string GUIPerson::getEdgeID | ( | ) | const |
get edge ID
Definition at line 570 of file GUIPerson.cpp.
References MSTransportable::getEdge(), Named::getID(), MSTransportable::hasArrived(), and myLock.
Referenced by getParameterWindow().
|
overridevirtual |
Return the position on the edge.
Reimplemented from MSTransportable.
Definition at line 462 of file GUIPerson.cpp.
References MSTransportable::getEdgePos(), MSTransportable::hasArrived(), and myLock.
Referenced by getParameterWindow().
|
inlineinherited |
Return the edges of the nth next stage.
Definition at line 241 of file MSTransportable.h.
References MSTransportable::myPlan, and MSTransportable::myStep.
Referenced by LIBSUMO_NAMESPACE::Person::getEdges(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), and MSDetectorFileOutput::vehicleApplies().
|
overridevirtual |
return exaggeration associated with this GLObject
Reimplemented from GUIGlObject.
Definition at line 265 of file GUIPerson.cpp.
References GUIVisualizationSizeSettings::getExaggeration(), GUIVisualizationSettings::personQuality, and GUIVisualizationSettings::personSize.
Referenced by drawGL(), and drawGLAdditional().
|
inlineinherited |
Returns the departure edge.
Definition at line 181 of file MSTransportable.h.
Referenced by getFromEdgeID(), and GUIContainer::getParameterWindow().
std::string GUIPerson::getFromEdgeID | ( | ) | const |
ger from edge ID
Definition at line 580 of file GUIPerson.cpp.
References MSTransportable::getFromEdge(), Named::getID(), MSTransportable::hasArrived(), and myLock.
Referenced by getParameterWindow().
|
inlineinherited |
Definition at line 92 of file GUIGlObject.h.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUIParameterTableWindow::onLeftBtnPress(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inherited |
get icon associated with this GL Object
Definition at line 186 of file GUIGlObject.cpp.
References GUIGlObject::myIcon.
|
inlineinherited |
Returns the numerical id of the object.
Definition at line 102 of file GUIGlObject.h.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNECalibrator::drawCalibratorSymbol(), GNEEdge::drawEdgeGeometryPoints(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), GUILane::drawGL(), drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), drawGLAdditional(), GUILane::drawLinkRule(), GNEAdditional::drawListedAddtional(), GUIBaseVehicle::drawOnPos(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverEdge(), GNEStop::drawStopPersonOverStoppingPlace(), GNEStop::drawVehicleStop(), GUIJunctionWrapper::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), getPopUpMenu(), GUIEdge::getScaleValue(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIVehicle::isSelected(), GUIContainer::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEElementTree::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIViewTraffic::showLaneReachability(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and ~GUIPerson().
double GUIPerson::getGUIAngle | ( | ) | const |
return the angle of the person (only for drawing centering and tracking)
Definition at line 516 of file GUIPerson.cpp.
References GUIBaseVehicle::Seat::angle, DRIVING, MSTransportable::getAngle(), MSTransportable::getCurrentStageType(), MSTransportable::hasArrived(), Position::INVALID, INVALID_DOUBLE, MSTransportable::isWaiting4Vehicle(), myLock, myPositionInVehicle, and GUIBaseVehicle::Seat::pos.
Referenced by drawGL().
Position GUIPerson::getGUIPosition | ( | const GUIVisualizationSettings * | s = nullptr | ) | const |
return the Network coordinate of the person (only for drawing centering and tracking)
Definition at line 491 of file GUIPerson.cpp.
References GUIVisualizationSettings::addSize, DRIVING, GUIVisualizationSettings::gaming, MSStoppingPlace::getCenterPos(), MSTransportable::getCurrentStage(), MSTransportable::getCurrentStageType(), GUIVisualizationSizeSettings::getExaggeration(), MSStage::getOriginStop(), MSTransportable::getPosition(), MSTransportable::hasArrived(), Position::INVALID, MSTransportable::isWaiting4Vehicle(), myLock, myPositionInVehicle, GUIVisualizationSettings::personSize, and GUIBaseVehicle::Seat::pos.
Referenced by drawGL(), and getCenteringBoundary().
|
inlineinherited |
Returns the id.
Definition at line 74 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSDetectorControl::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), NIXMLEdgesHandler::addEdge(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSTriggeredRerouter::addParkValues(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), NIVisumTL::build(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSRailSignal::DriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSE2Collector::checkPositioning(), MSRoute::checkRemoval(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), RORouteHandler::closeRouteDistribution(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), NBNodeShapeComputer::computeEdgeBoundaries(), MSVehicle::computeFurtherLanes(), MSDevice_SSM::computeGlobalMeasures(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), NBRampsComputer::computeRamps(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSRailSignal::DriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSDefinition::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), 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(), MSEdge::dictionaryHint(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUILane::drawGL(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MSE3Collector::enter(), NEMAPhase::enter(), MSParkingArea::enter(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), Command_RouteReplacement::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), MSStopOut::generateOutputForUnfinished(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), MSStop::getDescription(), NBTrafficLightDefinition::getDescription(), MSStageTrip::getDestinationDescription(), getDestinationEdgeID(), getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSSimpleTrafficLightLogic::getEarliest(), getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFirstVehicleInformation(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), getFromEdgeID(), MSPModel_Striping::PStateVehicle::getID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSRailSignal::getJunctionLinkID(), RORouteHandler::getJunctionTaz(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), MSDevice_SSM::getMDRAC_PRT(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSStageTrip::getOriginDescription(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_ToC::getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIContainer::getParameterWindow(), GUILane::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_NAMESPACE::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), GUIBaseVehicle::getScaleValue(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), MSDevice::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), 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(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), getVehicleID(), 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(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSRailSignal::hasOncomingRailTraffic(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), NBNode::indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSCalibrator::init(), NBEdge::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSLane::insertVehicle(), MSEdge::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSLane::integrateNewVehicles(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MEVehicle::mayProceed(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSParkingArea::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), MSLCM_SL2015::mustOvertakeStopped(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_StationFinder::notifyMove(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_ToC::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSDefinition::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSEdge::transportable_by_position_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSLaneChangerSublane::outputLCStarted(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_stopPoints(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSLCM_SL2015::preventSliding(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSRailSignalControl::registerProtectedDriveway(), MSLink::removeApproaching(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), 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(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MEVehicle::resumeFromStopping(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_LC2013::saveBlockerLength(), MSLane::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSSimpleTrafficLightLogic::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), MSStageTrip::setArrived(), NBNodeCont::setAsTLControlled(), MSSimpleDriverState::setAwareness(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), NLEdgeControlBuilder::setDefaultStopOffset(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), NBEdge::setGeometry(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingThreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSStopOut::stopStarted(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), MSDevice_ToC::switchHolderType(), GNETLSEditorFrame::TLSDefinition::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSLCM_SL2015::updateCFRelated(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSVehicle::updateDriveItems(), MSRailSignal::updateDriveway(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSRailSignalConstraint_Predecessor::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSXMLRawOut::writeVehicle(), MSAmitranTrajectories::writeVehicle(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 67 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::avoidDeadlock(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSRailSignal::DriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), MSRailSignal::DriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSRailSignal::DriveWay::reserve(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), toString(), toString(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), and MSLaneChanger::yieldToDeadlockOncoming().
|
inherited |
Definition at line 564 of file MSPerson.cpp.
References MSPerson::getImpatience(), MSTransportable::getVehicleType(), MAX2(), MSPModel_Striping::MAX_WAIT_TOLERANCE, MIN2(), SIMSTEP, and STEPS2TIME.
Referenced by MSPerson::getImpatience().
|
inherited |
Returns the velocity/lane influencer.
If no influencer was existing before, one is built, first
Definition at line 626 of file MSPerson.cpp.
References MSPerson::myInfluencer.
Referenced by MSPerson::MSPersonStage_Walking::moveToNextEdge(), and libsumo::Helper::setRemoteControlled().
|
inherited |
Definition at line 635 of file MSPerson.cpp.
References MSPerson::myInfluencer.
|
inlinevirtualinherited |
Returns the current lane (may be nullptr)
Implements SUMOTrafficObject.
Definition at line 176 of file MSTransportable.h.
Referenced by MSPerson::MSPersonStage_Access::proceed().
|
virtualinherited |
Returns the maximum speed (the minimum of desired and physical maximum speed)
Implements SUMOTrafficObject.
Definition at line 502 of file MSTransportable.cpp.
References MSTransportable::getChosenSpeedFactor(), MSTransportable::getMaxSpeed(), MSTransportable::getVehicleType(), and MIN2().
Referenced by LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSLink::checkWalkingAreaFoe(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), MSLink::getFuturePosition(), MSTransportable::getMaxSpeed(), MSPerson::MSPersonStage_Walking::getMaxSpeed(), MSPModel_Striping::nextBlocking(), MSPerson::MSPersonStage_Access::proceed(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), MSStageTrip::setArrived(), and MSPerson::MSPersonStage_Walking::tripInfoOutput().
|
inlineinherited |
Returns the id of the object as known to microsim.
Definition at line 141 of file GUIGlObject.h.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), GUIGlObject::drawName(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEInductionLoopDetector::getAttribute(), GNEInstantInductionLoopDetector::getAttribute(), GNELaneAreaDetector::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEVTypeDistribution::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEWalkingArea::getAttribute(), GNEWalkingArea::getNBWalkingArea(), GUIDialog_ChooserAbstract::getObjectName(), GNEDialogACChooser::getObjectName(), GNEMultiEntryExitDetector::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNETractionSubstation::getParentName(), GNEVariableSpeedSign::getParentName(), GNEVType::getParentName(), GNEVTypeDistribution::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNEChange_TLS::GNEChange_TLS(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), SUMORTree::removeAdditionalGLObject(), and GNENet::splitEdge().
double GUIPerson::getNaviDegree | ( | ) | const |
return the current angle of the person
Definition at line 530 of file GUIPerson.cpp.
References MSTransportable::getAngle(), MSTransportable::hasArrived(), INVALID_DOUBLE, myLock, and GeomHelper::naviDegree().
Referenced by getParameterWindow().
|
inlineinherited |
Returns the destination after the current destination.
Definition at line 166 of file MSTransportable.h.
References MSTransportable::myStep.
|
inherited |
return the list of internal edges if this person is walking and the pedestrian model allows it
Definition at line 570 of file MSPerson.cpp.
References StringUtils::emptyString, Named::getID(), and MSPerson::getNextEdgePtr().
Referenced by LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount().
|
virtualinherited |
returns the next edge ptr if this person is walking and the pedestrian model allows it
Reimplemented from MSTransportable.
Definition at line 589 of file MSPerson.cpp.
References MSTransportable::getCurrentStageType(), MSTransportableStateAdapter::getNextEdge(), MSStageMoving::getState(), and WALKING.
Referenced by MSPerson::getNextEdge(), and MSPedestrianPushButton::isActiveForEdge().
|
inlineinherited |
Return the current stage.
Definition at line 234 of file MSTransportable.h.
References MSTransportable::myPlan, and MSTransportable::myStep.
Referenced by LIBSUMO_NAMESPACE::Person::getStage(), MSStageDriving::loadState(), MSPerson::reroute(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), and MSStageTrip::setArrived().
|
inlinevirtualinherited |
return the numerical ID which is only for internal usage
Implements SUMOTrafficObject.
Definition at line 75 of file MSTransportable.h.
References MSTransportable::myNumericalID.
|
inherited |
Return the number of remaining stages (including the current)
Definition at line 195 of file MSTransportable.cpp.
References MSTransportable::myPlan, and MSTransportable::myStep.
Referenced by MSStageDriving::canLeaveVehicle(), LIBSUMO_NAMESPACE::Person::getEdges(), GUIContainer::getParameterWindow(), LIBSUMO_NAMESPACE::Person::getStage(), getStageIndexDescription(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSStageDriving::proceed(), LIBSUMO_NAMESPACE::Person::remove(), LIBSUMO_NAMESPACE::Person::removeStage(), LIBSUMO_NAMESPACE::Person::replaceStage(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), and MSStageTrip::setArrived().
|
inherited |
Return the total number stages in this persons plan.
Definition at line 201 of file MSTransportable.cpp.
References MSTransportable::myPlan.
Referenced by LIBSUMO_NAMESPACE::Person::getEdges(), GUIContainer::getParameterWindow(), LIBSUMO_NAMESPACE::Person::getStage(), getStageIndexDescription(), GUIContainer::GUIContainerPopupMenu::onCmdShowPlan(), GUIPerson::GUIPersonPopupMenu::onCmdShowPlan(), MSStageDriving::proceed(), and MSStageTrip::setArrived().
|
inlineinherited |
Definition at line 71 of file MSTransportable.h.
References MSTransportable::myAmPerson.
Referenced by MSTransportable::setJunctionModelParameter().
|
virtualinherited |
Returns the name of the object (default "")
Reimplemented in GUIBaseVehicle, GUIBusStop, GUIChargingStation, GUIJunctionWrapper, GUIParkingArea, GUITrafficLightLogicWrapper, GNEAdditional, GNEEdge, GNENetworkElement, GUIEdge, GUIPointOfInterest, and GUIPolygon.
Definition at line 231 of file GUIGlObject.cpp.
Referenced by GUIDialog_ChooserAbstract::getObjectName().
|
inlinevirtualinherited |
Returns the vehicle's parameter (including departure definition)
Implements SUMOTrafficObject.
Definition at line 140 of file MSTransportable.h.
References MSTransportable::myParameter.
Referenced by MSTransportableControl::add(), MSTransportableDevice_Routing::buildDevices(), MSStageDriving::canLeaveVehicle(), MSTransportableControl::checkWaiting(), MSTransportableControl::erase(), MSTransportableControl::fixLoadCount(), GUIContainer::getParameterWindow(), getParameterWindow(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), MSStageDriving::proceed(), MSStageTrip::setArrived(), GUIContainer::setFunctionalColor(), setFunctionalColor(), and MSTransportable::setJunctionModelParameter().
|
overridevirtual |
Returns an own parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Implements GUIGlObject.
Definition at line 223 of file GUIPerson.cpp.
References GUIParameterTableWindow::closeBuilding(), MSPerson::getChosenSpeedFactor(), MSTransportable::getCurrentStageDescription(), getDestinationEdgeID(), getDestinationStopID(), getEdgeID(), getEdgePos(), getFromEdgeID(), getNaviDegree(), MSTransportable::getParameter(), getSpeed(), getStageArrivalPos(), getStageIndexDescription(), getStopDuration(), getVehicleID(), getWaitingSeconds(), GUIParameterTableWindow::mkItem(), and time2string().
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNEAccess, GNECalibrator, GNECalibratorFlow, GNEClosingLaneReroute, GNEClosingReroute, GNEDestProbReroute, GNEDetector, GNEMultiEntryExitDetector, GNEParkingAreaReroute, GNEParkingSpace, GNERerouter, GNERerouterInterval, GNERerouterSymbol, GNERouteProbe, GNERouteProbReroute, GNEStoppingPlace, GNETAZ, GNETAZSourceSink, GNETractionSubstation, GNEVaporizer, GNEVariableSpeedSign, GNEVariableSpeedSignStep, GNEVariableSpeedSignSymbol, GNEContainer, GNEPerson, GNEPersonTrip, GNERide, GNERoute, GNEStop, GNETranship, GNETransport, GNEVehicle, GNEVType, GNEVTypeDistribution, GNEWalk, GNELane, GUILane, GNEPOI, and GNEPoly.
Definition at line 180 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
overridevirtual |
Returns an own popup-menu.
[in] | app | The application needed to build the popup-menu |
[in] | parent | The parent window needed to build the popup-menu |
Implements GUIGlObject.
Definition at line 188 of file GUIPerson.cpp.
References APP_TABLE, GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), GUIGlObject::buildShowTypeParamsPopupEntry(), GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUISUMOAbstractView::getTrackedID(), hasActiveAddVisualisation(), MID_HIDE_CURRENTROUTE, MID_HIDE_WALKINGAREA_PATH, MID_REMOVE_OBJECT, MID_SHOW_CURRENTROUTE, MID_SHOW_WALKINGAREA_PATH, MID_SHOWPLAN, MID_START_TRACK, MID_STOP_TRACK, VO_SHOW_ROUTE, and VO_SHOW_WALKINGAREA_PATH.
|
overridevirtual |
return the Network coordinate of the person
Reimplemented from MSTransportable.
Definition at line 481 of file GUIPerson.cpp.
References MSTransportable::getPosition(), MSTransportable::hasArrived(), Position::INVALID, and myLock.
|
inlinevirtualinherited |
Return current position (x/y, cartesian)
If the object is not in the net, Position::INVALID.
[in] | offset | optional offset in longitudinal direction |
Implements SUMOTrafficObject.
Definition at line 113 of file MSTransportable.h.
References MSTransportable::getPosition().
Referenced by MSLink::checkWalkingAreaFoe(), MSLink::getFuturePosition(), MSLink::isOnComingPed(), MSPModel_Striping::PState::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSFCDExport::writeTransportable().
|
inlinevirtualinherited |
Get the object's position along the lane.
Implements SUMOTrafficObject.
Definition at line 107 of file MSTransportable.h.
References MSTransportable::getEdgePos().
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute(), and MSPerson::MSPersonStage_Walking::moveToNextEdge().
|
inlinevirtualinherited |
Returns the object's previous speed.
Implements SUMOTrafficObject.
Definition at line 99 of file MSTransportable.h.
References MSTransportable::getSpeed().
|
virtualinherited |
returns the associated RNG
Implements SUMOTrafficObject.
Definition at line 87 of file MSTransportable.cpp.
References MSTransportable::getEdge(), and MSEdge::getLanes().
|
inlinevirtualinherited |
return index of edge within route
Implements SUMOTrafficObject.
Definition at line 254 of file MSTransportable.h.
Referenced by MSDetectorFileOutput::vehicleApplies().
|
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.
Definition at line 334 of file MSTransportable.cpp.
References MSVehicleType::buildSingularType(), MSVehicleType::getID(), Named::getID(), MSVehicleType::isVehicleSpecific(), MSTransportable::myVType, and MSTransportable::replaceVehicleType().
Referenced by TraCIServerAPI_Person::processSet(), and MSTransportable::setSpeed().
|
virtualinherited |
Returns the slope of the road at object's position in degrees.
Implements SUMOTrafficObject.
Definition at line 489 of file MSTransportable.cpp.
References MSTransportable::getEdge(), MSTransportable::getEdgePos(), and MSEdge::getLanes().
|
overridevirtual |
the current speed of the person
Reimplemented from MSTransportable.
Definition at line 550 of file GUIPerson.cpp.
References MSTransportable::getSpeed(), MSTransportable::hasArrived(), and myLock.
Referenced by getColorValue(), and getParameterWindow().
double GUIPerson::getStageArrivalPos | ( | ) | const |
get stage arrival position
Definition at line 644 of file GUIPerson.cpp.
References MSStage::getArrivalPos(), MSTransportable::getCurrentStage(), MSTransportable::hasArrived(), INVALID_DOUBLE, and myLock.
Referenced by getParameterWindow().
std::string GUIPerson::getStageIndexDescription | ( | ) | const |
get stage index description
Definition at line 560 of file GUIPerson.cpp.
References MSTransportable::getNumRemainingStages(), MSTransportable::getNumStages(), MSTransportable::hasArrived(), myLock, and toString().
Referenced by getParameterWindow().
|
inherited |
return textual summary for the given stage
Definition at line 363 of file MSTransportable.cpp.
References MSTransportable::myAmPerson, and MSTransportable::myPlan.
Referenced by GUIContainer::GUIContainerPopupMenu::onCmdShowPlan(), and GUIPerson::GUIPersonPopupMenu::onCmdShowPlan().
|
inlineinherited |
the stage type for the nth next stage
Definition at line 214 of file MSTransportable.h.
References MSTransportable::myPlan, and MSTransportable::myStep.
Referenced by getStopDuration(), LIBSUMO_NAMESPACE::Person::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPerson::Influencer::postProcessRemoteControl(), and LIBSUMO_NAMESPACE::Person::rerouteTraveltime().
double GUIPerson::getStopDuration | ( | ) | const |
get remaining duration of current stop or -1
Definition at line 630 of file GUIPerson.cpp.
References MSTransportable::getCurrentStage(), MSTransportable::getStageType(), MSTransportable::hasArrived(), myLock, SIMSTEP, STEPS2TIME, and WAITING.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 154 of file GUIGlObject.h.
References GUIGlObject::myGLObjectType.
Referenced by GUIPostDrawing::addElementUnderCursor(), GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEViewNet::drawDeleteContour(), GNEDemandElement::drawFlowLabel(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIContainer::drawGL(), GUILane::drawGL(), drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GUIBaseVehicle::drawGLAdditional(), drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNEAdditional::drawListedAddtional(), GUIBaseVehicle::drawOnPos(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEDemandElement::drawPersonPlanPartial(), GNEViewNet::drawSelectContour(), GNEAdditional::drawSquaredAdditional(), GNEDemandElement::drawStackLabel(), GNEStop::drawStopPersonOverEdge(), GNEStop::drawStopPersonOverStoppingPlace(), GNEStop::drawVehicleStop(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GNEViewNet::getWalkingAreaAtPopupPosition(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIPostDrawing::isTopElementUnderCursor(), GNESelectorFrame::SelectionOperation::loadFromFile(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), GNEViewNetHelper::ObjectsUnderCursor::updateGenericDataElements(), GNEViewNetHelper::ObjectsUnderCursor::updateNetworkElements(), GNEViewNetHelper::ObjectsUnderCursor::updateShapeElements(), and GNEViewNetHelper::ObjectsUnderCursor::updateTAZElements().
|
overridevirtual |
Returns an own type parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented from GUIGlObject.
Definition at line 250 of file GUIPerson.cpp.
References GUIParameterTableWindow::closeBuilding(), MSVehicleType::getDesiredMaxSpeed(), MSVehicleType::getHeight(), MSVehicleType::getID(), MSVehicleType::getLength(), MSVehicleType::getMass(), MSVehicleType::getMaxSpeed(), MSVehicleType::getMinGap(), MSVehicleType::getParameter(), MSVehicleType::getWidth(), GUIParameterTableWindow::mkItem(), and MSTransportable::myVType.
|
virtualinherited |
Returns the object's access class.
Implements SUMOTrafficObject.
Definition at line 507 of file MSTransportable.cpp.
References MSVehicleType::getVehicleClass(), and MSTransportable::getVehicleType().
Referenced by MSPModel_Striping::add(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSPModel_Striping::PState::moveToXY().
|
inlineinherited |
The vehicle associated with this transportable.
Definition at line 293 of file MSTransportable.h.
Referenced by MSDetectorFileOutput::personApplies().
std::string GUIPerson::getVehicleID | ( | ) | const |
get current vehicle id if applicable
Definition at line 615 of file GUIPerson.cpp.
References MSTransportable::getCurrentStage(), Named::getID(), MSStage::getVehicle(), MSTransportable::hasArrived(), and myLock.
Referenced by getParameterWindow().
|
inlinevirtualinherited |
Returns the object's "vehicle" type.
Implements SUMOTrafficObject.
Definition at line 144 of file MSTransportable.h.
References MSTransportable::myVType.
Referenced by MSLink::checkWalkingAreaFoe(), GUIContainer::drawAction_drawAsImage(), GUIContainer::drawAction_drawAsPoly(), drawGL(), MSTransportable::getBackPositionOnLane(), MSTransportable::getBoundingBox(), getCenteringBoundary(), MSPerson::getImpatience(), MSTransportable::getMaxSpeed(), MSPModel_Striping::getNextLaneObstacles(), MSTransportable::getVClass(), MSPModel_Striping::getVehicleObstacles(), MSLane::handleIntermodalCollisionBetween(), LIBSUMO_NAMESPACE::Person::moveTo(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPModel_Striping::PState::moveToXY(), MSPModel_Striping::nextBlocking(), MSE2Collector::notifyMovePerson(), MSInductLoop::notifyMovePerson(), MSE3Collector::notifyMovePerson(), MSTransportable::routeOutput(), MSTransportable::saveState(), GUIContainer::setFunctionalColor(), setFunctionalColor(), and MSTransportable::tripInfoOutput().
|
overridevirtual |
the time this person spent waiting in seconds
Reimplemented from MSTransportable.
Definition at line 540 of file GUIPerson.cpp.
References MSTransportable::getWaitingSeconds(), MSTransportable::hasArrived(), and myLock.
Referenced by getColorValue(), and getParameterWindow().
|
virtualinherited |
Implements SUMOTrafficObject.
Definition at line 497 of file MSTransportable.cpp.
References MSNet::getCurrentTimeStep(), and MSNet::getInstance().
bool GUIPerson::hasActiveAddVisualisation | ( | GUISUMOAbstractView *const | parent, |
int | which | ||
) | const |
Returns whether the named feature is enabled in the given view.
[in] | parent | The view for which the feature may be enabled |
[in] | which | The visualisation feature |
Definition at line 665 of file GUIPerson.cpp.
References myAdditionalVisualizations.
Referenced by drawGLAdditional(), getPopUpMenu(), GUIPerson::GUIPersonPopupMenu::onCmdShowCurrentRoute(), and GUIPerson::GUIPersonPopupMenu::onCmdShowWalkingareaPath().
|
virtualinherited |
return whether the person has reached the end of its plan
Implements SUMOTrafficObject.
Definition at line 371 of file MSTransportable.cpp.
References MSTransportable::myPlan, and MSTransportable::myStep.
Referenced by MSTransportableControl::erase(), getDestinationEdgeID(), getDestinationStopID(), getDirection(), getEdgeID(), getEdgePos(), getFromEdgeID(), getGUIAngle(), getGUIPosition(), getNaviDegree(), getPosition(), getSpeed(), getStageArrivalPos(), getStageIndexDescription(), getStopDuration(), getVehicleID(), getWaitingSeconds(), and MSTransportable::routeOutput().
|
inherited |
return whether the transportable has started it's plan
Definition at line 376 of file MSTransportable.cpp.
References MSTransportable::myPlan, and MSTransportable::myStep.
Referenced by MSTransportableControl::fixLoadCount().
|
inlinevirtualinherited |
whether the vehicle is individually influenced (via TraCI or special parameters)
Reimplemented from MSTransportable.
Definition at line 332 of file MSPerson.h.
References MSPerson::myInfluencer.
Referenced by MSPerson::MSPersonStage_Walking::moveToNextEdge().
|
inlineinherited |
get blocking status
Definition at line 164 of file GUIGlObject.h.
References GUIGlObject::myAmBlocked.
|
inlinevirtualinherited |
Whether it is a container.
Reimplemented from SUMOTrafficObject.
Definition at line 67 of file MSTransportable.h.
References MSTransportable::myAmPerson.
Referenced by MSTransportable::routeOutput().
|
virtualinherited |
check if element is locked (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 200 of file GUIGlObject.cpp.
|
virtualinherited |
whether the person is jammed as defined by the current pedestrian model
Reimplemented from MSTransportable.
Definition at line 163 of file MSPerson.cpp.
References MSTransportable::getCurrentStage(), MSStageMoving::getState(), and MSTransportableStateAdapter::isJammed().
Referenced by getColorValue().
|
inlinevirtualinherited |
Whether it is a person.
Reimplemented from SUMOTrafficObject.
Definition at line 63 of file MSTransportable.h.
References MSTransportable::myAmPerson.
Referenced by MSStageWaiting::abort(), MSStageDriving::abort(), MSTransportable::abortStage(), MSPModel_NonInteracting::add(), MSPModel_Striping::add(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSEdge::addTransportable(), MSBaseVehicle::addTransportable(), MSVehicle::addTransportable(), MSBaseVehicle::allowsBoarding(), MSTransportableControl::checkWaiting(), MSTransportableControl::erase(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Walking::getStageDescription(), MSEdge::getWaitingVehicle(), MSTransportableControl::loadAnyWaiting(), MSPModel_NonInteracting::loadState(), MSStageWaiting::loadState(), MSStageTranship::moveToNextEdge(), MSStageDriving::proceed(), MSStageTranship::proceed(), MSStageWaiting::proceed(), MSStageDriving::registerWaiting(), MSEdge::removeTransportable(), MSTransportable::replaceVehicleType(), MSTransportable::routeOutput(), MSTransportable::tripInfoOutput(), and MSStageDriving::tripInfoOutput().
|
overridevirtual |
whether this person is selected in the GUI
Reimplemented from MSPerson.
Definition at line 687 of file GUIPerson.cpp.
References GUIGlObject::getGlID(), GLO_PERSON, gSelected, and GUISelectedStorage::isSelected().
|
inlinevirtualinherited |
Returns whether the object is at a stop.
Implements SUMOTrafficObject.
Definition at line 79 of file MSTransportable.h.
References MSTransportable::getCurrentStageType(), and WAITING.
|
inlinevirtualinherited |
Whether it is a vehicle.
Reimplemented in MSBaseVehicle.
Definition at line 59 of file SUMOTrafficObject.h.
Referenced by libsumo::Helper::debugPrint(), MSE3Collector::enter(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Tripinfo::notifyIdle(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyIdle(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_SSM::notifyLeave(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Example::notifyMove(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyMoveInternal(), and MSDetectorFileOutput::vehicleApplies().
|
inlineinherited |
Whether the transportable waits for a vehicle.
Definition at line 283 of file MSTransportable.h.
Referenced by GUIContainer::drawGL(), GUIContainer::getColorValue(), getColorValue(), getGUIAngle(), and getGUIPosition().
|
inlineinherited |
Whether the transportable waits for the given vehicle in the current step.
Definition at line 278 of file MSTransportable.h.
Referenced by MSEdge::getWaitingVehicle(), and MSTransportableControl::loadAnyWaiting().
|
inherited |
Reconstructs the current state.
Definition at line 543 of file MSTransportable.cpp.
References MSTransportable::myParameter, MSTransportable::myPlan, MSTransportable::myStep, and SUMOVehicleParameter::parametersSet.
Referenced by MSStateHandler::myEndElement().
|
virtualinherited |
mark element as front element (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 207 of file GUIGlObject.cpp.
|
protectedinherited |
check if mouse is within elements geometry (for rectangles)
Definition at line 463 of file GUIGlObject.cpp.
References PositionVector::add(), GUIPostDrawing::addElementUnderCursor(), PositionVector::around(), DEG2RAD, gPostDrawing, GUIPostDrawing::mousePos, and PositionVector::rotate2D().
|
protectedinherited |
check if mouse is within elements geometry (for circles)
Definition at line 419 of file GUIGlObject.cpp.
References GUIPostDrawing::addElementUnderCursor(), Position::distanceSquaredTo2D(), gPostDrawing, and GUIPostDrawing::mousePos.
Referenced by GNELane::checkMouseOverLane(), GNECalibrator::drawCalibratorSymbol(), GNEJunction::drawDottedContoursBubble(), GNEJunction::drawDottedContoursShape(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEWalkingArea::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNERoute::drawPartialGL(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverEdge(), GNEStop::drawVehicleStop(), and GNEEdge::setGeometryPointColor().
|
protectedinherited |
check if mouse is within elements geometry (for filled shapes)
Definition at line 430 of file GUIGlObject.cpp.
References GUIPostDrawing::addElementUnderCursor(), PositionVector::around(), gPostDrawing, and GUIPostDrawing::mousePos.
|
protectedinherited |
check if mouse is within elements geometry (for shapes)
Definition at line 441 of file GUIGlObject.cpp.
References GUIPostDrawing::addElementUnderCursor(), PositionVector::distance2D(), gPostDrawing, and GUIPostDrawing::mousePos.
|
protectedinherited |
check if mouse is within elements geometry (for edges)
Definition at line 452 of file GUIGlObject.cpp.
References GUIPostDrawing::addElementUnderCursor(), PositionVector::distance2D(), gPostDrawing, and GUIPostDrawing::mousePos.
|
inlinevirtualinherited |
notify object about left click
Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.
Definition at line 216 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::onLeftBtnPress().
|
overridevirtual |
Reimplemented from MSTransportable.
Definition at line 653 of file GUIPerson.cpp.
References MSTransportable::getEdge(), myLock, and MSTransportable::proceed().
|
overridevirtual |
Adds the named visualisation feature to the given view.
[in] | parent | The view for which the feature shall be enabled |
[in] | which | The visualisation feature to enable |
Reimplemented from GUIGlObject.
Definition at line 681 of file GUIPerson.cpp.
References myAdditionalVisualizations, and GUISUMOAbstractView::removeAdditionalGLVisualisation().
Referenced by GUIPerson::GUIPersonPopupMenu::onCmdHideCurrentRoute(), and GUIPerson::GUIPersonPopupMenu::onCmdHideWalkingareaPath().
|
inlinevirtualinherited |
notify object about popup menu removal
Reimplemented in GUIBaseVehicle.
Definition at line 122 of file GUIGlObject.h.
Referenced by GUIGLObjectPopupMenu::removePopupFromObject().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 364 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
inherited |
removes the nth next stage
Definition at line 286 of file MSTransportable.cpp.
References MSTransportable::appendStage(), MSTransportableControl::erase(), MSTransportable::getEdge(), MSTransportable::getEdgePos(), MSNet::getInstance(), MSNet::getPersonControl(), MSTransportable::myPlan, MSTransportable::myStep, MSTransportable::proceed(), and SIMSTEP.
Referenced by LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Person::remove(), LIBSUMO_NAMESPACE::Person::removeStage(), LIBSUMO_NAMESPACE::Person::replaceStage(), MSPerson::reroute(), and MSTransportable::rerouteParkingArea().
|
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 "myVType".
[in] | type | The new vehicle type |
Implements SUMOTrafficObject.
Definition at line 318 of file MSTransportable.cpp.
References MSVehicleType::getID(), Named::getID(), MSNet::getInstance(), MSVehicleType::getParameter(), MSVehicleType::getVehicleClass(), MSNet::getVehicleControl(), MSTransportable::isPerson(), MSVehicleType::isVehicleSpecific(), MSTransportable::myVType, MSVehicleControl::removeVType(), SVC_PEDESTRIAN, TL, toString(), VTYPEPARS_VEHICLECLASS_SET, SUMOVTypeParameter::wasSet(), and WRITE_WARNINGF.
Referenced by MSTransportable::getSingularType().
|
inherited |
set new walk and replace the stages with relative indices in the interval [firstIndex, nextIndex[
Definition at line 601 of file MSPerson.cpp.
References MSTransportable::appendStage(), MSTransportable::getArrivalPos(), Named::getID(), MSTransportable::getNextStage(), MSTransportable::removeStage(), and MSPModel::UNSPECIFIED_POS_LAT.
Referenced by LIBSUMO_NAMESPACE::Person::rerouteTraveltime().
|
inherited |
adapt plan when the vehicle reroutes and now stops at replacement instead of orig
Definition at line 382 of file MSTransportable.cpp.
References MSTransportable::appendStage(), DRIVING, MSStage::getArrivalPos(), MSStageDriving::getArrivalPos(), MSStoppingPlace::getBeginLanePosition(), MSTransportable::getCurrentStageType(), MSStage::getDestination(), MSTransportable::getDestination(), MSStage::getDestinationStop(), MSLane::getEdge(), MSStoppingPlace::getEndLanePosition(), MSStage::getFromEdge(), Named::getID(), MSStoppingPlace::getLane(), MSStageDriving::getLines(), MSStage::getStageType(), MSStageDriving::getVehicle(), MSTransportable::myAmPerson, MSTransportable::myPlan, MSTransportable::myStep, MSTransportable::removeStage(), MSStage::setArrivalPos(), MSStage::setDestination(), MSStageDriving::setOrigin(), SIMTIME, TL, TRIP, WAITING, WALKING, and WRITE_WARNING.
|
inherited |
Called on writing vehroute output.
[in] | os | The stream to write the information into |
IOError | not yet implemented |
Definition at line 223 of file MSTransportable.cpp.
References OutputDevice::closeTag(), DEFAULT_CONTAINERTYPE_ID, DEFAULT_PEDTYPE_ID, MSVehicleType::getID(), MSNet::getInstance(), OptionsCont::getOptions(), MSTransportable::getVehicleType(), MSTransportable::hasArrived(), MSTransportable::isContainer(), MSTransportable::isPerson(), OutputDevice::lf(), MSTransportable::myAmPerson, MSTransportable::myParameter, MSTransportable::myPlan, MSStage::routeOutput(), SUMO_TAG_CONTAINER, SUMO_TAG_PERSON, time2string(), SUMOVehicleParameter::write(), OutputDevice::writeAttr(), and Parameterised::writeParams().
Referenced by MSTransportableControl::erase().
|
inherited |
Saves the current state into the given stream.
Definition at line 513 of file MSTransportable.cpp.
References ACCESS, OutputDevice::closeTag(), MSTransportable::getChosenSpeedFactor(), MSVehicleType::getID(), OptionsCont::getOptions(), MSTransportable::getVehicleType(), gPrecision, gPrecisionRandom, MAX2(), MSTransportable::myAmPerson, MSTransportable::myParameter, MSTransportable::myPlan, MSTransportable::myStep, SUMOVehicleParameter::parametersSet, MSStage::routeOutput(), OutputDevice::setPrecision(), SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_STATE, SUMO_TAG_CONTAINER, SUMO_TAG_PERSON, TRIP, VEHPARS_SPEEDFACTOR_SET, SUMOVehicleParameter::wasSet(), SUMOVehicleParameter::write(), and OutputDevice::writeAttr().
|
virtualinherited |
select GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, and GNENetworkElement.
Definition at line 219 of file GUIGlObject.cpp.
|
inherited |
Definition at line 243 of file MSTransportable.cpp.
References MSTransportable::abortStage(), MSEventControl::addEvent(), WrappingCommand< T >::deschedule(), MSNet::getBeginOfTimestepEvents(), MSNet::getInstance(), MSTransportable::myAbortCommand, and SIMSTEP.
Referenced by MSTransportableControl::addWaiting(), and MSTransportableControl::loadAnyWaiting().
|
inlineinherited |
set blocking status
Definition at line 169 of file GUIGlObject.h.
References GUIGlObject::myAmBlocked.
Referenced by GUIGlObjectStorage::getObjectBlocking(), and GUIGlObjectStorage::getObjectBlocking().
|
inlineinherited |
Definition at line 271 of file MSPerson.h.
References MSPerson::myChosenSpeedFactor.
|
private |
sets the color according to the currente settings
Definition at line 377 of file GUIPerson.cpp.
References GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), getColorValue(), GUIPropertySchemeStorage< T >::getScheme(), GUIVisualizationSettings::personColorer, GLHelper::setColor(), and setFunctionalColor().
Referenced by drawAction_drawWalkingareaPath(), drawGL(), and drawGLAdditional().
|
inherited |
logs depart time of the current stage
Definition at line 143 of file MSTransportable.cpp.
|
static |
sets the color according to the current scheme index and some vehicle function
Definition at line 388 of file GUIPerson.cpp.
References SUMOVehicleParameter::color, RGBColor::fromHSV(), MSTransportable::getAngle(), MSVehicleType::getColor(), MSTransportable::getParameter(), MSTransportable::getVehicleType(), GeomHelper::naviDegree(), VEHPARS_COLOR_SET, VTYPEPARS_COLOR_SET, MSVehicleType::wasSet(), and SUMOVehicleParameter::wasSet().
Referenced by setColor().
|
virtualinherited |
set the id (inherited from Named but forbidden for transportables)
Reimplemented from Named.
Definition at line 133 of file MSTransportable.cpp.
References TL.
|
inherited |
set individual junction model paramete (not type related)
Definition at line 477 of file MSTransportable.cpp.
References Named::getID(), MSTransportable::getObjectType(), MSTransportable::getParameter(), SUMOVehicleParameter::parametersSet, SUMO_ATTR_JM_IGNORE_IDS, SUMO_ATTR_JM_IGNORE_TYPES, toString(), and VEHPARS_JUNCTIONMODEL_PARAMS_SET.
|
virtualinherited |
Changes the microsimID of the object.
Reimplemented in GNEEdge.
Definition at line 237 of file GUIGlObject.cpp.
References GUIGlObjectStorage::changeName(), GUIGlObject::createFullName(), GUIGlObjectStorage::gIDStorage, GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNENetHelper::AttributeCarriers::addPrefixToJunctions(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEInductionLoopDetector::setAttribute(), GNEInstantInductionLoopDetector::setAttribute(), GNELaneAreaDetector::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNEOverheadWire::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNETractionSubstation::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEVTypeDistribution::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNELane::setIndex(), GNEEdge::setMicrosimID(), GNENetHelper::AttributeCarriers::updateEdgeTypeID(), GNEConnection::updateID(), and GNENetHelper::AttributeCarriers::updateJunctionID().
void GUIPerson::setPositionInVehicle | ( | const GUIBaseVehicle::Seat & | pos | ) |
Definition at line 371 of file GUIPerson.cpp.
References myPositionInVehicle.
Referenced by GUIBaseVehicle::drawAction_drawPersonsAndContainers().
|
inherited |
sets position outside the road network
|
inherited |
set the speed for all present and future (walking) stages and modify the vType so that stages added later are also affected
Definition at line 309 of file MSTransportable.cpp.
References MSTransportable::getSingularType(), MSTransportable::myPlan, MSTransportable::myStep, and MSVehicleType::setMaxSpeed().
|
inherited |
Called on writing tripinfo output.
[in] | os | The stream to write the information into |
IOError | not yet implemented |
Definition at line 207 of file MSTransportable.cpp.
References OutputDevice::closeTag(), MSTransportable::getChosenSpeedFactor(), MSTransportable::getDesiredDepart(), MSVehicleType::getID(), Named::getID(), MSTransportable::getVehicleType(), MSTransportable::isPerson(), MSTransportable::myPlan, OutputDevice::openTag(), time2string(), and OutputDevice::writeAttr().
Referenced by MSTransportableControl::erase().
|
virtualinherited |
update GLObject (geometry, ID, etc.) (optional)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, and GNEWalkingArea.
Definition at line 225 of file GUIGlObject.cpp.
|
staticprivateinherited |
vector for TypeNames Initializer
Definition at line 51 of file GUIGlObject.h.
|
staticinherited |
Definition at line 71 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTipFor(), and GUIViewTraffic::stopTrack().
|
privateinherited |
Definition at line 404 of file MSTransportable.h.
Referenced by MSTransportable::setAbortWaiting().
|
private |
Enabled visualisations, per view.
Definition at line 280 of file GUIPerson.h.
Referenced by addActiveAddVisualisation(), hasActiveAddVisualisation(), removeActiveAddVisualisation(), and ~GUIPerson().
|
privateinherited |
whether the object can be deleted
Definition at line 332 of file GUIGlObject.h.
Referenced by GUIGlObject::isBlocked(), and GUIGlObject::setBlocked().
|
privateinherited |
Definition at line 400 of file MSTransportable.h.
Referenced by MSTransportable::getCurrentStageDescription(), MSTransportable::getObjectType(), MSTransportable::getStageSummary(), MSTransportable::isContainer(), MSTransportable::isPerson(), MSTransportable::rerouteParkingArea(), MSTransportable::routeOutput(), and MSTransportable::saveState().
|
privateinherited |
Definition at line 343 of file MSPerson.h.
Referenced by MSPerson::getChosenSpeedFactor(), and MSPerson::setChosenSpeedFactor().
|
staticprivateinherited |
Definition at line 406 of file MSTransportable.h.
|
protectedinherited |
The devices this transportable has.
Definition at line 397 of file MSTransportable.h.
Referenced by MSTransportable::getDevice(), MSTransportable::getDevices(), MSTransportable::MSTransportable(), MSTransportable::proceed(), and MSTransportable::~MSTransportable().
|
privateinherited |
full name of GL Object
Definition at line 326 of file GUIGlObject.h.
Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
privateinherited |
The numerical id of the object.
Definition at line 317 of file GUIGlObject.h.
Referenced by GUIGlObject::getGlID().
|
privateinherited |
The type of the object.
Definition at line 320 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GUIGlObject::getClickPriority(), GUIGlObject::getType(), and GUIGlObject::GUIGlObject().
|
privateinherited |
icon associatd with this GL Object
Definition at line 329 of file GUIGlObject.h.
Referenced by GUIGlObject::buildPopupHeader(), and GUIGlObject::getGLIcon().
|
protectedinherited |
The name of the object.
Definition at line 125 of file Named.h.
Referenced by MSE2Collector::addDetectorToLanes(), RODFDetector::buildDestinationDistribution(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), Named::setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
privateinherited |
An instance of a speed/position influencing instance; built in "getInfluencer".
Definition at line 341 of file MSPerson.h.
Referenced by MSPerson::getInfluencer(), MSPerson::getInfluencer(), MSPerson::hasInfluencer(), and MSPerson::~MSPerson().
|
mutableprivate |
The mutex used to avoid concurrent updates of the vehicle buffer.
Definition at line 274 of file GUIPerson.h.
Referenced by getDestinationEdgeID(), getDestinationStopID(), getDirection(), getEdgeID(), getEdgePos(), getFromEdgeID(), getGUIAngle(), getGUIPosition(), getNaviDegree(), getPosition(), getSpeed(), getStageArrivalPos(), getStageIndexDescription(), getStopDuration(), getVehicleID(), getWaitingSeconds(), proceed(), and ~GUIPerson().
|
privateinherited |
ID of GL object.
Definition at line 323 of file GUIGlObject.h.
Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().
|
privateinherited |
Definition at line 402 of file MSTransportable.h.
Referenced by MSTransportable::getNumericalID().
|
protectedinherited |
the plan of the transportable
Definition at line 381 of file MSTransportable.h.
Referenced by MSTransportable::getDesiredDepart(), MSTransportable::getParameter(), MSTransportable::loadState(), MSTransportable::routeOutput(), MSTransportable::saveState(), and MSTransportable::~MSTransportable().
|
privateinherited |
Parameter table windows which refer to this object.
Definition at line 335 of file GUIGlObject.h.
Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().
|
protectedinherited |
the plan of the transportable
Definition at line 391 of file MSTransportable.h.
Referenced by MSTransportable::appendStage(), MSPerson::checkAccess(), MSTransportable::getArrivalEdge(), MSTransportable::getArrivalPos(), MSTransportable::getDeparture(), MSTransportable::getEdges(), MSTransportable::getNextStage(), MSTransportable::getNumRemainingStages(), MSTransportable::getNumStages(), MSTransportable::getStageSummary(), MSTransportable::getStageType(), MSTransportable::hasArrived(), MSTransportable::hasDeparted(), MSTransportable::loadState(), MSTransportable::MSTransportable(), MSTransportable::proceed(), MSTransportable::removeStage(), MSTransportable::rerouteParkingArea(), MSTransportable::routeOutput(), MSTransportable::saveState(), MSTransportable::setSpeed(), MSTransportable::tripInfoOutput(), and MSTransportable::~MSTransportable().
|
private |
The position of a person while riding a vehicle.
Definition at line 277 of file GUIPerson.h.
Referenced by getGUIAngle(), getGUIPosition(), and setPositionInVehicle().
|
protectedinherited |
the iterator over the route
Definition at line 394 of file MSTransportable.h.
Referenced by MSTransportable::appendStage(), MSPerson::checkAccess(), MSTransportable::getCurrentStage(), MSTransportable::getEdges(), MSTransportable::getNextDestination(), MSTransportable::getNextStage(), MSTransportable::getNumRemainingStages(), MSTransportable::getStageType(), MSTransportable::hasArrived(), MSTransportable::hasDeparted(), MSTransportable::loadState(), MSTransportable::MSTransportable(), MSTransportable::proceed(), MSTransportable::removeStage(), MSTransportable::rerouteParkingArea(), MSTransportable::saveState(), MSTransportable::setSpeed(), and MSTransportable::~MSTransportable().
|
protectedinherited |
This transportable's type. (mainly used for drawing related information Note sure if it is really necessary.
Definition at line 385 of file MSTransportable.h.
Referenced by MSTransportable::getSingularType(), GUIContainer::getTypeParameterWindow(), getTypeParameterWindow(), MSTransportable::getVehicleType(), MSTransportable::replaceVehicleType(), and MSTransportable::~MSTransportable().
|
protectedinherited |
Whether events shall be written.
Definition at line 388 of file MSTransportable.h.
|
staticinherited |
associates object types with strings
Definition at line 70 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GNESelectorFrame::SelectionOperation::loadFromFile(), and GNESelectorFrame::SelectionOperation::onCmdSave().