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...
 
class  RouteCalculator
 class used to calculate routes in nets More...
 

Public Types

enum  AttrProperty {
  ATTRPROPERTY_INT = 1 << 0, ATTRPROPERTY_FLOAT = 1 << 1, ATTRPROPERTY_SUMOTIME = 1 << 2, ATTRPROPERTY_BOOL = 1 << 3,
  ATTRPROPERTY_STRING = 1 << 4, ATTRPROPERTY_POSITION = 1 << 5, ATTRPROPERTY_COLOR = 1 << 6, ATTRPROPERTY_VCLASS = 1 << 7,
  ATTRPROPERTY_POSITIVE = 1 << 8, ATTRPROPERTY_UNIQUE = 1 << 9, ATTRPROPERTY_FILENAME = 1 << 10, ATTRPROPERTY_DISCRETE = 1 << 11,
  ATTRPROPERTY_PROBABILITY = 1 << 12, ATTRPROPERTY_ANGLE = 1 << 13, ATTRPROPERTY_LIST = 1 << 14, ATTRPROPERTY_SECUENCIAL = 1 << 15,
  ATTRPROPERTY_OPTIONAL = 1 << 16, ATTRPROPERTY_DEFAULTVALUESTATIC = 1 << 17, ATTRPROPERTY_DEFAULTVALUEMUTABLE = 1 << 18, ATTRPROPERTY_VCLASSES = 1 << 19,
  ATTRPROPERTY_SYNONYM = 1 << 20, ATTRPROPERTY_RANGE = 1 << 21, ATTRPROPERTY_EXTENDED = 1 << 22, ATTRPROPERTY_UPDATEGEOMETRY = 1 << 23,
  ATTRPROPERTY_ACTIVATABLE = 1 << 24, ATTRPROPERTY_COMPLEX = 1 << 25, ATTRPROPERTY_FLOWDEFINITION = 1 << 26
}
 struct with the tag Properties More...
 
enum  TAGProperty {
  TAGPROPERTY_DRAWABLE = 1 << 0, TAGPROPERTY_BLOCKMOVEMENT = 1 << 1, TAGPROPERTY_BLOCKSHAPE = 1 << 2, TAGPROPERTY_CLOSESHAPE = 1 << 3,
  TAGPROPERTY_GEOPOSITION = 1 << 4, TAGPROPERTY_GEOSHAPE = 1 << 5, TAGPROPERTY_DIALOG = 1 << 6, TAGPROPERTY_PARENT = 1 << 7,
  TAGPROPERTY_MINIMUMCHILDREN = 1 << 8, TAGPROPERTY_REPARENT = 1 << 9, TAGPROPERTY_SYNONYM = 1 << 10, TAGPROPERTY_AUTOMATICSORTING = 1 << 11,
  TAGPROPERTY_SELECTABLE = 1 << 12, TAGPROPERTY_MASKSTARTENDPOS = 1 << 13, TAGPROPERTY_MASKXYZPOSITION = 1 << 14, TAGPROPERTY_WRITECHILDRENSEPARATE = 1 << 15,
  TAGPROPERTY_NOPARAMETERS = 1 << 16, TAGPROPERTY_RTREE = 1 << 17, TAGPROPERTY_SORTINGCHILDREN = 1 << 18, TAGPROPERTY_CENTERAFTERCREATION = 1 << 19
}
 
enum  TagType {
  TAGTYPE_NETELEMENT = 1 << 0, TAGTYPE_ADDITIONAL = 1 << 1, TAGTYPE_SHAPE = 1 << 2, TAGTYPE_DEMANDELEMENT = 1 << 3,
  TAGTYPE_TAZ = 1 << 4, TAGTYPE_STOPPINGPLACE = 1 << 5, TAGTYPE_DETECTOR = 1 << 6, TAGTYPE_VTYPE = 1 << 7,
  TAGTYPE_VEHICLE = 1 << 8, TAGTYPE_ROUTE = 1 << 9, TAGTYPE_STOP = 1 << 10, TAGTYPE_PERSON = 1 << 11,
  TAGTYPE_PERSONPLAN = 1 << 12, TAGTYPE_PERSONTRIP = 1 << 13, TAGTYPE_WALK = 1 << 14, TAGTYPE_RIDE = 1 << 15,
  TAGTYPE_PERSONSTOP = 1 << 16
}
 

Public Member Functions

void decRef (const std::string &debugMsg="")
 Decrease reference. More...
 
void drawChildConnections (const GUIVisualizationSettings &s, const GUIGlObjectType GLTypeParent) const
 
virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additional, user-triggered visualisations. More...
 
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const
 draw name of item More...
 
std::string generateChildID (SumoXMLTag childTag)
 gererate a new ID for an element child More...
 
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 PositiongetChildPosition (const GNELane *lane)
 get child position calculated in ChildConnections More...
 
double getChildRotation (const GNELane *lane)
 get child rotation calculated in ChildConnections More...
 
const GNEGeometry::GeometrygetDemandElementGeometry () const
 get demand element geometry More...
 
const GNEGeometry::SegmentGeometrygetDemandElementSegmentGeometry () const
 get demand element segment geometry More...
 
FXIcon * getIcon () const
 get FXIcon associated to this AC More...
 
const std::string getID () const
 function to support debugging More...
 
std::string getNewListOfParents (const GNENetElement *currentElement, const GNENetElement *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...
 
const TagPropertiesgetTagProperty () const
 get Tag Property assigned to this object More...
 
const std::string & getTagStr () const
 get tag assigned to this object in string format More...
 
GNEViewNetgetViewNet () const
 Returns a pointer to GNEViewNet in which demand element element is located. More...
 
 GNEDemandElement (const std::string &id, GNEViewNet *viewNet, GUIGlObjectType type, SumoXMLTag tag, const std::vector< GNEEdge * > &parentEdges, const std::vector< GNELane * > &parentLanes, const std::vector< GNEShape * > &parentShapes, const std::vector< GNEAdditional * > &parentAdditionals, const std::vector< GNEDemandElement * > &parentDemandElements, const std::vector< GNEEdge * > &childEdges, const std::vector< GNELane * > &childLanes, const std::vector< GNEShape * > &childShapes, const std::vector< GNEAdditional * > &childAdditionals, const std::vector< GNEDemandElement * > &childDemandElements)
 Constructor. More...
 
 GNEDemandElement (GNEDemandElement *demandElementParent, GNEViewNet *viewNet, GUIGlObjectType type, SumoXMLTag tag, const std::vector< GNEEdge * > &parentEdges, const std::vector< GNELane * > &parentLanes, const std::vector< GNEShape * > &parentShapes, const std::vector< GNEAdditional * > &parentAdditionals, const std::vector< GNEDemandElement * > &parentDemandElements, const std::vector< GNEEdge * > &childEdges, const std::vector< GNELane * > &childLanes, const std::vector< GNEShape * > &childShapes, const std::vector< GNEAdditional * > &childAdditionals, const std::vector< GNEDemandElement * > &childDemandElements)
 Constructor. More...
 
void incRef (const std::string &debugMsg="")
 Increarse reference. 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...
 
bool unreferenced ()
 check if object ins't referenced More...
 
void updateChildConnections ()
 update child connections More...
 
virtual void updateParentAdditional ()
 update parent after add or remove a child (can be reimplemented, for example used for statistics) More...
 
virtual void updateParentDemandElement ()
 update parent after add or remove a child (can be reimplemented, for example used for statistics) More...
 
 ~GNEDemandElement ()
 Destructor. More...
 
members and functions relative to elements common to all demand elements

obtain from edge of this demand element

virtual GNEEdgegetFromEdge () const =0
 
virtual GNEEdgegetToEdge () const =0
 obtain to edge of this demand element More...
 
virtual SUMOVehicleClass getVClass () const =0
 obtain VClass related with this demand element More...
 
virtual const RGBColorgetColor () const =0
 get color 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 updatePartialGeometry (const GNEEdge *edge)=0
 partial 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 GNENetElement *originalElement, const GNENetElement *newElement, GNEUndoList *undoList)=0
 split geometry More...
 

Static Public Member Functions

static std::vector< SumoXMLTagallowedTags (bool onlyDrawables)
 get tags of all editable element types More...
 
static std::vector< SumoXMLTagallowedTagsByCategory (int tagPropertyCategory, bool onlyDrawables)
 get tags of all editable element types using TagProperty Type (TAGTYPE_NETELEMENT, TAGTYPE_ADDITIONAL, etc.) 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 const TagPropertiesgetTagProperties (SumoXMLTag tag)
 get Tag Properties More...
 
static bool isRouteValid (const std::vector< GNEEdge * > &edges, bool report)
 check if a route is valid 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...
 

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 calculatePersonPlanLaneStartEndPos (double &startPos, double &endPos) const
 calculate personPlan start and end positions over lanes More...
 
void calculatePersonPlanPositionStartEndPos (Position &startPos, Position &endPos) const
 calculate personPlan start and end positions More...
 
void changeChildEdges (GNEAdditional *elementChild, const std::string &newEdgeIDs)
 change child edges of an additional More...
 
void changeChildLanes (GNEAdditional *elementChild, const std::string &newEdgeIDs)
 change child edges of an additional More...
 
GNELanegetFirstAllowedVehicleLane () const
 get first allowed vehicle lane More...
 
GNELanegetLastAllowedVehicleLane () const
 get first allowed vehicle lane More...
 

Protected Attributes

ChildConnections myChildConnections
 variable ChildConnections More...
 
GNEGeometry::Geometry myDemandElementGeometry
 demand element geometry More...
 
GNEGeometry::SegmentGeometry myDemandElementSegmentGeometry
 demand element segment geometry More...
 
GNEGeometry::ParentConnections myParentConnections
 variable ParentConnections More...
 
bool mySelected
 boolean to check if this AC is selected (instead of GUIGlObjectStorage) More...
 
const TagPropertiesmyTagProperty
 the xml tag to which this attribute carrier corresponds More...
 
GNEViewNetmyViewNet
 The GNEViewNet this demand element element belongs. More...
 

Static Protected Attributes

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

Private Member Functions

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...
 
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...
 

Static Private Member Functions

static bool checkParsedAttribute (const TagProperties &tagProperties, const AttributeProperties &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 Additionals 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)
 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)
 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 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 fillNetElements ()
 fill Net Elements More...
 
static void fillPersonElements ()
 fill Person Elements More...
 
static void fillPersonStopElements ()
 fill PersonStop elements More...
 
static void fillShapes ()
 fill Shapes More...
 
static void fillStopElements ()
 fill Stop elements More...
 
static void fillVehicleElements ()
 fill vehicle elements More...
 
static bool parseMaskedPositionAttribute (const SUMOSAXAttributes &attrs, const std::string &objectID, const TagProperties &tagProperties, const AttributeProperties &attrProperties, std::string &parsedAttribute, std::string &warningMessage)
 parse and check masked (note: This function is only to improve legilibility) More...
 

Private Attributes

GNEAttributeCarriermyAC
 pointer to AC (needed to avoid diamond problem) More...
 
std::vector< GNEAdditional * > myChildAdditionals
 vector with the child additional More...
 
std::vector< GNEDemandElement * > myChildDemandElements
 vector with the demand elements children More...
 
std::vector< GNEEdge * > myChildEdges
 vector with the child edges of this element More...
 
std::vector< GNELane * > myChildLanes
 vector with the child lanes of this element More...
 
std::vector< GNEShape * > myChildShapes
 vector with the child lanes of this element More...
 
int myCount
 reference counter More...
 
std::string myFullName
 full name of GL Object More...
 
GUIGlID myGlID
 The numerical id of the object. More...
 
const GUIGlObjectType myGLObjectType
 The type of the object. More...
 
std::string myMicrosimID
 ID of GL object. More...
 
std::set< GUIParameterTableWindow * > myParamWindows
 Parameter table windows which refer to this object. More...
 
std::vector< GNEAdditional * > myParentAdditionals
 list of parent additionals of this element More...
 
std::vector< GNEDemandElement * > myParentDemandElements
 list of demand elements parents of this element More...
 
std::vector< GNEEdge * > myParentEdges
 list of parent edges of this element More...
 
std::vector< GNELane * > myParentLanes
 list of parent lanes of this element More...
 
std::vector< GNEShape * > myParentShapes
 list of parent shapes of this element More...
 
std::vector< GNEEdge * > myRouteEdges
 list of edges used in Flow/Trips/PersonTrips More...
 
std::map< SumoXMLTag, std::set< GNEDemandElement * > > mySortedChildDemandElementsByType
 vector with the demand elements children sorted by type and filtered (to avoid duplicated More...
 

Static Private Attributes

static StringBijection< GUIGlObjectType >::Entry GUIGlObjectTypeNamesInitializer []
 LinkStates (Currently unused) More...
 
static RouteCalculatormyRouteCalculatorInstance = nullptr
 RouteCalculator instance. More...
 
static std::map< SumoXMLTag, TagPropertiesmyTagProperties
 map with the tags properties 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...
 

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...
 

inherited from GNEAttributeCarrier

select attribute carrier using GUIGlobalSelection

virtual void selectAttributeCarrier (bool changeFlag=true)=0
 
virtual void unselectAttributeCarrier (bool changeFlag=true)=0
 unselect attribute carrier using GUIGlobalSelection More...
 
bool isAttributeCarrierSelected () const
 check if attribute carrier is selected More...
 
bool drawUsingSelectColor () const
 check if attribute carrier must be drawn using selecting color. More...
 
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 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...
 

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
 

Detailed Description

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

Definition at line 55 of file GNEDemandElement.h.

Member Enumeration Documentation

◆ AttrProperty

struct with the tag Properties

Enumerator
ATTRPROPERTY_INT 
ATTRPROPERTY_FLOAT 
ATTRPROPERTY_SUMOTIME 
ATTRPROPERTY_BOOL 
ATTRPROPERTY_STRING 
ATTRPROPERTY_POSITION 
ATTRPROPERTY_COLOR 
ATTRPROPERTY_VCLASS 
ATTRPROPERTY_POSITIVE 
ATTRPROPERTY_UNIQUE 
ATTRPROPERTY_FILENAME 
ATTRPROPERTY_DISCRETE 
ATTRPROPERTY_PROBABILITY 
ATTRPROPERTY_ANGLE 
ATTRPROPERTY_LIST 
ATTRPROPERTY_SECUENCIAL 
ATTRPROPERTY_OPTIONAL 
ATTRPROPERTY_DEFAULTVALUESTATIC 
ATTRPROPERTY_DEFAULTVALUEMUTABLE 
ATTRPROPERTY_VCLASSES 
ATTRPROPERTY_SYNONYM 
ATTRPROPERTY_RANGE 
ATTRPROPERTY_EXTENDED 
ATTRPROPERTY_UPDATEGEOMETRY 
ATTRPROPERTY_ACTIVATABLE 
ATTRPROPERTY_COMPLEX 
ATTRPROPERTY_FLOWDEFINITION 

Definition at line 66 of file GNEAttributeCarrier.h.

◆ TAGProperty

Enumerator
TAGPROPERTY_DRAWABLE 
TAGPROPERTY_BLOCKMOVEMENT 
TAGPROPERTY_BLOCKSHAPE 
TAGPROPERTY_CLOSESHAPE 
TAGPROPERTY_GEOPOSITION 
TAGPROPERTY_GEOSHAPE 
TAGPROPERTY_DIALOG 
TAGPROPERTY_PARENT 
TAGPROPERTY_MINIMUMCHILDREN 
TAGPROPERTY_REPARENT 
TAGPROPERTY_SYNONYM 
TAGPROPERTY_AUTOMATICSORTING 
TAGPROPERTY_SELECTABLE 
TAGPROPERTY_MASKSTARTENDPOS 
TAGPROPERTY_MASKXYZPOSITION 
TAGPROPERTY_WRITECHILDRENSEPARATE 
TAGPROPERTY_NOPARAMETERS 
TAGPROPERTY_RTREE 
TAGPROPERTY_SORTINGCHILDREN 
TAGPROPERTY_CENTERAFTERCREATION 

Definition at line 293 of file GNEAttributeCarrier.h.

◆ TagType

Enumerator
TAGTYPE_NETELEMENT 
TAGTYPE_ADDITIONAL 
TAGTYPE_SHAPE 
TAGTYPE_DEMANDELEMENT 
TAGTYPE_TAZ 
TAGTYPE_STOPPINGPLACE 
TAGTYPE_DETECTOR 
TAGTYPE_VTYPE 
TAGTYPE_VEHICLE 
TAGTYPE_ROUTE 
TAGTYPE_STOP 
TAGTYPE_PERSON 
TAGTYPE_PERSONPLAN 
TAGTYPE_PERSONTRIP 
TAGTYPE_WALK 
TAGTYPE_RIDE 
TAGTYPE_PERSONSTOP 

Definition at line 273 of file GNEAttributeCarrier.h.

Constructor & Destructor Documentation

◆ GNEDemandElement() [1/3]

GNEDemandElement::GNEDemandElement ( const std::string &  id,
GNEViewNet viewNet,
GUIGlObjectType  type,
SumoXMLTag  tag,
const std::vector< GNEEdge * > &  parentEdges,
const std::vector< GNELane * > &  parentLanes,
const std::vector< GNEShape * > &  parentShapes,
const std::vector< GNEAdditional * > &  parentAdditionals,
const std::vector< GNEDemandElement * > &  parentDemandElements,
const std::vector< GNEEdge * > &  childEdges,
const std::vector< GNELane * > &  childLanes,
const std::vector< GNEShape * > &  childShapes,
const std::vector< GNEAdditional * > &  childAdditionals,
const std::vector< GNEDemandElement * > &  childDemandElements 
)

Constructor.

Parameters
[in]idGl-id of the demand element element (Must be unique)
[in]viewNetpointer 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]parentEdgesvector of parent edges
[in]parentLanesvector of parent lanes
[in]parentShapesvector of parent shapes
[in]parentAdditionalsvector of parent additionals
[in]childDemandElementsvector of demandElement parents
[in]childEdgesvector of child edges
[in]childLanesvector of child lanes
[in]childShapesvector of child shapes
[in]childAdditionalsvector of child additional
[in]childDemandElementsvector of demandElement children

Definition at line 159 of file GNEDemandElement.cpp.

◆ GNEDemandElement() [2/3]

GNEDemandElement::GNEDemandElement ( GNEDemandElement demandElementParent,
GNEViewNet viewNet,
GUIGlObjectType  type,
SumoXMLTag  tag,
const std::vector< GNEEdge * > &  parentEdges,
const std::vector< GNELane * > &  parentLanes,
const std::vector< GNEShape * > &  parentShapes,
const std::vector< GNEAdditional * > &  parentAdditionals,
const std::vector< GNEDemandElement * > &  parentDemandElements,
const std::vector< GNEEdge * > &  childEdges,
const std::vector< GNELane * > &  childLanes,
const std::vector< GNEShape * > &  childShapes,
const std::vector< GNEAdditional * > &  childAdditionals,
const std::vector< GNEDemandElement * > &  childDemandElements 
)

Constructor.

Parameters
[in]demandElementParentpointer to parent demand element pointer (used to generate an ID)
[in]viewNetpointer 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]parentEdgesvector of parent edges
[in]parentLanesvector of parent lanes
[in]parentShapesvector of parent shapes
[in]parentAdditionalsvector of parent additionals
[in]childDemandElementsvector of demandElement parents
[in]childEdgesvector of child edges
[in]childLanesvector of child lanes
[in]childShapesvector of child shapes
[in]childAdditionalsvector of child additional
[in]childDemandElementsvector of demandElement children

Definition at line 178 of file GNEDemandElement.cpp.

◆ ~GNEDemandElement()

GNEDemandElement::~GNEDemandElement ( )

Destructor.

Definition at line 207 of file GNEDemandElement.cpp.

◆ GNEDemandElement() [3/3]

GNEDemandElement::GNEDemandElement ( const GNEDemandElement )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addChildAdditional()

void GNEHierarchicalChildElements::addChildAdditional ( GNEAdditional additional)
inherited

◆ addChildDemandElement()

◆ addChildEdge()

void GNEHierarchicalChildElements::addChildEdge ( GNEEdge edge)
inherited

◆ addChildLane()

◆ addChildShape()

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

◆ addParentAdditional()

void GNEHierarchicalParentElements::addParentAdditional ( GNEAdditional additional)
inherited

◆ addParentDemandElement()

void GNEHierarchicalParentElements::addParentDemandElement ( GNEDemandElement demandElement)
inherited

◆ addParentEdge()

◆ addParentLane()

◆ addParentShape()

◆ allowedTags()

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

get tags of all editable element types

Definition at line 1316 of file GNEAttributeCarrier.cpp.

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

Referenced by GNEAttributeCarrier::allowedTagsByCategory().

◆ allowedTagsByCategory()

std::vector< SumoXMLTag > GNEAttributeCarrier::allowedTagsByCategory ( int  tagPropertyCategory,
bool  onlyDrawables 
)
staticinherited

◆ buildAdditionalsPopupOptions()

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

◆ buildCenterPopupEntry()

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

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

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

◆ 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 266 of file GUIGlObject.cpp.

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

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

◆ 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 278 of file GUIGlObject.cpp.

References GUIIconSubSys::getIcon(), ICON_MANIP, and MID_MANIP.

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

◆ buildShowParamsPopupEntry()

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

◆ 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 257 of file GUIGlObject.cpp.

References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.

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

◆ calculatePersonPlanLaneStartEndPos()

◆ calculatePersonPlanPositionStartEndPos()

◆ 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 657 of file GNEAttributeCarrier.h.

References WRITE_WARNING.

◆ changeChildEdges()

void GNEHierarchicalChildElements::changeChildEdges ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ changeChildLanes()

void GNEHierarchicalChildElements::changeChildLanes ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ changeDemandElementID()

void GNEDemandElement::changeDemandElementID ( const std::string &  newID)
protected

◆ checkChildAdditionalsOverlapping()

bool GNEHierarchicalChildElements::checkChildAdditionalsOverlapping ( ) const
inherited

◆ 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 568 of file GNEDemandElement.cpp.

References GNEAttributeCarrier::getTagStr().

◆ checkChildDemandElementsOverlapping()

bool GNEHierarchicalChildElements::checkChildDemandElementsOverlapping ( ) const
inherited

check if childs demand elements are overlapped

Definition at line 314 of file GNEHierarchicalChildElements.cpp.

◆ checkParsedAttribute()

bool GNEAttributeCarrier::checkParsedAttribute ( const TagProperties tagProperties,
const AttributeProperties 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 4498 of file GNEAttributeCarrier.cpp.

References canParseVehicleClasses(), GNEAttributeCarrier::AttributeProperties::getDefaultValue(), GNEAttributeCarrier::AttributeProperties::getDescription(), GNEAttributeCarrier::AttributeProperties::getDiscreteValues(), GNEAttributeCarrier::AttributeProperties::getMaximumRange(), GNEAttributeCarrier::AttributeProperties::getMinimumRange(), GNEAttributeCarrier::TagProperties::getTagStr(), GNEAttributeCarrier::AttributeProperties::hasAttrRange(), GNEAttributeCarrier::AttributeProperties::isBool(), GNEAttributeCarrier::AttributeProperties::isColor(), GNEAttributeCarrier::TagProperties::isDemandElement(), GNEAttributeCarrier::TagProperties::isDetector(), GNEAttributeCarrier::AttributeProperties::isDiscrete(), GNEAttributeCarrier::AttributeProperties::isFilename(), GNEAttributeCarrier::AttributeProperties::isFloat(), GNEAttributeCarrier::AttributeProperties::isInt(), GNEAttributeCarrier::AttributeProperties::isList(), GNEAttributeCarrier::AttributeProperties::isOptional(), GNEAttributeCarrier::AttributeProperties::isposition(), GNEAttributeCarrier::AttributeProperties::isPositive(), GNEAttributeCarrier::AttributeProperties::isProbability(), GNEAttributeCarrier::AttributeProperties::isSUMOTime(), SUMOXMLDefinitions::isValidAdditionalID(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), SUMOXMLDefinitions::isValidVehicleID(), GNEAttributeCarrier::AttributeProperties::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().

◆ 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 GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, GNEStop, and GNEVehicleType.

◆ computePath()

virtual void GNEDemandElement::computePath ( )
pure virtual

◆ createFullName()

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

◆ createRouteCalculatorInstance()

void GNEDemandElement::createRouteCalculatorInstance ( GNENet net)
static

create instance of RouteCalculator

Definition at line 259 of file GNEDemandElement.cpp.

References myRouteCalculatorInstance.

Referenced by GNENet::setViewNet().

◆ decRef()

◆ deleteRouteCalculatorInstance()

void GNEDemandElement::deleteRouteCalculatorInstance ( )
static

delete instance of RouteCalculator

Definition at line 269 of file GNEDemandElement.cpp.

References myRouteCalculatorInstance.

Referenced by GNENet::~GNENet().

◆ disableAttribute()

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

◆ drawChildConnections()

◆ 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 GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, GNEStop, and GNEVehicleType.

◆ 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 GUIBaseVehicle, GUIContainer, and GUIPerson.

Definition at line 186 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ drawName()

◆ drawUsingSelectColor()

bool GNEDemandElement::drawUsingSelectColor ( ) const
virtual

◆ enableAttribute()

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

◆ endGeometryMoving()

virtual void GNEDemandElement::endGeometryMoving ( )
pure virtual

end geometry movement

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

◆ fillAdditionals()

void GNEAttributeCarrier::fillAdditionals ( )
staticprivateinherited

fill Additionals

Definition at line 1870 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::ATTRPROPERTY_ACTIVATABLE, GNEAttributeCarrier::ATTRPROPERTY_ANGLE, GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FILENAME, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_PROBABILITY, GNEAttributeCarrier::ATTRPROPERTY_RANGE, GNEAttributeCarrier::ATTRPROPERTY_SECUENCIAL, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_SUMOTIME, GNEAttributeCarrier::ATTRPROPERTY_SYNONYM, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, GNEAttributeCarrier::ATTRPROPERTY_VCLASSES, DEFAULT_VTYPE_ID, GNEAttributeCarrier::fillCommonVehicleAttributes(), ICON_ACCESS, ICON_CALIBRATOR, ICON_CHARGINGSTATION, ICON_CLOSINGLANEREROUTE, ICON_CLOSINGREROUTE, ICON_CONTAINERSTOP, ICON_DESTPROBREROUTE, ICON_E1, ICON_E1INSTANT, ICON_E2, ICON_E3, ICON_E3ENTRY, ICON_E3EXIT, ICON_FLOW, ICON_PARKINGAREA, ICON_PARKINGSPACE, ICON_PARKINGZONEREROUTE, ICON_REROUTER, ICON_REROUTERINTERVAL, ICON_ROUTEPROBE, ICON_ROUTEPROBREROUTE, ICON_TAZ, ICON_TAZEDGE, ICON_VAPORIZER, ICON_VARIABLESPEEDSIGN, ICON_VSSSTEP, GNEAttributeCarrier::myTagProperties, GNEAttributeCarrier::AttributeProperties::setRange(), GNEAttributeCarrier::AttributeProperties::setSynonym(), SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_BEGIN, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_COLOR, 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_PERSON_CAPACITY, SUMO_ATTR_POSITION, SUMO_ATTR_PROB, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_ROUTE, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_STARTPOS, SUMO_ATTR_TIME, SUMO_ATTR_TYPE, SUMO_ATTR_VEHSPERHOUR, SUMO_ATTR_VISIBLE, SUMO_ATTR_VTYPES, SUMO_ATTR_WEIGHT, 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_LANE, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_NOTHING, 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_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, GNEAttributeCarrier::TAGPROPERTY_AUTOMATICSORTING, GNEAttributeCarrier::TAGPROPERTY_BLOCKMOVEMENT, GNEAttributeCarrier::TAGPROPERTY_BLOCKSHAPE, GNEAttributeCarrier::TAGPROPERTY_CENTERAFTERCREATION, GNEAttributeCarrier::TAGPROPERTY_DIALOG, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_MASKSTARTENDPOS, GNEAttributeCarrier::TAGPROPERTY_MASKXYZPOSITION, GNEAttributeCarrier::TAGPROPERTY_MINIMUMCHILDREN, GNEAttributeCarrier::TAGPROPERTY_PARENT, GNEAttributeCarrier::TAGPROPERTY_REPARENT, GNEAttributeCarrier::TAGPROPERTY_RTREE, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SYNONYM, GNEAttributeCarrier::TAGPROPERTY_WRITECHILDRENSEPARATE, GNEAttributeCarrier::TAGTYPE_ADDITIONAL, GNEAttributeCarrier::TAGTYPE_DETECTOR, GNEAttributeCarrier::TAGTYPE_STOPPINGPLACE, GNEAttributeCarrier::TAGTYPE_TAZ, and toString().

Referenced by GNEAttributeCarrier::fillAttributeCarriers().

◆ fillAttributeCarriers()

◆ fillCarFollowingModelAttributes()

◆ fillCommonFlowAttributes()

◆ fillCommonPersonAttributes()

◆ fillCommonStopAttributes()

void GNEAttributeCarrier::fillCommonStopAttributes ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillCommonVehicleAttributes()

◆ fillDemandElements()

void GNEAttributeCarrier::fillDemandElements ( )
staticprivateinherited

fill Demand Elements

Definition at line 3144 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUEMUTABLE, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_DISCRETE, GNEAttributeCarrier::ATTRPROPERTY_EXTENDED, GNEAttributeCarrier::ATTRPROPERTY_FILENAME, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_SUMOTIME, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, SUMOXMLDefinitions::CarFollowModels, DEFAULT_VEH_PROB, GNEAttributeCarrier::fillCarFollowingModelAttributes(), GNEAttributeCarrier::fillJunctionModelAttributes(), GNEAttributeCarrier::fillLaneChangingModelAttributes(), PollutantsInterface::getAllClassesStr(), OptionsCont::getOptions(), ICON_PTYPE, ICON_ROUTE, ICON_VTYPE, SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LateralAlignments, GNEAttributeCarrier::myTagProperties, GNEAttributeCarrier::AttributeProperties::setDiscreteValues(), 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_EMBEDDEDROUTE, SUMO_TAG_NOTHING, SUMO_TAG_PTYPE, SUMO_TAG_ROUTE, SUMO_TAG_VTYPE, SumoVehicleClassStrings, SumoVehicleShapeStrings, SVC_PEDESTRIAN, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_PARENT, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SYNONYM, GNEAttributeCarrier::TAGTYPE_DEMANDELEMENT, GNEAttributeCarrier::TAGTYPE_ROUTE, GNEAttributeCarrier::TAGTYPE_VTYPE, and toString().

Referenced by GNEAttributeCarrier::fillAttributeCarriers().

◆ fillJunctionModelAttributes()

◆ fillLaneChangingModelAttributes()

◆ fillNetElements()

void GNEAttributeCarrier::fillNetElements ( )
staticprivateinherited

fill Net Elements

Definition at line 1478 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_DISCRETE, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, GNEAttributeCarrier::ATTRPROPERTY_VCLASSES, FRINGE_TYPE_DEFAULT, SUMOXMLDefinitions::FringeTypeValues, OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), StringBijection< T >::getStrings(), GNE_ATTR_BIDIR, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, ICON_CONNECTION, ICON_CROSSING, ICON_EDGE, ICON_JUNCTION, ICON_LANE, SUMOXMLDefinitions::LaneSpreadFunctions, GNEAttributeCarrier::myTagProperties, NODETYPE_DEAD_END, NODETYPE_DEAD_END_DEPRECATED, NODETYPE_INTERNAL, NODETYPE_NOJUNCTION, SUMOXMLDefinitions::NodeTypes, RIGHT_OF_WAY_DEFAULT, SUMOXMLDefinitions::RightOfWayValues, GNEAttributeCarrier::AttributeProperties::setDiscreteValues(), 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_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, SumoVehicleClassStrings, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGTYPE_NETELEMENT, TLTYPE_ACTUATED, TLTYPE_DELAYBASED, TLTYPE_STATIC, toString(), NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_SPEED, and NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE.

Referenced by GNEAttributeCarrier::fillAttributeCarriers().

◆ fillPersonElements()

void GNEAttributeCarrier::fillPersonElements ( )
staticprivateinherited

fill Person Elements

Definition at line 3673 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::ATTRPROPERTY_COMPLEX, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::fillCommonFlowAttributes(), GNEAttributeCarrier::fillCommonPersonAttributes(), ICON_PERSON, ICON_PERSONFLOW, ICON_PERSONTRIP_BUSSTOP, ICON_PERSONTRIP_FROMTO, ICON_RIDE_BUSSTOP, ICON_RIDE_FROMTO, ICON_WALK_BUSSTOP, ICON_WALK_EDGES, ICON_WALK_FROMTO, ICON_WALK_ROUTE, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_BUS_STOP, SUMO_ATTR_DEPART, SUMO_ATTR_EDGES, SUMO_ATTR_FROM, SUMO_ATTR_LINES, SUMO_ATTR_MODES, SUMO_ATTR_ROUTE, SUMO_ATTR_TO, SUMO_ATTR_VIA, SUMO_ATTR_VTYPES, SUMO_TAG_BUS_STOP, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_PERSONTRIP_BUSSTOP, SUMO_TAG_PERSONTRIP_FROMTO, SUMO_TAG_RIDE_BUSSTOP, SUMO_TAG_RIDE_FROMTO, SUMO_TAG_WALK_BUSSTOP, SUMO_TAG_WALK_EDGES, SUMO_TAG_WALK_FROMTO, SUMO_TAG_WALK_ROUTE, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_PARENT, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SORTINGCHILDREN, GNEAttributeCarrier::TAGTYPE_DEMANDELEMENT, GNEAttributeCarrier::TAGTYPE_PERSON, GNEAttributeCarrier::TAGTYPE_PERSONPLAN, GNEAttributeCarrier::TAGTYPE_PERSONTRIP, GNEAttributeCarrier::TAGTYPE_RIDE, GNEAttributeCarrier::TAGTYPE_WALK, and toString().

Referenced by GNEAttributeCarrier::fillAttributeCarriers().

◆ fillPersonStopElements()

◆ fillShapes()

void GNEAttributeCarrier::fillShapes ( )
staticprivateinherited

fill Shapes

Definition at line 2936 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::ATTRPROPERTY_ANGLE, GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FILENAME, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, 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, ICON_LOCATEPOI, ICON_LOCATEPOLY, GNEAttributeCarrier::myTagProperties, 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, GNEAttributeCarrier::TAGPROPERTY_BLOCKMOVEMENT, GNEAttributeCarrier::TAGPROPERTY_BLOCKSHAPE, GNEAttributeCarrier::TAGPROPERTY_CLOSESHAPE, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_GEOPOSITION, GNEAttributeCarrier::TAGPROPERTY_GEOSHAPE, GNEAttributeCarrier::TAGPROPERTY_MASKXYZPOSITION, GNEAttributeCarrier::TAGPROPERTY_RTREE, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGTYPE_SHAPE, and toString().

Referenced by GNEAttributeCarrier::fillAttributeCarriers().

◆ fillStopElements()

◆ fillVehicleElements()

◆ fixDemandElementProblem()

void GNEDemandElement::fixDemandElementProblem ( )
virtual

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

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

Definition at line 235 of file GNEDemandElement.cpp.

References GNEAttributeCarrier::getTagStr().

◆ generateChildID()

std::string GNEDemandElement::generateChildID ( SumoXMLTag  childTag)
virtual

◆ 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 GNEEdge, and GNELane.

Definition at line 1261 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, GNEPerson, and GNEStop.

Definition at line 247 of file GNEDemandElement.cpp.

References GNEAttributeCarrier::getTagStr().

Referenced by GNENet::deleteDemandElement(), GNENet::insertDemandElement(), GNENet::updateDemandElementBegin(), and GNENet::updateDemandElementID().

◆ 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 GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, GNEStop, and GNEVehicleType.

◆ getChildAdditionals()

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

return child additionals

Definition at line 131 of file GNEHierarchicalChildElements.cpp.

References GNEHierarchicalChildElements::myChildAdditionals.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEEdge::addConnection(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEDetectorE3::checkChildAdditionalRestriction(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::deleteAdditional(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEBusStop::drawGL(), GNELane::drawGL(), GNEEdge::drawGL(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEAdditional::generateChildID(), GNETAZ::getAttribute(), GNEEdge::getRouteProbeRelativePosition(), GNEVariableSpeedSignStep::isValid(), GNEAdditionalHandler::myEndElement(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNECalibratorDialog::onCmdClickedRoute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNEEdge::removeConnection(), GNENet::replaceIncomingEdge(), GNEEdge::retrieveGNEConnection(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouterInterval::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNERerouter::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNENet::splitEdge(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNECalibratorDialog::updateFlowTable(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNERerouterDialog::updateIntervalTable(), GNETAZ::updateParentAdditional(), GNEVariableSpeedSignDialog::updateTableSteps(), and GNEAdditional::writeAdditional().

◆ getChildDemandElements()

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

return child demand elements

Definition at line 296 of file GNEHierarchicalChildElements.cpp.

References GNEHierarchicalChildElements::myChildDemandElements.

Referenced by GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNELane::drawGL(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEAdditional::endGeometryMoving(), generateChildID(), GNEPerson::getCenteringBoundary(), GNEPerson::getFromEdge(), GNEVehicle::getFromEdge(), GNEPerson::getPositionInView(), GNEPerson::getToEdge(), GNEVehicle::getToEdge(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNENet::replaceIncomingEdge(), GNERouteHandler::separateEmbeddedRoute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNENet::splitEdge(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEAdditional::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNEBusStop::updateGeometry(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNEVehicleType::updateGeometry(), GNERide::updateGeometry(), GNEPersonTrip::updateGeometry(), GNEWalk::updateGeometry(), GNERoute::updateGeometry(), GNEPerson::updateGeometry(), GNEVehicle::updateGeometry(), GNEVehicleType::updatePartialGeometry(), GNERide::updatePartialGeometry(), GNEPersonTrip::updatePartialGeometry(), GNEWalk::updatePartialGeometry(), GNERoute::updatePartialGeometry(), GNEPerson::updatePartialGeometry(), GNEVehicle::updatePartialGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ getChildDemandElementsSortedByType()

const std::set< GNEDemandElement * > & GNEHierarchicalChildElements::getChildDemandElementsSortedByType ( SumoXMLTag  tag) const
inherited

◆ getChildEdges()

const std::vector< GNEEdge * > & GNEHierarchicalChildElements::getChildEdges ( ) const
inherited

◆ getChildLanes()

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

◆ getChildPosition()

const Position & GNEHierarchicalChildElements::getChildPosition ( const GNELane lane)
inherited

◆ getChildRotation()

double GNEHierarchicalChildElements::getChildRotation ( const GNELane lane)
inherited

◆ getChildShapes()

◆ getColor()

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

◆ getColorValue()

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

◆ getDemandElementGeometry()

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

get demand element geometry

Definition at line 211 of file GNEDemandElement.cpp.

References myDemandElementGeometry.

Referenced by calculatePersonPlanPositionStartEndPos().

◆ getDemandElementID()

◆ 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 GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, and GNEStop.

Definition at line 229 of file GNEDemandElement.cpp.

◆ getDemandElementSegmentGeometry()

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

◆ getFirstAllowedVehicleLane()

◆ getFromEdge()

virtual GNEEdge* GNEDemandElement::getFromEdge ( ) const
pure virtual

◆ getFullName()

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 149 of file GUIGlObject.cpp.

References GUIGlObject::myGlID.

Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNEEdge::drawEdgeName(), GNEEdge::drawGeometryPoints(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingSpace::drawGL(), GNEInternalLane::drawGL(), GNEVariableSpeedSign::drawGL(), GNEDetectorE1Instant::drawGL(), GNERerouter::drawGL(), GNEAccess::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GUIPolygon::drawGL(), GNECrossing::drawGL(), GUIContainer::drawGL(), GUICalibrator::drawGL(), GNEJunction::drawGL(), GUIPointOfInterest::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GNETAZ::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GNELane::drawGL(), GNEStop::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GNELane::drawPartialE2DetectorPlan(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEEdge::drawRerouterSymbol(), GNELane::drawVSSSymbol(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GNEPoly::getGlID(), GNEPOI::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIEdge::getScaleValue(), GUITransportableControl::insertPersonIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIPerson::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIViewTraffic::onCmdShowReachability(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIDialog_GLObjChooser::onCmdTrack(), GUIViewTraffic::onGamingClick(), TraCIServerAPI_GUI::processSet(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GNENetElement::selectAttributeCarrier(), GNEVehicleType::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GNENetElement::unselectAttributeCarrier(), GNEVehicleType::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), GNEVehicle::unselectAttributeCarrier(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().

◆ getHierarchyName()

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

get Hierarchy Name (Used in AC Hierarchy)

Implements GNEAttributeCarrier.

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

◆ getIcon()

◆ getID()

const std::string GNEAttributeCarrier::getID ( ) const
virtualinherited

function to support debugging

Implements GNEReferenceCounter.

Definition at line 1289 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::getAttribute(), and SUMO_ATTR_ID.

Referenced by GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNEHierarchicalChildElements::addChildEdge(), GNEHierarchicalChildElements::addChildLane(), GNEHierarchicalChildElements::addChildShape(), GNECrossingFrame::addCrossing(), GNEJunction::addIncomingGNEEdge(), GNENet::additionalExist(), GNEJunction::addOutgoingGNEEdge(), GNEHierarchicalParentElements::addParentAdditional(), GNEHierarchicalParentElements::addParentDemandElement(), GNEHierarchicalParentElements::addParentEdge(), GNEHierarchicalParentElements::addParentLane(), GNEHierarchicalParentElements::addParentShape(), GNENet::addPOI(), GNEPolygonFrame::addPOILane(), GNENet::addReversedEdge(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEAdditionalHandler::buildAccess(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEConnectorFrame::buildConnection(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonTripBusStop(), GNERouteHandler::buildPersonTripFromTo(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRideBusStop(), GNERouteHandler::buildRideFromTo(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildWalkBusStop(), GNERouteHandler::buildWalkEdges(), GNERouteHandler::buildWalkFromTo(), GNERouteHandler::buildWalkRoute(), GNENet::changeShapeID(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEEdge::drawGL(), GNEJunction::drawJunctionChilds(), GNEVehicleFrame::edgePathCreated(), GNEJunction::generateChildID(), GNEPoly::generateChildID(), GNEPOI::generateChildID(), GNEAdditional::generateChildID(), generateChildID(), GNEAdditionalFrame::generateID(), GNEClosingReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNECalibratorFlow::getAttribute(), GNEConnection::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GNEClosingReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEHierarchicalParentElements::getNewListOfParents(), GNEDetectorE3::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNERerouter::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibrator::getPopUpID(), GNENetElement::getPopUpID(), GNETAZ::getPopUpID(), GNEDetector::getPopUpID(), GNEShape::getPopUpID(), GNEAdditionalHandler::getPosition(), GNEStopFrame::getStopParameter(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEJunction::invalidateShape(), isRouteValid(), GNEAccess::isValid(), GNEPersonTrip::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::CrossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNERouteDialog::onCmdSetVariable(), GNEViewNet::onCmdToogleLockPerson(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEPolygonFrame::processClick(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Children::redo(), GNEChange_Connection::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalChildElements::removeChildAdditional(), GNEHierarchicalChildElements::removeChildDemandElement(), GNEHierarchicalChildElements::removeChildEdge(), GNEHierarchicalChildElements::removeChildLane(), GNEHierarchicalChildElements::removeChildShape(), GNEEdge::removeConnection(), GNEJunction::removeEdgeFromCrossings(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalParentElements::removeParentAdditional(), GNEHierarchicalParentElements::removeParentDemandElement(), GNEHierarchicalParentElements::removeParentEdge(), GNEHierarchicalParentElements::removeParentLane(), GNEHierarchicalParentElements::removeParentShape(), GNENet::removeShape(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNEHierarchicalParentElements::replaceParentAdditional(), GNEHierarchicalParentElements::replaceParentDemandElement(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNEEdge::setAttribute(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), GNEAccess::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNECalibrator::splitEdgeGeometry(), GNEDetector::splitEdgeGeometry(), GNENet::splitJunction(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_Additional::undo(), GNEChange_TLS::undo(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Children::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNERouteDialog::updateCalibratorRouteValues(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEAdditional::writeAdditional(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEPOI::writeShape(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEJunction::~GNEJunction().

◆ getLastAllowedVehicleLane()

◆ getMicrosimID()

◆ getMiddleParentEdges()

std::vector< GNEEdge * > GNEHierarchicalParentElements::getMiddleParentEdges ( ) const
inherited

◆ getNewListOfParents()

std::string GNEHierarchicalParentElements::getNewListOfParents ( const GNENetElement currentElement,
const GNENetElement newNextElement 
) const
inherited

◆ getNextChildDemandElement()

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

get next child demand element to the given demand element

Definition at line 335 of file GNEHierarchicalChildElements.cpp.

References GNEHierarchicalChildElements::myChildDemandElements.

◆ getOptionalName()

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

Returns the name of the object (default "")

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

Definition at line 168 of file GUIGlObject.cpp.

Referenced by GUIDialog_GLObjChooser::getObjectName().

◆ 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 315 of file GNEDemandElement.cpp.

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

◆ getParentAdditionals()

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

get parent additionals

Definition at line 85 of file GNEHierarchicalParentElements.cpp.

References GNEHierarchicalParentElements::myParentAdditionals.

Referenced by calculatePersonPlanLaneStartEndPos(), calculatePersonPlanPositionStartEndPos(), GNERide::computePath(), GNEPersonTrip::computePath(), GNEWalk::computePath(), GNELane::drawGL(), GNEEdge::drawGL(), GNEEdge::drawPartialPersonPlan(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEClosingReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNETAZSourceSink::getAttribute(), GNERerouterInterval::getAttribute(), GNEAccess::getAttribute(), GNEStop::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNEDestProbReroute::getCenteringBoundary(), GNERouteProbReroute::getCenteringBoundary(), GNEParkingAreaReroute::getCenteringBoundary(), GNEVariableSpeedSignStep::getCenteringBoundary(), GNECalibratorFlow::getCenteringBoundary(), GNERerouterInterval::getCenteringBoundary(), GNEStop::getCenteringBoundary(), GNEStop::getFromEdge(), GNEParkingAreaReroute::getHierarchyName(), GNEStop::getHierarchyName(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), getLastAllowedVehicleLane(), GNEClosingReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNEDestProbReroute::getParentName(), GNERouteProbReroute::getParentName(), GNEParkingSpace::getParentName(), GNEParkingAreaReroute::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNECalibratorFlow::getParentName(), GNETAZSourceSink::getParentName(), GNERerouterInterval::getParentName(), GNEAccess::getParentName(), GNEStop::getParentName(), GNEClosingReroute::getPositionInView(), GNEDestProbReroute::getPositionInView(), GNEClosingLaneReroute::getPositionInView(), GNERouteProbReroute::getPositionInView(), GNEParkingAreaReroute::getPositionInView(), GNECalibratorFlow::getPositionInView(), GNEVariableSpeedSignStep::getPositionInView(), GNETAZSourceSink::getPositionInView(), GNERerouterInterval::getPositionInView(), GNEStop::getToEdge(), GNERide::invalidatePath(), GNEPersonTrip::invalidatePath(), GNEWalk::invalidatePath(), GNEVariableSpeedSignStep::isValid(), GNEAccess::isValid(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNENet::replaceIncomingEdge(), GNETAZSourceSink::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEStop::updateGeometry(), GNEStop::updatePartialGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), and GNEWalk::writeDemandElement().

◆ getParentDemandElements()

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

get parent demand elements

Definition at line 114 of file GNEHierarchicalParentElements.cpp.

References GNEHierarchicalParentElements::myParentDemandElements.

Referenced by calculatePersonPlanLaneStartEndPos(), calculatePersonPlanPositionStartEndPos(), GNERide::computePath(), GNEPersonTrip::computePath(), GNEWalk::computePath(), GNEVehicle::computePath(), GNENet::deleteDemandElement(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNERouteHandler::embebbeRoute(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEStop::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNERide::getColor(), GNEPersonTrip::getColor(), GNEWalk::getColor(), GNERide::getDemandElementProblem(), GNEPersonTrip::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), getFirstAllowedVehicleLane(), GNERide::getFromEdge(), GNEPersonTrip::getFromEdge(), GNEWalk::getFromEdge(), GNEVehicle::getFromEdge(), GNEStop::getHierarchyName(), GNEWalk::getHierarchyName(), getLastAllowedVehicleLane(), GNEStop::getParentName(), GNEVehicle::getParentName(), GNEStop::getPositionInView(), GNERide::getToEdge(), GNEPersonTrip::getToEdge(), GNEWalk::getToEdge(), GNEVehicle::getToEdge(), GNEStop::getVClass(), GNERide::getVClass(), GNEPersonTrip::getVClass(), GNEWalk::getVClass(), GNEPerson::getVClass(), GNEVehicle::getVClass(), GNERide::isDemandElementValid(), GNEPersonTrip::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEVehicle::isValid(), GNEViewNet::onCmdToogleLockPerson(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNERouteHandler::separateEmbeddedRoute(), GNEVehicle::setAttribute(), GNEVehicle::setColor(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEBusStop::updateGeometry(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNEStop::updateGeometry(), GNEWalk::updateGeometry(), GNEStop::updatePartialGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ getParentEdges()

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

get parent edges

Definition at line 181 of file GNEHierarchicalParentElements.cpp.

References GNEHierarchicalParentElements::myParentEdges.

Referenced by GNEVehicleFrame::addVehicle(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNERide::computePath(), GNEPersonTrip::computePath(), GNEWalk::computePath(), GNEVehicle::computePath(), GNECalibrator::drawCalibratorSymbol(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNERouteProbe::getAttribute(), GNETAZSourceSink::getAttribute(), GNECalibrator::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNERoute::getAttribute(), GNEVehicle::getAttribute(), GNETAZSourceSink::getCenteringBoundary(), GNERide::getCenteringBoundary(), GNEPersonTrip::getCenteringBoundary(), GNEWalk::getCenteringBoundary(), GNERoute::getCenteringBoundary(), GNERide::getDemandElementProblem(), GNEPersonTrip::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNERoute::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), getFirstAllowedVehicleLane(), GNERide::getFromEdge(), GNEPersonTrip::getFromEdge(), GNEWalk::getFromEdge(), GNERoute::getFromEdge(), GNEVehicle::getFromEdge(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), getLastAllowedVehicleLane(), GNERouteHandler::PersonPlansValues::getLastEdge(), GNEVaporizer::getParentName(), GNERouteProbe::getParentName(), GNECalibrator::getParentName(), GNEVehicle::getParentName(), GNEVaporizer::getPositionInView(), GNERouteProbe::getPositionInView(), GNECalibrator::getPositionInView(), GNERide::getToEdge(), GNEPersonTrip::getToEdge(), GNEWalk::getToEdge(), GNERoute::getToEdge(), GNEVehicle::getToEdge(), GNERide::invalidatePath(), GNEPersonTrip::invalidatePath(), GNEWalk::invalidatePath(), GNEVehicle::invalidatePath(), GNERide::isDemandElementValid(), GNEPersonTrip::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNERoute::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNECalibrator::isValid(), GNERide::moveGeometry(), GNEPersonTrip::moveGeometry(), GNEWalk::moveGeometry(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToTrip(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNECalibrator::updateGeometry(), GNERide::updateGeometry(), GNEPersonTrip::updateGeometry(), GNEWalk::updateGeometry(), GNERoute::updateGeometry(), GNEVehicle::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ getParentLanes()

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

get parent lanes

Definition at line 235 of file GNEHierarchicalParentElements.cpp.

References GNEHierarchicalParentElements::myParentLanes.

Referenced by GNEDetectorE2::checkE2MultilaneIntegrity(), GNEStop::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNERide::computePath(), GNEPersonTrip::computePath(), GNEWalk::computePath(), GNECalibrator::drawCalibratorSymbol(), GNEStop::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEStop::enableAttribute(), GNEStop::endGeometryMoving(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE1::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEDetectorE1Instant::getAdditionalProblem(), GNEDetectorE1::getAdditionalProblem(), GNEDetectorEntryExit::getAdditionalProblem(), GNEStoppingPlace::getAdditionalProblem(), GNEDetectorE2::getAdditionalProblem(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEChargingStation::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEAccess::getAttribute(), GNECalibrator::getAttribute(), GNEDetectorE2::getAttribute(), GNEStop::getAttribute(), GNEPOI::getAttribute(), GNEStop::getAttributeDouble(), GNEDetector::getCenteringBoundary(), GNEStop::getDemandElementProblem(), GNEAccess::getEdge(), GNEStoppingPlace::getEndGeometryPositionOverLane(), GNEStop::getEndGeometryPositionOverLane(), GNEStoppingPlace::getEndPosition(), GNEStop::getFromEdge(), GNEAccess::getHierarchyName(), GNEDetector::getLane(), GNEStoppingPlace::getParentName(), GNECalibrator::getParentName(), GNEStop::getParentName(), GNEPOI::getPopUpMenu(), GNEAccess::getPositionInView(), GNEStoppingPlace::getPositionInView(), GNECalibrator::getPositionInView(), GNEStop::getPositionInView(), GNEStoppingPlace::getStartGeometryPositionOverLane(), GNEStop::getStartGeometryPositionOverLane(), GNEStop::getToEdge(), GNERide::invalidatePath(), GNEPersonTrip::invalidatePath(), GNEWalk::invalidatePath(), GNEAccess::isAccessPositionFixed(), GNEDetectorE1Instant::isAdditionalValid(), GNEDetectorE1::isAdditionalValid(), GNEDetectorEntryExit::isAdditionalValid(), GNEStoppingPlace::isAdditionalValid(), GNEDetectorE2::isAdditionalValid(), GNEStop::isDemandElementValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEChargingStation::isValid(), GNEParkingArea::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntryExit::isValid(), GNEDetectorE1Instant::isValid(), GNEAccess::isValid(), GNECalibrator::isValid(), GNEStop::isValid(), GNEPOI::isValid(), GNEAccess::moveGeometry(), GNEDetectorE1::moveGeometry(), GNEDetectorEntryExit::moveGeometry(), GNEDetectorE1Instant::moveGeometry(), GNEStoppingPlace::moveGeometry(), GNEStop::moveGeometry(), GNEDetectorE2::moveGeometry(), GNEPOI::moveGeometry(), GNEPersonPlanFrame::personPlanCreated(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNEPOI::setAttribute(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEStoppingPlace::splitEdgeGeometry(), GNEStop::startGeometryMoving(), GNEContainerStop::updateGeometry(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEParkingArea::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), GNEStop::updateGeometry(), GNEDetectorE2::updateGeometry(), GNEPOI::updateGeometry(), GNEStop::updatePartialGeometry(), and GNEPOI::writeShape().

◆ getParentName()

◆ getParentShapes()

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

◆ getPathEdges()

const std::vector< GNEEdge * > & GNEHierarchicalParentElements::getPathEdges ( ) const
inherited

◆ getPopUpID()

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

get PopPup ID (Used in AC Hierarchy)

Implements GNEAttributeCarrier.

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

◆ getPopUpMenu()

◆ getPositionInView()

virtual Position GNEDemandElement::getPositionInView ( ) const
pure virtual

Returns position of demand element in view.

Implements GNEHierarchicalChildElements.

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

Referenced by getPopUpMenu().

◆ getPreviousChildDemandElement()

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

get previous child demand element to the given demand element

Definition at line 320 of file GNEHierarchicalChildElements.cpp.

References GNEHierarchicalChildElements::myChildDemandElements.

◆ getRouteCalculatorInstance()

◆ getTagProperties()

◆ getTagProperty()

const GNEAttributeCarrier::TagProperties & GNEAttributeCarrier::getTagProperty ( ) const
inherited

get Tag Property assigned to this object

Definition at line 1273 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::myTagProperty.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNENet::additionalExist(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEStopFrame::addStop(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEPersonFrame::buildPersonOverRoute(), GNERouteHandler::buildStop(), GNEGeometry::calculateEdgeGeometricPath(), calculatePersonPlanLaneStartEndPos(), calculatePersonPlanPositionStartEndPos(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEViewNet::doPaintGL(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEViewNet::getAttributeCarriersInBoundary(), GNEStop::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEHierarchicalParentElements::getNewListOfParents(), GNEPerson::getPositionInView(), GNEEdge::getRouteProbeRelativePosition(), GNENet::getSelectedAttributeCarriers(), GNEStopFrame::getStopParameter(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEInspectorFrame::inspectSingleElement(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdToogleLockPerson(), GNEAdditionalHandler::parseParameter(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Attribute::redo(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalChildElements::removeChildAdditional(), GNEHierarchicalChildElements::removeChildDemandElement(), GNENet::removeShape(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveParentAdditional(), GNENet::retrieveShapes(), GNEInspectorFrame::selectedOverlappedElement(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameAttributesModuls::ParametersEditor::showParametersEditor(), GNEHierarchicalChildElements::sortChildAdditionals(), GNECalibrator::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNEDetector::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNERoute::splitEdgeGeometry(), GNEViewNetHelper::EditShapes::startEditCustomShape(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEStop::updateGeometry(), GNEStop::updatePartialGeometry(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), and GNEChange_Shape::~GNEChange_Shape().

◆ getTagStr()

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

get tag assigned to this object in string format

Definition at line 1267 of file GNEAttributeCarrier.cpp.

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

Referenced by GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNEHierarchicalChildElements::addChildEdge(), GNEHierarchicalChildElements::addChildLane(), GNEHierarchicalChildElements::addChildShape(), GNEJunction::addIncomingGNEEdge(), GNEJunction::addOutgoingGNEEdge(), GNEHierarchicalParentElements::addParentAdditional(), GNEHierarchicalParentElements::addParentDemandElement(), GNEHierarchicalParentElements::addParentEdge(), GNEHierarchicalParentElements::addParentLane(), GNEHierarchicalParentElements::addParentShape(), GNENet::addPOI(), GNEStopFrame::addStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNERouteHandler::buildStop(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::changeAdditionalID(), changeDemandElementID(), GNEAdditional::checkChildAdditionalRestriction(), checkChildDemandElementRestriction(), GNERouteHandler::closePerson(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorEntryExit::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNERide::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEPersonTrip::commitGeometryMoving(), GNEWalk::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteShape(), GNEAdditional::fixAdditionalProblem(), fixDemandElementProblem(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEChargingStation::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE3::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNERouteProbReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorFlow::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNETAZSourceSink::getAttribute(), GNERerouterInterval::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEAccess::getAttribute(), GNERerouter::getAttribute(), GNECrossing::getAttribute(), GNECalibrator::getAttribute(), GNEDetectorE2::getAttribute(), GNETAZ::getAttribute(), GNEVehicleType::getAttribute(), GNEConnection::getAttribute(), GNEStop::getAttribute(), GNEPoly::getAttribute(), GNELane::getAttribute(), GNERide::getAttribute(), GNEPOI::getAttribute(), GNEPersonTrip::getAttribute(), GNEJunction::getAttribute(), GNEWalk::getAttribute(), GNERoute::getAttribute(), GNEEdge::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVaporizer::getAttributeDouble(), GNERouteProbe::getAttributeDouble(), GNEClosingReroute::getAttributeDouble(), GNEDetectorE3::getAttributeDouble(), GNEClosingLaneReroute::getAttributeDouble(), GNEDestProbReroute::getAttributeDouble(), GNERouteProbReroute::getAttributeDouble(), GNEParkingAreaReroute::getAttributeDouble(), GNEParkingSpace::getAttributeDouble(), GNECalibratorFlow::getAttributeDouble(), GNEVariableSpeedSignStep::getAttributeDouble(), GNETAZSourceSink::getAttributeDouble(), GNERerouterInterval::getAttributeDouble(), GNEVariableSpeedSign::getAttributeDouble(), GNEAccess::getAttributeDouble(), GNERerouter::getAttributeDouble(), GNEStoppingPlace::getAttributeDouble(), GNECalibrator::getAttributeDouble(), GNETAZ::getAttributeDouble(), GNEDetector::getAttributeDouble(), GNEVehicleType::getAttributeDouble(), GNEStop::getAttributeDouble(), GNERide::getAttributeDouble(), GNEPersonTrip::getAttributeDouble(), GNEWalk::getAttributeDouble(), GNEPerson::getAttributeDouble(), getBegin(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNETAZSourceSink::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouter::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNECalibrator::getHierarchyName(), GNETAZ::getHierarchyName(), GNENetElement::getHierarchyName(), GNEDetector::getHierarchyName(), GNEVehicleType::getHierarchyName(), GNEShape::getHierarchyName(), GNERoute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEVaporizer::getPopUpID(), GNERouteProbe::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEDetectorE3::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEParkingSpace::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNERerouterInterval::getPopUpID(), GNETAZSourceSink::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNENetElement::getPopUpID(), GNEDetector::getPopUpID(), GNEVehicleType::getPopUpID(), GNEShape::getPopUpID(), GNEStop::getPopUpID(), GNERide::getPopUpID(), GNEPersonTrip::getPopUpID(), GNEWalk::getPopUpID(), GNERoute::getPopUpID(), GNEPerson::getPopUpID(), GNEVehicle::getPopUpID(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNENet::insertAdditional(), GNENet::insertDemandElement(), isRouteValid(), GNEContainerStop::isValid(), GNEBusStop::isValid(), GNEChargingStation::isValid(), GNEParkingArea::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntryExit::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNEDetectorE3::isValid(), GNERouteProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDestProbReroute::isValid(), GNEDetectorE1Instant::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEVariableSpeedSignStep::isValid(), GNECalibratorFlow::isValid(), GNERerouterInterval::isValid(), GNETAZSourceSink::isValid(), GNEVariableSpeedSign::isValid(), GNECrossing::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNEDetectorE2::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEConnection::isValid(), GNEVehicleType::isValid(), GNEStop::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEPOI::isValid(), GNERide::isValid(), GNEJunction::isValid(), GNEPersonTrip::isValid(), GNEWalk::isValid(), GNERoute::isValid(), GNEEdge::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), GNERouteDialog::onCmdAccept(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEVehicleTypeDialog::onCmdAccept(), GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), GNEAdditional::openAdditionalDialog(), openDemandElementDialog(), GNEVehicleType::overwriteVType(), GNEAdditionalHandler::parseParameter(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Children::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEChange_Shape::redoName(), GNEChange_Additional::redoName(), GNEChange_DemandElement::redoName(), GNEChange_EnableAttribute::redoName(), GNEChange_Children::redoName(), GNEChange_Attribute::redoName(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalChildElements::removeChildAdditional(), GNEHierarchicalChildElements::removeChildDemandElement(), GNEHierarchicalChildElements::removeChildEdge(), GNEHierarchicalChildElements::removeChildLane(), GNEHierarchicalChildElements::removeChildShape(), GNEEdge::removeConnection(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalParentElements::removeParentAdditional(), GNEHierarchicalParentElements::removeParentDemandElement(), GNEHierarchicalParentElements::removeParentEdge(), GNEHierarchicalParentElements::removeParentLane(), GNEHierarchicalParentElements::removeParentShape(), GNEHierarchicalParentElements::replaceParentAdditional(), GNEHierarchicalParentElements::replaceParentDemandElement(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveParentAdditional(), GNEBusStop::setAttribute(), GNEContainerStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEClosingReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEParkingSpace::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNECalibratorFlow::setAttribute(), GNERerouterInterval::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNECrossing::setAttribute(), GNEAccess::setAttribute(), GNERerouter::setAttribute(), GNEDetectorE2::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEConnection::setAttribute(), GNEVehicleType::setAttribute(), GNEStop::setAttribute(), GNEPoly::setAttribute(), GNELane::setAttribute(), GNEPOI::setAttribute(), GNERide::setAttribute(), GNEJunction::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), GNERoute::setAttribute(), GNEEdge::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_Additional::undo(), GNEChange_TLS::undo(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Children::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_DemandElement::undoName(), GNEChange_Children::undoName(), GNEChange_EnableAttribute::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TLS::~GNEChange_TLS().

◆ getToEdge()

virtual GNEEdge* GNEDemandElement::getToEdge ( ) const
pure virtual

obtain to edge of this demand element

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

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 180 of file GUIGlObject.cpp.

References GUIGlObject::myGLObjectType.

Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNECalibrator::drawCalibratorSymbol(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingSpace::drawGL(), GNEVariableSpeedSign::drawGL(), GNEDetectorE1Instant::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GNECrossing::drawGL(), GUIContainer::drawGL(), GUICalibrator::drawGL(), GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GUIParkingArea::drawGL(), GNELane::drawGL(), GNEStop::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNELane::drawPartialE2DetectorPlan(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEEdge::drawPartialTripFromTo(), GNEEdge::drawRerouterSymbol(), GNEJunction::drawTLSIcon(), GNELane::drawVSSSymbol(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_GLObjChooser::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), GNENetElement::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNENetElement::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), and GNEVehicle::unselectAttributeCarrier().

◆ 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, GUIContainer, and GUIPerson.

Definition at line 155 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().

◆ getVClass()

◆ getViewNet()

◆ incRef()

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

Increarse reference.

Definition at line 67 of file GNEReferenceCounter.h.

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

Referenced by GNEEdge::addLane(), GNENet::addPOI(), GNENet::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonTripBusStop(), GNERouteHandler::buildPersonTripFromTo(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRideBusStop(), GNERouteHandler::buildRideFromTo(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNERouteHandler::buildWalkBusStop(), GNERouteHandler::buildWalkEdges(), GNERouteHandler::buildWalkFromTo(), GNERouteHandler::buildWalkRoute(), GNEAdditionalHandler::builParkingAreaReroute(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNEChange_Attribute::GNEChange_Attribute(), GNEJunction::rebuildGNECrossings(), GNENet::registerEdge(), GNENet::registerJunction(), GNEEdge::remakeGNEConnections(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), and GNENet::setViewNet().

◆ invalidatePath()

virtual void GNEDemandElement::invalidatePath ( )
pure virtual

invalidate path

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

◆ isAttributeCarrierSelected()

◆ 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 GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, and GNEStop.

Definition at line 223 of file GNEDemandElement.cpp.

◆ isRouteValid()

bool GNEDemandElement::isRouteValid ( const std::vector< GNEEdge * > &  edges,
bool  report 
)
static

check if a route is valid

Parameters
[in]edgesvector with the route's edges
[in]reportenable or disable writting warnings if route isn't valid

Definition at line 334 of file GNEDemandElement.cpp.

References GNEEdge::getGNEJunctionDestiny(), GNEJunction::getGNEOutgoingEdges(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and WRITE_WARNING.

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

◆ 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 GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, GNEStop, and GNEVehicleType.

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

◆ isValidDemandElementID()

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

◆ lanesConsecutives()

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

check if lanes are consecutives

Definition at line 1136 of file GNEAttributeCarrier.cpp.

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

◆ 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 GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, GNEStop, and GNEVehicleType.

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void *  )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 165 of file GUIGlObject.h.

Referenced by GUISUMOAbstractView::onLeftBtnPress().

◆ 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 241 of file GNEDemandElement.cpp.

References GNEAttributeCarrier::getTagStr().

◆ operator=()

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

Invalidated assignment operator.

◆ parse() [1/4]

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

parses a value of type T from string (used for basic types: int, double, bool, etc.)

Referenced by GNEDetectorE2::isValid(), GNEWalk::isValid(), GNERoute::isValid(), GNERide::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), and GNEVehicle::setAttribute().

◆ parse() [2/4]

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

Definition at line 931 of file GNEAttributeCarrier.cpp.

References StringUtils::toInt().

◆ parse() [3/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.)

◆ parse() [4/4]

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

◆ 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 1114 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [2/3]

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

Definition at line 1125 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [3/3]

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

◆ parseMaskedPositionAttribute()

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

◆ removeActiveAddVisualisation()

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

remove additional user-griggered visualisations

Reimplemented in GUIPerson, and GUIBaseVehicle.

Definition at line 162 of file GUIGlObject.h.

◆ removeChildAdditional()

◆ removeChildDemandElement()

◆ removeChildEdge()

◆ removeChildLane()

◆ removeChildShape()

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 111 of file GUIGlObject.h.

Referenced by GUIGLObjectPopupMenu::~GUIGLObjectPopupMenu().

◆ 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 293 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

◆ removeParentAdditional()

void GNEHierarchicalParentElements::removeParentAdditional ( GNEAdditional additional)
inherited

◆ removeParentDemandElement()

void GNEHierarchicalParentElements::removeParentDemandElement ( GNEDemandElement demandElement)
inherited

◆ removeParentEdge()

void GNEHierarchicalParentElements::removeParentEdge ( GNEEdge edge)
inherited

◆ removeParentLane()

void GNEHierarchicalParentElements::removeParentLane ( GNELane lane)
inherited

◆ removeParentShape()

void GNEHierarchicalParentElements::removeParentShape ( GNEShape shape)
inherited

◆ replaceFirstParentEdge()

void GNEHierarchicalParentElements::replaceFirstParentEdge ( GNEDemandElement elementChild,
GNEEdge newFirstEdge 
)
protectedinherited

replace the first parent edge (used by demand elements)

Definition at line 356 of file GNEHierarchicalParentElements.cpp.

References GNEHierarchicalParentElements::myParentEdges.

Referenced by GNERide::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), and GNEVehicle::setAttribute().

◆ replaceLastParentEdge()

void GNEHierarchicalParentElements::replaceLastParentEdge ( GNEDemandElement elementChild,
GNEEdge newLastEdge 
)
protectedinherited

replace the last parent edge (used by demand elements)

Definition at line 397 of file GNEHierarchicalParentElements.cpp.

References GNEHierarchicalParentElements::myParentEdges.

Referenced by GNERide::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), and GNEVehicle::setAttribute().

◆ replaceMiddleParentEdges()

void GNEHierarchicalParentElements::replaceMiddleParentEdges ( GNEDemandElement elementChild,
const std::vector< GNEEdge * > &  newMiddleEdges,
const bool  updateChildReferences 
)
protectedinherited

◆ replaceParentAdditional() [1/3]

void GNEHierarchicalParentElements::replaceParentAdditional ( GNEAdditional additionalTobeChanged,
const std::string &  newParentAdditionalID,
int  additionalParentIndex 
)
protectedinherited

replace the parent additional of an additional

Exceptions
exceptionif this additional doesn't have previously a defined Additional parent
exceptionif additional with ID newParentAdditionalID doesn't exist

Definition at line 506 of file GNEHierarchicalParentElements.cpp.

References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEAdditional::getViewNet(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentAdditionals, GNENet::retrieveAdditional(), toString(), and GNEAdditional::updateGeometry().

◆ replaceParentAdditional() [2/3]

void GNEHierarchicalParentElements::replaceParentAdditional ( GNEDemandElement demandElementTobeChanged,
const std::string &  newParentAdditionalID,
int  additionalParentIndex 
)
protectedinherited

replace the parent additional of a demand element

Exceptions
exceptionif this additional doesn't have previously a defined Additional parent
exceptionif additional with ID newParentAdditionalID doesn't exist

Definition at line 523 of file GNEHierarchicalParentElements.cpp.

References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), getViewNet(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentAdditionals, GNENet::retrieveAdditional(), toString(), and updateGeometry().

◆ replaceParentAdditional() [3/3]

void GNEHierarchicalParentElements::replaceParentAdditional ( GNEShape shapeTobeChanged,
const std::string &  newParentAdditionalID,
int  additionalParentIndex 
)
protectedinherited

◆ replaceParentDemandElement() [1/3]

void GNEHierarchicalParentElements::replaceParentDemandElement ( GNEAdditional additionalTobeChanged,
const std::string &  newParentDemandElementID,
int  demandElementParentIndex 
)
protectedinherited

replace the parent demand element of an additional

Exceptions
exceptionif this demand element doesn't have previously a defined DemandElement parent
exceptionif demand element with ID newParentDemandElementID doesn't exist

Definition at line 557 of file GNEHierarchicalParentElements.cpp.

References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEAdditional::getViewNet(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentDemandElements, GNENet::retrieveDemandElement(), toString(), and GNEAdditional::updateGeometry().

◆ replaceParentDemandElement() [2/3]

void GNEHierarchicalParentElements::replaceParentDemandElement ( GNEDemandElement demandElementTobeChanged,
const std::string &  newParentDemandElementID,
int  demandElementParentIndex 
)
protectedinherited

change first parent demand element of demandElement

Exceptions
exceptionif this demand element doesn't have previously a defined DemandElement parent
exceptionif demand element with ID newParentDemandElementID doesn't exist

Definition at line 574 of file GNEHierarchicalParentElements.cpp.

References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), getViewNet(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentDemandElements, GNENet::retrieveDemandElement(), toString(), and updateGeometry().

◆ replaceParentDemandElement() [3/3]

void GNEHierarchicalParentElements::replaceParentDemandElement ( GNEShape shapeTobeChanged,
const std::string &  newParentDemandElementID,
int  demandElementParentIndex 
)
protectedinherited

replace the parent demand element of a shape

Exceptions
exceptionif this demand element doesn't have previously a defined DemandElement parent
exceptionif demand element with ID newParentDemandElementID doesn't exist

Definition at line 540 of file GNEHierarchicalParentElements.cpp.

References GNEAttributeCarrier::getID(), GNEShape::getNet(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentDemandElements, GNENet::retrieveDemandElement(), toString(), and GNEShape::updateGeometry().

Referenced by GNEWalk::setAttribute(), GNEPerson::setAttribute(), and GNEVehicle::setAttribute().

◆ replaceParentEdges() [1/4]

void GNEHierarchicalParentElements::replaceParentEdges ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

replace the parent edges of an additional

Definition at line 296 of file GNEHierarchicalParentElements.cpp.

References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalParentElements::myParentEdges.

◆ replaceParentEdges() [2/4]

void GNEHierarchicalParentElements::replaceParentEdges ( GNEDemandElement elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

replace the parent edges of a demandElement

Definition at line 316 of file GNEHierarchicalParentElements.cpp.

References GNEViewNet::getNet(), getViewNet(), and GNEHierarchicalParentElements::myParentEdges.

◆ replaceParentEdges() [3/4]

void GNEHierarchicalParentElements::replaceParentEdges ( GNEDemandElement elementChild,
const std::vector< GNEEdge * > &  newEdges 
)
protectedinherited

replace the parent edges of a demandElement (GNEEdge version)

Definition at line 336 of file GNEHierarchicalParentElements.cpp.

References GNEHierarchicalParentElements::myParentEdges.

◆ replaceParentEdges() [4/4]

void GNEHierarchicalParentElements::replaceParentEdges ( GNEShape elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ replaceParentLanes() [1/3]

void GNEHierarchicalParentElements::replaceParentLanes ( GNEAdditional elementChild,
const std::string &  newLaneIDs 
)
protectedinherited

replace the parent edges of an additional

Definition at line 429 of file GNEHierarchicalParentElements.cpp.

References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalParentElements::myParentLanes.

◆ replaceParentLanes() [2/3]

void GNEHierarchicalParentElements::replaceParentLanes ( GNEDemandElement elementChild,
const std::string &  newLaneIDs 
)
protectedinherited

replace the parent edges of a demandElement

Definition at line 449 of file GNEHierarchicalParentElements.cpp.

References GNEViewNet::getNet(), getViewNet(), and GNEHierarchicalParentElements::myParentLanes.

◆ replaceParentLanes() [3/3]

◆ replacePathEdges()

void GNEHierarchicalParentElements::replacePathEdges ( GNEDemandElement elementChild,
const std::vector< GNEEdge * > &  routeEdges 
)
protectedinherited

◆ selectAttributeCarrier()

virtual void GNEDemandElement::selectAttributeCarrier ( bool  changeFlag = true)
pure virtual

◆ 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 GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, GNEStop, and GNEVehicleType.

◆ 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 GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, GNEStop, and GNEVehicleType.

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

◆ setEnabledAttribute()

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

◆ setMicrosimID()

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

◆ sortChildAdditionals()

◆ sortChildDemandElements()

void GNEHierarchicalChildElements::sortChildDemandElements ( )
inherited

◆ splitEdgeGeometry()

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

split geometry

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

◆ startGeometryMoving()

virtual void GNEDemandElement::startGeometryMoving ( )
pure virtual

◆ unreferenced()

◆ unselectAttributeCarrier()

virtual void GNEDemandElement::unselectAttributeCarrier ( bool  changeFlag = true)
pure virtual

unselect attribute carrier using GUIGlobalSelection

Implements GNEAttributeCarrier.

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

Referenced by GNENet::deleteDemandElement().

◆ updateChildConnections()

void GNEHierarchicalChildElements::updateChildConnections ( )
inherited

◆ updateGeometry()

◆ updateParentAdditional()

void GNEHierarchicalChildElements::updateParentAdditional ( )
virtualinherited

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

Reimplemented in GNETAZ, and GNEDetectorE3.

Definition at line 450 of file GNEHierarchicalChildElements.cpp.

Referenced by GNEHierarchicalChildElements::addChildAdditional(), and GNEHierarchicalChildElements::removeChildAdditional().

◆ updateParentDemandElement()

void GNEHierarchicalChildElements::updateParentDemandElement ( )
virtualinherited

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

Definition at line 456 of file GNEHierarchicalChildElements.cpp.

◆ updatePartialGeometry()

virtual void GNEDemandElement::updatePartialGeometry ( const GNEEdge edge)
pure virtual

partial update pre-computed geometry information

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

Referenced by GNEBusStop::updateGeometry(), and GNEStop::updatePartialGeometry().

◆ 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 GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, GNEStop, and GNEVehicleType.

Field Documentation

◆ dummyTagProperty

GNEAttributeCarrier::TagProperties GNEAttributeCarrier::dummyTagProperty
staticprotectedinherited

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

Definition at line 791 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 601 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 595 of file GNEAttributeCarrier.h.

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

◆ FEATURE_LOADED

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

Definition at line 592 of file GNEAttributeCarrier.h.

◆ FEATURE_MODIFIED

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

feature has been manually modified (implies approval)

Definition at line 598 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 277 of file GUIGlObject.h.

◆ INVALID_ID

◆ INVALID_POSITION

const double GNEAttributeCarrier::INVALID_POSITION
staticinherited

invalid double position

Definition at line 608 of file GNEAttributeCarrier.h.

Referenced by GNEAdditionalHandler::parseAndBuildPOI().

◆ MAXNUMBEROFATTRIBUTES

const size_t GNEAttributeCarrier::MAXNUMBEROFATTRIBUTES = 128
staticinherited

◆ myAC

◆ myChildAdditionals

◆ myChildConnections

◆ myChildDemandElements

◆ myChildEdges

std::vector<GNEEdge*> GNEHierarchicalChildElements::myChildEdges
privateinherited

◆ myChildLanes

std::vector<GNELane*> GNEHierarchicalChildElements::myChildLanes
privateinherited

◆ myChildShapes

std::vector<GNEShape*> GNEHierarchicalChildElements::myChildShapes
privateinherited

◆ myCount

int GNEReferenceCounter::myCount
privateinherited

◆ myDemandElementGeometry

GNEGeometry::Geometry GNEDemandElement::myDemandElementGeometry
protected

◆ myDemandElementSegmentGeometry

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 260 of file GUIGlObject.h.

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

◆ myGlID

GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 251 of file GUIGlObject.h.

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

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 254 of file GUIGlObject.h.

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

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 257 of file GUIGlObject.h.

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

◆ myParamWindows

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

Parameter table windows which refer to this object.

Definition at line 263 of file GUIGlObject.h.

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

◆ myParentAdditionals

std::vector<GNEAdditional*> GNEHierarchicalParentElements::myParentAdditionals
privateinherited

◆ myParentConnections

GNEGeometry::ParentConnections GNEHierarchicalParentElements::myParentConnections
protectedinherited

variable ParentConnections

Definition at line 233 of file GNEHierarchicalParentElements.h.

◆ myParentDemandElements

std::vector<GNEDemandElement*> GNEHierarchicalParentElements::myParentDemandElements
privateinherited

◆ myParentEdges

◆ myParentLanes

◆ myParentShapes

std::vector<GNEShape*> GNEHierarchicalParentElements::myParentShapes
privateinherited

◆ myRouteCalculatorInstance

GNEDemandElement::RouteCalculator * GNEDemandElement::myRouteCalculatorInstance = nullptr
staticprivate

◆ myRouteEdges

std::vector<GNEEdge*> GNEHierarchicalParentElements::myRouteEdges
privateinherited

list of edges used in Flow/Trips/PersonTrips

Definition at line 240 of file GNEHierarchicalParentElements.h.

Referenced by GNEHierarchicalParentElements::getPathEdges(), and GNEHierarchicalParentElements::replacePathEdges().

◆ mySelected

◆ mySortedChildDemandElementsByType

std::map<SumoXMLTag, std::set<GNEDemandElement*> > GNEHierarchicalChildElements::mySortedChildDemandElementsByType
privateinherited

◆ myTagProperties

◆ myTagProperty

const TagProperties& GNEAttributeCarrier::myTagProperty
protectedinherited

the xml tag to which this attribute carrier corresponds

Definition at line 785 of file GNEAttributeCarrier.h.

Referenced by GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::TagProperties::canBeReparent(), GNEAttributeCarrier::TagProperties::canBeSortedManually(), GNEAttributeCarrier::TagProperties::canBlockMovement(), GNEAttributeCarrier::TagProperties::canBlockShape(), GNEAttributeCarrier::TagProperties::canCenterCameraAfterCreation(), GNEAttributeCarrier::TagProperties::canCloseShape(), GNEAttributeCarrier::TagProperties::canMaskStartEndPos(), GNEAttributeCarrier::TagProperties::canMaskXYZPositions(), GNEAttributeCarrier::TagProperties::canWriteChildrenSeparate(), GNEAdditional::changeAdditionalID(), changeDemandElementID(), GNERide::computePath(), GNEPersonTrip::computePath(), GNEWalk::computePath(), GNEVehicle::computePath(), GNEDetectorEntryExit::drawGL(), GNEDetectorE2::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEStop::enableAttribute(), GNEAdditional::endGeometryMoving(), GNEAttributeCarrier::getAlternativeValueForDisabledAttributes(), GNEVehicleType::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEPerson::getBegin(), GNEVehicle::getBegin(), GNEStop::getColor(), GNEWalk::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), getFirstAllowedVehicleLane(), GNENetElement::getHierarchyName(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEAttributeCarrier::getIcon(), getLastAllowedVehicleLane(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), getParameterWindow(), GNEVehicle::getParentName(), GNENetElement::getPopUpID(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), getPopUpMenu(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::TagProperties::hasDialog(), GNEAttributeCarrier::TagProperties::hasGEOPosition(), GNEAttributeCarrier::TagProperties::hasGEOShape(), GNEAttributeCarrier::TagProperties::hasMinimumNumberOfChildren(), GNEAttributeCarrier::TagProperties::hasParameters(), GNEAttributeCarrier::TagProperties::hasParent(), GNEAttributeCarrier::TagProperties::hasTagSynonym(), GNERide::invalidatePath(), GNEPersonTrip::invalidatePath(), GNEWalk::invalidatePath(), GNEVehicle::invalidatePath(), GNEStop::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEAttributeCarrier::TagProperties::isDrawable(), GNEAttributeCarrier::TagProperties::isPlacedInRTree(), GNEAttributeCarrier::TagProperties::isSelectable(), GNEPersonTrip::isValid(), GNEAdditional::isValidAdditionalID(), isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEVehicleType::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEAdditional::setDefaultValues(), GNEDetector::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNEAdditional::startGeometryMoving(), GNEWalk::updateGeometry(), GNEAdditional::writeAdditional(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ myViewNet

GNEViewNet* GNEDemandElement::myViewNet
protected

The GNEViewNet this demand element element belongs.

Definition at line 376 of file GNEDemandElement.h.

Referenced by changeDemandElementID(), GNEStop::commitGeometryMoving(), GNERide::commitGeometryMoving(), GNEPersonTrip::commitGeometryMoving(), GNEWalk::commitGeometryMoving(), GNEStop::disableAttribute(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), drawUsingSelectColor(), GNEStop::enableAttribute(), GNEPerson::enableAttribute(), GNEVehicle::enableAttribute(), generateChildID(), GNEStop::getColor(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEVehicleType::getParentName(), GNERide::getParentName(), GNEPersonTrip::getParentName(), GNEWalk::getParentName(), GNERoute::getParentName(), GNEPerson::getParentName(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEVehicle::getPopUpMenu(), getPopUpMenu(), getViewNet(), GNEVehicleType::isValid(), GNEStop::isValid(), GNERide::isValid(), GNEPersonTrip::isValid(), GNEWalk::isValid(), GNERoute::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), isValidDemandElementID(), GNEStop::moveGeometry(), GNERide::moveGeometry(), GNEPersonTrip::moveGeometry(), GNEWalk::moveGeometry(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEVehicleType::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GNEVehicleType::setAttribute(), GNEStop::setAttribute(), GNERide::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), GNERoute::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVehicle::setColor(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEVehicleType::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), and GNEVehicle::unselectAttributeCarrier().

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 68 of file GUIGlObject.h.

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


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