Eclipse SUMO - Simulation of Urban MObility
GNEDemandElement Class Referenceabstract

An Element which don't belongs to GNENet but has influency in the simulation. More...

#include <GNEDemandElement.h>

Inheritance diagram for GNEDemandElement:
Collaboration diagram for GNEDemandElement:

Data Structures

struct  DemandElementMove
 struct for pack all variables related with Demand Element moving More...
 

Public Member Functions

template<>
void addChildElement (GNEAdditional *element)
 
template<>
void addChildElement (GNEDemandElement *element)
 
template<>
void addChildElement (GNEEdge *element)
 
template<>
void addChildElement (GNEGenericData *element)
 
template<>
void addChildElement (GNEJunction *element)
 
template<>
void addChildElement (GNELane *element)
 
template<>
void addChildElement (GNEShape *element)
 
template<>
void addChildElement (GNETAZElement *element)
 
template<>
void addParentElement (GNEAdditional *element)
 
template<>
void addParentElement (GNEDemandElement *element)
 
template<>
void addParentElement (GNEEdge *element)
 
template<>
void addParentElement (GNEGenericData *element)
 
template<>
void addParentElement (GNEJunction *element)
 
template<>
void addParentElement (GNELane *element)
 
template<>
void addParentElement (GNEShape *element)
 
template<>
void addParentElement (GNETAZElement *element)
 
bool checkChildAdditionalsOverlapping () const
 check if children are overlapped (Used by Rerouters) More...
 
bool checkChildDemandElementsOverlapping () const
 check if childs demand elements are overlapped More...
 
void decRef (const std::string &debugMsg="")
 Decrease reference. More...
 
virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additional, user-triggered visualisations. More...
 
void drawHierarchicalConnections (const GUIVisualizationSettings &s, const GNEAttributeCarrier *AC, const double exaggeration) const
 Draw hierarchical connections between parent and children. More...
 
void drawJunctionPathChildren (const GUIVisualizationSettings &s, const GNEJunction *junction, const double offset) const
 draw junction path child More...
 
void drawLanePathChildren (const GUIVisualizationSettings &s, const GNELane *lane, const double offset) const
 draw lane path child More...
 
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const
 draw name of item More...
 
bool drawUsingSelectColor () const
 check if attribute carrier must be drawn using selecting color. More...
 
template<>
std::string getACParameters () const
 
std::string getAlternativeValueForDisabledAttributes (SumoXMLAttr key) const
 
virtual std::string getAttributeForSelection (SumoXMLAttr key) const
 method for getting the attribute in the context of object selection More...
 
virtual std::string getBegin () const
 get begin time of demand element More...
 
const GNEGeometry::GeometrygetDemandElementGeometry ()
 get demand element geometry (stacked) More...
 
const GNEGeometry::SegmentGeometrygetDemandElementSegmentGeometry () const
 get demand element segment geometry (stacked) More...
 
GNELanegetFirstAllowedVehicleLane () const
 get first allowed vehicle lane More...
 
GUIGlObjectgetGUIGlObject ()
 get GUIGlObject associated with this AttributeCarrier More...
 
const GNEHierarchicalContainergetHierarchicalContainer () const
 get hierarchicalcontainer with parents and children More...
 
FXIcon * getIcon () const
 get FXIcon associated to this AC More...
 
const std::string & getID () const
 get ID More...
 
GNELanegetLastAllowedVehicleLane () const
 get first allowed vehicle lane More...
 
GNENetgetNet () const
 get pointer to net More...
 
GNEDemandElementgetNextChildDemandElement (const GNEDemandElement *demandElement) const
 get next child demand element to the given demand element More...
 
const std::vector< GNEPathElements::PathElement > & getPath () const
 get path edges More...
 
GNEDemandElementgetPreviousChildDemandElement (const GNEDemandElement *demandElement) const
 get previous child demand element to the given demand element More...
 
const GNETagPropertiesgetTagProperty () const
 get Tag Property assigned to this object More...
 
const std::string & getTagStr () const
 get tag assigned to this object in string format More...
 
std::vector< GNEEdge * > getViaEdges () const
 get middle (via) parent edges More...
 
 GNEDemandElement (const std::string &id, GNENet *net, GUIGlObjectType type, SumoXMLTag tag, const std::vector< GNEJunction * > &junctionParents, const std::vector< GNEEdge * > &edgeParents, const std::vector< GNELane * > &laneParents, const std::vector< GNEAdditional * > &additionalParents, const std::vector< GNEShape * > &shapeParents, const std::vector< GNETAZElement * > &TAZElementParents, const std::vector< GNEDemandElement * > &demandElementParents, const std::vector< GNEGenericData * > &genericDataParents)
 Constructor. More...
 
 GNEDemandElement (GNEDemandElement *demandElementParent, GNENet *net, GUIGlObjectType type, SumoXMLTag tag, const std::vector< GNEJunction * > &junctionParents, const std::vector< GNEEdge * > &edgeParents, const std::vector< GNELane * > &laneParents, const std::vector< GNEAdditional * > &additionalParents, const std::vector< GNEShape * > &shapeParents, const std::vector< GNETAZElement * > &TAZElementParents, const std::vector< GNEDemandElement * > &demandElementParents, const std::vector< GNEGenericData * > &genericDataParents)
 Constructor. More...
 
void incRef (const std::string &debugMsg="")
 Increarse reference. More...
 
bool isAttributeCarrierSelected () const
 check if attribute carrier is selected More...
 
virtual void onLeftBtnPress (void *)
 notify object about left click More...
 
virtual void openDemandElementDialog ()
 open DemandElement Dialog More...
 
template<>
int parse (const std::string &string)
 
template<>
std::vector< GNEEdge * > parse (GNENet *net, const std::string &value)
 
template<>
std::string parseIDs (const std::vector< GNEEdge * > &ACs)
 
template<>
std::string parseIDs (const std::vector< GNELane * > &ACs)
 
virtual void removeActiveAddVisualisation (GUISUMOAbstractView *const, int)
 remove additional user-griggered visualisations More...
 
template<>
void removeChildElement (GNEAdditional *element)
 
template<>
void removeChildElement (GNEDemandElement *element)
 
template<>
void removeChildElement (GNEEdge *element)
 
template<>
void removeChildElement (GNEGenericData *element)
 
template<>
void removeChildElement (GNEJunction *element)
 
template<>
void removeChildElement (GNELane *element)
 
template<>
void removeChildElement (GNEShape *element)
 
template<>
void removeChildElement (GNETAZElement *element)
 
template<>
void removeParentElement (GNEAdditional *element)
 
template<>
void removeParentElement (GNEDemandElement *element)
 
template<>
void removeParentElement (GNEEdge *element)
 
template<>
void removeParentElement (GNEGenericData *element)
 
template<>
void removeParentElement (GNEJunction *element)
 
template<>
void removeParentElement (GNELane *element)
 
template<>
void removeParentElement (GNEShape *element)
 
template<>
void removeParentElement (GNETAZElement *element)
 
void restoreHierarchicalContainer (const GNEHierarchicalContainer &container)
 restore hierarchical container More...
 
void selectAttributeCarrier (const bool changeFlag=true)
 select attribute carrier using GUIGlobalSelection More...
 
bool unreferenced ()
 check if object ins't referenced More...
 
void unselectAttributeCarrier (const bool changeFlag=true)
 unselect attribute carrier using GUIGlobalSelection More...
 
void updateDemandElementGeometry (const GNELane *lane, const double posOverLane)
 update element stacked geometry (stacked) More...
 
void updateDemandElementSpreadGeometry (const GNELane *lane, const double posOverLane)
 update element spread geometry More...
 
void updateDemandElementStackLabel (const int stack)
 update stack label More...
 
void updateHierarchicalConnections ()
 update child connections More...
 
virtual void updateParentAdditional ()
 update parent after add or remove a child (can be reimplemented, for example used for statistics) More...
 
void updatePartialGeometry (const GNELane *lane)
 partial update pre-computed geometry information More...
 
virtual ~GNEDemandElement ()
 Destructor. More...
 
members and functions relative to elements common to all demand elements

obtain VClass related with this demand element

virtual SUMOVehicleClass getVClass () const =0
 
virtual const RGBColorgetColor () const =0
 get color More...
 
members and functions relative to write demand elements into XML
virtual void writeDemandElement (OutputDevice &device) const =0
 writte demand element element into a xml file More...
 
virtual bool isDemandElementValid () const
 check if current demand element is valid to be writed into XML (by default true, can be reimplemented in children) More...
 
virtual std::string getDemandElementProblem () const
 return a string with the current demand element problem (by default empty, can be reimplemented in children) More...
 
virtual void fixDemandElementProblem ()
 fix demand element problem (by default throw an exception, has to be reimplemented in children) More...
 
Functions related with geometry of element

begin geometry movement

virtual void startGeometryMoving ()=0
 
virtual void endGeometryMoving ()=0
 end geometry movement More...
 
virtual void moveGeometry (const Position &offset)=0
 change the position of the element geometry without saving in undoList More...
 
virtual void commitGeometryMoving (GNEUndoList *undoList)=0
 commit geometry changes in the attributes of an element after use of moveGeometry(...) More...
 
virtual void updateGeometry ()=0
 update pre-computed geometry information More...
 
virtual void computePath ()=0
 compute path More...
 
virtual void invalidatePath ()=0
 invalidate path More...
 
virtual Position getPositionInView () const =0
 Returns position of demand element in view. More...
 
virtual void splitEdgeGeometry (const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList)=0
 split geometry More...
 
inherited from GUIGlObject
virtual GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own popup-menu. More...
 
GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own parameter window. More...
 
virtual Boundary getCenteringBoundary () const =0
 Returns the boundary to which the view shall be centered in order to show the object. More...
 
virtual void drawGL (const GUIVisualizationSettings &s) const =0
 Draws the object. More...
 
virtual void drawPartialGL (const GUIVisualizationSettings &s, const GNELane *lane, const double offsetFront) const =0
 Draws partial object (lane) More...
 
virtual void drawPartialGL (const GUIVisualizationSettings &s, const GNELane *fromLane, const GNELane *toLane, const double offsetFront) const =0
 Draws partial object (junction) More...
 
inherited from GNEAttributeCarrier
virtual std::string getAttribute (SumoXMLAttr key) const =0
 
virtual double getAttributeDouble (SumoXMLAttr key) const =0
 
virtual void setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
 method for setting the attribute and letting the object perform demand element changes More...
 
virtual bool isValid (SumoXMLAttr key, const std::string &value)=0
 method for checking if the key and their conrrespond attribute are valids More...
 
virtual void enableAttribute (SumoXMLAttr key, GNEUndoList *undoList)=0
 
virtual void disableAttribute (SumoXMLAttr key, GNEUndoList *undoList)=0
 
virtual bool isAttributeEnabled (SumoXMLAttr key) const =0
 
virtual const std::map< std::string, std::string > & getACParametersMap () const =0
 get parameters map More...
 
virtual std::string getPopUpID () const =0
 get PopPup ID (Used in AC Hierarchy) More...
 
virtual std::string getHierarchyName () const =0
 get Hierarchy Name (Used in AC Hierarchy) More...
 
Atomar getter methods

Returns the full name appearing in the tool tip

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

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

Parameters
[in]wThe opened parameter window
void addParameterTable (GUIParameterTableWindow *w)
 
void removeParameterTable (GUIParameterTableWindow *w)
 Lets this object know a parameter window showing the object's values was closed. More...
 
common get functions
std::vector< GNEHierarchicalElement * > getAllHierarchicalElements () const
 get all parents and children More...
 
const std::vector< GNEJunction * > & getParentJunctions () const
 get parent junctions More...
 
const std::vector< GNEEdge * > & getParentEdges () const
 get parent edges More...
 
const std::vector< GNELane * > & getParentLanes () const
 get parent lanes More...
 
const std::vector< GNEAdditional * > & getParentAdditionals () const
 get parent additionals More...
 
const std::vector< GNEShape * > & getParentShapes () const
 get parent shapes More...
 
const std::vector< GNETAZElement * > & getParentTAZElements () const
 get parent TAZElements More...
 
const std::vector< GNEDemandElement * > & getParentDemandElements () const
 get parent demand elements More...
 
const std::vector< GNEGenericData * > & getParentGenericDatas () const
 get parent demand elements More...
 
const std::vector< GNEJunction * > & getChildJunctions () const
 get child junctions More...
 
const std::vector< GNEEdge * > & getChildEdges () const
 get child edges More...
 
const std::vector< GNELane * > & getChildLanes () const
 get child lanes More...
 
const std::vector< GNEAdditional * > & getChildAdditionals () const
 return child additionals More...
 
const std::vector< GNEShape * > & getChildShapes () const
 get child shapes More...
 
const std::vector< GNETAZElement * > & getChildTAZElements () const
 get child TAZElements More...
 
const std::vector< GNEDemandElement * > & getChildDemandElements () const
 return child demand elements More...
 
const std::vector< GNEGenericData * > & getChildGenericDatas () const
 return child generic data elements More...
 
common generic add/remove functions
template<typename T >
void addParentElement (T *element)
 add parent element More...
 
template<typename T >
void removeParentElement (T *element)
 remove parent element More...
 
template<typename T >
void addChildElement (T *element)
 add child element More...
 
template<typename T >
void removeChildElement (T *element)
 remove child element More...
 
specific get functions
std::string getNewListOfParents (const GNENetworkElement *currentElement, const GNENetworkElement *newNextElement) const
 if use edge/parent lanes as a list of consecutive elements, obtain a list of IDs of elements after insert a new element More...
 
Function related with parameters

get parameters map

template<typename T >
getACParameters () const
 get parameters More...
 
void setACParameters (const std::string &parameters, GNEUndoList *undoList)
 set parameters (string) More...
 
void setACParameters (const std::vector< std::pair< std::string, std::string > > &parameters, GNEUndoList *undoList)
 set parameters (map) More...
 
void setACParameters (const std::map< std::string, std::string > &parameters, GNEUndoList *undoList)
 set parameters (string vector) More...
 
void addACParameters (const std::string &key, const std::string &attribute, GNEUndoList *undoList)
 add (or update attribute) key and attribute More...
 
void removeACParametersKeys (const std::vector< std::string > &keepKeys, GNEUndoList *undoList)
 remove keys More...
 

Static Public Member Functions

static std::vector< SumoXMLTagallowedTags (const bool onlyDrawables)
 get tags of all editable element types More...
 
template<typename T >
static bool canParse (const std::string &string)
 true if a value of type T can be parsed from string More...
 
template<typename T >
static bool canParse (GNENet *net, const std::string &value, bool report)
 true if a value of type T can be parsed from string More...
 
static std::vector< std::pair< SumoXMLTag, const std::string > > getAllowedTagsByCategory (const int tagPropertyCategory, const bool onlyDrawables)
 get tags of all editable element types using TagProperty Type (NetworkEditMode::NETWORKELEMENT, ADDITIONALELEMENT, etc.) More...
 
static const GNETagPropertiesgetTagProperties (SumoXMLTag tag)
 get Tag Properties More...
 
static bool lanesConsecutives (const std::vector< GNELane * > &lanes)
 check if lanes are consecutives More...
 
template<typename T >
static T parse (const std::string &string)
 parses a value of type T from string (used for basic types: int, double, bool, etc.) More...
 
template<typename T >
static T parse (GNENet *net, const std::string &value)
 parses a complex value of type T from string (use for list of edges, list of lanes, etc.) More...
 
template<typename T >
static T parseAttributeFromXML (const SUMOSAXAttributes &attrs, const std::string &objectID, const SumoXMLTag tag, const SumoXMLAttr attribute, bool &abort)
 Parse attribute from XML and show warnings if there are problems parsing it. More...
 
template<typename T >
static std::string parseIDs (const std::vector< T > &ACs)
 parses a list of specific Attribute Carriers into a string of IDs More...
 

Static Public Attributes

static const GUIGlID INVALID_ID = 0
 
static const double INVALID_POSITION
 invalid double position More...
 
static const size_t MAXNUMBEROFATTRIBUTES = 128
 max number of attributes allowed for every tag More...
 
static StringBijection< GUIGlObjectTypeTypeNames
 associates object types with strings More...
 
Certain attributes and ACs (for example, connections) can be either loaded or guessed. The following static variables are used to remark it.

feature is still unchanged after being loaded (implies approval)

static const std::string FEATURE_LOADED = "loaded"
 
static const std::string FEATURE_GUESSED = "guessed"
 feature has been reguessed (may still be unchanged be we can't tell (yet) More...
 
static const std::string FEATURE_MODIFIED = "modified"
 feature has been manually modified (implies approval) More...
 
static const std::string FEATURE_APPROVED = "approved"
 feature has been approved but not changed (i.e. after being reguessed) More...
 

Protected Member Functions

void buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
void buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
void calculateConsecutivePathLanes (const std::vector< GNELane * > &lanes)
 calculate consecutive path lanes (used by E2Detectors) More...
 
void calculateConsecutivePathLanes (SUMOVehicleClass vClass, const bool allowedVClass, const std::vector< GNEEdge * > &edges)
 calculate consecutive path lanes (used by routes) More...
 
void calculateGenericDataLanePath (const std::vector< GNEEdge * > &edges)
 calculate consecutive path lanes (used by genericdatas) More...
 
void calculatePathLanes (SUMOVehicleClass vClass, const bool allowedVClass, GNELane *fromLane, GNELane *toLane, const std::vector< GNEEdge * > &viaEdges)
 calculate path lanes (Dijkstra) More...
 
const GNEEdgegetFirstPersonPlanEdge () const
 get first person plan edge More...
 
bool isValidDemandElementID (const std::string &newID) const
 check if a new demand element ID is valid More...
 
void replaceAdditionalParent (SumoXMLTag tag, const std::string &value, const int parentIndex)
 replace additional parent More...
 
template<typename T , typename U >
void replaceChildElements (T *elementChild, const U &newChildren)
 replace child elements More...
 
void replaceDemandElementParent (SumoXMLTag tag, const std::string &value, const int parentIndex)
 replace demand element parent More...
 
void replaceDemandParentEdges (const std::string &value)
 replace demand parent edges More...
 
void replaceDemandParentLanes (const std::string &value)
 replace demand parent lanes More...
 
void replaceFirstParentEdge (const std::string &value)
 replace the first parent edge More...
 
void replaceLastParentEdge (const std::string &value)
 replace the last parent edge More...
 
void replaceMiddleParentEdges (const std::string &value, const bool updateChildReferences)
 replace middle (via) parent edges More...
 
template<typename T , typename U >
void replaceParentElements (T *elementChild, const U &newParents)
 replace parent elements More...
 
void resetPathLanes (SUMOVehicleClass vClass, const bool allowedVClass, GNELane *fromLane, GNELane *toLane, const std::vector< GNEEdge * > &viaEdges)
 reset path lanes More...
 
helper methods for building popup-menus
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header. More...
 
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object. More...
 
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard. More...
 
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object. More...
 
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window. More...
 
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window. More...
 
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More...
 
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window. More...
 

Protected Attributes

GNEGeometry::Geometry myDemandElementGeometry
 demand element geometry (also called "stacked geometry") More...
 
GNEGeometry::SegmentGeometry myDemandElementSegmentGeometry
 demand element segment geometry (also called "stacked geometry") More...
 
GNEGeometry::HierarchicalConnections myHierarchicalConnections
 hierarchical connections More...
 
GNENetmyNet
 pointer to net More...
 
bool mySelected
 boolean to check if this AC is selected (instead of GUIGlObjectStorage) More...
 
GNEGeometry::Geometry mySpreadGeometry
 demand element spread geometry (Only used by vehicles and pedestrians) More...
 
int myStackedLabelNumber
 stacked label number More...
 
const GNETagPropertiesmyTagProperty
 the xml tag to which this attribute carrier corresponds More...
 

Static Protected Attributes

static GNETagProperties dummyTagProperty
 dummy TagProperty used for reference some elements (for Example, dummyEdge) More...
 

Private Member Functions

void addElements ()
 add elements More...
 
const std::vector< GNEEdge * > calculateFromViaToEdges (GNELane *fromLane, GNELane *toLane, const std::vector< GNEEdge * > &viaEdges)
 calculate from-via-to edges More...
 
virtual bool checkChildDemandElementRestriction () const
 check restriction with the number of children More...
 
std::string createFullName () const
 create full name More...
 
 GNEDemandElement (const GNEDemandElement &)=delete
 Invalidated copy constructor. More...
 
GNEDemandElementoperator= (const GNEDemandElement &)=delete
 Invalidated assignment operator. More...
 
void removeElements ()
 remove elements More...
 
virtual void setAttribute (SumoXMLAttr key, const std::string &value)=0
 method for setting the attribute and nothing else (used in GNEChange_Attribute) More...
 
virtual void setEnabledAttribute (const int enabledAttributes)=0
 method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute) More...
 
void updatePathElements ()
 update path element More...
 

Static Private Member Functions

static bool checkParsedAttribute (const GNETagProperties &tagProperties, const GNEAttributeProperties &attrProperties, const SumoXMLAttr attribute, std::string &defaultValue, std::string &parsedAttribute, std::string &warningMessage)
 parse and check attribute (note: This function is only to improve legilibility) More...
 
static void fillAdditionals ()
 fill additional elements More...
 
static void fillAttributeCarriers ()
 fill Attribute Carriers More...
 
static void fillCarFollowingModelAttributes (SumoXMLTag currentTag)
 fill Car Following Model of Vehicle/Person Types More...
 
static void fillCommonFlowAttributes (SumoXMLTag currentTag, const bool forVehicles)
 fill common flow attributes (used by flows, routeFlows and personFlows) More...
 
static void fillCommonPersonAttributes (SumoXMLTag currentTag)
 fill common person attributes (used by person and personFlows) More...
 
static void fillCommonStopAttributes (SumoXMLTag currentTag, const bool parking)
 fill stop person attributes (used by stops and personStps) More...
 
static void fillCommonVehicleAttributes (SumoXMLTag currentTag)
 fill common vehicle attributes (used by vehicles, trips, routeFlows and flows) More...
 
static void fillDataElements ()
 fill Data elements More...
 
static void fillDemandElements ()
 fill demand elements More...
 
static void fillJunctionModelAttributes (SumoXMLTag currentTag)
 fill Junction Model Attributes of Vehicle/Person Types More...
 
static void fillLaneChangingModelAttributes (SumoXMLTag currentTag)
 fill Junction Model Attributes of Vehicle/Person Types More...
 
static void fillNetworkElements ()
 fill network elements More...
 
static void fillPersonElements ()
 fill person elements More...
 
static void fillPersonPlanBusStopBusStop (SumoXMLTag currentTag)
 fill person plan busStop -> edge More...
 
static void fillPersonPlanBusStopEdge (SumoXMLTag currentTag)
 fill person plan busStop -> edge More...
 
static void fillPersonPlanBusStopStop (SumoXMLTag currentTag)
 fill person plan busStop -> stop More...
 
static void fillPersonPlanEdgeBusStop (SumoXMLTag currentTag)
 fill person plan edge -> edge More...
 
static void fillPersonPlanEdgeEdge (SumoXMLTag currentTag)
 fill person plan edge -> edge More...
 
static void fillPersonPlanEdgeStop (SumoXMLTag currentTag)
 fill person plan edge -> stop More...
 
static void fillPersonPlanRides ()
 fill person plan rides More...
 
static void fillPersonPlanStopBusStop (SumoXMLTag currentTag)
 fill person plan stop -> edge More...
 
static void fillPersonPlanStopEdge (SumoXMLTag currentTag)
 fill person plan stop -> edge More...
 
static void fillPersonPlanStopStop (SumoXMLTag currentTag)
 fill person plan stop -> stop More...
 
static void fillPersonPlanTrips ()
 fill person plan trips More...
 
static void fillPersonPlanWalks ()
 fill person plan walks More...
 
static void fillPersonStopElements ()
 fill personStop elements More...
 
static void fillPersonTripAttributes (SumoXMLTag currentTag)
 fill specific person trip attributes More...
 
static void fillRideAttributes (SumoXMLTag currentTag)
 fill specific ride attributes More...
 
static void fillShapes ()
 fill shape elements More...
 
static void fillStopElements ()
 fill stop elements More...
 
static void fillTAZElements ()
 fill TAZ elements More...
 
static void fillVehicleElements ()
 fill vehicle elements More...
 
static bool parseMaskedPositionAttribute (const SUMOSAXAttributes &attrs, const std::string &objectID, const GNETagProperties &tagProperties, const GNEAttributeProperties &attrProperties, std::string &parsedAttribute, std::string &warningMessage)
 parse and check masked (note: This function is only to improve legilibility) More...
 

Private Attributes

GNEAdditionalmyAdditionalElement
 pointer to additional element More...
 
int myCount
 reference counter More...
 
GNEDemandElementmyDemandElement
 pointer to demand element More...
 
std::string myFullName
 full name of GL Object More...
 
GNEGenericDatamyGenericData
 pointer to generic data More...
 
GUIGlID myGlID
 The numerical id of the object. More...
 
const GUIGlObjectType myGLObjectType
 The type of the object. More...
 
GNEHierarchicalContainer myHierarchicalContainer
 hierarchical container with parents and children More...
 
std::string myMicrosimID
 ID of GL object. More...
 
std::set< GUIParameterTableWindow * > myParamWindows
 Parameter table windows which refer to this object. More...
 
std::vector< PathElementmyPathElements
 vector of edges used in paths More...
 

Static Private Attributes

static StringBijection< GUIGlObjectType >::Entry GUIGlObjectTypeNamesInitializer []
 LinkStates (Currently unused) More...
 
static std::map< SumoXMLTag, GNETagPropertiesmyTagProperties
 map with the tags properties More...
 

Only for person plans

static const double myPersonPlanArrivalPositionDiameter = SUMO_const_halfLaneWidth
 person plans arrival position radius More...
 
GNEGeometry::ExtremeGeometry calculatePersonPlanLaneStartEndPos () const
 calculate extreme geometry More...
 
void drawPersonPlanPartialLane (const GUIVisualizationSettings &s, const GNELane *lane, const double offsetFront, const double personPlanWidth, const RGBColor &personPlanColor) const
 draw person plan partial lane More...
 
void drawPersonPlanPartialJunction (const GUIVisualizationSettings &s, const GNELane *fromLane, const GNELane *toLane, const double offsetFront, const double personPlanWidth, const RGBColor &personPlanColor) const
 draw person plan partial junction More...
 

Detailed Description

An Element which don't belongs to GNENet but has influency in the simulation.

Definition at line 51 of file GNEDemandElement.h.

Constructor & Destructor Documentation

◆ GNEDemandElement() [1/3]

GNEDemandElement::GNEDemandElement ( const std::string &  id,
GNENet net,
GUIGlObjectType  type,
SumoXMLTag  tag,
const std::vector< GNEJunction * > &  junctionParents,
const std::vector< GNEEdge * > &  edgeParents,
const std::vector< GNELane * > &  laneParents,
const std::vector< GNEAdditional * > &  additionalParents,
const std::vector< GNEShape * > &  shapeParents,
const std::vector< GNETAZElement * > &  TAZElementParents,
const std::vector< GNEDemandElement * > &  demandElementParents,
const std::vector< GNEGenericData * > &  genericDataParents 
)

Constructor.

Parameters
[in]idGl-id of the demand element element (Must be unique)
[in]netpointer to GNEViewNet of this demand element element belongs
[in]typeGUIGlObjectType of demand element
[in]tagType of xml tag that define the demand element element (SUMO_TAG_ROUTE, SUMO_TAG_VEHICLE, etc...)
[in]junctionParentsvector of junction parents
[in]edgeParentsvector of edge parents
[in]laneParentsvector of lane parents
[in]additionalParentsvector of additional parents
[in]shapeParentsvector of shape parents
[in]TAZElementParentsvector of TAZElement parents
[in]demandElementParentsvector of demand element parents
[in]genericDataParentsvector of generic data parents

Definition at line 46 of file GNEDemandElement.cpp.

◆ GNEDemandElement() [2/3]

GNEDemandElement::GNEDemandElement ( GNEDemandElement demandElementParent,
GNENet net,
GUIGlObjectType  type,
SumoXMLTag  tag,
const std::vector< GNEJunction * > &  junctionParents,
const std::vector< GNEEdge * > &  edgeParents,
const std::vector< GNELane * > &  laneParents,
const std::vector< GNEAdditional * > &  additionalParents,
const std::vector< GNEShape * > &  shapeParents,
const std::vector< GNETAZElement * > &  TAZElementParents,
const std::vector< GNEDemandElement * > &  demandElementParents,
const std::vector< GNEGenericData * > &  genericDataParents 
)

Constructor.

Parameters
[in]demandElementParentpointer to parent demand element pointer (used to generate an ID)
[in]netpointer to GNEViewNet of this demand element element belongs
[in]typeGUIGlObjectType of demand element
[in]tagType of xml tag that define the demand element element (SUMO_TAG_ROUTE, SUMO_TAG_VEHICLE, etc...)
[in]junctionParentsvector of junction parents
[in]edgeParentsvector of edge parents
[in]laneParentsvector of lane parents
[in]additionalParentsvector of additional parents
[in]shapeParentsvector of shape parents
[in]TAZElementParentsvector of TAZElement parents
[in]demandElementParentsvector of demand element parents
[in]genericDataParentsvector of generic data parents

Definition at line 62 of file GNEDemandElement.cpp.

◆ ~GNEDemandElement()

GNEDemandElement::~GNEDemandElement ( )
virtual

Destructor.

Definition at line 78 of file GNEDemandElement.cpp.

◆ GNEDemandElement() [3/3]

GNEDemandElement::GNEDemandElement ( const GNEDemandElement )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addACParameters()

void GNEAttributeCarrier::addACParameters ( const std::string &  key,
const std::string &  attribute,
GNEUndoList undoList 
)
inherited

add (or update attribute) key and attribute

Definition at line 426 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::getACParametersMap(), and GNEAttributeCarrier::setACParameters().

◆ addChildElement() [1/9]

◆ addChildElement() [2/9]

template<>
void GNEHierarchicalElement::addChildElement ( GNEDemandElement element)
inherited

◆ addChildElement() [3/9]

template<>
void GNEHierarchicalElement::addChildElement ( GNEEdge element)
inherited

◆ addChildElement() [4/9]

template<>
void GNEHierarchicalElement::addChildElement ( GNEGenericData element)
inherited

◆ addChildElement() [5/9]

template<>
void GNEHierarchicalElement::addChildElement ( GNEJunction element)
inherited

◆ addChildElement() [6/9]

template<>
void GNEHierarchicalElement::addChildElement ( GNELane element)
inherited

◆ addChildElement() [7/9]

template<>
void GNEHierarchicalElement::addChildElement ( GNEShape element)
inherited

◆ addChildElement() [8/9]

template<>
void GNEHierarchicalElement::addChildElement ( GNETAZElement element)
inherited

◆ addChildElement() [9/9]

template<typename T >
void GNEHierarchicalElement::addChildElement ( T *  element)
inherited

add child element

Referenced by GNENetHelper::AttributeCarriers::addPOI(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEDataHandler::buildTAZRelationData(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildWalk(), GNEAdditionalHandler::builParkingAreaReroute(), and GNERouteHandler::closeRoute().

Here is the caller graph for this function:

◆ addElements()

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

Definition at line 309 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::GUIParameterTableWindow().

Here is the caller graph for this function:

◆ addParentElement() [1/9]

◆ addParentElement() [2/9]

template<>
void GNEHierarchicalElement::addParentElement ( GNEDemandElement element)
inherited

◆ addParentElement() [3/9]

template<>
void GNEHierarchicalElement::addParentElement ( GNEEdge element)
inherited

◆ addParentElement() [4/9]

template<>
void GNEHierarchicalElement::addParentElement ( GNEGenericData element)
inherited

◆ addParentElement() [5/9]

template<>
void GNEHierarchicalElement::addParentElement ( GNEJunction element)
inherited

◆ addParentElement() [6/9]

template<>
void GNEHierarchicalElement::addParentElement ( GNELane element)
inherited

◆ addParentElement() [7/9]

template<>
void GNEHierarchicalElement::addParentElement ( GNEShape element)
inherited

◆ addParentElement() [8/9]

template<>
void GNEHierarchicalElement::addParentElement ( GNETAZElement element)
inherited

◆ addParentElement() [9/9]

template<typename T >
void GNEHierarchicalElement::addParentElement ( T *  element)
inherited

add parent element

◆ allowedTags()

std::vector< SumoXMLTag > GNEAttributeCarrier::allowedTags ( const bool  onlyDrawables)
staticinherited

get tags of all editable element types

Definition at line 603 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myTagProperties.

Referenced by GNEAttributeCarrier::getAllowedTagsByCategory().

Here is the caller graph for this function:

◆ buildAdditionalsPopupOptions()

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

◆ buildCenterPopupEntry()

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

Builds an entry which allows to center to the object.

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

Definition at line 238 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

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

Builds the header.

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

Definition at line 229 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildPositionCopyEntry()

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

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

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

Definition at line 288 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildSelectionPopupEntry()

◆ buildShapePopupOptions()

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

◆ buildShowManipulatorPopupEntry()

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

Builds an entry which allows to open the manipulator window.

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

Definition at line 300 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowParamsPopupEntry()

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

Builds an entry which allows to open the parameter window.

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

Definition at line 270 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowTypeParamsPopupEntry()

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

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

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

Definition at line 279 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ calculateConsecutivePathLanes() [1/2]

void GNEPathElements::calculateConsecutivePathLanes ( const std::vector< GNELane * > &  lanes)
protectedinherited

calculate consecutive path lanes (used by E2Detectors)

Definition at line 227 of file GNEPathElements.cpp.

References GNEPathElements::addElements(), GNEPathElements::myPathElements, GNEPathElements::removeElements(), and GNEPathElements::updatePathElements().

◆ calculateConsecutivePathLanes() [2/2]

void GNEPathElements::calculateConsecutivePathLanes ( SUMOVehicleClass  vClass,
const bool  allowedVClass,
const std::vector< GNEEdge * > &  edges 
)
protectedinherited

◆ calculateFromViaToEdges()

const std::vector< GNEEdge * > GNEPathElements::calculateFromViaToEdges ( GNELane fromLane,
GNELane toLane,
const std::vector< GNEEdge * > &  viaEdges 
)
privateinherited

calculate from-via-to edges

Definition at line 379 of file GNEPathElements.cpp.

References GNELane::getParentEdge().

Referenced by GNEPathElements::calculatePathLanes(), and GNEPathElements::resetPathLanes().

Here is the caller graph for this function:

◆ calculateGenericDataLanePath()

void GNEPathElements::calculateGenericDataLanePath ( const std::vector< GNEEdge * > &  edges)
protectedinherited

calculate consecutive path lanes (used by genericdatas)

Definition at line 278 of file GNEPathElements.cpp.

References GNEPathElements::addElements(), GNEPathElements::myGenericData, GNEPathElements::myPathElements, GNEPathElements::removeElements(), and GNEPathElements::updatePathElements().

Referenced by GNEEdgeData::updateGeometry(), and GNEEdgeRelData::updateGeometry().

Here is the caller graph for this function:

◆ calculatePathLanes()

void GNEPathElements::calculatePathLanes ( SUMOVehicleClass  vClass,
const bool  allowedVClass,
GNELane fromLane,
GNELane toLane,
const std::vector< GNEEdge * > &  viaEdges 
)
protectedinherited

◆ calculatePersonPlanLaneStartEndPos()

◆ canParse() [1/2]

◆ canParse() [2/2]

template<typename T >
static bool GNEAttributeCarrier::canParse ( GNENet net,
const std::string &  value,
bool  report 
)
inlinestaticinherited

true if a value of type T can be parsed from string

Definition at line 235 of file GNEAttributeCarrier.h.

References WRITE_WARNING.

◆ checkChildAdditionalsOverlapping()

bool GNEHierarchicalElement::checkChildAdditionalsOverlapping ( ) const
inherited

check if children are overlapped (Used by Rerouters)

Definition at line 517 of file GNEHierarchicalElement.cpp.

References GNEAdditional::getAttributeDouble(), GNEHierarchicalElement::getChildAdditionals(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, and SUMO_ATTR_TIME.

Referenced by GNERerouterDialog::onCmdAccept().

Here is the caller graph for this function:

◆ checkChildDemandElementRestriction()

bool GNEDemandElement::checkChildDemandElementRestriction ( ) const
privatevirtual

check restriction with the number of children

Exceptions
ProcessErrorif itis called without be reimplemented in child class

Definition at line 714 of file GNEDemandElement.cpp.

References GNEAttributeCarrier::getTagStr().

◆ checkChildDemandElementsOverlapping()

bool GNEHierarchicalElement::checkChildDemandElementsOverlapping ( ) const
inherited

check if childs demand elements are overlapped

Definition at line 558 of file GNEHierarchicalElement.cpp.

◆ checkParsedAttribute()

bool GNEAttributeCarrier::checkParsedAttribute ( const GNETagProperties tagProperties,
const GNEAttributeProperties attrProperties,
const SumoXMLAttr  attribute,
std::string &  defaultValue,
std::string &  parsedAttribute,
std::string &  warningMessage 
)
staticprivateinherited

parse and check attribute (note: This function is only to improve legilibility)

Definition at line 4534 of file GNEAttributeCarrier.cpp.

References canParseVehicleClasses(), GNEAttributeProperties::getDefaultValue(), GNEAttributeProperties::getDescription(), GNEAttributeProperties::getDiscreteValues(), GNEAttributeProperties::getMaximumRange(), GNEAttributeProperties::getMinimumRange(), GNETagProperties::getTagStr(), GNEAttributeProperties::hasAttrRange(), GNEAttributeProperties::isBool(), GNEAttributeProperties::isColor(), GNETagProperties::isDemandElement(), GNETagProperties::isDetector(), GNEAttributeProperties::isDiscrete(), GNEAttributeProperties::isFilename(), GNEAttributeProperties::isFloat(), GNEAttributeProperties::isInt(), GNEAttributeProperties::isList(), GNEAttributeProperties::isOptional(), GNEAttributeProperties::isposition(), GNEAttributeProperties::isPositive(), GNEAttributeProperties::isProbability(), GNEAttributeProperties::isSUMOTime(), SUMOXMLDefinitions::isValidAdditionalID(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), SUMOXMLDefinitions::isValidVehicleID(), GNEAttributeProperties::isVClass(), SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VTYPES, toString(), WRITE_DEBUG, and WRITE_WARNING.

Referenced by GNEAttributeCarrier::parseAttributeFromXML().

Here is the caller graph for this function:

◆ commitGeometryMoving()

virtual void GNEDemandElement::commitGeometryMoving ( GNEUndoList undoList)
pure virtual

commit geometry changes in the attributes of an element after use of moveGeometry(...)

Parameters
[in]undoListThe undoList on which to register changes

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

◆ computePath()

virtual void GNEDemandElement::computePath ( )
pure virtual

compute path

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Referenced by GNEChange_DemandElement::redo(), and GNEChange_DemandElement::undo().

Here is the caller graph for this function:

◆ createFullName()

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

create full name

Definition at line 370 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ decRef()

◆ disableAttribute()

virtual void GNEDemandElement::disableAttribute ( SumoXMLAttr  key,
GNEUndoList undoList 
)
pure virtual

◆ drawGL()

virtual void GNEDemandElement::drawGL ( const GUIVisualizationSettings s) const
pure virtual

Draws the object.

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

Implements GUIGlObject.

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Referenced by drawPersonPlanPartialLane().

Here is the caller graph for this function:

◆ drawGLAdditional()

void GUIGlObject::drawGLAdditional ( GUISUMOAbstractView *const  parent,
const GUIVisualizationSettings s 
) const
virtualinherited

Draws additional, user-triggered visualisations.

Parameters
[in]parentThe view
[in]sThe settings for the current view (may influence drawing)

Reimplemented in GUIPerson, GUIContainer, and GUIBaseVehicle.

Definition at line 208 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ drawHierarchicalConnections()

◆ drawJunctionPathChildren()

void GNEPathElements::drawJunctionPathChildren ( const GUIVisualizationSettings s,
const GNEJunction junction,
const double  offset 
) const
inherited

◆ drawLanePathChildren()

◆ drawName()

◆ drawPartialGL() [1/2]

virtual void GNEDemandElement::drawPartialGL ( const GUIVisualizationSettings s,
const GNELane fromLane,
const GNELane toLane,
const double  offsetFront 
) const
pure virtual

Draws partial object (junction)

Parameters
[in]sThe settings for the current view (may influence drawing)
[in]fromLanefrom GNELane
[in]toLaneto GNELane
[in]offsetFrontoffset for drawing element front (needed for selected elements)

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

◆ drawPartialGL() [2/2]

virtual void GNEDemandElement::drawPartialGL ( const GUIVisualizationSettings s,
const GNELane lane,
const double  offsetFront 
) const
pure virtual

Draws partial object (lane)

Parameters
[in]sThe settings for the current view (may influence drawing)
[in]laneGNELane in which draw partial
[in]drawGeometryflag to enable/disable draw geometry (lines, boxLines, etc.)

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Referenced by GNEPathElements::drawJunctionPathChildren(), and GNEPathElements::drawLanePathChildren().

Here is the caller graph for this function:

◆ drawPersonPlanPartialJunction()

void GNEDemandElement::drawPersonPlanPartialJunction ( const GUIVisualizationSettings s,
const GNELane fromLane,
const GNELane toLane,
const double  offsetFront,
const double  personPlanWidth,
const RGBColor personPlanColor 
) const
protected

◆ drawPersonPlanPartialLane()

void GNEDemandElement::drawPersonPlanPartialLane ( const GUIVisualizationSettings s,
const GNELane lane,
const double  offsetFront,
const double  personPlanWidth,
const RGBColor personPlanColor 
) const
protected

draw person plan partial lane

Definition at line 456 of file GNEDemandElement.cpp.

References GUIVisualizationSettings::addName, GUIVisualizationSettings::addSize, GUIVisualizationSettings::colorSettings, Position::distanceSquaredTo2D(), GUIVisualizationSettings::drawDottedContour(), GNEGeometry::drawDottedContourLane(), GLHelper::drawFilledCircle(), GUIVisualizationSettings::drawForRectangleSelection, drawGL(), GUIGlObject::drawName(), GNEGeometry::drawSegmentGeometry(), GNEViewNet::drawTranslateFrontAttributeCarrier(), GNEAttributeCarrier::drawUsingSelectColor(), getCenteringBoundary(), GNEHierarchicalElement::getChildDemandElements(), GUIVisualizationSettings::getCircleResolution(), getDemandElementSegmentGeometry(), GNEViewNet::getDemandViewOptions(), GNELane::getDottedLaneGeometry(), GUIVisualizationSizeSettings::getExaggeration(), getFirstAllowedVehicleLane(), getFirstPersonPlanEdge(), GUIGlObject::getGlID(), GNEViewNet::getInspectedAttributeCarriers(), getLastAllowedVehicleLane(), GNEGeometry::SegmentGeometry::getLastPosition(), GNEViewNetHelper::DemandViewOptions::getLockedPerson(), GNEHierarchicalElement::getParentDemandElements(), GNELane::getParentEdge(), GUISUMOAbstractView::getPositionInformation(), GUIGlObject::getType(), GNENet::getViewNet(), GNETagProperties::hasAttribute(), GNEGeometry::INSPECT, Position::INVALID, GNEViewNet::isAttributeCarrierInspected(), GUIVisualizationSettings::laneWidthExaggeration, MIN2(), myDemandElementSegmentGeometry, GNEAttributeCarrier::myNet, myPersonPlanArrivalPositionDiameter, GNEAttributeCarrier::myTagProperty, GUIVisualizationSettings::scale, GUIVisualizationColorSettings::selectedPersonPlanColor, GLHelper::setColor(), GNEViewNetHelper::DemandViewOptions::showAllPersonPlans(), SUMO_ATTR_ARRIVALPOS, Position::x(), and Position::y().

Referenced by GNEPersonTrip::drawPartialGL(), GNERide::drawPartialGL(), and GNEWalk::drawPartialGL().

Here is the caller graph for this function:

◆ drawUsingSelectColor()

bool GNEAttributeCarrier::drawUsingSelectColor ( ) const
inherited

check if attribute carrier must be drawn using selecting color.

Definition at line 100 of file GNEAttributeCarrier.cpp.

References GNEViewNet::getEditModes(), GNENet::getViewNet(), GNETagProperties::isAdditionalElement(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNETagProperties::isDemandElement(), GNETagProperties::isGenericData(), GNETagProperties::isNetworkElement(), GNETagProperties::isShape(), GNETagProperties::isTAZElement(), GNEAttributeCarrier::myNet, GNEAttributeCarrier::mySelected, and GNEAttributeCarrier::myTagProperty.

Referenced by GNECalibrator::drawCalibratorSymbol(), GNEEdge::drawEdgeGeometryPoints(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEStoppingPlace::drawLines(), GNEAdditional::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), drawPersonPlanPartialJunction(), drawPersonPlanPartialLane(), GNELane::drawStartEndShapePoints(), GNEViewNetHelper::LockIcon::getLockIcon(), GNEVehicle::setColor(), GNEJunction::setColor(), and GNELane::setLaneColor().

Here is the caller graph for this function:

◆ enableAttribute()

virtual void GNEDemandElement::enableAttribute ( SumoXMLAttr  key,
GNEUndoList undoList 
)
pure virtual

◆ endGeometryMoving()

virtual void GNEDemandElement::endGeometryMoving ( )
pure virtual

end geometry movement

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

◆ fillAdditionals()

void GNEAttributeCarrier::fillAdditionals ( )
staticprivateinherited

fill additional elements

Definition at line 1303 of file GNEAttributeCarrier.cpp.

References ACCESS, GNEAttributeProperties::ACTIVATABLE, GNETagProperties::ADDITIONALELEMENT, GNEAttributeProperties::ANGLE, GNETagProperties::BLOCKMOVEMENT, GNEAttributeProperties::BOOL, BUSSTOP, CALIBRATOR, GNETagProperties::CENTERAFTERCREATION, CHARGINGSTATION, CLOSINGLANEREROUTE, CLOSINGREROUTE, CONTAINERSTOP, DEFAULT_VTYPE_ID, GNEAttributeProperties::DEFAULTVALUESTATIC, DESTPROBREROUTE, GNETagProperties::DETECTOR, GNETagProperties::DIALOG, GNETagProperties::DRAWABLE, E1, E1INSTANT, E2, E3, E3ENTRY, E3EXIT, GNEAttributeProperties::FILENAME, GNEAttributeCarrier::fillCommonVehicleAttributes(), GNEAttributeProperties::FLOAT, FLOW, GNE_TAG_REROUTER_SYMBOL, GNE_TAG_VSS_SYMBOL, GNEAttributeProperties::INT, GNEAttributeProperties::LIST, GNETagProperties::MASKSTARTENDPOS, GNETagProperties::MASKXYZPOSITION, GNETagProperties::MINIMUMCHILDREN, GNEAttributeCarrier::myTagProperties, PARKINGAREA, PARKINGSPACE, PARKINGZONEREROUTE, GNEAttributeProperties::POSITION, GNEAttributeProperties::POSITIVE, GNEAttributeProperties::PROBABILITY, GNEAttributeProperties::RANGE, GNETagProperties::REPARENT, REROUTER, REROUTERINTERVAL, ROUTEPROBE, ROUTEPROBREROUTE, GNETagProperties::RTREE, GNEAttributeProperties::SECUENCIAL, GNETagProperties::SELECTABLE, GNEAttributeProperties::setRange(), GNETagProperties::SLAVE, GNETagProperties::STOPPINGPLACE, GNEAttributeProperties::STRING, SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_BEGIN, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_CONT, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_END, SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FREQUENCY, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_ID, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_LANE, SUMO_ATTR_LANES, SUMO_ATTR_LENGTH, SUMO_ATTR_LINES, SUMO_ATTR_NAME, SUMO_ATTR_OFF, SUMO_ATTR_ONROAD, SUMO_ATTR_OUTPUT, SUMO_ATTR_PARKING, SUMO_ATTR_PARKING_LENGTH, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_POSITION, SUMO_ATTR_PROB, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_ROUTE, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_SPEED, SUMO_ATTR_STARTPOS, SUMO_ATTR_TIME, SUMO_ATTR_TLID, SUMO_ATTR_TYPE, SUMO_ATTR_VEHSPERHOUR, SUMO_ATTR_VISIBLE, SUMO_ATTR_VTYPES, SUMO_ATTR_WIDTH, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E2DETECTOR_MULTILANE, SUMO_TAG_E3DETECTOR, SUMO_TAG_FLOW_CALIBRATOR, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_SPACE, SUMO_TAG_PARKING_ZONE_REROUTE, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, GNEAttributeProperties::SUMOTIME, GNETagProperties::SYMBOL, GNEAttributeProperties::SYNONYM, GNETagProperties::SYNONYM, toString(), GNEAttributeProperties::UNIQUE, GNEAttributeProperties::UPDATEGEOMETRY, VAPORIZER, VARIABLESPEEDSIGN, GNEAttributeProperties::VCLASS, GNEAttributeProperties::VCLASSES, VSSSTEP, GNETagProperties::WRITECHILDRENSEPARATE, and GNEAttributeProperties::XMLOPTIONAL.

Referenced by GNEAttributeCarrier::fillAttributeCarriers().

Here is the caller graph for this function:

◆ fillAttributeCarriers()

◆ fillCarFollowingModelAttributes()

◆ fillCommonFlowAttributes()

◆ fillCommonPersonAttributes()

void GNEAttributeCarrier::fillCommonPersonAttributes ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillCommonStopAttributes()

void GNEAttributeCarrier::fillCommonStopAttributes ( SumoXMLTag  currentTag,
const bool  parking 
)
staticprivateinherited

◆ fillCommonVehicleAttributes()

◆ fillDataElements()

◆ fillDemandElements()

void GNEAttributeCarrier::fillDemandElements ( )
staticprivateinherited

fill demand elements

Definition at line 2721 of file GNEAttributeCarrier.cpp.

References SUMOXMLDefinitions::CarFollowModels, GNEAttributeProperties::COLOR, DEFAULT_VEH_PROB, GNEAttributeProperties::DEFAULTVALUEMUTABLE, GNEAttributeProperties::DEFAULTVALUESTATIC, GNETagProperties::DEMANDELEMENT, GNEAttributeProperties::DISCRETE, GNETagProperties::DRAWABLE, GNEAttributeProperties::EXTENDED, GNEAttributeProperties::FILENAME, GNEAttributeCarrier::fillCarFollowingModelAttributes(), GNEAttributeCarrier::fillJunctionModelAttributes(), GNEAttributeCarrier::fillLaneChangingModelAttributes(), GNEAttributeProperties::FLOAT, PollutantsInterface::getAllClassesStr(), OptionsCont::getOptions(), GNE_TAG_FLOW_WITHROUTE, GNE_TAG_ROUTE_EMBEDDED, GNE_TAG_VEHICLE_WITHROUTE, GNEAttributeProperties::INT, SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LateralAlignments, GNEAttributeProperties::LIST, GNEAttributeCarrier::myTagProperties, GNEAttributeProperties::POSITIVE, PTYPE, GNETagProperties::ROUTE, ROUTE, GNETagProperties::SELECTABLE, GNEAttributeProperties::setDiscreteValues(), GNETagProperties::SLAVE, GNEAttributeProperties::STRING, SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CARRIAGE_GAP, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_EDGES, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LENGTH, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_LOCOMOTIVE_LENGTH, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP, SUMO_ATTR_MINGAP_LAT, SUMO_ATTR_OSGFILE, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_PROB, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, SUMO_TAG_PTYPE, SUMO_TAG_ROUTE, SUMO_TAG_VTYPE, GNEAttributeProperties::SUMOTIME, SumoVehicleClassStrings, SumoVehicleShapeStrings, SVC_PEDESTRIAN, GNETagProperties::SYNONYM, toString(), GNEAttributeProperties::UNIQUE, GNEAttributeProperties::UPDATEGEOMETRY, GNEAttributeProperties::VCLASS, GNETagProperties::VTYPE, VTYPE, and GNEAttributeProperties::XMLOPTIONAL.

Referenced by GNEAttributeCarrier::fillAttributeCarriers().

Here is the caller graph for this function:

◆ fillJunctionModelAttributes()

◆ fillLaneChangingModelAttributes()

◆ fillNetworkElements()

void GNEAttributeCarrier::fillNetworkElements ( )
staticprivateinherited

fill network elements

Definition at line 780 of file GNEAttributeCarrier.cpp.

References ACTUATED, ALTERNATE_ONEWAY, GNEAttributeProperties::BOOL, CONNECTION, CROSSING, DEAD_END, DEAD_END_DEPRECATED, DEFAULT, GNEAttributeProperties::DEFAULTVALUESTATIC, DELAYBASED, GNEAttributeProperties::DISCRETE, GNETagProperties::DRAWABLE, EDGE, GNEAttributeProperties::FLOAT, SUMOXMLDefinitions::FringeTypeValues, OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), StringBijection< T >::getStrings(), GNE_ATTR_BIDIR, GNE_ATTR_OPPOSITE, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNE_TAG_INTERNAL_LANE, INCOMING, GNEAttributeProperties::INT, INTERNAL, JUNCTION, LANE, SUMOXMLDefinitions::LaneSpreadFunctions, LANETYPE, GNEAttributeProperties::LIST, GNEAttributeCarrier::myTagProperties, GNETagProperties::NETWORKELEMENT, SUMOXMLDefinitions::NodeTypes, OPPOSITES, GNEAttributeProperties::POSITION, GNEAttributeProperties::POSITIVE, SUMOXMLDefinitions::RightOfWayValues, GNETagProperties::RTREE, GNETagProperties::SELECTABLE, GNEAttributeProperties::setDiscreteValues(), STATIC, GNEAttributeProperties::STRING, SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_CONTPOS, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DIR, SUMO_ATTR_DISALLOW, SUMO_ATTR_DISTANCE, SUMO_ATTR_EDGES, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_FRINGE, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_PASS, SUMO_ATTR_POSITION, SUMO_ATTR_PRIORITY, SUMO_ATTR_RADIUS, SUMO_ATTR_RIGHT_OF_WAY, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_STATE, SUMO_ATTR_TLID, SUMO_ATTR_TLLAYOUT, SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, SUMO_ATTR_TLTYPE, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, SUMO_ATTR_TYPE, SUMO_ATTR_UNCONTROLLED, SUMO_ATTR_VISIBILITY_DISTANCE, SUMO_ATTR_WIDTH, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_LANETYPE, SUMO_TAG_TYPE, SumoVehicleClassStrings, toString(), TYPE, GNEAttributeProperties::UNIQUE, NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_LOADED_LENGTH, NBEdge::UNSPECIFIED_SPEED, NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE, GNEAttributeProperties::UPDATEGEOMETRY, GNEAttributeProperties::VCLASS, GNEAttributeProperties::VCLASSES, and GNEAttributeProperties::XMLOPTIONAL.

Referenced by GNEAttributeCarrier::fillAttributeCarriers().

Here is the caller graph for this function:

◆ fillPersonElements()

◆ fillPersonPlanBusStopBusStop()

void GNEAttributeCarrier::fillPersonPlanBusStopBusStop ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillPersonPlanBusStopEdge()

◆ fillPersonPlanBusStopStop()

void GNEAttributeCarrier::fillPersonPlanBusStopStop ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillPersonPlanEdgeBusStop()

void GNEAttributeCarrier::fillPersonPlanEdgeBusStop ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillPersonPlanEdgeEdge()

◆ fillPersonPlanEdgeStop()

void GNEAttributeCarrier::fillPersonPlanEdgeStop ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillPersonPlanRides()

◆ fillPersonPlanStopBusStop()

void GNEAttributeCarrier::fillPersonPlanStopBusStop ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillPersonPlanStopEdge()

void GNEAttributeCarrier::fillPersonPlanStopEdge ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillPersonPlanStopStop()

void GNEAttributeCarrier::fillPersonPlanStopStop ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillPersonPlanTrips()

void GNEAttributeCarrier::fillPersonPlanTrips ( )
staticprivateinherited

fill person plan trips

Definition at line 3385 of file GNEAttributeCarrier.cpp.

References GNETagProperties::DEMANDELEMENT, GNETagProperties::DRAWABLE, GNEAttributeCarrier::fillPersonPlanBusStopBusStop(), GNEAttributeCarrier::fillPersonPlanBusStopEdge(), GNEAttributeCarrier::fillPersonPlanBusStopStop(), GNEAttributeCarrier::fillPersonPlanEdgeBusStop(), GNEAttributeCarrier::fillPersonPlanEdgeEdge(), GNEAttributeCarrier::fillPersonPlanEdgeStop(), GNEAttributeCarrier::fillPersonPlanStopBusStop(), GNEAttributeCarrier::fillPersonPlanStopEdge(), GNEAttributeCarrier::fillPersonPlanStopStop(), GNEAttributeCarrier::fillPersonTripAttributes(), GNE_TAG_PERSONTRIP_BUSSTOP_BUSSTOP, GNE_TAG_PERSONTRIP_BUSSTOP_EDGE, GNE_TAG_PERSONTRIP_BUSSTOP_STOP, GNE_TAG_PERSONTRIP_EDGE_BUSSTOP, GNE_TAG_PERSONTRIP_EDGE_EDGE, GNE_TAG_PERSONTRIP_EDGE_STOP, GNE_TAG_PERSONTRIP_STOP_BUSSTOP, GNE_TAG_PERSONTRIP_STOP_EDGE, GNE_TAG_PERSONTRIP_STOP_STOP, GNEAttributeCarrier::myTagProperties, GNETagProperties::PERSONPLAN, GNETagProperties::PERSONPLAN_END_BUSSTOP, GNETagProperties::PERSONPLAN_END_EDGE, GNETagProperties::PERSONPLAN_END_STOP, GNETagProperties::PERSONPLAN_START_BUSSTOP, GNETagProperties::PERSONPLAN_START_EDGE, GNETagProperties::PERSONPLAN_START_STOP, GNETagProperties::PERSONTRIP, PERSONTRIP_BUSSTOP, PERSONTRIP_FROMTO, GNETagProperties::SELECTABLE, GNETagProperties::SLAVE, SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.

Referenced by GNEAttributeCarrier::fillAttributeCarriers().

Here is the caller graph for this function:

◆ fillPersonPlanWalks()

◆ fillPersonStopElements()

◆ fillPersonTripAttributes()

void GNEAttributeCarrier::fillPersonTripAttributes ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillRideAttributes()

void GNEAttributeCarrier::fillRideAttributes ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillShapes()

void GNEAttributeCarrier::fillShapes ( )
staticprivateinherited

fill shape elements

Definition at line 2426 of file GNEAttributeCarrier.cpp.

References GNEAttributeProperties::ANGLE, GNETagProperties::BLOCKMOVEMENT, GNETagProperties::BLOCKSHAPE, GNEAttributeProperties::BOOL, GNETagProperties::CLOSESHAPE, GNEAttributeProperties::COLOR, Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, Shape::DEFAULT_IMG_HEIGHT, Shape::DEFAULT_IMG_WIDTH, Shape::DEFAULT_LAYER, Shape::DEFAULT_LAYER_POI, Shape::DEFAULT_RELATIVEPATH, Shape::DEFAULT_TYPE, GNEAttributeProperties::DEFAULTVALUESTATIC, GNETagProperties::DRAWABLE, GNEAttributeProperties::FILENAME, GNEAttributeProperties::FLOAT, GNETagProperties::GEOPOSITION, GNETagProperties::GEOSHAPE, GNEAttributeProperties::LIST, LOCATEPOI, LOCATEPOLY, GNETagProperties::MASKXYZPOSITION, GNEAttributeCarrier::myTagProperties, GNEAttributeProperties::POSITION, GNEAttributeProperties::POSITIVE, GNETagProperties::RTREE, GNETagProperties::SELECTABLE, GNETagProperties::SHAPE, GNEAttributeProperties::STRING, SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_FILL, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LANE, SUMO_ATTR_LAYER, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_SHAPE, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, SUMO_TAG_POI, SUMO_TAG_POILANE, SUMO_TAG_POLY, toString(), GNEAttributeProperties::UNIQUE, GNEAttributeProperties::UPDATEGEOMETRY, and GNEAttributeProperties::XMLOPTIONAL.

Referenced by GNEAttributeCarrier::fillAttributeCarriers().

Here is the caller graph for this function:

◆ fillStopElements()

◆ fillTAZElements()

◆ fillVehicleElements()

◆ fixDemandElementProblem()

void GNEDemandElement::fixDemandElementProblem ( )
virtual

fix demand element problem (by default throw an exception, has to be reimplemented in children)

Reimplemented in GNEWalk, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Definition at line 204 of file GNEDemandElement.cpp.

References GNEAttributeCarrier::getTagStr().

◆ getACParameters() [1/2]

template<>
std::vector< std::pair< std::string, std::string > > GNEAttributeCarrier::getACParameters ( ) const
inherited

◆ getACParameters() [2/2]

template<typename T >
T GNEAttributeCarrier::getACParameters ( ) const
inherited

get parameters

Referenced by GNESingleParametersDialog::GNESingleParametersDialog(), and GNESingleParametersDialog::onCmdReset().

Here is the caller graph for this function:

◆ getACParametersMap()

virtual const std::map<std::string, std::string>& GNEDemandElement::getACParametersMap ( ) const
pure virtual

◆ getAllHierarchicalElements()

◆ getAllowedTagsByCategory()

std::vector< std::pair< SumoXMLTag, const std::string > > GNEAttributeCarrier::getAllowedTagsByCategory ( const int  tagPropertyCategory,
const bool  onlyDrawables 
)
staticinherited

get tags of all editable element types using TagProperty Type (NetworkEditMode::NETWORKELEMENT, ADDITIONALELEMENT, etc.)

Definition at line 620 of file GNEAttributeCarrier.cpp.

References GNETagProperties::ADDITIONALELEMENT, GNEAttributeCarrier::allowedTags(), GNETagProperties::DEMANDELEMENT, GNEAttributeCarrier::fillAttributeCarriers(), GNETagProperties::GENERICDATA, GNE_TAG_FLOW_ROUTE, GNE_TAG_FLOW_WITHROUTE, GNE_TAG_VEHICLE_WITHROUTE, GNEAttributeCarrier::myTagProperties, GNETagProperties::NETWORKELEMENT, GNETagProperties::PERSON, GNETagProperties::PERSONPLAN, GNETagProperties::PERSONSTOP, GNETagProperties::PERSONTRIP, GNETagProperties::RIDE, GNETagProperties::ROUTE, GNETagProperties::SHAPE, GNETagProperties::STOP, SUMO_TAG_FLOW, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, GNETagProperties::TAZELEMENT, toString(), GNETagProperties::VEHICLE, and GNETagProperties::WALK.

Referenced by GNENetHelper::AttributeCarriers::AttributeCarriers(), GNEFrameModuls::DemandElementSelector::DemandElementSelector(), GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNESelectorFrame::MatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNESelectorFrame::MatchGenericDataAttribute::onCmdSelectTag(), GNEFrameModuls::TagSelector::onCmdSelectTagType(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), GNEFrameModuls::TagSelector::setCurrentTagType(), GNEViewNetHelper::IntervalBar::setGenericDataType(), GNEFrameModuls::SelectorParent::showSelectorParentModul(), GNEFrameModuls::TagSelector::TagSelector(), and GNEViewNetHelper::IntervalBar::updateIntervalBar().

Here is the caller graph for this function:

◆ getAlternativeValueForDisabledAttributes()

◆ getAttribute()

◆ getAttributeDouble()

◆ getAttributeForSelection()

std::string GNEAttributeCarrier::getAttributeForSelection ( SumoXMLAttr  key) const
virtualinherited

method for getting the attribute in the context of object selection

Reimplemented in GNELane, and GNEEdge.

Definition at line 554 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::getAttribute().

◆ getBegin()

std::string GNEDemandElement::getBegin ( ) const
virtual

get begin time of demand element

Note
: used by demand elements of type "Vehicle", and it has to be implemented as children
Exceptions
invalidargument if demand element doesn't has a begin time

Reimplemented in GNEVehicle, GNEStop, GNEPersonStop, and GNEPerson.

Definition at line 216 of file GNEDemandElement.cpp.

References GNEAttributeCarrier::getTagStr().

◆ getCenteringBoundary()

virtual Boundary GNEDemandElement::getCenteringBoundary ( ) const
pure virtual

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

Returns
The boundary the object is within

Implements GUIGlObject.

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Referenced by drawPersonPlanPartialLane().

Here is the caller graph for this function:

◆ getChildAdditionals()

const std::vector< GNEAdditional * > & GNEHierarchicalElement::getChildAdditionals ( ) const
inherited

return child additionals

Definition at line 193 of file GNEHierarchicalElement.cpp.

References GNEHierarchicalContainer::getChildren(), and GNEHierarchicalElement::myHierarchicalContainer.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNENetHelper::PathCalculator::busStopConnected(), GNEDetectorE3::checkChildAdditionalRestriction(), GNEHierarchicalElement::checkChildAdditionalsOverlapping(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::deleteAdditional(), GNENet::deleteEdge(), GNENet::deleteLane(), GNELane::drawChildren(), GNEBusStop::drawConnectionAccess(), GNEParkingArea::drawGL(), GNEEdge::drawGL(), GNEHierarchicalElement::getAllHierarchicalElements(), GNERerouter::getAttribute(), GNETAZ::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEEdge::getRouteProbeRelativePosition(), GNEVariableSpeedSignStep::isValid(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNECalibratorDialog::onCmdClickedRoute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNENet::replaceIncomingEdge(), GNEBusStop::setAttribute(), GNEDetectorE3::setAttribute(), GNEParkingArea::setAttribute(), GNEFrameModuls::HierarchicalElementTree::showHierarchicalElementChildren(), GNENet::splitEdge(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNEStoppingPlace::updateCenteringBoundary(), GNECalibratorDialog::updateFlowTable(), GNEEdge::updateGeometry(), GNELane::updateGeometry(), GNERerouterDialog::updateIntervalTable(), GNETAZ::updateParentAdditional(), GNEVariableSpeedSignDialog::updateTableSteps(), and GNEAdditional::writeAdditional().

Here is the caller graph for this function:

◆ getChildDemandElements()

const std::vector< GNEDemandElement * > & GNEHierarchicalElement::getChildDemandElements ( ) const
inherited

return child demand elements

Definition at line 211 of file GNEHierarchicalElement.cpp.

References GNEHierarchicalContainer::getChildren(), and GNEHierarchicalElement::myHierarchicalContainer.

Referenced by GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteEdge(), GNENet::deleteGenericData(), GNENet::deleteLane(), GNENet::deleteTAZElement(), GNELane::drawChildren(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEEdge::drawGL(), GNEJunction::drawJunctionChildren(), drawPersonPlanPartialLane(), GNEHierarchicalElement::getAllHierarchicalElements(), GNEPerson::getCenteringBoundary(), GNEVehicle::getDemandElementProblem(), getFirstAllowedVehicleLane(), getNextChildDemandElement(), GNEFrameModuls::DemandElementSelector::getPersonPlanPreviousEdge(), GNEPerson::getPositionInView(), getPreviousChildDemandElement(), GNEEdge::getVehiclesOverEdgeMap(), GNEVehicle::isDemandElementValid(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::replaceIncomingEdge(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEFrameModuls::HierarchicalElementTree::showHierarchicalElementChildren(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNENet::splitEdge(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNENetHelper::AttributeCarriers::updateDemandElementID(), GNEBusStop::updateGeometry(), GNEPerson::updateGeometry(), GNEPersonTrip::updateGeometry(), GNERide::updateGeometry(), GNERoute::updateGeometry(), GNEVehicle::updateGeometry(), GNEVehicleType::updateGeometry(), GNEWalk::updateGeometry(), GNEEdge::updateGeometry(), GNELane::updateGeometry(), updatePartialGeometry(), GNEPerson::writeDemandElement(), GNERoute::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ getChildEdges()

◆ getChildGenericDatas()

◆ getChildJunctions()

const std::vector< GNEJunction * > & GNEHierarchicalElement::getChildJunctions ( ) const
inherited

get child junctions

Definition at line 175 of file GNEHierarchicalElement.cpp.

References GNEHierarchicalContainer::getChildren(), and GNEHierarchicalElement::myHierarchicalContainer.

Referenced by GNEHierarchicalElement::getAllHierarchicalElements().

Here is the caller graph for this function:

◆ getChildLanes()

const std::vector< GNELane * > & GNEHierarchicalElement::getChildLanes ( ) const
inherited

◆ getChildShapes()

◆ getChildTAZElements()

const std::vector< GNETAZElement * > & GNEHierarchicalElement::getChildTAZElements ( ) const
inherited

◆ getColor()

virtual const RGBColor& GNEDemandElement::getColor ( ) const
pure virtual

◆ getColorValue()

virtual double GUIGlObject::getColorValue ( const GUIVisualizationSettings ,
int   
) const
inlinevirtualinherited

Reimplemented in GUIBaseVehicle, GNELane, GNEJunction, GUIMEVehicle, GUIVehicle, GUIPerson, GUILane, GUIJunctionWrapper, GUIEdge, and GUIContainer.

Definition at line 148 of file GUIGlObject.h.

Referenced by GNEPerson::drawGL(), GNEPerson::setColor(), and GUISUMOAbstractView::showToolTipFor().

Here is the caller graph for this function:

◆ getDemandElementGeometry()

const GNEGeometry::Geometry & GNEDemandElement::getDemandElementGeometry ( )

get demand element geometry (stacked)

Definition at line 94 of file GNEDemandElement.cpp.

References myDemandElementGeometry.

◆ getDemandElementProblem()

std::string GNEDemandElement::getDemandElementProblem ( ) const
virtual

return a string with the current demand element problem (by default empty, can be reimplemented in children)

Reimplemented in GNEWalk, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Definition at line 198 of file GNEDemandElement.cpp.

◆ getDemandElementSegmentGeometry()

const GNEGeometry::SegmentGeometry & GNEDemandElement::getDemandElementSegmentGeometry ( ) const

get demand element segment geometry (stacked)

Definition at line 100 of file GNEDemandElement.cpp.

References myDemandElementSegmentGeometry.

Referenced by drawPersonPlanPartialLane(), and GNEPerson::getCenteringBoundary().

Here is the caller graph for this function:

◆ getFirstAllowedVehicleLane()

◆ getFirstPersonPlanEdge()

◆ getFullName()

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 166 of file GUIGlObject.cpp.

References GUIGlObject::myGlID.

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

◆ getGUIGlObject()

GUIGlObject * GNEDemandElement::getGUIGlObject ( )
virtual

get GUIGlObject associated with this AttributeCarrier

Implements GNEAttributeCarrier.

Definition at line 88 of file GNEDemandElement.cpp.

◆ getHierarchicalContainer()

const GNEHierarchicalContainer & GNEHierarchicalElement::getHierarchicalContainer ( ) const
inherited

get hierarchicalcontainer with parents and children

Definition at line 55 of file GNEHierarchicalElement.cpp.

References GNEHierarchicalElement::myHierarchicalContainer.

◆ getHierarchyName()

virtual std::string GNEDemandElement::getHierarchyName ( ) const
pure virtual

get Hierarchy Name (Used in AC Hierarchy)

Implements GNEAttributeCarrier.

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

◆ getIcon()

◆ getID()

const std::string & GNEDemandElement::getID ( ) const
virtual

get ID

Implements GNEAttributeCarrier.

Definition at line 82 of file GNEDemandElement.cpp.

References GUIGlObject::getMicrosimID().

Referenced by GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNEHierarchicalContainer::addParentElement(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNERouteHandler::buildRide(), GNERouteHandler::buildWalk(), GNEVehicleFrame::createPath(), GNENetHelper::AttributeCarriers::deleteDemandElement(), GNENetHelper::AttributeCarriers::demandElementExist(), GNECalibratorFlow::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttribute(), GNENetHelper::AttributeCarriers::insertDemandElement(), GNEPersonTrip::isValid(), GNERouteDialog::onCmdSetVariable(), GNEViewNet::onCmdToogleLockPerson(), GNEChange_Children::redo(), GNEChange_DemandElement::redo(), GNEHierarchicalContainer::removeChildElement(), GNEHierarchicalContainer::removeParentElement(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNEChange_Children::undo(), GNEChange_DemandElement::undo(), GNERouteDialog::updateCalibratorRouteValues(), GNENetHelper::AttributeCarriers::updateDemandElementID(), GNEPerson::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEWalk::writeDemandElement(), GNEChange_Children::~GNEChange_Children(), and GNEChange_DemandElement::~GNEChange_DemandElement().

Here is the caller graph for this function:

◆ getLastAllowedVehicleLane()

◆ getMicrosimID()

◆ getNet()

GNENet * GNEAttributeCarrier::getNet ( ) const
inherited

get pointer to net

Definition at line 62 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::myNet.

Referenced by GNEAdditionalDialog::acceptChanges(), GNEDemandElementDialog::acceptChanges(), GNETAZFrame::TAZCurrent::addTAZChild(), GNERouteHandler::buildPersonPlan(), GNEPathElements::calculatePathLanes(), GNENetHelper::PathCalculator::calculateReachability(), GNEAdditionalDialog::cancelChanges(), GNEDemandElementDialog::cancelChanges(), GNEConnection::changeTLIndex(), GNEViewNetHelper::LockIcon::checkDrawing(), GNEGenericData::drawAttribute(), GNEHierarchicalElement::drawHierarchicalConnections(), GNEGenericDataFrame::DataSetSelector::getDataSet(), GNEGenericData::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNEAdditionalDialog::initChanges(), GNEDemandElementDialog::initChanges(), GNEEdgeData::isGenericDataVisible(), GNESingleParametersDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNECalibratorDialog::onCmdAddFlow(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNECalibratorDialog::onCmdAddRoute(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), GNECalibratorDialog::onCmdAddVehicleType(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute(), GNERerouterIntervalDialog::onCmdClickedClosingReroute(), GNERerouterIntervalDialog::onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNERerouterIntervalDialog::onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNECreateEdgeFrame::EdgeTypeSelector::onCmdDeleteEdgeType(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), GNEInspectorFrame::TemplateEditor::onCmdSetTemplate(), GNECalibratorFlowDialog::onCmdSetVariable(), GNERouteDialog::onCmdSetVariable(), GNEChange_Additional::redo(), GNEChange_Attribute::redo(), GNEChange_Children::redo(), GNEChange_Connection::redo(), GNEChange_Crossing::redo(), GNEChange_DataInterval::redo(), GNEChange_DataSet::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_EdgeType::redo(), GNEChange_EnableAttribute::redo(), GNEChange_GenericData::redo(), GNEChange_Junction::redo(), GNEChange_Lane::redo(), GNEChange_LaneType::redo(), GNEChange_Shape::redo(), GNEChange_TAZElement::redo(), GNEChange_TLS::redo(), GNEDataInterval::removeGenericDataChild(), GNEAdditional::replaceAdditionalChildEdges(), GNEAdditional::replaceAdditionalChildLanes(), GNEAdditional::replaceAdditionalParentEdges(), GNEAdditional::replaceAdditionalParentLanes(), replaceDemandParentEdges(), replaceDemandParentLanes(), replaceMiddleParentEdges(), GNEShape::replaceShapeParentLanes(), GNEAdditionalDialog::resetChanges(), GNEDemandElementDialog::resetChanges(), GNETAZFrame::TAZCurrent::setTAZ(), GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), GNEFrameModuls::HierarchicalElementTree::showHierarchicalElementChildren(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Additional::undo(), GNEChange_Attribute::undo(), GNEChange_Children::undo(), GNEChange_Connection::undo(), GNEChange_Crossing::undo(), GNEChange_DataInterval::undo(), GNEChange_DataSet::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_EdgeType::undo(), GNEChange_EnableAttribute::undo(), GNEChange_GenericData::undo(), GNEChange_Junction::undo(), GNEChange_Lane::undo(), GNEChange_LaneType::undo(), GNEChange_Shape::undo(), GNEChange_TAZElement::undo(), GNEChange_TLS::undo(), GNECalibratorDialog::updateFlowAndLabelButton(), GNECalibratorDialog::updateRouteTable(), GNECalibratorDialog::updateVehicleTypeTable(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_DataInterval::~GNEChange_DataInterval(), GNEChange_DataSet::~GNEChange_DataSet(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_EdgeType::~GNEChange_EdgeType(), GNEChange_GenericData::~GNEChange_GenericData(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TAZElement::~GNEChange_TAZElement().

◆ getNewListOfParents()

std::string GNEHierarchicalElement::getNewListOfParents ( const GNENetworkElement currentElement,
const GNENetworkElement newNextElement 
) const
inherited

if use edge/parent lanes as a list of consecutive elements, obtain a list of IDs of elements after insert a new element

Definition at line 459 of file GNEHierarchicalElement.cpp.

References GNENetworkElement::getID(), GNEHierarchicalElement::getParentEdges(), GNEHierarchicalElement::getParentLanes(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), SUMO_TAG_EDGE, SUMO_TAG_LANE, and toString().

Referenced by GNEDetector::splitEdgeGeometry(), GNERoute::splitEdgeGeometry(), and GNEWalk::splitEdgeGeometry().

Here is the caller graph for this function:

◆ getNextChildDemandElement()

GNEDemandElement * GNEDemandElement::getNextChildDemandElement ( const GNEDemandElement demandElement) const

get next child demand element to the given demand element

Definition at line 121 of file GNEDemandElement.cpp.

References GNEHierarchicalElement::getChildDemandElements().

◆ getOptionalName()

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

Returns the name of the object (default "")

Reimplemented in GNEEdge, GUITrafficLightLogicWrapper, GUIParkingArea, GUIJunctionWrapper, GUIEdge, GUIContainerStop, GUIChargingStation, GUIBusStop, and GUIBaseVehicle.

Definition at line 185 of file GUIGlObject.cpp.

Referenced by GUIDialog_ChooserAbstract::getObjectName().

Here is the caller graph for this function:

◆ getParameterWindow()

GUIParameterTableWindow * GNEDemandElement::getParameterWindow ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
virtual

Returns an own parameter window.

Parameters
[in]appThe application needed to build the parameter window
[in]parentThe parent window needed to build the parameter window
Returns
The built parameter window
See also
GUIGlObject::getParameterWindow

Implements GUIGlObject.

Definition at line 247 of file GNEDemandElement.cpp.

References GUIParameterTableWindow::closeBuilding(), getAttribute(), GUIParameterTableWindow::mkItem(), and GNEAttributeCarrier::myTagProperty.

◆ getParentAdditionals()

const std::vector< GNEAdditional * > & GNEHierarchicalElement::getParentAdditionals ( ) const
inherited

get parent additionals

Definition at line 145 of file GNEHierarchicalElement.cpp.

References GNEHierarchicalContainer::getParents(), and GNEHierarchicalElement::myHierarchicalContainer.

Referenced by calculatePersonPlanLaneStartEndPos(), GNEPersonTrip::computePath(), GNERide::computePath(), GNEWalk::computePath(), GNERerouterSymbol::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEHierarchicalElement::getAllHierarchicalElements(), GNEAccess::getAttribute(), GNECalibratorFlow::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbReroute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEPersonStop::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNEStop::getAttribute(), GNEWalk::getAttribute(), GNEPersonStop::getCenteringBoundary(), GNEStop::getCenteringBoundary(), getFirstAllowedVehicleLane(), getFirstPersonPlanEdge(), GNEParkingAreaReroute::getHierarchyName(), GNERerouterSymbol::getHierarchyName(), GNEVariableSpeedSignSymbol::getHierarchyName(), GNEPersonStop::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNERide::getHierarchyName(), GNEStop::getHierarchyName(), GNEWalk::getHierarchyName(), getLastAllowedVehicleLane(), GNEAccess::getParentName(), GNECalibratorFlow::getParentName(), GNEClosingLaneReroute::getParentName(), GNEClosingReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEParkingSpace::getParentName(), GNERerouterInterval::getParentName(), GNERerouterSymbol::getParentName(), GNERouteProbReroute::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNEVariableSpeedSignSymbol::getParentName(), GNEPersonStop::getParentName(), GNEStop::getParentName(), GNEFrameModuls::DemandElementSelector::getPersonPlanPreviousEdge(), GNERerouterSymbol::getPopUpID(), GNEVariableSpeedSignSymbol::getPopUpID(), GNEPersonTrip::invalidatePath(), GNERide::invalidatePath(), GNEWalk::invalidatePath(), GNEAccess::isValid(), GNEVariableSpeedSignStep::isValid(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEAdditional::replaceAdditionalParent(), replaceAdditionalParent(), GNENet::replaceIncomingEdge(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNEWalk::setAttribute(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNECalibratorFlow::updateCenteringBoundary(), GNEClosingLaneReroute::updateCenteringBoundary(), GNEClosingReroute::updateCenteringBoundary(), GNEDestProbReroute::updateCenteringBoundary(), GNEParkingAreaReroute::updateCenteringBoundary(), GNEParkingSpace::updateCenteringBoundary(), GNERerouterInterval::updateCenteringBoundary(), GNERouteProbReroute::updateCenteringBoundary(), GNEVariableSpeedSignStep::updateCenteringBoundary(), GNECalibratorFlow::updateGeometry(), GNEClosingLaneReroute::updateGeometry(), GNEClosingReroute::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNERerouterSymbol::updateGeometry(), GNEVariableSpeedSignSymbol::updateGeometry(), GNEPersonStop::updateGeometry(), GNEStop::updateGeometry(), GNELane::updateGeometry(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), and GNEWalk::writeDemandElement().

◆ getParentDemandElements()

const std::vector< GNEDemandElement * > & GNEHierarchicalElement::getParentDemandElements ( ) const
inherited

get parent demand elements

Definition at line 163 of file GNEHierarchicalElement.cpp.

References GNEHierarchicalContainer::getParents(), and GNEHierarchicalElement::myHierarchicalContainer.

Referenced by calculatePersonPlanLaneStartEndPos(), GNEWalk::computePath(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), drawPersonPlanPartialJunction(), drawPersonPlanPartialLane(), GNEHierarchicalElement::getAllHierarchicalElements(), GNEPerson::getAttribute(), GNEPersonStop::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEWalk::getAttribute(), GNEVehicle::getAttributeDouble(), GNEPersonTrip::getColor(), GNERide::getColor(), GNEWalk::getColor(), GNEPersonTrip::getDemandElementProblem(), GNERide::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), getFirstAllowedVehicleLane(), getFirstPersonPlanEdge(), GNEWalk::getHierarchyName(), getLastAllowedVehicleLane(), GNEPerson::getParentName(), GNEPersonStop::getParentName(), GNEPersonTrip::getParentName(), GNERide::getParentName(), GNEStop::getParentName(), GNEVehicle::getParentName(), GNEWalk::getParentName(), GNEFrameModuls::DemandElementSelector::getPersonPlanPreviousEdge(), GNEPersonStop::getPositionInView(), GNEStop::getPositionInView(), GNEPerson::getVClass(), GNEPersonStop::getVClass(), GNEPersonTrip::getVClass(), GNERide::getVClass(), GNEStop::getVClass(), GNEVehicle::getVClass(), GNEWalk::getVClass(), GNEWalk::invalidatePath(), GNEVehicle::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isValid(), GNEViewNet::onCmdToogleLockPerson(), GNEDeleteFrame::removeAttributeCarrier(), GNEAdditional::replaceDemandElementParent(), replaceDemandElementParent(), GNEVehicle::setAttribute(), GNEVehicle::setColor(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEBusStop::updateGeometry(), GNEPersonStop::updateGeometry(), GNEStop::updateGeometry(), GNEVehicle::updateGeometry(), GNEWalk::updateGeometry(), GNELane::updateGeometry(), GNEPerson::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNEVehicle::writeDemandElement(), and GNEWalk::writeDemandElement().

◆ getParentEdges()

const std::vector< GNEEdge * > & GNEHierarchicalElement::getParentEdges ( ) const
inherited

get parent edges

Definition at line 133 of file GNEHierarchicalElement.cpp.

References GNEHierarchicalContainer::getParents(), and GNEHierarchicalElement::myHierarchicalContainer.

Referenced by GNEVehicleFrame::addVehicle(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildVehicleOverRoute(), GNEAdditional::calculatePerpendicularLine(), GNERouteHandler::PersonValue::checkPersonPlanValues(), GNERoute::computePath(), GNEWalk::computePath(), GNECalibrator::drawCalibratorSymbol(), GNEPersonStop::drawGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNEPersonStop::enableAttribute(), GNEHierarchicalElement::getAllHierarchicalElements(), GNECalibrator::getAttribute(), GNERerouterSymbol::getAttribute(), GNERouteProbe::getAttribute(), GNETAZSourceSink::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNERoute::getAttribute(), GNEVehicle::getAttribute(), GNEWalk::getAttribute(), GNEPersonStop::getAttributeDouble(), GNETAZSourceSink::getCenteringBoundary(), GNEEdgeData::getCenteringBoundary(), GNEEdgeRelData::getCenteringBoundary(), GNEPersonTrip::getCenteringBoundary(), GNERide::getCenteringBoundary(), GNERoute::getCenteringBoundary(), GNEWalk::getCenteringBoundary(), GNEPersonStop::getDemandElementProblem(), GNEPersonTrip::getDemandElementProblem(), GNERide::getDemandElementProblem(), GNERoute::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNEPersonStop::getEndGeometryPositionOverLane(), getFirstAllowedVehicleLane(), getFirstPersonPlanEdge(), GNEEdgeData::getHierarchyName(), GNEEdgeRelData::getHierarchyName(), GNEPerson::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNERide::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEWalk::getHierarchyName(), getLastAllowedVehicleLane(), GNEHierarchicalElement::getNewListOfParents(), GNECalibrator::getParentName(), GNERouteProbe::getParentName(), GNEVaporizer::getParentName(), GNERoute::getParentName(), GNEVehicle::getParentName(), GNEFrameModuls::DemandElementSelector::getPersonPlanPreviousEdge(), GNEEdgeData::getPositionInView(), GNEEdgeRelData::getPositionInView(), GNEPersonStop::getPositionInView(), GNEPersonStop::getStartGeometryPositionOverLane(), getViaEdges(), GNERoute::invalidatePath(), GNEWalk::invalidatePath(), GNEPersonStop::isDemandElementValid(), GNEPersonTrip::isDemandElementValid(), GNERide::isDemandElementValid(), GNERoute::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNECalibrator::isValid(), GNEPersonStop::isValid(), GNEPersonStop::moveGeometry(), GNEPersonTrip::moveGeometry(), GNERide::moveGeometry(), GNEWalk::moveGeometry(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEGenericData::replaceFirstParentEdge(), replaceFirstParentEdge(), GNEGenericData::replaceLastParentEdge(), replaceLastParentEdge(), replaceMiddleParentEdges(), GNEVehicle::setAttribute(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNECalibrator::updateGeometry(), GNERerouterSymbol::updateGeometry(), GNEEdgeData::updateGeometry(), GNEEdgeRelData::updateGeometry(), GNEPersonStop::updateGeometry(), GNEVehicle::updateGeometry(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEWalk::writeDemandElement(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZSourceSink::writeTAZElement().

◆ getParentGenericDatas()

const std::vector< GNEGenericData * > & GNEHierarchicalElement::getParentGenericDatas ( ) const
inherited

◆ getParentJunctions()

const std::vector< GNEJunction * > & GNEHierarchicalElement::getParentJunctions ( ) const
inherited

get parent junctions

Definition at line 127 of file GNEHierarchicalElement.cpp.

References GNEHierarchicalContainer::getParents(), and GNEHierarchicalElement::myHierarchicalContainer.

Referenced by GNEEdge::addLane(), GNENet::addReversedEdge(), GNEConnectorFrame::buildConnection(), GNEProhibitionFrame::buildProhibition(), GNENetHelper::PathCalculator::calculateReachability(), GNEEdge::clickedOverShapeEnd(), GNEEdge::clickedOverShapeStart(), GNENet::deleteConnection(), GNENet::deleteEdge(), GNENet::deleteLane(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNELane::drawArrows(), GNEEdge::drawEdgeGeometryPoints(), GNELane::drawStartEndShapePoints(), GNENet::duplicateLane(), GNEEdge::editEndpoint(), GNEHierarchicalElement::getAllHierarchicalElements(), GNEEdge::getAttribute(), GNEEdge::getGNECrossings(), GNELane::getGNEIncomingConnections(), GNEPathElements::PathElement::getJunction(), GNEGeometry::SegmentGeometry::Segment::getJunction(), GNEEdge::getMoveOperation(), GNEEdge::getOppositeEdge(), GNENet::initJunctionsAndEdges(), GNEConnectorFrame::initTargets(), GNERoute::isRouteValid(), GNEEdge::isValid(), GNENet::joinSelectedJunctions(), GNENet::mergeJunctions(), GNENetHelper::AttributeCarriers::registerEdge(), GNEEdge::removeGeometryPoint(), GNEEdge::removeLane(), GNENet::replaceIncomingEdge(), GNEEdge::resetBothEndpoint(), GNEEdge::resetEndpoint(), GNENet::reverseEdge(), GNENet::selectRoundabout(), GNEEdge::setAttribute(), GNEEdge::setGeometry(), GNEEdge::setNumLanes(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), GNENet::splitEdge(), GNENet::splitJunction(), GNEConnection::updateCenteringBoundary(), GNEEdge::updateFirstParentJunction(), GNEEdge::updateJunctionPosition(), and GNEEdge::updateSecondParentJunction().

Here is the caller graph for this function:

◆ getParentLanes()

const std::vector< GNELane * > & GNEHierarchicalElement::getParentLanes ( ) const
inherited

get parent lanes

Definition at line 139 of file GNEHierarchicalElement.cpp.

References GNEHierarchicalContainer::getParents(), and GNEHierarchicalElement::myHierarchicalContainer.

Referenced by GNEDetectorE2::areLaneConsecutives(), GNENetHelper::PathCalculator::busStopConnected(), GNEPersonStop::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEPersonTrip::computePath(), GNERide::computePath(), GNEWalk::computePath(), GNECalibrator::drawCalibratorSymbol(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEAdditional::drawPartialGL(), GNEStop::enableAttribute(), GNEPersonStop::endGeometryMoving(), GNEStop::endGeometryMoving(), GNEDetectorE1::fixAdditionalProblem(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEDetectorE1::getAdditionalProblem(), GNEDetectorE1Instant::getAdditionalProblem(), GNEDetectorE2::getAdditionalProblem(), GNEDetectorEntryExit::getAdditionalProblem(), GNEStoppingPlace::getAdditionalProblem(), GNEHierarchicalElement::getAllHierarchicalElements(), GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE2::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingArea::getAttribute(), GNEPOI::getAttribute(), GNEVariableSpeedSignSymbol::getAttribute(), GNEPersonStop::getAttribute(), GNEStop::getAttribute(), GNEStop::getAttributeDouble(), GNEStop::getDemandElementProblem(), GNEAccess::getEdge(), GNEStoppingPlace::getEndGeometryPositionOverLane(), GNEPersonStop::getEndGeometryPositionOverLane(), GNEStop::getEndGeometryPositionOverLane(), GNEStoppingPlace::getEndPosition(), getFirstPersonPlanEdge(), GNEAccess::getHierarchyName(), GNEDetector::getLane(), GNERouteHandler::PersonPlansValues::getLastEdge(), GNEAccess::getMoveOperation(), GNEDetector::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNEHierarchicalElement::getNewListOfParents(), GNECalibrator::getParentName(), GNEPOI::getParentName(), GNEStoppingPlace::getParentName(), GNEPersonStop::getParentName(), GNEStop::getParentName(), GNEPOI::getPopUpMenu(), GNEPersonStop::getPositionInView(), GNEStop::getPositionInView(), GNEStoppingPlace::getStartGeometryPositionOverLane(), GNEPersonStop::getStartGeometryPositionOverLane(), GNEStop::getStartGeometryPositionOverLane(), GNEPersonTrip::invalidatePath(), GNERide::invalidatePath(), GNEWalk::invalidatePath(), GNEAccess::isAccessPositionFixed(), GNEDetectorE1::isAdditionalValid(), GNEDetectorE1Instant::isAdditionalValid(), GNEDetectorE2::isAdditionalValid(), GNEDetectorEntryExit::isAdditionalValid(), GNEStoppingPlace::isAdditionalValid(), GNEPersonStop::isDemandElementValid(), GNEStop::isDemandElementValid(), GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingArea::isValid(), GNEPOI::isValid(), GNEStop::isValid(), GNEPersonStop::moveGeometry(), GNEStop::moveGeometry(), GNEPOI::setAttribute(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), GNEStoppingPlace::splitEdgeGeometry(), GNEPersonStop::startGeometryMoving(), GNEStop::startGeometryMoving(), GNEAccess::updateGeometry(), GNEBusStop::updateGeometry(), GNECalibrator::updateGeometry(), GNEContainerStop::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNEDetectorE2::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEParkingArea::updateGeometry(), GNEPOI::updateGeometry(), GNEVariableSpeedSignSymbol::updateGeometry(), GNEStop::updateGeometry(), and GNEPOI::writeShape().

◆ getParentName()

◆ getParentShapes()

const std::vector< GNEShape * > & GNEHierarchicalElement::getParentShapes ( ) const
inherited

◆ getParentTAZElements()

◆ getPath()

◆ getPopUpID()

virtual std::string GNEDemandElement::getPopUpID ( ) const
pure virtual

get PopPup ID (Used in AC Hierarchy)

Implements GNEAttributeCarrier.

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

◆ getPopUpMenu()

◆ getPositionInView()

virtual Position GNEDemandElement::getPositionInView ( ) const
pure virtual

Returns position of demand element in view.

Implements GNEHierarchicalElement.

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Referenced by getPopUpMenu().

Here is the caller graph for this function:

◆ getPreviousChildDemandElement()

GNEDemandElement * GNEDemandElement::getPreviousChildDemandElement ( const GNEDemandElement demandElement) const

get previous child demand element to the given demand element

Definition at line 106 of file GNEDemandElement.cpp.

References GNEHierarchicalElement::getChildDemandElements().

Referenced by GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), and GNEWalk::writeDemandElement().

Here is the caller graph for this function:

◆ getTagProperties()

◆ getTagProperty()

const GNETagProperties & GNEAttributeCarrier::getTagProperty ( ) const
inherited

get Tag Property assigned to this object

Definition at line 566 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::myTagProperty.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEHierarchicalElement::addChildElement(), GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNENet::addGLObjectIntoGrid(), GNENetHelper::AttributeCarriers::additionalExist(), GNEJunction::addPathAdditionalElement(), GNELane::addPathAdditionalElement(), GNEJunction::addPathDemandElement(), GNELane::addPathDemandElement(), GNEJunction::addPathGenericData(), GNELane::addPathGenericData(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEStopFrame::addStop(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEAdditionalFrame::buildSlaveAdditional(), GNERouteHandler::buildStop(), GNENetHelper::PathCalculator::busStopConnected(), calculatePersonPlanLaneStartEndPos(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENetHelper::AttributeCarriers::deleteAdditional(), GNENetHelper::AttributeCarriers::deleteDemandElement(), GNENet::deleteDemandElement(), GNENetHelper::AttributeCarriers::deleteShape(), GNENetHelper::AttributeCarriers::deleteTAZElement(), GNENetHelper::AttributeCarriers::demandElementExist(), GNEPerson::drawGL(), GNEAdditionalHandler::LastInsertedElement::getAdditionalParent(), GNEViewNet::getAttributeCarriersInBoundary(), GNEPerson::getCenteringBoundary(), GNEViewNetHelper::LockIcon::getLockIcon(), GNEHierarchicalElement::getNewListOfParents(), GNEFrameModuls::DemandElementSelector::getPersonPlanPreviousEdge(), GNEPerson::getPositionInView(), GNEEdge::getRouteProbeRelativePosition(), GNENet::getSelectedAttributeCarriers(), GNEAdditionalHandler::LastInsertedElement::getShapeParent(), GNEStopFrame::getStopParameter(), GNEAdditionalHandler::LastInsertedElement::getTAZElementParent(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENetHelper::AttributeCarriers::insertAdditional(), GNENetHelper::AttributeCarriers::insertDemandElement(), GNENetHelper::AttributeCarriers::insertShape(), GNENetHelper::AttributeCarriers::insertTAZElement(), GNEInspectorFrame::inspectSingleElement(), GNEVehicle::isDemandElementValid(), GNEFrameAttributesModuls::isSupermodeValid(), GNEViewNet::onCmdClearConnections(), GNEInspectorFrame::ParametersEditorInspector::onCmdEditParameters(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdResetConnections(), GNEInspectorFrame::ParametersEditorInspector::onCmdSetParameters(), GNEViewNet::onCmdToogleLockPerson(), GNEAdditionalHandler::parseParameter(), GNEDataHandler::parseParameter(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEChange_Attribute::redo(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEInspectorFrame::ParametersEditorInspector::refreshParametersEditorInspector(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalElement::removeChildElement(), GNEDeleteFrame::removeGeometryPoint(), GNENet::removeGLObjectFromGrid(), GNEJunction::removePathAdditionalElement(), GNELane::removePathAdditionalElement(), GNEJunction::removePathDemandElement(), GNELane::removePathDemandElement(), GNEJunction::removePathGenericData(), GNELane::removePathGenericData(), GNENet::replaceInListAttribute(), GNEInspectorFrame::selectedOverlappedElement(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENetHelper::AttributeCarriers::shapeExist(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), GNEFrameModuls::HierarchicalElementTree::showHierarchicalElementChildren(), GNECalibrator::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNENetHelper::AttributeCarriers::TAZElementExist(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Attribute::undo(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNENetHelper::AttributeCarriers::updateAdditionalID(), GNEViewNetHelper::ObjectsUnderCursor::updateAttributeCarriers(), GNENetHelper::AttributeCarriers::updateDemandElementID(), GNEStop::updateGeometry(), GNENetHelper::AttributeCarriers::updateID(), GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor(), GNENetHelper::AttributeCarriers::updateShapeID(), GNENetHelper::AttributeCarriers::updateTAZElementID(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TAZElement::~GNEChange_TAZElement().

◆ getTagStr()

const std::string & GNEAttributeCarrier::getTagStr ( ) const
inherited

get tag assigned to this object in string format

Definition at line 560 of file GNEAttributeCarrier.cpp.

References GNETagProperties::getTagStr(), and GNEAttributeCarrier::myTagProperty.

Referenced by GNEHierarchicalContainer::addChildElement(), GNEJunction::addIncomingGNEEdge(), GNEJunction::addOutgoingGNEEdge(), GNEHierarchicalContainer::addParentElement(), GNENetHelper::AttributeCarriers::addPOI(), GNEStopFrame::addStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbReroute(), GNERouteHandler::buildStop(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::checkChildAdditionalRestriction(), checkChildDemandElementRestriction(), GNETAZElement::checkChildTAZElementRestriction(), GNERouteHandler::closePerson(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNEPersonStop::commitGeometryMoving(), GNEPersonTrip::commitGeometryMoving(), GNERide::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEWalk::commitGeometryMoving(), GNEAccess::commitMoveShape(), GNEDetector::commitMoveShape(), GNEDetectorE3::commitMoveShape(), GNEParkingSpace::commitMoveShape(), GNEPOI::commitMoveShape(), GNEPoly::commitMoveShape(), GNERerouter::commitMoveShape(), GNEStoppingPlace::commitMoveShape(), GNETAZ::commitMoveShape(), GNEVariableSpeedSign::commitMoveShape(), GNEConnection::commitMoveShape(), GNECrossing::commitMoveShape(), GNEEdge::commitMoveShape(), GNEJunction::commitMoveShape(), GNERouteFrame::createPath(), GNENet::deleteAdditional(), GNENet::deleteDataInterval(), GNENet::deleteDataSet(), GNENet::deleteDemandElement(), GNENet::deleteGenericData(), GNENet::deleteShape(), GNENet::deleteTAZElement(), GNEAdditional::fixAdditionalProblem(), GNEDataInterval::fixDataIntervalProblem(), fixDemandElementProblem(), GNEEdgeData::fixGenericDataProblem(), GNEEdgeRelData::fixGenericDataProblem(), GNEGenericData::fixGenericDataProblem(), GNETAZRelData::fixGenericDataProblem(), GNEInternalLane::getACParametersMap(), GNEAdditionalHandler::LastInsertedElement::getAdditionalParent(), GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE2::getAttribute(), GNEDetectorE3::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), GNERerouter::getAttribute(), GNERerouterInterval::getAttribute(), GNERerouterSymbol::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEVariableSpeedSignSymbol::getAttribute(), GNEDataInterval::getAttribute(), GNEDataSet::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEPerson::getAttribute(), GNEPersonStop::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttribute(), GNEWalk::getAttribute(), GNEConnection::getAttribute(), GNECrossing::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEInternalLane::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNELaneType::getAttribute(), GNEAccess::getAttributeDouble(), GNECalibrator::getAttributeDouble(), GNECalibratorFlow::getAttributeDouble(), GNEClosingLaneReroute::getAttributeDouble(), GNEClosingReroute::getAttributeDouble(), GNEDestProbReroute::getAttributeDouble(), GNEDetector::getAttributeDouble(), GNEDetectorE3::getAttributeDouble(), GNEParkingAreaReroute::getAttributeDouble(), GNEParkingSpace::getAttributeDouble(), GNERerouter::getAttributeDouble(), GNERerouterInterval::getAttributeDouble(), GNERouteProbe::getAttributeDouble(), GNERouteProbReroute::getAttributeDouble(), GNEStoppingPlace::getAttributeDouble(), GNETAZ::getAttributeDouble(), GNETAZSourceSink::getAttributeDouble(), GNEVaporizer::getAttributeDouble(), GNEVariableSpeedSign::getAttributeDouble(), GNEVariableSpeedSignStep::getAttributeDouble(), GNEDataInterval::getAttributeDouble(), GNEDataSet::getAttributeDouble(), GNEEdgeData::getAttributeDouble(), GNEEdgeRelData::getAttributeDouble(), GNETAZRelData::getAttributeDouble(), GNEPerson::getAttributeDouble(), GNEPersonStop::getAttributeDouble(), GNEPersonTrip::getAttributeDouble(), GNERide::getAttributeDouble(), GNEStop::getAttributeDouble(), GNEVehicle::getAttributeDouble(), GNEVehicleType::getAttributeDouble(), GNEWalk::getAttributeDouble(), getBegin(), GNEAccess::getHierarchyName(), GNECalibrator::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEDetector::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNERerouter::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEShape::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNETAZ::getHierarchyName(), GNETAZSourceSink::getHierarchyName(), GNEVaporizer::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNEDataSet::getHierarchyName(), GNEEdgeData::getHierarchyName(), GNEEdgeRelData::getHierarchyName(), GNETAZRelData::getHierarchyName(), GNEPerson::getHierarchyName(), GNERoute::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEVehicleType::getHierarchyName(), GNENetworkElement::getHierarchyName(), GNEAccess::getPopUpID(), GNECalibrator::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNEDetector::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEParkingSpace::getPopUpID(), GNERerouter::getPopUpID(), GNERerouterInterval::getPopUpID(), GNERouteProbe::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEShape::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNETAZ::getPopUpID(), GNETAZSourceSink::getPopUpID(), GNEVaporizer::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNEDataInterval::getPopUpID(), GNEDataSet::getPopUpID(), GNEEdgeData::getPopUpID(), GNEEdgeRelData::getPopUpID(), GNETAZRelData::getPopUpID(), GNEPerson::getPopUpID(), GNEPersonStop::getPopUpID(), GNEPersonTrip::getPopUpID(), GNERide::getPopUpID(), GNERoute::getPopUpID(), GNEStop::getPopUpID(), GNEVehicle::getPopUpID(), GNEVehicleType::getPopUpID(), GNEWalk::getPopUpID(), GNENetworkElement::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEGenericData::getPopUpMenu(), getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEAdditionalHandler::LastInsertedElement::getShapeParent(), GNEAdditionalHandler::LastInsertedElement::getTAZElementParent(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNENetHelper::AttributeCarriers::insertAdditional(), GNENetHelper::AttributeCarriers::insertDataSet(), GNENetHelper::AttributeCarriers::insertDemandElement(), GNENetHelper::AttributeCarriers::insertShape(), GNENetHelper::AttributeCarriers::insertTAZElement(), GNEInternalLane::isAttributeEnabled(), GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEContainerStop::isValid(), GNEDestProbReroute::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE2::isValid(), GNEDetectorE3::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingArea::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNERerouter::isValid(), GNERerouterInterval::isValid(), GNERouteProbe::isValid(), GNERouteProbReroute::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEVariableSpeedSignStep::isValid(), GNEDataInterval::isValid(), GNEDataSet::isValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), GNETAZRelData::isValid(), GNEPerson::isValid(), GNEPersonStop::isValid(), GNEPersonTrip::isValid(), GNERide::isValid(), GNERoute::isValid(), GNEStop::isValid(), GNEVehicle::isValid(), GNEVehicleType::isValid(), GNEWalk::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEInternalLane::isValid(), GNEJunction::isValid(), GNELane::isValid(), GNELaneType::isValid(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNERouteDialog::onCmdAccept(), GNEVehicleTypeDialog::onCmdAccept(), GNEAdditional::openAdditionalDialog(), openDemandElementDialog(), GNEVehicleType::overwriteVType(), GNEAdditionalHandler::parseParameter(), GNEDataHandler::parseParameter(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNEChange_Additional::redo(), GNEChange_Attribute::redo(), GNEChange_Children::redo(), GNEChange_Crossing::redo(), GNEChange_DataInterval::redo(), GNEChange_DataSet::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_EdgeType::redo(), GNEChange_EnableAttribute::redo(), GNEChange_GenericData::redo(), GNEChange_Junction::redo(), GNEChange_Lane::redo(), GNEChange_LaneType::redo(), GNEChange_Shape::redo(), GNEChange_TAZElement::redo(), GNEChange_TLS::redo(), GNEChange_Additional::redoName(), GNEChange_Attribute::redoName(), GNEChange_Children::redoName(), GNEChange_DataInterval::redoName(), GNEChange_DataSet::redoName(), GNEChange_DemandElement::redoName(), GNEChange_EnableAttribute::redoName(), GNEChange_GenericData::redoName(), GNEChange_Shape::redoName(), GNEChange_TAZElement::redoName(), GNEHierarchicalContainer::removeChildElement(), GNEEdge::removeConnection(), GNEPoly::removeGeometryPoint(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEEdge::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalContainer::removeParentElement(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorE3::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNERerouter::setAttribute(), GNERerouterInterval::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNEDataInterval::setAttribute(), GNEDataSet::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEPerson::setAttribute(), GNEPersonStop::setAttribute(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEVehicleType::setAttribute(), GNEWalk::setAttribute(), GNEConnection::setAttribute(), GNECrossing::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEInternalLane::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Additional::undo(), GNEChange_Attribute::undo(), GNEChange_Children::undo(), GNEChange_Crossing::undo(), GNEChange_DataInterval::undo(), GNEChange_DataSet::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_EdgeType::undo(), GNEChange_EnableAttribute::undo(), GNEChange_GenericData::undo(), GNEChange_Junction::undo(), GNEChange_Lane::undo(), GNEChange_LaneType::undo(), GNEChange_Shape::undo(), GNEChange_TAZElement::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undoName(), GNEChange_Attribute::undoName(), GNEChange_Children::undoName(), GNEChange_DataInterval::undoName(), GNEChange_DataSet::undoName(), GNEChange_DemandElement::undoName(), GNEChange_EnableAttribute::undoName(), GNEChange_GenericData::undoName(), GNEChange_Shape::undoName(), GNEChange_TAZElement::undoName(), GNENetHelper::AttributeCarriers::updateAdditionalID(), GNENetHelper::AttributeCarriers::updateDataSetID(), GNENetHelper::AttributeCarriers::updateDemandElementID(), GNENetHelper::AttributeCarriers::updateEdgeID(), GNENetHelper::AttributeCarriers::updateEdgeTypeID(), GNENetHelper::AttributeCarriers::updateJunctionID(), GNENetHelper::AttributeCarriers::updateShapeID(), GNENetHelper::AttributeCarriers::updateTAZElementID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Children::~GNEChange_Children(), GNEChange_DataInterval::~GNEChange_DataInterval(), GNEChange_DataSet::~GNEChange_DataSet(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EdgeType::~GNEChange_EdgeType(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_GenericData::~GNEChange_GenericData(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_LaneType::~GNEChange_LaneType(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TAZElement::~GNEChange_TAZElement(), and GNEChange_TLS::~GNEChange_TLS().

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 202 of file GUIGlObject.cpp.

References GUIGlObject::myGLObjectType.

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

◆ getTypeParameterWindow()

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

Returns an own type parameter window (optional)

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

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

Definition at line 172 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().

Here is the caller graph for this function:

◆ getVClass()

◆ getViaEdges()

std::vector< GNEEdge * > GNEDemandElement::getViaEdges ( ) const

get middle (via) parent edges

Definition at line 136 of file GNEDemandElement.cpp.

References GNEHierarchicalElement::getParentEdges().

Referenced by GNEVehicle::computePath(), and GNEVehicle::invalidatePath().

Here is the caller graph for this function:

◆ incRef()

void GNEReferenceCounter::incRef ( const std::string &  debugMsg = "")
inlineinherited

Increarse reference.

Definition at line 68 of file GNEReferenceCounter.h.

References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), and UNUSED_PARAMETER.

Referenced by GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNEEdge::addLane(), GNENetHelper::AttributeCarriers::addPOI(), GNENetHelper::AttributeCarriers::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildWalk(), GNEAdditionalHandler::builParkingAreaReroute(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNEChange_Attribute::GNEChange_Attribute(), GNEChange_Lane::GNEChange_Lane(), GNEJunction::rebuildGNECrossings(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), and GNEEdge::remakeGNEConnections().

◆ invalidatePath()

virtual void GNEDemandElement::invalidatePath ( )
pure virtual

◆ isAttributeCarrierSelected()

bool GNEAttributeCarrier::isAttributeCarrierSelected ( ) const
inherited

check if attribute carrier is selected

Definition at line 94 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::mySelected.

Referenced by GNEEdge::addLane(), GNELane::buildEdgeOperations(), GNELane::buildLaneOperations(), GNEViewNet::buildSelectionACPopupEntry(), GNENet::deleteConnection(), GNENet::deleteCrossing(), GNEGeometry::HierarchicalConnections::drawConnection(), GNEPoly::drawGL(), GNERerouterSymbol::drawGL(), GNETAZ::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE2::getAttribute(), GNEDetectorE3::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingSpace::getAttribute(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNETAZ::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEPerson::getAttribute(), GNEPersonStop::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEWalk::getAttribute(), GNEConnection::getAttribute(), GNECrossing::getAttribute(), GNEEdge::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEJunction::getColorValue(), GNELane::getColorValue(), GNEEdge::getMoveOperation(), GNEVehicle::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNENet::getSelectedAttributeCarriers(), GNETLSEditorFrame::handleMultiChange(), GNEInspectorFrame::inspectSingleElement(), GNEViewNet::onCmdAddReversedEdge(), GNEViewNet::onCmdAddSelected(), GNEViewNet::onCmdClearConnections(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdRemoveSelected(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetEdgeEndpoint(), GNEViewNet::onCmdResetJunctionShape(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::onCmdResetLength(), GNEViewNet::onCmdReverseEdge(), GNEViewNet::onCmdSmoothEdges(), GNEViewNet::onCmdSmoothEdgesElevation(), GNEViewNet::onCmdStraightenEdges(), GNEViewNet::onCmdStraightenEdgesElevation(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::processLeftButtonReleaseNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNELane::setLaneColor(), and GNEDialogACChooser::toggleSelection().

◆ isAttributeEnabled()

virtual bool GNEDemandElement::isAttributeEnabled ( SumoXMLAttr  key) const
pure virtual

◆ isDemandElementValid()

bool GNEDemandElement::isDemandElementValid ( ) const
virtual

check if current demand element is valid to be writed into XML (by default true, can be reimplemented in children)

Reimplemented in GNEWalk, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Definition at line 192 of file GNEDemandElement.cpp.

◆ isValid()

virtual bool GNEDemandElement::isValid ( SumoXMLAttr  key,
const std::string &  value 
)
pure virtual

method for checking if the key and their conrrespond attribute are valids

Parameters
[in]keyThe attribute key
[in]valueThe value asociated to key key
Returns
true if the value is valid, false in other case

Implements GNEAttributeCarrier.

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Referenced by GNERouteDialog::onCmdSetVariable(), and GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().

Here is the caller graph for this function:

◆ isValidDemandElementID()

bool GNEDemandElement::isValidDemandElementID ( const std::string &  newID) const
protected

check if a new demand element ID is valid

Definition at line 266 of file GNEDemandElement.cpp.

References GNETagProperties::getTag(), SUMOXMLDefinitions::isValidVehicleID(), GNEAttributeCarrier::myNet, GNEAttributeCarrier::myTagProperty, and GNENet::retrieveDemandElement().

Referenced by GNERoute::isValid().

Here is the caller graph for this function:

◆ lanesConsecutives()

bool GNEAttributeCarrier::lanesConsecutives ( const std::vector< GNELane * > &  lanes)
staticinherited

check if lanes are consecutives

Definition at line 320 of file GNEAttributeCarrier.cpp.

Referenced by GNEDetectorE2::isValid(), and GNEAdditionalHandler::parseAndBuildDetectorE2().

Here is the caller graph for this function:

◆ moveGeometry()

virtual void GNEDemandElement::moveGeometry ( const Position offset)
pure virtual

change the position of the element geometry without saving in undoList

Parameters
[in]offsetPosition used for calculate new position of geometry without updating RTree

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void *  )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 163 of file GUIGlObject.h.

Referenced by GUISUMOAbstractView::onLeftBtnPress().

Here is the caller graph for this function:

◆ openDemandElementDialog()

void GNEDemandElement::openDemandElementDialog ( )
virtual

open DemandElement Dialog

Note
: if demand element needs an demand element dialog, this function has to be implemented in childrens (see GNERerouter and GNEVariableSpeedSign)
Exceptions
invalidargument if demand element doesn't have an demand element Dialog

Definition at line 210 of file GNEDemandElement.cpp.

References GNEAttributeCarrier::getTagStr().

◆ operator=()

GNEDemandElement& GNEDemandElement::operator= ( const GNEDemandElement )
privatedelete

Invalidated assignment operator.

◆ parse() [1/4]

template<>
std::vector< bool > GNEAttributeCarrier::parse ( const std::string &  string)
inherited

Definition at line 115 of file GNEAttributeCarrier.cpp.

References StringUtils::toInt().

◆ parse() [2/4]

template<typename T >
static T GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

◆ parse() [3/4]

template<>
std::vector< GNELane * > GNEAttributeCarrier::parse ( GNENet net,
const std::string &  value 
)
inherited

◆ parse() [4/4]

template<typename T >
static T GNEAttributeCarrier::parse ( GNENet net,
const std::string &  value 
)
staticinherited

parses a complex value of type T from string (use for list of edges, list of lanes, etc.)

◆ parseAttributeFromXML()

template<typename T >
static T GNEAttributeCarrier::parseAttributeFromXML ( const SUMOSAXAttributes attrs,
const std::string &  objectID,
const SumoXMLTag  tag,
const SumoXMLAttr  attribute,
bool &  abort 
)
inlinestaticinherited

◆ parseIDs() [1/3]

template<>
std::string GNEAttributeCarrier::parseIDs ( const std::vector< GNEEdge * > &  ACs)
inherited

Definition at line 298 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [2/3]

template<>
std::string GNEAttributeCarrier::parseIDs ( const std::vector< GNELane * > &  ACs)
inherited

Definition at line 309 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [3/3]

template<typename T >
static std::string GNEAttributeCarrier::parseIDs ( const std::vector< T > &  ACs)
staticinherited

parses a list of specific Attribute Carriers into a string of IDs

Referenced by GNEDetectorE2::getAttribute(), GNERoute::getAttribute(), GNEWalk::getAttribute(), GNENet::joinRoutes(), GNERoute::writeDemandElement(), and GNEWalk::writeDemandElement().

Here is the caller graph for this function:

◆ parseMaskedPositionAttribute()

bool GNEAttributeCarrier::parseMaskedPositionAttribute ( const SUMOSAXAttributes attrs,
const std::string &  objectID,
const GNETagProperties tagProperties,
const GNEAttributeProperties attrProperties,
std::string &  parsedAttribute,
std::string &  warningMessage 
)
staticprivateinherited

parse and check masked (note: This function is only to improve legilibility)

Definition at line 4712 of file GNEAttributeCarrier.cpp.

References SUMOSAXAttributes::get(), GNEAttributeProperties::getDescription(), GNETagProperties::getTagStr(), SUMOSAXAttributes::hasAttribute(), SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, toString(), and WRITE_WARNING.

Referenced by GNEAttributeCarrier::parseAttributeFromXML().

Here is the caller graph for this function:

◆ removeACParametersKeys()

void GNEAttributeCarrier::removeACParametersKeys ( const std::vector< std::string > &  keepKeys,
GNEUndoList undoList 
)
inherited

◆ removeActiveAddVisualisation()

virtual void GUIGlObject::removeActiveAddVisualisation ( GUISUMOAbstractView * const  ,
int   
)
inlinevirtualinherited

remove additional user-griggered visualisations

Reimplemented in GUIPerson, and GUIBaseVehicle.

Definition at line 160 of file GUIGlObject.h.

◆ removeChildElement() [1/9]

◆ removeChildElement() [2/9]

template<>
void GNEHierarchicalElement::removeChildElement ( GNEDemandElement element)
inherited

◆ removeChildElement() [3/9]

template<>
void GNEHierarchicalElement::removeChildElement ( GNEEdge element)
inherited

◆ removeChildElement() [4/9]

template<>
void GNEHierarchicalElement::removeChildElement ( GNEGenericData element)
inherited

◆ removeChildElement() [5/9]

template<>
void GNEHierarchicalElement::removeChildElement ( GNEJunction element)
inherited

◆ removeChildElement() [6/9]

template<>
void GNEHierarchicalElement::removeChildElement ( GNELane element)
inherited

◆ removeChildElement() [7/9]

template<>
void GNEHierarchicalElement::removeChildElement ( GNEShape element)
inherited

◆ removeChildElement() [8/9]

template<>
void GNEHierarchicalElement::removeChildElement ( GNETAZElement element)
inherited

◆ removeChildElement() [9/9]

template<typename T >
void GNEHierarchicalElement::removeChildElement ( T *  element)
inherited

remove child element

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 109 of file GUIGlObject.h.

Referenced by GUIGLObjectPopupMenu::~GUIGLObjectPopupMenu().

Here is the caller graph for this function:

◆ removeElements()

◆ removeParameterTable()

void GUIGlObject::removeParameterTable ( GUIParameterTableWindow w)
inherited

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

Parameters
[in]wThe closed parameter window

Definition at line 315 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

Here is the caller graph for this function:

◆ removeParentElement() [1/9]

◆ removeParentElement() [2/9]

template<>
void GNEHierarchicalElement::removeParentElement ( GNEDemandElement element)
inherited

◆ removeParentElement() [3/9]

template<>
void GNEHierarchicalElement::removeParentElement ( GNEEdge element)
inherited

◆ removeParentElement() [4/9]

template<>
void GNEHierarchicalElement::removeParentElement ( GNEGenericData element)
inherited

◆ removeParentElement() [5/9]

template<>
void GNEHierarchicalElement::removeParentElement ( GNEJunction element)
inherited

◆ removeParentElement() [6/9]

template<>
void GNEHierarchicalElement::removeParentElement ( GNELane element)
inherited

◆ removeParentElement() [7/9]

template<>
void GNEHierarchicalElement::removeParentElement ( GNEShape element)
inherited

◆ removeParentElement() [8/9]

template<>
void GNEHierarchicalElement::removeParentElement ( GNETAZElement element)
inherited

◆ removeParentElement() [9/9]

template<typename T >
void GNEHierarchicalElement::removeParentElement ( T *  element)
inherited

remove parent element

◆ replaceAdditionalParent()

void GNEDemandElement::replaceAdditionalParent ( SumoXMLTag  tag,
const std::string &  value,
const int  parentIndex 
)
protected

◆ replaceChildElements()

template<typename T , typename U >
void GNEHierarchicalElement::replaceChildElements ( T *  elementChild,
const U newChildren 
)
inlineprotectedinherited

◆ replaceDemandElementParent()

void GNEDemandElement::replaceDemandElementParent ( SumoXMLTag  tag,
const std::string &  value,
const int  parentIndex 
)
protected

◆ replaceDemandParentEdges()

void GNEDemandElement::replaceDemandParentEdges ( const std::string &  value)
protected

replace demand parent edges

Definition at line 651 of file GNEDemandElement.cpp.

References GNEAttributeCarrier::getNet(), GNEAttributeCarrier::parse(), and GNEHierarchicalElement::replaceParentElements().

Referenced by GNERoute::setAttribute(), and GNEWalk::setAttribute().

Here is the caller graph for this function:

◆ replaceDemandParentLanes()

void GNEDemandElement::replaceDemandParentLanes ( const std::string &  value)
protected

replace demand parent lanes

Definition at line 657 of file GNEDemandElement.cpp.

References GNEAttributeCarrier::getNet(), GNEAttributeCarrier::parse(), and GNEHierarchicalElement::replaceParentElements().

Referenced by GNEPersonStop::setAttribute(), and GNEStop::setAttribute().

Here is the caller graph for this function:

◆ replaceFirstParentEdge()

void GNEDemandElement::replaceFirstParentEdge ( const std::string &  value)
protected

◆ replaceLastParentEdge()

void GNEDemandElement::replaceLastParentEdge ( const std::string &  value)
protected

◆ replaceMiddleParentEdges()

void GNEDemandElement::replaceMiddleParentEdges ( const std::string &  value,
const bool  updateChildReferences 
)
protected

◆ replaceParentElements()

◆ resetPathLanes()

void GNEPathElements::resetPathLanes ( SUMOVehicleClass  vClass,
const bool  allowedVClass,
GNELane fromLane,
GNELane toLane,
const std::vector< GNEEdge * > &  viaEdges 
)
protectedinherited

◆ restoreHierarchicalContainer()

void GNEHierarchicalElement::restoreHierarchicalContainer ( const GNEHierarchicalContainer container)
inherited

restore hierarchical container

Definition at line 61 of file GNEHierarchicalElement.cpp.

References GNEHierarchicalElement::myHierarchicalContainer.

◆ selectAttributeCarrier()

void GNEAttributeCarrier::selectAttributeCarrier ( const bool  changeFlag = true)
inherited

select attribute carrier using GUIGlobalSelection

Definition at line 68 of file GNEAttributeCarrier.cpp.

References GNESelectorFrame::LockGLObjectTypes::addedLockedObject(), GNEAttributeCarrier::getGUIGlObject(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewParent::getSelectorFrame(), GNENet::getViewNet(), GNEViewNet::getViewParent(), gSelected, GNETagProperties::isSelectable(), GNEAttributeCarrier::myNet, GNEAttributeCarrier::mySelected, GNEAttributeCarrier::myTagProperty, and GUISelectedStorage::select().

Referenced by GNEEdge::addConnection(), GNEEdge::addLane(), GNEViewNet::onCmdAddSelected(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::processLeftButtonReleaseNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_Additional::redo(), GNEChange_Crossing::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_GenericData::redo(), GNEChange_Junction::redo(), GNEChange_Lane::redo(), GNEChange_Shape::redo(), GNEChange_TAZElement::redo(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorE3::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingSpace::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNETAZ::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEPerson::setAttribute(), GNEPersonStop::setAttribute(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEWalk::setAttribute(), GNEConnection::setAttribute(), GNECrossing::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNEDialogACChooser::toggleSelection(), GNEChange_Additional::undo(), GNEChange_Crossing::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_GenericData::undo(), GNEChange_Junction::undo(), GNEChange_Lane::undo(), GNEChange_Shape::undo(), and GNEChange_TAZElement::undo().

◆ setACParameters() [1/3]

void GNEAttributeCarrier::setACParameters ( const std::map< std::string, std::string > &  parameters,
GNEUndoList undoList 
)
inherited

set parameters (string vector)

Definition at line 409 of file GNEAttributeCarrier.cpp.

References GNE_ATTR_PARAMETERS, and GNEAttributeCarrier::setAttribute().

◆ setACParameters() [2/3]

void GNEAttributeCarrier::setACParameters ( const std::string &  parameters,
GNEUndoList undoList 
)
inherited

◆ setACParameters() [3/3]

void GNEAttributeCarrier::setACParameters ( const std::vector< std::pair< std::string, std::string > > &  parameters,
GNEUndoList undoList 
)
inherited

set parameters (map)

Definition at line 396 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::setACParameters().

◆ setAttribute() [1/2]

virtual void GNEDemandElement::setAttribute ( SumoXMLAttr  key,
const std::string &  value 
)
privatepure virtual

method for setting the attribute and nothing else (used in GNEChange_Attribute)

Implements GNEAttributeCarrier.

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

◆ setAttribute() [2/2]

virtual void GNEDemandElement::setAttribute ( SumoXMLAttr  key,
const std::string &  value,
GNEUndoList undoList 
)
pure virtual

method for setting the attribute and letting the object perform demand element changes

Parameters
[in]keyThe attribute key
[in]valueThe new value
[in]undoListThe undoList on which to register changes

Implements GNEAttributeCarrier.

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Referenced by GNERouteDialog::onCmdSetVariable(), GNEVehicleType::overwriteVType(), and GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().

Here is the caller graph for this function:

◆ setEnabledAttribute()

virtual void GNEAttributeCarrier::setEnabledAttribute ( const int  enabledAttributes)
privatepure virtualinherited

◆ setMicrosimID()

◆ splitEdgeGeometry()

virtual void GNEDemandElement::splitEdgeGeometry ( const double  splitPosition,
const GNENetworkElement originalElement,
const GNENetworkElement newElement,
GNEUndoList undoList 
)
pure virtual

◆ startGeometryMoving()

virtual void GNEDemandElement::startGeometryMoving ( )
pure virtual

◆ unreferenced()

◆ unselectAttributeCarrier()

void GNEAttributeCarrier::unselectAttributeCarrier ( const bool  changeFlag = true)
inherited

unselect attribute carrier using GUIGlobalSelection

Definition at line 81 of file GNEAttributeCarrier.cpp.

References GUISelectedStorage::deselect(), GNEAttributeCarrier::getGUIGlObject(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewParent::getSelectorFrame(), GNENet::getViewNet(), GNEViewNet::getViewParent(), gSelected, GNETagProperties::isSelectable(), GNEAttributeCarrier::myNet, GNEAttributeCarrier::mySelected, GNEAttributeCarrier::myTagProperty, and GNESelectorFrame::LockGLObjectTypes::removeLockedObject().

Referenced by GNEViewNet::onCmdRemoveSelected(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::processLeftButtonReleaseNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_Additional::redo(), GNEChange_Crossing::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_GenericData::redo(), GNEChange_Junction::redo(), GNEChange_Lane::redo(), GNEChange_Shape::redo(), GNEChange_TAZElement::redo(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorE3::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingSpace::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNETAZ::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEPerson::setAttribute(), GNEPersonStop::setAttribute(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEWalk::setAttribute(), GNEConnection::setAttribute(), GNECrossing::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNEDialogACChooser::toggleSelection(), GNEChange_Additional::undo(), GNEChange_Crossing::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_GenericData::undo(), GNEChange_Junction::undo(), GNEChange_Lane::undo(), GNEChange_Shape::undo(), and GNEChange_TAZElement::undo().

◆ updateDemandElementGeometry()

void GNEDemandElement::updateDemandElementGeometry ( const GNELane lane,
const double  posOverLane 
)

update element stacked geometry (stacked)

Definition at line 152 of file GNEDemandElement.cpp.

References myDemandElementGeometry, and GNEGeometry::Geometry::updateGeometry().

◆ updateDemandElementSpreadGeometry()

void GNEDemandElement::updateDemandElementSpreadGeometry ( const GNELane lane,
const double  posOverLane 
)

update element spread geometry

Definition at line 164 of file GNEDemandElement.cpp.

References mySpreadGeometry, and GNEGeometry::Geometry::updateGeometry().

◆ updateDemandElementStackLabel()

void GNEDemandElement::updateDemandElementStackLabel ( const int  stack)

update stack label

Definition at line 158 of file GNEDemandElement.cpp.

References myStackedLabelNumber.

Referenced by GNEEdge::updateVehicleStackLabels().

Here is the caller graph for this function:

◆ updateGeometry()

virtual void GNEDemandElement::updateGeometry ( )
pure virtual

◆ updateHierarchicalConnections()

void GNEHierarchicalElement::updateHierarchicalConnections ( )
inherited

◆ updateParentAdditional()

void GNEHierarchicalElement::updateParentAdditional ( )
virtualinherited

update parent after add or remove a child (can be reimplemented, for example used for statistics)

Reimplemented in GNETAZ.

Definition at line 564 of file GNEHierarchicalElement.cpp.

◆ updatePartialGeometry()

◆ updatePathElements()

void GNEPathElements::updatePathElements ( )
privateinherited

◆ writeDemandElement()

virtual void GNEDemandElement::writeDemandElement ( OutputDevice device) const
pure virtual

writte demand element element into a xml file

Parameters
[in]devicedevice in which write parameters of demand element element

Implemented in GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, and GNEPerson.

Field Documentation

◆ dummyTagProperty

GNETagProperties GNEAttributeCarrier::dummyTagProperty
staticprotectedinherited

dummy TagProperty used for reference some elements (for Example, dummyEdge)

Definition at line 372 of file GNEAttributeCarrier.h.

Referenced by GNEAttributeCarrier::getTagProperties().

◆ FEATURE_APPROVED

const std::string GNEAttributeCarrier::FEATURE_APPROVED = "approved"
staticinherited

feature has been approved but not changed (i.e. after being reguessed)

Definition at line 182 of file GNEAttributeCarrier.h.

◆ FEATURE_GUESSED

const std::string GNEAttributeCarrier::FEATURE_GUESSED = "guessed"
staticinherited

feature has been reguessed (may still be unchanged be we can't tell (yet)

Definition at line 176 of file GNEAttributeCarrier.h.

Referenced by GNEEdge::setAttribute(), and GNEJunction::setAttribute().

◆ FEATURE_LOADED

const std::string GNEAttributeCarrier::FEATURE_LOADED = "loaded"
staticinherited

Definition at line 173 of file GNEAttributeCarrier.h.

◆ FEATURE_MODIFIED

const std::string GNEAttributeCarrier::FEATURE_MODIFIED = "modified"
staticinherited

feature has been manually modified (implies approval)

Definition at line 179 of file GNEAttributeCarrier.h.

Referenced by GNEJunction::markAsModified(), and GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections().

◆ GUIGlObjectTypeNamesInitializer

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

LinkStates (Currently unused)

vector for TypeNames Initializer

Definition at line 275 of file GUIGlObject.h.

◆ INVALID_ID

◆ INVALID_POSITION

const double GNEAttributeCarrier::INVALID_POSITION
staticinherited

invalid double position

Definition at line 189 of file GNEAttributeCarrier.h.

Referenced by GNEAdditionalHandler::parseAndBuildPOI().

◆ MAXNUMBEROFATTRIBUTES

const size_t GNEAttributeCarrier::MAXNUMBEROFATTRIBUTES = 128
staticinherited

max number of attributes allowed for every tag

Definition at line 186 of file GNEAttributeCarrier.h.

Referenced by GNEFrameAttributesModuls::AttributesCreator::AttributesCreator(), and GNEFrameAttributesModuls::AttributesEditor::AttributesEditor().

◆ myAdditionalElement

GNEAdditional* GNEPathElements::myAdditionalElement
privateinherited

◆ myCount

int GNEReferenceCounter::myCount
privateinherited

◆ myDemandElement

◆ myDemandElementGeometry

◆ myDemandElementSegmentGeometry

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 258 of file GUIGlObject.h.

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

◆ myGenericData

◆ myGlID

GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 249 of file GUIGlObject.h.

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

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 252 of file GUIGlObject.h.

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

◆ myHierarchicalConnections

◆ myHierarchicalContainer

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 255 of file GUIGlObject.h.

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

◆ myNet

GNENet* GNEAttributeCarrier::myNet
protectedinherited

pointer to net

Definition at line 366 of file GNEAttributeCarrier.h.

Referenced by GNEDataInterval::addGenericDataChild(), GNEJunction::addTrafficLight(), GNELane::buildEdgeOperations(), GNELane::buildLaneOperations(), GNELane::buildRechableOperations(), GNEPoly::changeFirstGeometryPoint(), GNEPoly::closePolygon(), GNEJunction::commitMoveShape(), GNEPoly::deleteGeometryPoint(), GNEShape::draw(), GNECalibrator::drawCalibratorSymbol(), GNEEdge::drawEdgeGeometryPoints(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNELane::drawLaneAsRailway(), GNELane::drawMarkings(), GNEAdditional::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), drawPersonPlanPartialJunction(), drawPersonPlanPartialLane(), GNEStoppingPlace::drawSign(), GNEJunction::drawTLSIcon(), GNEAttributeCarrier::drawUsingSelectColor(), GNEEdge::editEndpoint(), GNEDetectorE1::fixAdditionalProblem(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEPOI::generateChildID(), GNEPoly::generateChildID(), GNETAZElement::generateChildID(), GNEEdgeData::getColor(), GNEEdgeRelData::getColor(), GNEPersonStop::getColor(), GNEStop::getColor(), GNEPersonTrip::getDemandElementProblem(), GNERide::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEPoly::getMoveOperation(), GNETAZ::getMoveOperation(), GNEConnection::getMoveOperation(), GNECrossing::getMoveOperation(), GNEJunction::getMoveOperation(), GNEAttributeCarrier::getNet(), GNEEdge::getOppositeEdge(), GNEDetectorE3::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNEVariableSpeedSign::getParentName(), GNEVehicleType::getParentName(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEVehicle::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEPoly::getVertexIndex(), GNEJunction::invalidateShape(), GNEJunction::invalidateTLS(), GNEPOI::isAttributeEnabled(), GNEPoly::isAttributeEnabled(), GNEVehicle::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEContainerStop::isValid(), GNEDestProbReroute::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE2::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingArea::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNERerouter::isValid(), GNERouteProbe::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEDataSet::isValid(), GNEEdgeRelData::isValid(), GNETAZRelData::isValid(), GNEPerson::isValid(), GNEPersonStop::isValid(), GNEPersonTrip::isValid(), GNERide::isValid(), GNERoute::isValid(), GNEStop::isValid(), GNEVehicle::isValid(), GNEVehicleType::isValid(), GNEWalk::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNELane::isValid(), GNEAdditional::isValidAdditionalID(), isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNETAZElement::isValidTAZElementID(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEJunction::markAsModified(), GNEPersonStop::moveGeometry(), GNEPersonTrip::moveGeometry(), GNERide::moveGeometry(), GNEStop::moveGeometry(), GNEWalk::moveGeometry(), GNEJunction::moveJunctionGeometry(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNELane::onDefault(), GNEPoly::openPolygon(), GNEJunction::rebuildGNECrossings(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNEEdge::remakeGNEConnections(), GNEEdge::removeConnection(), GNEJunction::removeConnectionsFrom(), GNEJunction::removeConnectionsTo(), GNEDataSet::removeDataIntervalChild(), GNEJunction::removeEdgeFromCrossings(), GNEEdge::removeEdgeFromCrossings(), GNEPoly::removeGeometryPoint(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNEEdge::removeLane(), GNEJunction::removeTLSConnections(), GNEJunction::removeTrafficLight(), GNEAdditional::replaceAdditionalParent(), replaceAdditionalParent(), GNEAdditional::replaceDemandElementParent(), replaceDemandElementParent(), GNEGenericData::replaceFirstParentEdge(), replaceFirstParentEdge(), GNEGenericData::replaceFirstParentTAZElement(), GNEJunction::replaceIncomingConnections(), GNEGenericData::replaceLastParentEdge(), replaceLastParentEdge(), GNEGenericData::replaceLastParentTAZElement(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEAttributeCarrier::selectAttributeCarrier(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorE3::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEDataSet::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEVehicle::setAttribute(), GNEVehicleType::setAttribute(), GNECrossing::setAttribute(), GNEEdgeType::setAttribute(), GNELane::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNEVehicle::setColor(), GNEJunction::setColor(), GNELane::setLaneColor(), GNEJunction::setLogicValid(), GNEPoly::simplifyShape(), GNEAttributeCarrier::unselectAttributeCarrier(), GNEDataInterval::updateAttributeColors(), GNEDetectorE3::updateCenteringBoundary(), GNEPOI::updateCenteringBoundary(), GNEPoly::updateCenteringBoundary(), GNERerouter::updateCenteringBoundary(), GNEStoppingPlace::updateCenteringBoundary(), GNEVariableSpeedSign::updateCenteringBoundary(), GNEEdge::updateCenteringBoundary(), GNEJunction::updateCenteringBoundary(), GNEEdge::updateFirstParentJunction(), GNEDataInterval::updateGenericDataIDs(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNELane::updateGeometry(), and GNEEdge::updateSecondParentJunction().

◆ myParamWindows

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

Parameter table windows which refer to this object.

Definition at line 261 of file GUIGlObject.h.

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

◆ myPathElements

◆ myPersonPlanArrivalPositionDiameter

const double GNEDemandElement::myPersonPlanArrivalPositionDiameter = SUMO_const_halfLaneWidth
staticprotected

person plans arrival position radius

Definition at line 370 of file GNEDemandElement.h.

Referenced by drawPersonPlanPartialLane().

◆ mySelected

bool GNEAttributeCarrier::mySelected
protectedinherited

◆ mySpreadGeometry

GNEGeometry::Geometry GNEDemandElement::mySpreadGeometry
protected

demand element spread geometry (Only used by vehicles and pedestrians)

Definition at line 344 of file GNEDemandElement.h.

Referenced by GNEVehicle::drawGL(), and updateDemandElementSpreadGeometry().

◆ myStackedLabelNumber

int GNEDemandElement::myStackedLabelNumber
protected

stacked label number

Definition at line 347 of file GNEDemandElement.h.

Referenced by GNEVehicle::drawGL(), GNEVehicle::drawStackLabel(), and updateDemandElementStackLabel().

◆ myTagProperties

std::map< SumoXMLTag, GNETagProperties > GNEAttributeCarrier::myTagProperties
staticprivateinherited

map with the tags properties

Definition at line 486 of file GNEAttributeCarrier.h.

Referenced by GNEAttributeCarrier::allowedTags(), GNEAttributeCarrier::fillAdditionals(), GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::fillCarFollowingModelAttributes(), GNEAttributeCarrier::fillCommonFlowAttributes(), GNEAttributeCarrier::fillCommonPersonAttributes(), GNEAttributeCarrier::fillCommonStopAttributes(), GNEAttributeCarrier::fillCommonVehicleAttributes(), GNEAttributeCarrier::fillDataElements(), GNEAttributeCarrier::fillDemandElements(), GNEAttributeCarrier::fillJunctionModelAttributes(), GNEAttributeCarrier::fillLaneChangingModelAttributes(), GNEAttributeCarrier::fillNetworkElements(), GNEAttributeCarrier::fillPersonElements(), GNEAttributeCarrier::fillPersonPlanBusStopBusStop(), GNEAttributeCarrier::fillPersonPlanBusStopEdge(), GNEAttributeCarrier::fillPersonPlanBusStopStop(), GNEAttributeCarrier::fillPersonPlanEdgeBusStop(), GNEAttributeCarrier::fillPersonPlanEdgeEdge(), GNEAttributeCarrier::fillPersonPlanEdgeStop(), GNEAttributeCarrier::fillPersonPlanRides(), GNEAttributeCarrier::fillPersonPlanStopBusStop(), GNEAttributeCarrier::fillPersonPlanStopEdge(), GNEAttributeCarrier::fillPersonPlanStopStop(), GNEAttributeCarrier::fillPersonPlanTrips(), GNEAttributeCarrier::fillPersonPlanWalks(), GNEAttributeCarrier::fillPersonStopElements(), GNEAttributeCarrier::fillPersonTripAttributes(), GNEAttributeCarrier::fillRideAttributes(), GNEAttributeCarrier::fillShapes(), GNEAttributeCarrier::fillStopElements(), GNEAttributeCarrier::fillTAZElements(), GNEAttributeCarrier::fillVehicleElements(), GNEAttributeCarrier::getAllowedTagsByCategory(), GNEAttributeCarrier::getIcon(), and GNEAttributeCarrier::getTagProperties().

◆ myTagProperty

const GNETagProperties& GNEAttributeCarrier::myTagProperty
protectedinherited

the xml tag to which this attribute carrier corresponds

Definition at line 363 of file GNEAttributeCarrier.h.

Referenced by calculatePersonPlanLaneStartEndPos(), GNEPersonTrip::computePath(), GNERide::computePath(), GNEVehicle::computePath(), GNEWalk::computePath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEGenericData::drawAttribute(), GNEDetectorE2::drawGL(), GNEDetectorEntryExit::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), drawPersonPlanPartialLane(), GNEAttributeCarrier::drawUsingSelectColor(), GNEPersonStop::enableAttribute(), GNEStop::enableAttribute(), GNEAttributeCarrier::getAlternativeValueForDisabledAttributes(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttribute(), GNEPerson::getBegin(), GNEEdgeData::getColor(), GNEEdgeRelData::getColor(), GNEVehicle::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), getFirstAllowedVehicleLane(), getFirstPersonPlanEdge(), GNEPerson::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNERide::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEWalk::getHierarchyName(), GNENetworkElement::getHierarchyName(), GNEAttributeCarrier::getIcon(), getLastAllowedVehicleLane(), GNEAdditional::getParameterWindow(), GNETAZElement::getParameterWindow(), GNEGenericData::getParameterWindow(), getParameterWindow(), GNENetworkElement::getParameterWindow(), GNEVehicle::getParentName(), GNENetworkElement::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEGenericData::getPopUpMenu(), getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEPersonTrip::invalidatePath(), GNERide::invalidatePath(), GNEVehicle::invalidatePath(), GNEWalk::invalidatePath(), GNEPersonStop::isDemandElementValid(), GNEStop::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEPersonTrip::isValid(), GNEAdditional::isValidAdditionalID(), isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNETAZElement::isValidTAZElementID(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEAttributeCarrier::selectAttributeCarrier(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVehicleType::setAttribute(), GNEAdditional::setDefaultValues(), GNEDetector::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNEAttributeCarrier::unselectAttributeCarrier(), GNEStoppingPlace::updateCenteringBoundary(), GNEDetectorE2::updateGeometry(), GNEVehicle::updateGeometry(), GNEWalk::updateGeometry(), GNEAdditional::updatePartialGeometry(), updatePartialGeometry(), GNEAdditional::writeAdditional(), GNEPerson::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEWalk::writeDemandElement(), and GNETAZSourceSink::writeTAZElement().

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 66 of file GUIGlObject.h.

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


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