Eclipse SUMO - Simulation of Urban MObility
GNEVehicleType Class Reference

#include <GNEVehicleType.h>

Inheritance diagram for GNEVehicleType:
Collaboration diagram for GNEVehicleType:

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_NOTZERO = 1 << 9, ATTRPROPERTY_UNIQUE = 1 << 10, ATTRPROPERTY_FILENAME = 1 << 11,
  ATTRPROPERTY_NONEDITABLE = 1 << 12, ATTRPROPERTY_DISCRETE = 1 << 13, ATTRPROPERTY_PROBABILITY = 1 << 14, ATTRPROPERTY_ANGLE = 1 << 15,
  ATTRPROPERTY_LIST = 1 << 16, ATTRPROPERTY_SECUENCIAL = 1 << 17, ATTRPROPERTY_WRITEXMLOPTIONAL = 1 << 18, ATTRPROPERTY_DEFAULTVALUESTATIC = 1 << 19,
  ATTRPROPERTY_DEFAULTVALUEMUTABLE = 1 << 20, ATTRPROPERTY_COMBINABLE = 1 << 21, ATTRPROPERTY_SYNONYM = 1 << 22, ATTRPROPERTY_RANGE = 1 << 23,
  ATTRPROPERTY_EXTENDED = 1 << 24, ATTRPROPERTY_UPDATEGEOMETRY = 1 << 25, ATTRPROPERTY_OPTIONAL = 1 << 26, ATTRPROPERTY_COMPLEX = 1 << 27,
  ATTRPROPERTY_ENABLITABLE = 1 << 28
}
 struct with the tag Properties More...
 
typedef std::map< SumoXMLAttr, std::string > SubParams
 sub-model parameters 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_NOGENERICPARAMETERS = 1 << 16, TAGPROPERTY_RTREE = 1 << 17, TAGPROPERTY_SORTINGCHILDREN = 1 << 18
}
 
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 clearParameter ()
 Clears the parameter map. More...
 
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...
 
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...
 
double getCFParam (const SumoXMLAttr attr, const double defaultValue) const
 Returns the named value from the map, or the default if it is not contained there. More...
 
std::string getCFParamString (const SumoXMLAttr attr, const std::string defaultValue) const
 Returns the named value from the map, or the default if it is not contained there. 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 DemandElementGeometrygetDemandElementGeometry () const
 get demand element geometry More...
 
const DemandElementSegmentGeometrygetDemandElementSegmentGeometry () const
 get demand element segment geometry More...
 
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double. More...
 
FXIcon * getIcon () const
 get FXIcon associated to this AC More...
 
const std::string getID () const
 function to support debugging More...
 
double getJMParam (const SumoXMLAttr attr, const double defaultValue) const
 Returns the named value from the map, or the default if it is not contained there. More...
 
std::string getJMParamString (const SumoXMLAttr attr, const std::string defaultValue) const
 Returns the named value from the map, or the default if it is not contained there. More...
 
double getLCParam (const SumoXMLAttr attr, const double defaultValue) const
 Returns the named value from the map, or the default if it is not contained there. More...
 
const SubParamsgetLCParams () const
 Returns the LC parameter. More...
 
std::string getLCParamString (const SumoXMLAttr attr, const std::string &defaultValue) const
 Returns the named value from the map, or the default if it is not contained there. More...
 
const std::string getParameter (const std::string &key, const std::string &defaultValue="") const
 Returns the value for a given key. More...
 
const std::map< std::string, std::string > & getParametersMap () const
 Returns the inner key/value map. 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...
 
 GNEVehicleType (GNEViewNet *viewNet, const std::string &vTypeID, const SUMOVehicleClass &defaultVClass, SumoXMLTag tag)
 constructor for default VTypes More...
 
 GNEVehicleType (GNEViewNet *viewNet, const SUMOVTypeParameter &vTypeParameter, SumoXMLTag tag)
 constructor More...
 
 GNEVehicleType (GNEViewNet *viewNet, const std::string &vTypeID, GNEVehicleType *vTypeOriginal)
 copy constructor More...
 
void incRef (const std::string &debugMsg="")
 Increarse reference. More...
 
bool knowsParameter (const std::string &key) const
 Returns whether the parameter is known. More...
 
void markSegmentGeometryDeprecated ()
 mark demand element segment geometry as deprecated More...
 
virtual void openDemandElementDialog ()
 open DemandElement Dialog More...
 
template<>
int parse (const std::string &string)
 
template<>
double parse (const std::string &string)
 
template<>
SUMOTime parse (const std::string &string)
 
template<>
bool parse (const std::string &string)
 
template<>
std::string parse (const std::string &string)
 
template<>
SUMOVehicleClass parse (const std::string &string)
 
template<>
RGBColor parse (const std::string &string)
 
template<>
Position parse (const std::string &string)
 
template<>
PositionVector parse (const std::string &string)
 
template<>
SUMOVehicleShape parse (const std::string &string)
 
template<>
std::vector< std::string > parse (const std::string &string)
 
template<>
std::set< std::string > parse (const std::string &string)
 
template<>
std::vector< int > parse (const std::string &string)
 
template<>
std::vector< double > parse (const std::string &string)
 
template<>
std::vector< bool > parse (const std::string &string)
 
template<>
std::vector< GNEEdge * > parse (GNENet *net, const std::string &value)
 
template<>
std::vector< GNELane * > 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)
 
void setParameter (const std::string &key, const std::string &value)
 Sets a parameter. More...
 
bool unreferenced ()
 check if object ins't referenced More...
 
void unsetParameter (const std::string &key)
 Removes a parameter. More...
 
virtual void updateAdditionalParent ()
 update parent after add or remove a child (can be reimplemented, for example used for statistics) More...
 
void updateChildConnections ()
 update child connections More...
 
virtual void updateDemandElementParent ()
 update parent after add or remove a child (can be reimplemented, for example used for statistics) More...
 
void updateParameter (const std::map< std::string, std::string > &mapArg)
 Adds or updates all given parameters from the map. More...
 
bool wasSet (int what) const
 Returns whether the given parameter was set. More...
 
void write (OutputDevice &dev) const
 Writes the vtype. More...
 
void writeDemandElement (OutputDevice &device) const
 writte demand element element into a xml file More...
 
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice More...
 
 ~GNEVehicleType ()
 destructor More...
 
members and functions relative to elements common to all demand elements

obtain from edge of this demand element

GNEEdgegetFromEdge () const
 
GNEEdgegetToEdge () const
 obtain to edge of this demand element More...
 
SUMOVehicleClass getVClass () const
 obtain VClass related with this demand element More...
 
const RGBColorgetColor () const
 get color More...
 
void compute ()
 compute demand element More...
 
Functions related with geometry of element

begin geometry movement

void startGeometryMoving ()
 
void endGeometryMoving ()
 end geometry movement More...
 
void moveGeometry (const Position &offset)
 change the position of the element geometry without saving in undoList More...
 
void commitGeometryMoving (GNEUndoList *undoList)
 commit geometry changes in the attributes of an element after use of moveGeometry(...) More...
 
void updateGeometry ()
 update pre-computed geometry information More...
 
Position getPositionInView () const
 Returns position of additional in view. More...
 
inherited from GUIGlObject
std::string getParentName () const
 Returns the name of the parent object. More...
 
Boundary getCenteringBoundary () const
 Returns the boundary to which the view shall be centered in order to show the object. More...
 
void drawGL (const GUIVisualizationSettings &s) const
 Draws the object. More...
 
void selectAttributeCarrier (bool changeFlag=true)
 inherited from GNEAttributeCarrier More...
 
void unselectAttributeCarrier (bool changeFlag=true)
 unselect attribute carrier using GUIGlobalSelection More...
 
std::string getAttribute (SumoXMLAttr key) const
 
double getAttributeDouble (SumoXMLAttr key) const
 
void setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
 method for setting the attribute and letting the object perform demand element changes More...
 
bool isValid (SumoXMLAttr key, const std::string &value)
 method for checking if the key and their conrrespond attribute are valids More...
 
void enableAttribute (SumoXMLAttr key, GNEUndoList *undoList)
 
bool isAttributeEnabled (SumoXMLAttr key) const
 
std::string getPopUpID () const
 get PopPup ID (Used in AC Hierarchy) More...
 
std::string getHierarchyName () const
 get Hierarchy Name (Used in AC Hierarchy) More...
 
Functions related with Generic Parameters

return generic parameters in string format

std::string getGenericParametersStr () const
 return generic parameters in string format More...
 
std::vector< std::pair< std::string, std::string > > getGenericParameters () const
 return generic parameters as vector of pairs format More...
 
void setGenericParametersStr (const std::string &value)
 set generic parameters in string format More...
 
members and functions relative to write demand elements into XML
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...
 
inherited from GNEAttributeCarrier

select attribute carrier using GUIGlobalSelection

bool isAttributeCarrierSelected () const
 check if attribute carrier is selected More...
 
bool drawUsingSelectColor () const
 check if attribute carrier must be drawn using selecting color. More...
 
Atomar getter methods

Returns the full name appearing in the tool tip

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

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

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

add edge parent

void addEdgeParent (GNEEdge *edge)
 
void removeEdgeParent (GNEEdge *edge)
 remove edge parent More...
 
const std::vector< GNEEdge * > & getEdgeParents () const
 get edge parents More...
 
members and functions related to lane parents

add lane parent

void addLaneParent (GNELane *lane)
 
void removeLaneParent (GNELane *lane)
 remove lane parent More...
 
const std::vector< GNELane * > & getLaneParents () const
 get lanes of VSS More...
 
members and functions related to shape parents

add shape parent

void addShapeParent (GNEShape *shape)
 
void removeShapeParent (GNEShape *shape)
 remove shape parent More...
 
const std::vector< GNEShape * > & getShapeParents () const
 get shapes of VSS More...
 
members and functions related to additional parents

add additional parent to this additional

void addAdditionalParent (GNEAdditional *additional)
 
void removeAdditionalParent (GNEAdditional *additional)
 remove additional parent from this additional More...
 
const std::vector< GNEAdditional * > & getAdditionalParents () const
 return vector of additionals that have as Parent this edge (For example, Calibrators) More...
 
members and functions related to demand element parents

add demand element parent to this demand element

void addDemandElementParent (GNEDemandElement *demandElement)
 
void removeDemandElementParent (GNEDemandElement *demandElement)
 remove demand element parent from this demand element More...
 
const std::vector< GNEDemandElement * > & getDemandElementParents () const
 return vector of demand elements that have as Parent this edge (For example, Calibrators) More...
 
members and functions related to edge children

add edge child

void addEdgeChild (GNEEdge *edge)
 
void removeEdgeChild (GNEEdge *edge)
 remove edge child More...
 
const std::vector< GNEEdge * > & getEdgeChildren () const
 get edge chidls More...
 
members and functions related to lane children

add lane child

void addLaneChild (GNELane *lane)
 
void removeLaneChild (GNELane *lane)
 remove lane child More...
 
const std::vector< GNELane * > & getLaneChildren () const
 get lanes of VSS More...
 
members and functions related to shape children

add shape child

void addShapeChild (GNEShape *shape)
 
void removeShapeChild (GNEShape *shape)
 remove shape child More...
 
const std::vector< GNEShape * > & getShapeChildren () const
 get shapes of VSS More...
 
members and functions related to additional children

add additional child to this additional

void addAdditionalChild (GNEAdditional *additional)
 
void removeAdditionalChild (GNEAdditional *additional)
 remove additional child from this additional More...
 
const std::vector< GNEAdditional * > & getAdditionalChildren () const
 return vector of additionals that have as Parent this edge (For example, Calibrators) More...
 
void sortAdditionalChildren ()
 sort children (used by Rerouters, VSS, TAZs...) More...
 
bool checkAdditionalChildrenOverlapping () const
 check if children are overlapped (Used by Rerouters) More...
 
members and functions related to demand element children

add demand element child to this demand element

void addDemandElementChild (GNEDemandElement *demandElement)
 
void removeDemandElementChild (GNEDemandElement *demandElement)
 remove demand element child from this demand element More...
 
const std::vector< GNEDemandElement * > & getDemandElementChildren () const
 return vector of demand elements that have as Parent this edge (For example, Calibrators) More...
 
const std::set< GNEDemandElement * > & getSortedDemandElementChildrenByType (SumoXMLTag tag) const
 return vector of demand elements that have as Parent this edge (For example, Calibrators) More...
 
void sortDemandElementChildren ()
 sort children (used by Rerouters, VSS, TAZs...) More...
 
bool checkDemandElementChildrenOverlapping () const
 check if children are overlapped (Used by Rerouters) More...
 
GNEDemandElementgetPreviousemandElement (const GNEDemandElement *demandElement) const
 get previous demand element to the given demand element More...
 
GNEDemandElementgetNextDemandElement (const GNEDemandElement *demandElement) const
 get next demand element to the given demand element 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 SUMOVTypeParametergetDefault ()
 return the default parameters, this is a function due to the http://www.parashift.com/c++-faq/static-init-order.html More...
 
static double getDefaultAccel (const SUMOVehicleClass vc=SVC_IGNORING)
 Returns the default acceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model. More...
 
static double getDefaultDecel (const SUMOVehicleClass vc=SVC_IGNORING)
 Returns the default deceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model. More...
 
static double getDefaultEmergencyDecel (const SUMOVehicleClass vc, double decel, double defaultOption)
 Returns the default emergency deceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model. More...
 
static double getDefaultImperfection (const SUMOVehicleClass vc=SVC_IGNORING)
 Returns the default driver's imperfection (sigma or epsilon in Krauss' model) for the given vehicle class This needs to be a function because the actual value is stored in the car following model. More...
 
static const TagPropertiesgetTagProperties (SumoXMLTag tag)
 get Tag Properties More...
 
static bool isGenericParametersValid (const std::string &value)
 check if given string can be parsed to a map/list of generic parameters 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...
 
static void overwriteVType (GNEDemandElement *vType, SUMOVTypeParameter *newVTypeParameter, GNEUndoList *undoList)
 overwrite all values of GNEVehicleType with a SUMOVTypeParameter 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...
 
members and functions relative to RouteCalculator isntance
static void createRouteCalculatorInstance (GNENet *net)
 create instance of RouteCalculator More...
 
static void deleteRouteCalculatorInstance ()
 delete instance of RouteCalculator More...
 
static RouteCalculatorgetRouteCalculatorInstance ()
 obtain instance of RouteCalculator More...
 

Data Fields

SUMOTime actionStepLength
 The vehicle type's default actionStepLength [ms], i.e. the interval between two control actions. The default value of 0ms. induces the value to be traced from MSGlobals::gActionStepLength. More...
 
SUMOTime boardingDuration
 The time a person needs to board the vehicle. More...
 
double carriageGap
 
double carriageLength
 the length of train carriages and locomotive More...
 
SumoXMLTag cfModel
 The enum-representation of the car-following model to use. More...
 
SubParams cfParameter
 Car-following parameter. More...
 
RGBColor color
 The color. More...
 
int containerCapacity
 The container capacity of the vehicle. More...
 
double defaultProbability
 The probability when being added to a distribution without an explicit probability. More...
 
SUMOEmissionClass emissionClass
 The emission class of this vehicle. More...
 
bool hasDriverState
 Whether vehicles of this type are equipped with a driver (i.e. MSDriverState)) More...
 
std::string id
 The vehicle type's id. More...
 
double impatience
 The vehicle's impatience (willingness to obstruct others) More...
 
SubParams jmParameter
 Junction-model parameter. More...
 
LateralAlignment latAlignment
 The vehicles desired lateral alignment. More...
 
LaneChangeModel lcModel
 The lane-change model to use. More...
 
SubParams lcParameter
 Lane-changing parameter. More...
 
double length
 The physical vehicle length. More...
 
SUMOTime loadingDuration
 The time a container needs to get loaded on the vehicle. More...
 
double locomotiveLength
 
double maxSpeed
 The vehicle type's maximum speed [m/s]. More...
 
double maxSpeedLat
 The vehicle type's maximum lateral speed [m/s]. More...
 
double minGap
 This class' free space in front of the vehicle itself. More...
 
double minGapLat
 The vehicle type's minimum lateral gap [m]. More...
 
bool onlyReferenced
 Information whether this is a type-stub, being only referenced but not defined (needed by routers) More...
 
int parametersSet
 Information for the router which parameter were set. More...
 
int personCapacity
 The person capacity of the vehicle. More...
 
bool saved
 Information whether this type was already saved (needed by routers) More...
 
Distribution_Parameterized speedFactor
 The factor by which the maximum speed may deviate from the allowed max speed on the street. More...
 
SUMOVehicleClass vehicleClass
 The vehicle's class. More...
 
Values for drawing this class' vehicles
double width
 This class' width. More...
 
double height
 This class' height. More...
 
SUMOVehicleShape shape
 This class' shape. More...
 
std::string osgFile
 3D model file for this class More...
 
std::string imgFile
 Image file for this class. More...
 

Static Public Attributes

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

feature is still unchanged after being loaded (implies approval)

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

Protected Member Functions

void buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
void buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
void changeEdgeChildren (GNEAdditional *elementChild, const std::string &newEdgeIDs)
 change edge children of an additional More...
 
void changeLaneChildren (GNEAdditional *elementChild, const std::string &newEdgeIDs)
 change edge children of an additional More...
 
void initRailVisualizationParameters ()
 init Rail Visualization Parameters More...
 
Functions relative to change values in setAttribute(...)
const std::string & getDemandElementID () const
 returns DemandElement ID More...
 
bool isValidDemandElementID (const std::string &newID) const
 check if a new demand element ID is valid More...
 
void changeDemandElementID (const std::string &newID)
 change ID of demand element More...
 
helper methods for building popup-menus
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header. More...
 
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object. More...
 
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard. More...
 
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object. More...
 
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window. More...
 
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window. More...
 
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More...
 
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window. More...
 
members and functions relative to changing parents
void changeEdgeParents (GNEShape *elementChild, const std::string &newEdgeIDs)
 change edge parents of a shape More...
 
void changeEdgeParents (GNEAdditional *elementChild, const std::string &newEdgeIDs)
 change edge parents of an additional More...
 
void changeEdgeParents (GNEDemandElement *elementChild, const std::string &newEdgeIDs)
 change edge parents of a demandElement More...
 
void changeEdgeParents (GNEDemandElement *elementChild, const std::vector< GNEEdge *> &newEdges)
 change edge parents of a demandElement (GNEEdge version) More...
 
void changeLaneParents (GNEShape *elementChild, const std::string &newLaneIDs)
 change edge parents of a shape More...
 
void changeLaneParents (GNEAdditional *elementChild, const std::string &newLaneIDs)
 change edge parents of an additional More...
 
void changeLaneParents (GNEDemandElement *elementChild, const std::string &newLaneIDs)
 change edge parents of a demandElement More...
 
void changeAdditionalParent (GNEShape *shapeTobeChanged, const std::string &newAdditionalParentID, int additionalParentIndex)
 change additional parent of a shape More...
 
void changeAdditionalParent (GNEAdditional *additionalTobeChanged, const std::string &newAdditionalParentID, int additionalParentIndex)
 change additional parent of an additional More...
 
void changeAdditionalParent (GNEDemandElement *demandElementTobeChanged, const std::string &newAdditionalParentID, int additionalParentIndex)
 change additional parent of a demand element More...
 
void changeDemandElementParent (GNEShape *shapeTobeChanged, const std::string &newDemandElementParentID, int demandElementParentIndex)
 change first demand element parent of a shape More...
 
void changeDemandElementParent (GNEAdditional *additionalTobeChanged, const std::string &newDemandElementParentID, int demandElementParentIndex)
 change first demand element parent of an additional More...
 
void changeDemandElementParent (GNEDemandElement *demandElementTobeChanged, const std::string &newDemandElementParentID, int demandElementParentIndex)
 change first demand element parent of demandElement More...
 

Protected Attributes

ChildConnections myChildConnections
 variable ChildConnections More...
 
bool myDefaultVehicleType
 flag to check if this GNEVehicleType is a default vehicle Type (For Vehicles, Pedestrians...) More...
 
bool myDefaultVehicleTypeModified
 flag to check if this default GNEVehicleType was modified More...
 
DemandElementGeometry myDemandElementGeometry
 demand element geometry More...
 
DemandElementSegmentGeometry myDemandElementSegmentGeometry
 demand element segment geometry More...
 
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

 GNEVehicleType (GNEVehicleType *)=delete
 Invalidated copy constructor. More...
 
GNEVehicleTypeoperator= (GNEVehicleType *)=delete
 Invalidated assignment operator. More...
 
void setAttribute (SumoXMLAttr key, const std::string &value)
 method for setting the attribute and nothing else More...
 
void setEnabledAttribute (const int enabledAttributes)
 method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute) More...
 
void updateDefaultVClassAttributes (const VClassDefaultValues &defaultValues)
 function called after set new VClass More...
 

Detailed Description

vehicleType vehicleType used by GNECalibrators

Definition at line 37 of file GNEVehicleType.h.

Member Typedef Documentation

◆ SubParams

typedef std::map<SumoXMLAttr, std::string> SUMOVTypeParameter::SubParams
inherited

sub-model parameters

Definition at line 190 of file SUMOVTypeParameter.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_NOTZERO 
ATTRPROPERTY_UNIQUE 
ATTRPROPERTY_FILENAME 
ATTRPROPERTY_NONEDITABLE 
ATTRPROPERTY_DISCRETE 
ATTRPROPERTY_PROBABILITY 
ATTRPROPERTY_ANGLE 
ATTRPROPERTY_LIST 
ATTRPROPERTY_SECUENCIAL 
ATTRPROPERTY_WRITEXMLOPTIONAL 
ATTRPROPERTY_DEFAULTVALUESTATIC 
ATTRPROPERTY_DEFAULTVALUEMUTABLE 
ATTRPROPERTY_COMBINABLE 
ATTRPROPERTY_SYNONYM 
ATTRPROPERTY_RANGE 
ATTRPROPERTY_EXTENDED 
ATTRPROPERTY_UPDATEGEOMETRY 
ATTRPROPERTY_OPTIONAL 
ATTRPROPERTY_COMPLEX 
ATTRPROPERTY_ENABLITABLE 

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_NOGENERICPARAMETERS 
TAGPROPERTY_RTREE 
TAGPROPERTY_SORTINGCHILDREN 

Definition at line 301 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 281 of file GNEAttributeCarrier.h.

Constructor & Destructor Documentation

◆ GNEVehicleType() [1/4]

GNEVehicleType::GNEVehicleType ( GNEViewNet viewNet,
const std::string &  vTypeID,
const SUMOVehicleClass defaultVClass,
SumoXMLTag  tag 
)

◆ GNEVehicleType() [2/4]

◆ GNEVehicleType() [3/4]

GNEVehicleType::GNEVehicleType ( GNEViewNet viewNet,
const std::string &  vTypeID,
GNEVehicleType vTypeOriginal 
)

◆ ~GNEVehicleType()

GNEVehicleType::~GNEVehicleType ( )

destructor

Definition at line 80 of file GNEVehicleType.cpp.

◆ GNEVehicleType() [4/4]

GNEVehicleType::GNEVehicleType ( GNEVehicleType )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addAdditionalChild()

void GNEHierarchicalElementChildren::addAdditionalChild ( GNEAdditional additional)
inherited

◆ addAdditionalParent()

void GNEHierarchicalElementParents::addAdditionalParent ( GNEAdditional additional)
inherited

◆ addDemandElementChild()

◆ addDemandElementParent()

void GNEHierarchicalElementParents::addDemandElementParent ( GNEDemandElement demandElement)
inherited

◆ addEdgeChild()

void GNEHierarchicalElementChildren::addEdgeChild ( GNEEdge edge)
inherited

◆ addEdgeParent()

◆ addLaneChild()

◆ addLaneParent()

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

◆ addShapeChild()

◆ addShapeParent()

◆ allowedTags()

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

get tags of all editable element types

Definition at line 1214 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()

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

◆ buildPositionCopyEntry()

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

◆ 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

Definition at line 279 of file GUIGlObject.cpp.

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

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

◆ buildShowParamsPopupEntry()

◆ buildShowTypeParamsPopupEntry()

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

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

Parameters

Definition at line 258 of file GUIGlObject.cpp.

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

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

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

References GNEAttributeCarrier::lanesConsecutives(), GNEAttributeCarrier::parse(), GNEAttributeCarrier::parseIDs(), and WRITE_WARNING.

◆ changeAdditionalParent() [1/3]

void GNEHierarchicalElementParents::changeAdditionalParent ( GNEShape shapeTobeChanged,
const std::string &  newAdditionalParentID,
int  additionalParentIndex 
)
protectedinherited

◆ changeAdditionalParent() [2/3]

void GNEHierarchicalElementParents::changeAdditionalParent ( GNEAdditional additionalTobeChanged,
const std::string &  newAdditionalParentID,
int  additionalParentIndex 
)
protectedinherited

change additional parent of an additional

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

Definition at line 497 of file GNEHierarchicalElementParents.cpp.

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

◆ changeAdditionalParent() [3/3]

void GNEHierarchicalElementParents::changeAdditionalParent ( GNEDemandElement demandElementTobeChanged,
const std::string &  newAdditionalParentID,
int  additionalParentIndex 
)
protectedinherited

change additional parent of a demand element

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

Definition at line 514 of file GNEHierarchicalElementParents.cpp.

References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEDemandElement::getViewNet(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myAdditionalParents, GNENet::retrieveAdditional(), toString(), and GNEDemandElement::updateGeometry().

◆ changeDemandElementID()

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

◆ changeDemandElementParent() [1/3]

void GNEHierarchicalElementParents::changeDemandElementParent ( GNEShape shapeTobeChanged,
const std::string &  newDemandElementParentID,
int  demandElementParentIndex 
)
protectedinherited

change first demand element parent of a shape

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

Definition at line 531 of file GNEHierarchicalElementParents.cpp.

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

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

◆ changeDemandElementParent() [2/3]

void GNEHierarchicalElementParents::changeDemandElementParent ( GNEAdditional additionalTobeChanged,
const std::string &  newDemandElementParentID,
int  demandElementParentIndex 
)
protectedinherited

change first demand element parent of an additional

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

Definition at line 548 of file GNEHierarchicalElementParents.cpp.

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

◆ changeDemandElementParent() [3/3]

void GNEHierarchicalElementParents::changeDemandElementParent ( GNEDemandElement demandElementTobeChanged,
const std::string &  newDemandElementParentID,
int  demandElementParentIndex 
)
protectedinherited

change first demand element parent of demandElement

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

Definition at line 565 of file GNEHierarchicalElementParents.cpp.

References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEDemandElement::getViewNet(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myDemandElementParents, GNENet::retrieveDemandElement(), toString(), and GNEDemandElement::updateGeometry().

◆ changeEdgeChildren()

void GNEHierarchicalElementChildren::changeEdgeChildren ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ changeEdgeParents() [1/4]

void GNEHierarchicalElementParents::changeEdgeParents ( GNEShape elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ changeEdgeParents() [2/4]

void GNEHierarchicalElementParents::changeEdgeParents ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

change edge parents of an additional

Definition at line 360 of file GNEHierarchicalElementParents.cpp.

References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalElementParents::myEdgeParents.

◆ changeEdgeParents() [3/4]

void GNEHierarchicalElementParents::changeEdgeParents ( GNEDemandElement elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

change edge parents of a demandElement

Definition at line 380 of file GNEHierarchicalElementParents.cpp.

References GNEViewNet::getNet(), GNEDemandElement::getViewNet(), and GNEHierarchicalElementParents::myEdgeParents.

◆ changeEdgeParents() [4/4]

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

change edge parents of a demandElement (GNEEdge version)

Definition at line 400 of file GNEHierarchicalElementParents.cpp.

References GNEHierarchicalElementParents::myEdgeParents.

◆ changeLaneChildren()

void GNEHierarchicalElementChildren::changeLaneChildren ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ changeLaneParents() [1/3]

◆ changeLaneParents() [2/3]

void GNEHierarchicalElementParents::changeLaneParents ( GNEAdditional elementChild,
const std::string &  newLaneIDs 
)
protectedinherited

change edge parents of an additional

Definition at line 420 of file GNEHierarchicalElementParents.cpp.

References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalElementParents::myLaneParents.

◆ changeLaneParents() [3/3]

void GNEHierarchicalElementParents::changeLaneParents ( GNEDemandElement elementChild,
const std::string &  newLaneIDs 
)
protectedinherited

change edge parents of a demandElement

Definition at line 440 of file GNEHierarchicalElementParents.cpp.

References GNEViewNet::getNet(), GNEDemandElement::getViewNet(), and GNEHierarchicalElementParents::myLaneParents.

◆ checkAdditionalChildrenOverlapping()

bool GNEHierarchicalElementChildren::checkAdditionalChildrenOverlapping ( ) const
inherited

check if children are overlapped (Used by Rerouters)

Definition at line 216 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::myAdditionalChildren, SUMO_ATTR_BEGIN, SUMO_ATTR_END, and SUMO_ATTR_TIME.

Referenced by GNERerouterDialog::onCmdAccept().

◆ checkDemandElementChildrenOverlapping()

bool GNEHierarchicalElementChildren::checkDemandElementChildrenOverlapping ( ) const
inherited

check if children are overlapped (Used by Rerouters)

Definition at line 315 of file GNEHierarchicalElementChildren.cpp.

◆ clearParameter()

◆ commitGeometryMoving()

void GNEVehicleType::commitGeometryMoving ( GNEUndoList undoList)
virtual

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

Parameters
[in]undoListThe undoList on which to register changes

Implements GNEDemandElement.

Definition at line 145 of file GNEVehicleType.cpp.

◆ compute()

void GNEVehicleType::compute ( )
virtual

compute demand element

Implements GNEDemandElement.

Definition at line 121 of file GNEVehicleType.cpp.

◆ createRouteCalculatorInstance()

void GNEDemandElement::createRouteCalculatorInstance ( GNENet net)
staticinherited

create instance of RouteCalculator

Definition at line 414 of file GNEDemandElement.cpp.

References GNEDemandElement::myRouteCalculatorInstance.

Referenced by GNENet::setViewNet().

◆ decRef()

◆ deleteRouteCalculatorInstance()

void GNEDemandElement::deleteRouteCalculatorInstance ( )
staticinherited

delete instance of RouteCalculator

Definition at line 424 of file GNEDemandElement.cpp.

References GNEDemandElement::myRouteCalculatorInstance.

Referenced by GNENet::~GNENet().

◆ drawChildConnections()

◆ drawGL()

void GNEVehicleType::drawGL ( const GUIVisualizationSettings s) const
virtual

Draws the object.

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

Implements GNEDemandElement.

Definition at line 176 of file GNEVehicleType.cpp.

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

References UNUSED_PARAMETER.

◆ drawName()

void GUIGlObject::drawName ( const Position pos,
const double  scale,
const GUIVisualizationTextSettings settings,
const double  angle = 0 
) const
inherited

◆ drawUsingSelectColor()

bool GNEDemandElement::drawUsingSelectColor ( ) const
virtualinherited

◆ enableAttribute()

void GNEVehicleType::enableAttribute ( SumoXMLAttr  key,
GNEUndoList undoList 
)
virtual

Implements GNEDemandElement.

Definition at line 800 of file GNEVehicleType.cpp.

◆ endGeometryMoving()

void GNEVehicleType::endGeometryMoving ( )
virtual

end geometry movement

Implements GNEDemandElement.

Definition at line 133 of file GNEVehicleType.cpp.

◆ fixDemandElementProblem()

void GNEDemandElement::fixDemandElementProblem ( )
virtualinherited

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

References GNEAttributeCarrier::getTagStr().

◆ generateChildID()

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

◆ getAdditionalChildren()

const std::vector< GNEAdditional * > & GNEHierarchicalElementChildren::getAdditionalChildren ( ) const
inherited

return vector of additionals that have as Parent this edge (For example, Calibrators)

Definition at line 132 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::myAdditionalChildren.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEEdge::addConnection(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEDetectorE3::checkAdditionalChildRestriction(), 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::GNEVariableSpeedSignStep(), GNEAdditionalHandler::myEndElement(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNECalibratorDialog::onCmdClickedRoute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNETAZFrame::TAZCurrent::refreshTAZEdges(), GNEEdge::removeConnection(), GNENet::replaceIncomingEdge(), GNEEdge::retrieveGNEConnection(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouterInterval::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNERerouter::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNETAZ::updateAdditionalParent(), GNECalibratorDialog::updateFlowTable(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNERerouterDialog::updateIntervalTable(), GNETAZFrame::TAZCommonStatistics::updateStatistics(), GNEVariableSpeedSignDialog::updateTableSteps(), and GNEAdditional::writeAdditional().

◆ getAdditionalParents()

const std::vector< GNEAdditional * > & GNEHierarchicalElementParents::getAdditionalParents ( ) const
inherited

return vector of additionals that have as Parent this edge (For example, Calibrators)

Definition at line 86 of file GNEHierarchicalElementParents.cpp.

References GNEHierarchicalElementParents::myAdditionalParents.

Referenced by GNEPerson::calculatePersonPlanConnectionStop(), GNELane::drawGL(), GNEEdge::drawGL(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEClosingReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNEDetectorEntryExit::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(), GNEClosingReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNERouteProbReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEParkingSpace::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(), GNEVariableSpeedSignStep::GNEVariableSpeedSignStep(), 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(), GNEPerson::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), and GNEWalk::writeDemandElement().

◆ getAttribute()

std::string GNEVehicleType::getAttribute ( SumoXMLAttr  key) const
virtual

Implements GNEDemandElement.

Definition at line 213 of file GNEVehicleType.cpp.

References SUMOVTypeParameter::actionStepLength, SUMOVTypeParameter::boardingDuration, SUMOXMLDefinitions::CarFollowModels, SUMOVTypeParameter::carriageGap, SUMOVTypeParameter::VClassDefaultValues::carriageLength, SUMOVTypeParameter::carriageLength, SUMOVTypeParameter::cfModel, SUMOVTypeParameter::color, SUMOVTypeParameter::VClassDefaultValues::containerCapacity, SUMOVTypeParameter::containerCapacity, DEFAULT_BIKETYPE_ID, DEFAULT_PEDTYPE_ID, DEFAULT_VTYPE_ID, SUMOVTypeParameter::defaultProbability, SUMOVTypeParameter::VClassDefaultValues::emissionClass, SUMOVTypeParameter::emissionClass, SUMOVTypeParameter::getCFParamString(), GNEAttributeCarrier::TagProperties::getDefaultValue(), GNEDemandElement::getDemandElementID(), getGenericParametersStr(), SUMOVTypeParameter::getJMParamString(), SUMOVTypeParameter::getLCParamString(), PollutantsInterface::getName(), Distribution_Parameterized::getParameter(), StringBijection< T >::getString(), GNEAttributeCarrier::getTagStr(), getVehicleShapeName(), GNE_ATTR_DEFAULT_VTYPE, GNE_ATTR_DEFAULT_VTYPE_MODIFIED, GNE_ATTR_GENERIC, SUMOVTypeParameter::hasDriverState, SUMOVTypeParameter::VClassDefaultValues::height, SUMOVTypeParameter::height, SUMOVTypeParameter::imgFile, SUMOVTypeParameter::impatience, SUMOXMLDefinitions::LaneChangeModels, SUMOVTypeParameter::latAlignment, SUMOVTypeParameter::lcModel, SUMOVTypeParameter::VClassDefaultValues::length, SUMOVTypeParameter::length, SUMOVTypeParameter::loadingDuration, SUMOVTypeParameter::VClassDefaultValues::locomotiveLength, SUMOVTypeParameter::locomotiveLength, SUMOVTypeParameter::VClassDefaultValues::maxSpeed, SUMOVTypeParameter::maxSpeed, SUMOVTypeParameter::maxSpeedLat, SUMOVTypeParameter::VClassDefaultValues::minGap, SUMOVTypeParameter::minGap, SUMOVTypeParameter::minGapLat, myDefaultVehicleType, myDefaultVehicleTypeModified, GNEAttributeCarrier::myTagProperty, SUMOVTypeParameter::VClassDefaultValues::osgFile, SUMOVTypeParameter::osgFile, SUMOVTypeParameter::VClassDefaultValues::personCapacity, SUMOVTypeParameter::personCapacity, SUMOVTypeParameter::VClassDefaultValues::shape, SUMOVTypeParameter::shape, SUMOVTypeParameter::VClassDefaultValues::speedFactor, SUMOVTypeParameter::speedFactor, SUMO_ATTR_ACCEL, SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_APPARENTDECEL, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CARRIAGE_GAP, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_CF_IDM_DELTA, SUMO_ATTR_CF_IDM_STEPPING, SUMO_ATTR_CF_IDMM_ADAPT_FACTOR, SUMO_ATTR_CF_IDMM_ADAPT_TIME, SUMO_ATTR_CF_KERNER_PHI, SUMO_ATTR_CF_PWAGNER2009_APPROB, SUMO_ATTR_CF_PWAGNER2009_TAULAST, SUMO_ATTR_CF_WIEDEMANN_ESTIMATION, SUMO_ATTR_CF_WIEDEMANN_SECURITY, SUMO_ATTR_COLLISION_MINGAP_FACTOR, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_DECEL, SUMO_ATTR_EMERGENCYDECEL, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HASDRIVERSTATE, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_JM_CROSSING_GAP, SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME, SUMO_ATTR_JM_DRIVE_AFTER_YELLOW_TIME, SUMO_ATTR_JM_DRIVE_RED_SPEED, SUMO_ATTR_JM_IGNORE_FOE_PROB, SUMO_ATTR_JM_IGNORE_FOE_SPEED, SUMO_ATTR_JM_IGNORE_KEEPCLEAR_TIME, SUMO_ATTR_JM_SIGMA_MINOR, SUMO_ATTR_JM_TIMEGAP_MINOR, SUMO_ATTR_K, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LCA_ACCEL_LAT, SUMO_ATTR_LCA_ASSERTIVE, SUMO_ATTR_LCA_COOPERATIVE_PARAM, SUMO_ATTR_LCA_IMPATIENCE, SUMO_ATTR_LCA_KEEPRIGHT_PARAM, SUMO_ATTR_LCA_LOOKAHEADLEFT, SUMO_ATTR_LCA_MAXSPEEDLATFACTOR, SUMO_ATTR_LCA_MAXSPEEDLATSTANDING, SUMO_ATTR_LCA_OPPOSITE_PARAM, SUMO_ATTR_LCA_OVERTAKE_RIGHT, SUMO_ATTR_LCA_PUSHY, SUMO_ATTR_LCA_PUSHYGAP, SUMO_ATTR_LCA_SPEEDGAIN_PARAM, SUMO_ATTR_LCA_SPEEDGAINRIGHT, SUMO_ATTR_LCA_STRATEGIC_PARAM, SUMO_ATTR_LCA_SUBLANE_PARAM, SUMO_ATTR_LCA_TIME_TO_IMPATIENCE, SUMO_ATTR_LCA_TURN_ALIGNMENT_DISTANCE, 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_SIGMA, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_TAU, SUMO_ATTR_TMP1, SUMO_ATTR_TMP2, SUMO_ATTR_TMP3, SUMO_ATTR_TMP4, SUMO_ATTR_TMP5, SUMO_ATTR_TRAIN_TYPE, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, time2string(), toString(), SUMOVTypeParameter::vehicleClass, VTYPEPARS_ACTIONSTEPLENGTH_SET, VTYPEPARS_BOARDING_DURATION, VTYPEPARS_CAR_FOLLOW_MODEL, VTYPEPARS_CARRIAGE_GAP_SET, VTYPEPARS_CARRIAGE_LENGTH_SET, VTYPEPARS_COLOR_SET, VTYPEPARS_CONTAINER_CAPACITY, VTYPEPARS_EMISSIONCLASS_SET, VTYPEPARS_HASDRIVERSTATE_SET, VTYPEPARS_HEIGHT_SET, VTYPEPARS_IMGFILE_SET, VTYPEPARS_IMPATIENCE_SET, VTYPEPARS_LANE_CHANGE_MODEL_SET, VTYPEPARS_LATALIGNMENT_SET, VTYPEPARS_LENGTH_SET, VTYPEPARS_LOADING_DURATION, VTYPEPARS_LOCOMOTIVE_LENGTH_SET, VTYPEPARS_MAXSPEED_LAT_SET, VTYPEPARS_MAXSPEED_SET, VTYPEPARS_MINGAP_LAT_SET, VTYPEPARS_MINGAP_SET, VTYPEPARS_OSGFILE_SET, VTYPEPARS_PERSON_CAPACITY, VTYPEPARS_PROBABILITY_SET, VTYPEPARS_SHAPE_SET, VTYPEPARS_SPEEDFACTOR_SET, VTYPEPARS_VEHICLECLASS_SET, VTYPEPARS_WIDTH_SET, SUMOVTypeParameter::wasSet(), SUMOVTypeParameter::VClassDefaultValues::width, and SUMOVTypeParameter::width.

Referenced by getHierarchyName(), and setAttribute().

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

References GNEAttributeCarrier::getAttribute().

◆ getBegin()

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

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

References GNEAttributeCarrier::getTagStr().

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

◆ getCenteringBoundary()

Boundary GNEVehicleType::getCenteringBoundary ( ) const
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 GNEDemandElement.

Definition at line 169 of file GNEVehicleType.cpp.

◆ getCFParam()

double SUMOVTypeParameter::getCFParam ( const SumoXMLAttr  attr,
const double  defaultValue 
) const
inherited

Returns the named value from the map, or the default if it is not contained there.

Parameters
[in]attrThe corresponding xml attribute
[in]defaultValueThe value to return if the given map does not contain the named variable
Returns
The named value from the map or the default if it does not exist there

Definition at line 406 of file SUMOVTypeParameter.cpp.

References SUMOVTypeParameter::cfParameter, and StringUtils::toDouble().

Referenced by MSVehicleType::build(), ROEdge::getEmissionEffort(), MSCFModel_ACC::MSCFModel_ACC(), MSCFModel_CACC::MSCFModel_CACC(), MSCFModel_IDM::MSCFModel_IDM(), MSCFModel_Rail::MSCFModel_Rail(), MSCFModel_W99::MSCFModel_W99(), overwriteVType(), and SUMOVTypeParameter::wasSet().

◆ getCFParamString()

std::string SUMOVTypeParameter::getCFParamString ( const SumoXMLAttr  attr,
const std::string  defaultValue 
) const
inherited

Returns the named value from the map, or the default if it is not contained there.

Parameters
[in]attrThe corresponding xml attribute
[in]defaultValueThe value to return if the given map does not contain the named variable
Returns
The named value from the map or the default if it does not exist there

Definition at line 416 of file SUMOVTypeParameter.cpp.

References SUMOVTypeParameter::cfParameter.

Referenced by getAttribute(), MSCFModel_Rail::MSCFModel_Rail(), overwriteVType(), and SUMOVTypeParameter::wasSet().

◆ getChildPosition()

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

◆ getChildRotation()

double GNEHierarchicalElementChildren::getChildRotation ( const GNELane lane)
inherited

◆ getColor()

const RGBColor & GNEVehicleType::getColor ( ) const
virtual

get color

Implements GNEDemandElement.

Definition at line 115 of file GNEVehicleType.cpp.

References SUMOVTypeParameter::color.

◆ getColorValue()

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

◆ getDefault()

const SUMOVTypeParameter & SUMOVTypeParameter::getDefault ( )
staticinherited

return the default parameters, this is a function due to the http://www.parashift.com/c++-faq/static-init-order.html

Definition at line 600 of file SUMOVTypeParameter.cpp.

Referenced by libsumo::Lane::getLinks().

◆ getDefaultAccel()

double SUMOVTypeParameter::getDefaultAccel ( const SUMOVehicleClass  vc = SVC_IGNORING)
staticinherited

Returns the default acceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model.

Parameters
[in]vcthe vehicle class
Returns
the acceleration in m/s^2

Definition at line 472 of file SUMOVTypeParameter.cpp.

References SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, SVC_TRAILER, SVC_TRAM, and SVC_TRUCK.

Referenced by ROEdge::getEmissionEffort().

◆ getDefaultDecel()

double SUMOVTypeParameter::getDefaultDecel ( const SUMOVehicleClass  vc = SVC_IGNORING)
staticinherited

Returns the default deceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model.

Parameters
[in]vcthe vehicle class
Returns
the deceleration in m/s^2

Definition at line 508 of file SUMOVTypeParameter.cpp.

References SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, SVC_TRAILER, SVC_TRAM, and SVC_TRUCK.

Referenced by MSVehicleType::build(), and libsumo::Lane::getLinks().

◆ getDefaultEmergencyDecel()

double SUMOVTypeParameter::getDefaultEmergencyDecel ( const SUMOVehicleClass  vc,
double  decel,
double  defaultOption 
)
staticinherited

Returns the default emergency deceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model.

Parameters
[in]vcthe vehicle class
[in]decelthe deceleration of the vehicle type
Returns
the emergency deceleration in m/s^2

Definition at line 539 of file SUMOVTypeParameter.cpp.

References MAX2(), SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, SVC_TRAILER, SVC_TRAM, SVC_TRUCK, VTYPEPARS_DEFAULT_EMERGENCYDECEL_DECEL, and VTYPEPARS_DEFAULT_EMERGENCYDECEL_DEFAULT.

Referenced by MSVehicleType::build().

◆ getDefaultImperfection()

double SUMOVTypeParameter::getDefaultImperfection ( const SUMOVehicleClass  vc = SVC_IGNORING)
staticinherited

Returns the default driver's imperfection (sigma or epsilon in Krauss' model) for the given vehicle class This needs to be a function because the actual value is stored in the car following model.

Parameters
[in]vcthe vehicle class
Returns
the imperfection as a value between 0 and 1

Definition at line 584 of file SUMOVTypeParameter.cpp.

References SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, and SVC_TRAM.

Referenced by ROEdge::getEmissionEffort().

◆ getDemandElementChildren()

const std::vector< GNEDemandElement * > & GNEHierarchicalElementChildren::getDemandElementChildren ( ) const
inherited

return vector of demand elements that have as Parent this edge (For example, Calibrators)

Definition at line 297 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::myDemandElementChildren.

Referenced by GNEStoppingPlace::commitGeometryMoving(), GNENet::deleteDemandElement(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEStop::drawGL(), GNELane::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEAdditional::endGeometryMoving(), GNEDemandElement::generateChildID(), GNEPerson::getCenteringBoundary(), GNEPerson::getFromEdge(), GNEVehicle::getFromEdge(), GNEPerson::getPositionInView(), GNEPerson::getToEdge(), GNEVehicle::getToEdge(), GNEStoppingPlace::moveGeometry(), GNEPersonTypeFrame::PersonTypeEditor::onCmdDeletePersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdDeleteVehicleType(), GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNENet::replaceIncomingEdge(), GNERouteHandler::separateEmbeddedRoute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEAdditional::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNEBusStop::updateGeometry(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNERide::updateGeometry(), GNEPersonTrip::updateGeometry(), GNEWalk::updateGeometry(), GNERoute::updateGeometry(), GNEPerson::updateGeometry(), GNEVehicle::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ getDemandElementGeometry()

const GNEDemandElement::DemandElementGeometry & GNEDemandElement::getDemandElementGeometry ( ) const
inherited

get demand element geometry

Definition at line 360 of file GNEDemandElement.cpp.

References GNEDemandElement::myDemandElementGeometry.

Referenced by GNEPerson::calculatePersonPlanConnectionStop().

◆ getDemandElementID()

const std::string & GNEDemandElement::getDemandElementID ( ) const
protectedinherited

◆ getDemandElementParents()

const std::vector< GNEDemandElement * > & GNEHierarchicalElementParents::getDemandElementParents ( ) const
inherited

return vector of demand elements that have as Parent this edge (For example, Calibrators)

Definition at line 115 of file GNEHierarchicalElementParents.cpp.

References GNEHierarchicalElementParents::myDemandElementParents.

Referenced by GNEStop::commitGeometryMoving(), GNEVehicle::compute(), GNEFrameModuls::AttributeCarrierHierarchy::createPopUpMenu(), 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(), GNEWalk::getFromEdge(), GNEVehicle::getFromEdge(), GNEStop::getHierarchyName(), GNEWalk::getHierarchyName(), GNEStop::getParentName(), GNEVehicle::getParentName(), GNEStop::getPositionInView(), 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(), GNEStop::moveGeometry(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemDown(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemUp(), GNEViewNet::onCmdToogleLockPerson(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNERouteHandler::separateEmbeddedRoute(), GNEWalk::setAttribute(), GNEPersonTrip::setAttribute(), 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(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNERide::updateGeometry(), GNEPersonTrip::updateGeometry(), GNEWalk::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ getDemandElementProblem()

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

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

◆ getDemandElementSegmentGeometry()

const GNEDemandElement::DemandElementSegmentGeometry & GNEDemandElement::getDemandElementSegmentGeometry ( ) const
inherited

get demand element segment geometry

Definition at line 366 of file GNEDemandElement.cpp.

References GNEDemandElement::myDemandElementSegmentGeometry.

Referenced by GNEEdge::drawPartialRoute(), and GNEEdge::drawPartialTripFromTo().

◆ getDouble()

◆ getEdgeChildren()

const std::vector< GNEEdge * > & GNEHierarchicalElementChildren::getEdgeChildren ( ) const
inherited

◆ getEdgeParents()

const std::vector< GNEEdge * > & GNEHierarchicalElementParents::getEdgeParents ( ) const
inherited

get edge parents

Definition at line 150 of file GNEHierarchicalElementParents.cpp.

References GNEHierarchicalElementParents::myEdgeParents.

Referenced by GNEVehicleFrame::addVehicle(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNEVehicle::compute(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNECalibrator::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(), GNEPerson::getCenteringBoundary(), GNERide::getDemandElementProblem(), GNEPersonTrip::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNERoute::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNERide::getFromEdge(), GNEPersonTrip::getFromEdge(), GNEWalk::getFromEdge(), GNERoute::getFromEdge(), GNEVehicle::getFromEdge(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), 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::isDemandElementValid(), GNEPersonTrip::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNERoute::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNECalibrator::isValid(), GNERide::moveGeometry(), GNEPersonTrip::moveGeometry(), GNEWalk::moveGeometry(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNERide::setAttribute(), GNEWalk::setAttribute(), GNEPersonTrip::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToTrip(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNECalibrator::updateGeometry(), GNERoute::updateGeometry(), GNEVehicle::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ getFromEdge()

GNEEdge * GNEVehicleType::getFromEdge ( ) const
virtual

Implements GNEDemandElement.

Definition at line 97 of file GNEVehicleType.cpp.

◆ getFullName()

◆ getGenericParameters()

std::vector< std::pair< std::string, std::string > > GNEVehicleType::getGenericParameters ( ) const
virtual

return generic parameters as vector of pairs format

Implements GNEDemandElement.

Definition at line 1173 of file GNEVehicleType.cpp.

References Parameterised::getParametersMap().

◆ getGenericParametersStr()

std::string GNEVehicleType::getGenericParametersStr ( ) const
virtual

return generic parameters in string format

Implements GNEDemandElement.

Definition at line 1158 of file GNEVehicleType.cpp.

References Parameterised::getParametersMap().

Referenced by getAttribute().

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 150 of file GUIGlObject.cpp.

References GUIGlObject::myGlID.

Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNEEdge::drawEdgeName(), GNEEdge::drawGeometryPoints(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntryExit::drawGL(), GNEInternalLane::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEAccess::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GNECrossing::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GUIPolygon::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIContainer::drawGL(), GNEJunction::drawGL(), GUICalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GUIPointOfInterest::drawGL(), GNECalibrator::drawGL(), GNETAZ::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GNEStop::drawGL(), GNELane::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEPerson::drawGL(), GUILane::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), 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(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIEdge::getScaleValue(), 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(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIDialog_GLObjChooser::onCmdTrack(), GUIViewTraffic::onGamingClick(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), GUIMessageWindow::setCursorPos(), unselectAttributeCarrier(), GNENetElement::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()

std::string GNEVehicleType::getHierarchyName ( ) const
virtual

get Hierarchy Name (Used in AC Hierarchy)

Implements GNEDemandElement.

Definition at line 842 of file GNEVehicleType.cpp.

References getAttribute(), GNEAttributeCarrier::getTagStr(), and SUMO_ATTR_ID.

◆ getIcon()

◆ getID()

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

function to support debugging

Implements GNEReferenceCounter.

Definition at line 1187 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::getAttribute(), and SUMO_ATTR_ID.

Referenced by GNEHierarchicalElementChildren::addAdditionalChild(), GNEHierarchicalElementParents::addAdditionalParent(), GNECrossingFrame::addCrossing(), GNEHierarchicalElementChildren::addDemandElementChild(), GNEHierarchicalElementParents::addDemandElementParent(), GNEHierarchicalElementChildren::addEdgeChild(), GNEHierarchicalElementParents::addEdgeParent(), GNEJunction::addIncomingGNEEdge(), GNENet::additionalExist(), GNEHierarchicalElementChildren::addLaneChild(), GNEHierarchicalElementParents::addLaneParent(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNENet::addReversedEdge(), GNEHierarchicalElementChildren::addShapeChild(), GNEHierarchicalElementParents::addShapeParent(), 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(), GNEHierarchicalElementParents::changeAdditionalParent(), GNEHierarchicalElementParents::changeDemandElementParent(), GNENet::changeShapeID(), GNEVehicle::compute(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEJunction::drawGL(), GNEEdge::drawGL(), GNEVehicleFrame::edgePathCreated(), GNEJunction::generateChildID(), GNEPoly::generateChildID(), GNEPOI::generateChildID(), GNEAdditional::generateChildID(), GNEDemandElement::generateChildID(), GNEAdditionalFrame::generateID(), GNEClosingReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNECalibratorFlow::getAttribute(), GNEConnection::getAttribute(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GNELane::getColorValue(), GNEClosingReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEDetectorE3::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNERerouter::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), GNEShape::getPopUpID(), GNEAdditionalHandler::getPosition(), GNEStopFrame::getStopParameter(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEJunction::invalidateShape(), GNEDemandElement::isRouteValid(), GNEAccess::isValid(), GNEPersonTrip::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::CrossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNEPersonTypeFrame::PersonTypeEditor::onCmdDeletePersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdDeleteVehicleType(), 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(), GNEFrameModuls::DemandElementSelector::refreshDemandElementSelector(), GNEPersonTypeFrame::PersonTypeSelector::refreshPersonTypeSelector(), GNEVehicleTypeFrame::VehicleTypeSelector::refreshVehicleTypeSelector(), GNEVehicleTypeFrame::VehicleTypeSelector::refreshVehicleTypeSelectorIDs(), GNEHierarchicalElementChildren::removeAdditionalChild(), GNEHierarchicalElementParents::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEHierarchicalElementChildren::removeDemandElementChild(), GNEHierarchicalElementParents::removeDemandElementParent(), GNEHierarchicalElementChildren::removeEdgeChild(), GNEJunction::removeEdgeFromCrossings(), GNEHierarchicalElementParents::removeEdgeParent(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEHierarchicalElementChildren::removeLaneChild(), GNEHierarchicalElementParents::removeLaneParent(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNEHierarchicalElementChildren::removeShapeChild(), GNEHierarchicalElementParents::removeShapeParent(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNERide::setAttribute(), GNEWalk::setAttribute(), GNEPersonTrip::setAttribute(), GNEEdge::setAttribute(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNETAZFrame::TAZCurrent::setTAZ(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEFrameModuls::DemandElementSelector::showDemandElementSelector(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), 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().

◆ getJMParam()

double SUMOVTypeParameter::getJMParam ( const SumoXMLAttr  attr,
const double  defaultValue 
) const
inherited

Returns the named value from the map, or the default if it is not contained there.

Parameters
[in]attrThe corresponding xml attribute
[in]defaultValueThe value to return if the given map does not contain the named variable
Returns
The named value from the map or the default if it does not exist there

Definition at line 452 of file SUMOVTypeParameter.cpp.

References SUMOVTypeParameter::jmParameter, and StringUtils::toDouble().

Referenced by MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSLink::getLeaderInfo(), MSPModel_Striping::PState::ignoreRed(), MSVehicle::ignoreRed(), MSVehicle::keepClear(), and MSCFModel_Krauss::patchSpeedBeforeLC().

◆ getJMParamString()

std::string SUMOVTypeParameter::getJMParamString ( const SumoXMLAttr  attr,
const std::string  defaultValue 
) const
inherited

Returns the named value from the map, or the default if it is not contained there.

Parameters
[in]attrThe corresponding xml attribute
[in]defaultValueThe value to return if the given map does not contain the named variable
Returns
The named value from the map or the default if it does not exist there

Definition at line 462 of file SUMOVTypeParameter.cpp.

References SUMOVTypeParameter::jmParameter.

Referenced by getAttribute(), and overwriteVType().

◆ getLaneChildren()

const std::vector< GNELane * > & GNEHierarchicalElementChildren::getLaneChildren ( ) const
inherited

◆ getLaneParents()

const std::vector< GNELane * > & GNEHierarchicalElementParents::getLaneParents ( ) const
inherited

get lanes of VSS

Definition at line 182 of file GNEHierarchicalElementParents.cpp.

References GNEHierarchicalElementParents::myLaneParents.

Referenced by GNERouteHandler::PersonPlansValues::calculateEdgePath(), GNEDetectorE2::checkE2MultilaneIntegrity(), GNEStop::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNECalibrator::drawGL(), GNEStop::drawGL(), GNEStop::endGeometryMoving(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE1::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEDetectorE1Instant::getAdditionalProblem(), GNEDetectorE1::getAdditionalProblem(), GNEStoppingPlace::getAdditionalProblem(), GNEDetectorEntryExit::getAdditionalProblem(), GNEDetectorE2::getAdditionalProblem(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEAccess::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNEDetectorE2::getAttribute(), GNEStop::getAttribute(), GNEPOI::getAttribute(), GNEStop::getAttributeDouble(), GNEStop::getDemandElementProblem(), GNEAccess::getEdge(), GNEStoppingPlace::getEndGeometryPositionOverLane(), GNEStop::getEndGeometryPositionOverLane(), GNEStoppingPlace::getEndPosition(), GNEStop::getFromEdge(), GNEAccess::getHierarchyName(), GNEDetector::getLane(), GNERouteHandler::PersonPlansValues::getLastEdge(), GNECalibrator::getParentName(), GNEStop::getParentName(), GNEStoppingPlace::getParentName(), GNEPOI::getPopUpMenu(), GNEAccess::getPositionInView(), GNECalibrator::getPositionInView(), GNEStop::getPositionInView(), GNEStoppingPlace::getPositionInView(), GNEStoppingPlace::getStartGeometryPositionOverLane(), GNEStop::getStartGeometryPositionOverLane(), GNEStop::getToEdge(), GNEAccess::isAccessPositionFixed(), GNEDetectorE1Instant::isAdditionalValid(), GNEDetectorE1::isAdditionalValid(), GNEStoppingPlace::isAdditionalValid(), GNEDetectorEntryExit::isAdditionalValid(), GNEDetectorE2::isAdditionalValid(), GNEStop::isDemandElementValid(), GNEBusStop::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntryExit::isValid(), GNEAccess::isValid(), GNEDetectorE1Instant::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(), GNEStop::startGeometryMoving(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNEBusStop::updateGeometry(), GNEParkingArea::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), GNEStop::updateGeometry(), GNEDetectorE2::updateGeometry(), GNEPOI::updateGeometry(), GNEPerson::updateGeometry(), and GNEPOI::writeShape().

◆ getLCParam()

double SUMOVTypeParameter::getLCParam ( const SumoXMLAttr  attr,
const double  defaultValue 
) const
inherited

Returns the named value from the map, or the default if it is not contained there.

Parameters
[in]attrThe corresponding xml attribute
[in]defaultValueThe value to return if the given map does not contain the named variable
Returns
The named value from the map or the default if it does not exist there

Definition at line 426 of file SUMOVTypeParameter.cpp.

References SUMOVTypeParameter::lcParameter, and StringUtils::toDouble().

Referenced by SUMOVTypeParameter::wasSet().

◆ getLCParams()

const SUMOVTypeParameter::SubParams & SUMOVTypeParameter::getLCParams ( ) const
inherited

◆ getLCParamString()

std::string SUMOVTypeParameter::getLCParamString ( const SumoXMLAttr  attr,
const std::string &  defaultValue 
) const
inherited

Returns the named value from the map, or the default if it is not contained there.

Parameters
[in]attrThe corresponding xml attribute
[in]defaultValueThe value to return if the given map does not contain the named variable
Returns
The named value from the map or the default if it does not exist there

Definition at line 436 of file SUMOVTypeParameter.cpp.

References SUMOVTypeParameter::lcParameter.

Referenced by getAttribute(), and SUMOVTypeParameter::wasSet().

◆ getMicrosimID()

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

Returns the id of the object as known to microsim.

Definition at line 164 of file GUIGlObject.cpp.

References GUIGlObject::myMicrosimID.

Referenced by SUMORTree::addAdditionalGLObject(), GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GUIGlObject::drawName(), GNEAdditional::getAdditionalID(), GNEConnection::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), GNEDemandElement::getDemandElementID(), GNEDialogACChooser::getObjectName(), GUIDialog_GLObjChooser::getObjectName(), GNEDetectorE3::getParentName(), GNEVariableSpeedSign::getParentName(), GNERerouter::getParentName(), GNELane::getParentName(), getParentName(), GNETAZ::getParentName(), GNEDetector::getParentName(), GNEPoly::getParentName(), GNERide::getParentName(), GNEPOI::getParentName(), GNEPersonTrip::getParentName(), GNEWalk::getParentName(), GNERoute::getParentName(), GNEPerson::getParentName(), GNETLSEditorFrame::handleMultiChange(), GNEEdge::isValid(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNEInspectorFrame::TemplateEditor::onUpdCopyTemplate(), GNENet::registerEdge(), GNENet::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNEEdge::removeConnection(), GNEEdge::setAttribute(), GNENet::splitEdge(), GNEProhibitionFrame::RelativeToConnection::updateDescription(), and GNEConnection::updateID().

◆ getNextDemandElement()

GNEDemandElement * GNEHierarchicalElementChildren::getNextDemandElement ( const GNEDemandElement demandElement) const
inherited

get next demand element to the given demand element

Definition at line 336 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::myDemandElementChildren.

◆ getOptionalName()

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

Returns the name of the object (default "")

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

Definition at line 169 of file GUIGlObject.cpp.

Referenced by GUIDialog_GLObjChooser::getObjectName().

◆ getParameter()

const std::string Parameterised::getParameter ( const std::string &  key,
const std::string &  defaultValue = "" 
) const
inherited

Returns the value for a given key.

Parameters
[in]keyThe key to ask for
[in]defaultValueThe default value to return if no value is stored under the key
Returns
The value stored under the key

Definition at line 71 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by MSTLLogicControl::WAUTSwitchProcedure_Stretch::adaptLogic(), NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), libsumo::Simulation::findIntermodalRoute(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), GNELane::getColorValue(), GUILane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSTLLogicControl::WAUTSwitchProcedure::getGSPValue(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), GUIBaseVehicle::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), libsumo::Route::getParameter(), libsumo::Polygon::getParameter(), libsumo::POI::getParameter(), libsumo::Person::getParameter(), libsumo::TrafficLight::getParameter(), libsumo::Edge::getParameter(), libsumo::Lane::getParameter(), libsumo::VehicleType::getParameter(), libsumo::Vehicle::getParameter(), libsumo::Simulation::getParameter(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchAreaNo(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchBereichDef(), MSDevice::getStringParam(), MSSOTLTrafficLightLogic::getThreshold(), MSTriggeredRerouter::getWeight(), PushButtonLogic::init(), MSSOTLPhasePolicy::init(), SigmoidLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), initRailVisualizationParameters(), MSVehicleType::initRailVisualizationParameters(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), libsumo::Helper::moveToXYMap(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), overwriteVType(), MSDevice_SSM::requestsTrajectories(), NBEdgeCont::splitAt(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::stretchLogic(), MSDevice_SSM::useGeoCoords(), NWWriter_DlrNavteq::writeLinksUnsplitted(), and NWWriter_OpenDrive::writeRoadObjects().

◆ getParametersMap()

const std::map< std::string, std::string > & Parameterised::getParametersMap ( ) const
inherited

Returns the inner key/value map.

Definition at line 105 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), getGenericParameters(), GNELane::getGenericParameters(), GNEPoly::getGenericParameters(), GNEStop::getGenericParameters(), GNEPOI::getGenericParameters(), GNEJunction::getGenericParameters(), GNERide::getGenericParameters(), GNEPersonTrip::getGenericParameters(), GNEWalk::getGenericParameters(), GNEEdge::getGenericParameters(), GNERoute::getGenericParameters(), GNEPerson::getGenericParameters(), GNEAdditional::getGenericParameters(), GNEVehicle::getGenericParameters(), getGenericParametersStr(), GNELane::getGenericParametersStr(), GNEPoly::getGenericParametersStr(), GNEStop::getGenericParametersStr(), GNEPOI::getGenericParametersStr(), GNEJunction::getGenericParametersStr(), GNERide::getGenericParametersStr(), GNEPersonTrip::getGenericParametersStr(), GNEWalk::getGenericParametersStr(), GNEEdge::getGenericParametersStr(), GNERoute::getGenericParametersStr(), GNEPerson::getGenericParametersStr(), GNEAdditional::getGenericParametersStr(), GNEVehicle::getGenericParametersStr(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIPolygon::getParameterWindow(), GUIJunctionWrapper::getParameterWindow(), GUIPointOfInterest::getParameterWindow(), GUILane::getParameterWindow(), GUIPerson::getTypeParameterWindow(), GUIContainer::getTypeParameterWindow(), GUIVehicle::getTypeParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), NIImporter_OpenStreetMap::insertEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), overwriteVType(), and TraCIServerAPI_TrafficLight::processGet().

◆ getParameterWindow()

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

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

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

◆ getParentName()

std::string GNEVehicleType::getParentName ( ) const
virtual

Returns the name of the parent object.

Returns
This object's parent id

Reimplemented from GUIGlObject.

Definition at line 163 of file GNEVehicleType.cpp.

References GUIGlObject::getMicrosimID(), GNEViewNet::getNet(), and GNEDemandElement::myViewNet.

◆ getPopUpID()

std::string GNEVehicleType::getPopUpID ( ) const
virtual

get PopPup ID (Used in AC Hierarchy)

Implements GNEDemandElement.

Definition at line 836 of file GNEVehicleType.cpp.

References GNEAttributeCarrier::getTagStr().

◆ getPopUpMenu()

◆ getPositionInView()

Position GNEVehicleType::getPositionInView ( ) const
virtual

Returns position of additional in view.

Implements GNEDemandElement.

Definition at line 157 of file GNEVehicleType.cpp.

◆ getPreviousemandElement()

GNEDemandElement * GNEHierarchicalElementChildren::getPreviousemandElement ( const GNEDemandElement demandElement) const
inherited

get previous demand element to the given demand element

Definition at line 321 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::myDemandElementChildren.

◆ getRouteCalculatorInstance()

GNEDemandElement::RouteCalculator * GNEDemandElement::getRouteCalculatorInstance ( )
staticinherited

◆ getShapeChildren()

◆ getShapeParents()

const std::vector< GNEShape * > & GNEHierarchicalElementParents::getShapeParents ( ) const
inherited

◆ getSortedDemandElementChildrenByType()

const std::set< GNEDemandElement * > & GNEHierarchicalElementChildren::getSortedDemandElementChildrenByType ( SumoXMLTag  tag) const
inherited

return vector of demand elements that have as Parent this edge (For example, Calibrators)

Definition at line 303 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::mySortedDemandElementChildrenByType.

Referenced by GNEEdge::drawGL(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren().

◆ getTagProperties()

◆ getTagProperty()

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

get Tag Property assigned to this object

Definition at line 1171 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::myTagProperty.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEHierarchicalElementChildren::addAdditionalChild(), GNEHierarchicalElementChildren::addDemandElementChild(), GNEFrameModuls::EdgePathCreator::addEdge(), GNENet::additionalExist(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEStopFrame::addStop(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEPersonFrame::buildPersonOverRoute(), GNERouteHandler::buildStop(), GNEPerson::calculatePersonPlanConnectionStop(), GNEPerson::calculateSmoothPersonPlanConnection(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNEFrameModuls::AttributeCarrierHierarchy::createPopUpMenu(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEViewNet::doPaintGL(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEAdditional::BlockIcon::drawIcon(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEViewNet::getAttributeCarriersInBoundary(), GNEStop::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEPerson::getPositionInView(), GNEEdge::getRouteProbeRelativePosition(), GNENet::getSelectedAttributeCarriers(), GNEStopFrame::getStopParameter(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEInspectorFrame::OverlappedInspection::inspectOverlappedAttributeCarrier(), GNEInspectorFrame::inspectSingleElement(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdDeleteItem(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdToogleLockPerson(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseGenericParameter(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Attribute::redo(), GNEFrameAttributesModuls::GenericParametersEditor::refreshGenericParametersEditor(), GNEHierarchicalElementChildren::removeAdditionalChild(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalElementChildren::removeDemandElementChild(), GNENet::removeShape(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNENet::retrieveShapes(), GNEViewNetHelper::EditShapes::saveEditedShape(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::setVariable(), GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelRow::setVariable(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNEHierarchicalElementChildren::sortAdditionalChildren(), 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(), GNEPerson::updateGeometry(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::updateValue(), GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelRow::updateValue(), 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 1165 of file GNEAttributeCarrier.cpp.

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

Referenced by GNEHierarchicalElementChildren::addAdditionalChild(), GNEHierarchicalElementParents::addAdditionalParent(), GNEHierarchicalElementChildren::addDemandElementChild(), GNEHierarchicalElementParents::addDemandElementParent(), GNEHierarchicalElementChildren::addEdgeChild(), GNEHierarchicalElementParents::addEdgeParent(), GNEJunction::addIncomingGNEEdge(), GNEHierarchicalElementChildren::addLaneChild(), GNEHierarchicalElementParents::addLaneParent(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNEHierarchicalElementChildren::addShapeChild(), GNEHierarchicalElementParents::addShapeParent(), 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(), GNEHierarchicalElementParents::changeAdditionalParent(), GNEDemandElement::changeDemandElementID(), GNEHierarchicalElementParents::changeDemandElementParent(), GNEAdditional::checkAdditionalChildRestriction(), GNEDemandElement::checkDemandElementChildRestriction(), GNERouteHandler::closePerson(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorEntryExit::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNERide::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(), GNEDemandElement::fixDemandElementProblem(), GNEChargingStation::getAttribute(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNEDetectorE3::getAttribute(), GNERouteProbReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEDetectorE1::getAttribute(), GNECalibratorFlow::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNETAZSourceSink::getAttribute(), GNERerouterInterval::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEAccess::getAttribute(), GNERerouter::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECrossing::getAttribute(), GNECalibrator::getAttribute(), GNETAZ::getAttribute(), GNEDetectorE2::getAttribute(), getAttribute(), GNEConnection::getAttribute(), GNEStop::getAttribute(), GNELane::getAttribute(), GNEPoly::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNEPOI::getAttribute(), GNEJunction::getAttribute(), GNERoute::getAttribute(), GNEEdge::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), getAttributeDouble(), GNEStop::getAttributeDouble(), GNERide::getAttributeDouble(), GNEPersonTrip::getAttributeDouble(), GNEWalk::getAttributeDouble(), GNEDemandElement::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(), GNECalibrator::getHierarchyName(), GNETAZ::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNEDetector::getHierarchyName(), getHierarchyName(), GNENetElement::getHierarchyName(), GNEShape::getHierarchyName(), GNERoute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEVaporizer::getPopUpID(), GNERouteProbe::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEParkingSpace::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNERerouterInterval::getPopUpID(), GNETAZSourceSink::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNEDetector::getPopUpID(), getPopUpID(), GNENetElement::getPopUpID(), GNEStop::getPopUpID(), GNEShape::getPopUpID(), GNERide::getPopUpID(), GNEPersonTrip::getPopUpID(), GNEWalk::getPopUpID(), GNERoute::getPopUpID(), GNEPerson::getPopUpID(), GNEVehicle::getPopUpID(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNEDemandElement::isRouteValid(), GNEChargingStation::isValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNEDetectorE3::isValid(), GNERouteProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDestProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntryExit::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouterInterval::isValid(), GNETAZSourceSink::isValid(), GNEVariableSpeedSign::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNEDetectorE1Instant::isValid(), GNECrossing::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEDetectorE2::isValid(), isValid(), GNEConnection::isValid(), GNEStop::isValid(), GNELane::isValid(), GNEPoly::isValid(), GNERide::isValid(), GNEPersonTrip::isValid(), GNEPOI::isValid(), GNEWalk::isValid(), GNEJunction::isValid(), GNERoute::isValid(), GNEEdge::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), GNECalibratorFlowDialog::onCmdAccept(), GNERouteDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEVehicleTypeDialog::onCmdAccept(), GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemDown(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemUp(), GNEAdditional::openAdditionalDialog(), GNEDemandElement::openDemandElementDialog(), overwriteVType(), GNEAdditionalHandler::parseGenericParameter(), 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(), GNEHierarchicalElementChildren::removeAdditionalChild(), GNEHierarchicalElementParents::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEHierarchicalElementChildren::removeDemandElementChild(), GNEHierarchicalElementParents::removeDemandElementParent(), GNEHierarchicalElementChildren::removeEdgeChild(), GNEHierarchicalElementParents::removeEdgeParent(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEHierarchicalElementChildren::removeLaneChild(), GNEHierarchicalElementParents::removeLaneParent(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalElementChildren::removeShapeChild(), GNEHierarchicalElementParents::removeShapeParent(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEViewNetHelper::EditShapes::saveEditedShape(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEClosingReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNERouteProbReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNECalibratorFlow::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouterInterval::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNERerouter::setAttribute(), GNEAccess::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNECrossing::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEDetectorE2::setAttribute(), setAttribute(), GNEConnection::setAttribute(), GNEStop::setAttribute(), GNELane::setAttribute(), GNEPoly::setAttribute(), GNERide::setAttribute(), GNEPOI::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), GNEJunction::setAttribute(), GNERoute::setAttribute(), GNEEdge::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Additional::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_EnableAttribute::undoName(), GNEChange_Children::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()

GNEEdge * GNEVehicleType::getToEdge ( ) const
virtual

obtain to edge of this demand element

Implements GNEDemandElement.

Definition at line 103 of file GNEVehicleType.cpp.

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 181 of file GUIGlObject.cpp.

References GUIGlObject::myGLObjectType.

Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntryExit::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEAccess::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GNECrossing::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIContainer::drawGL(), GNEJunction::drawGL(), GUICalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GNEStop::drawGL(), GNELane::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEPerson::drawGL(), GUILane::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GNEAdditional::BlockIcon::drawIcon(), GUIBaseVehicle::drawOnPos(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEEdge::drawPartialTripFromTo(), GNEEdge::drawRerouterSymbol(), GNELane::drawVSSSymbol(), GNEJunction::getAttribute(), 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(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdBegin2TrackPhases(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideFutureRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideLFLinkItems(), GUIPerson::GUIPersonPopupMenu::onCmdHideWalkingareaPath(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowCurrentRoute(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdShowDetectors(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFoes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFutureRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowLFLinkItems(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdShowPhases(), GUIPerson::GUIPersonPopupMenu::onCmdShowWalkingareaPath(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStopTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStopTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStopTrack(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLS2Off(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLSLogic(), GUIDialog_GLObjChooser::onCmdTrack(), 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 GUIMEVehicle, GUIVehicle, GUIBaseVehicle, GUIContainer, and GUIPerson.

Definition at line 156 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().

◆ getVClass()

SUMOVehicleClass GNEVehicleType::getVClass ( ) const
virtual

obtain VClass related with this demand element

Implements GNEDemandElement.

Definition at line 109 of file GNEVehicleType.cpp.

References SUMOVTypeParameter::vehicleClass.

◆ getViewNet()

GNEViewNet * GNEDemandElement::getViewNet ( ) const
inherited

Returns a pointer to GNEViewNet in which demand element element is located.

Definition at line 408 of file GNEDemandElement.cpp.

References GNEDemandElement::myViewNet.

Referenced by GNEDemandElementDialog::acceptChanges(), GNEDemandElementDialog::cancelChanges(), GNEHierarchicalElementParents::changeAdditionalParent(), GNEHierarchicalElementParents::changeDemandElementParent(), GNEHierarchicalElementParents::changeEdgeParents(), GNEHierarchicalElementParents::changeLaneParents(), GNERouteHandler::embebbeRoute(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNEDemandElementDialog::initChanges(), GNEVehicleTypeDialog::VTypeAtributes::onCmdSetAttribute(), GNERouteDialog::onCmdSetVariable(), GNEVehicleTypeDialog::CarFollowingModelParameters::onCmdSetVariable(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::openColorDialog(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::openImageFileDialog(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::openOSGFileDialog(), GNEDemandElementDialog::resetChanges(), GNERouteHandler::separateEmbeddedRoute(), GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable(), GNEVehicleTypeDialog::VTypeAtributes::VShapeRow::setVariable(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::setVariable(), GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelRow::setVariable(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().

◆ incRef()

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

Increarse reference.

Definition at line 68 of file GNEReferenceCounter.h.

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

Referenced by 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().

◆ initRailVisualizationParameters()

◆ isAttributeCarrierSelected()

◆ isAttributeEnabled()

◆ isDemandElementValid()

bool GNEDemandElement::isDemandElementValid ( ) const
virtualinherited

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

◆ isGenericParametersValid()

bool GNEAttributeCarrier::isGenericParametersValid ( const std::string &  value)
staticinherited

◆ isRouteValid()

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

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

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

Referenced by GNERoute::isValid().

◆ isValid()

bool GNEVehicleType::isValid ( SumoXMLAttr  key,
const std::string &  value 
)
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 GNEDemandElement.

Definition at line 624 of file GNEVehicleType.cpp.

References canParseVehicleClasses(), canParseVehicleShape(), SUMOXMLDefinitions::CarFollowModels, PollutantsInterface::getAllClassesStr(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_DEFAULT_VTYPE_MODIFIED, GNE_ATTR_GENERIC, StringBijection< T >::hasString(), GNEAttributeCarrier::isGenericParametersValid(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidVehicleID(), SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LateralAlignments, myDefaultVehicleType, GNEDemandElement::myViewNet, GNENet::retrieveDemandElement(), SUMO_ATTR_ACCEL, SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_APPARENTDECEL, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CARRIAGE_GAP, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_CF_IDM_DELTA, SUMO_ATTR_CF_IDM_STEPPING, SUMO_ATTR_CF_IDMM_ADAPT_FACTOR, SUMO_ATTR_CF_IDMM_ADAPT_TIME, SUMO_ATTR_CF_KERNER_PHI, SUMO_ATTR_CF_PWAGNER2009_APPROB, SUMO_ATTR_CF_PWAGNER2009_TAULAST, SUMO_ATTR_CF_WIEDEMANN_ESTIMATION, SUMO_ATTR_CF_WIEDEMANN_SECURITY, SUMO_ATTR_COLLISION_MINGAP_FACTOR, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_DECEL, SUMO_ATTR_EMERGENCYDECEL, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HASDRIVERSTATE, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_JM_CROSSING_GAP, SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME, SUMO_ATTR_JM_DRIVE_AFTER_YELLOW_TIME, SUMO_ATTR_JM_DRIVE_RED_SPEED, SUMO_ATTR_JM_IGNORE_FOE_PROB, SUMO_ATTR_JM_IGNORE_FOE_SPEED, SUMO_ATTR_JM_IGNORE_KEEPCLEAR_TIME, SUMO_ATTR_JM_SIGMA_MINOR, SUMO_ATTR_JM_TIMEGAP_MINOR, SUMO_ATTR_K, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LCA_ACCEL_LAT, SUMO_ATTR_LCA_ASSERTIVE, SUMO_ATTR_LCA_COOPERATIVE_PARAM, SUMO_ATTR_LCA_IMPATIENCE, SUMO_ATTR_LCA_KEEPRIGHT_PARAM, SUMO_ATTR_LCA_LOOKAHEADLEFT, SUMO_ATTR_LCA_MAXSPEEDLATFACTOR, SUMO_ATTR_LCA_MAXSPEEDLATSTANDING, SUMO_ATTR_LCA_OPPOSITE_PARAM, SUMO_ATTR_LCA_OVERTAKE_RIGHT, SUMO_ATTR_LCA_PUSHY, SUMO_ATTR_LCA_PUSHYGAP, SUMO_ATTR_LCA_SPEEDGAIN_PARAM, SUMO_ATTR_LCA_SPEEDGAINRIGHT, SUMO_ATTR_LCA_STRATEGIC_PARAM, SUMO_ATTR_LCA_SUBLANE_PARAM, SUMO_ATTR_LCA_TIME_TO_IMPATIENCE, SUMO_ATTR_LCA_TURN_ALIGNMENT_DISTANCE, 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_SIGMA, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_TAU, SUMO_ATTR_TMP1, SUMO_ATTR_TMP2, SUMO_ATTR_TMP3, SUMO_ATTR_TMP4, SUMO_ATTR_TMP5, SUMO_ATTR_TRAIN_TYPE, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, SUMO_TAG_PTYPE, SUMO_TAG_VTYPE, toString(), and SUMOXMLDefinitions::TrainTypes.

◆ isValidDemandElementID()

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

◆ knowsParameter()

◆ lanesConsecutives()

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

check if lanes are consecutives

Definition at line 1128 of file GNEAttributeCarrier.cpp.

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

◆ markSegmentGeometryDeprecated()

◆ moveGeometry()

void GNEVehicleType::moveGeometry ( const Position offset)
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

Implements GNEDemandElement.

Definition at line 139 of file GNEVehicleType.cpp.

◆ openDemandElementDialog()

void GNEDemandElement::openDemandElementDialog ( )
virtualinherited

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

References GNEAttributeCarrier::getTagStr().

◆ operator=()

GNEVehicleType* GNEVehicleType::operator= ( GNEVehicleType )
privatedelete

Invalidated assignment operator.

◆ overwriteVType()

void GNEVehicleType::overwriteVType ( GNEDemandElement vType,
SUMOVTypeParameter newVTypeParameter,
GNEUndoList undoList 
)
static

overwrite all values of GNEVehicleType with a SUMOVTypeParameter

Definition at line 848 of file GNEVehicleType.cpp.

References SUMOVTypeParameter::actionStepLength, SUMOVTypeParameter::boardingDuration, SUMOXMLDefinitions::CarFollowModels, SUMOVTypeParameter::cfModel, SUMOVTypeParameter::color, SUMOVTypeParameter::containerCapacity, DEFAULT_VTYPE_ID, SUMOVTypeParameter::defaultProbability, SUMOVTypeParameter::emissionClass, SUMOVTypeParameter::getCFParam(), SUMOVTypeParameter::getCFParamString(), GNEDemandElement::getGenericParametersStr(), SUMOVTypeParameter::getJMParamString(), PollutantsInterface::getName(), Distribution_Parameterized::getParameter(), Parameterised::getParameter(), Parameterised::getParametersMap(), GNEAttributeCarrier::getTagStr(), getVehicleShapeName(), GNE_ATTR_GENERIC, SUMOVTypeParameter::hasDriverState, SUMOVTypeParameter::height, SUMOVTypeParameter::imgFile, SUMOVTypeParameter::impatience, Parameterised::knowsParameter(), SUMOXMLDefinitions::LaneChangeModels, SUMOVTypeParameter::latAlignment, SUMOVTypeParameter::lcModel, SUMOVTypeParameter::length, SUMOVTypeParameter::loadingDuration, SUMOVTypeParameter::maxSpeed, SUMOVTypeParameter::maxSpeedLat, SUMOVTypeParameter::minGap, SUMOVTypeParameter::minGapLat, SUMOVTypeParameter::osgFile, GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMOVTypeParameter::personCapacity, GNEDemandElement::setAttribute(), SUMOVTypeParameter::shape, SUMOVTypeParameter::speedFactor, SUMO_ATTR_ACCEL, SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_APPARENTDECEL, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CARRIAGE_GAP, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_CF_IDM_DELTA, SUMO_ATTR_CF_IDM_STEPPING, SUMO_ATTR_CF_IDMM_ADAPT_FACTOR, SUMO_ATTR_CF_IDMM_ADAPT_TIME, SUMO_ATTR_CF_KERNER_PHI, SUMO_ATTR_CF_PWAGNER2009_APPROB, SUMO_ATTR_CF_PWAGNER2009_TAULAST, SUMO_ATTR_CF_WIEDEMANN_ESTIMATION, SUMO_ATTR_CF_WIEDEMANN_SECURITY, SUMO_ATTR_COLLISION_MINGAP_FACTOR, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_DECEL, SUMO_ATTR_EMERGENCYDECEL, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HASDRIVERSTATE, SUMO_ATTR_HEIGHT, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_JM_CROSSING_GAP, SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME, SUMO_ATTR_JM_DRIVE_AFTER_YELLOW_TIME, SUMO_ATTR_JM_DRIVE_RED_SPEED, SUMO_ATTR_JM_IGNORE_FOE_PROB, SUMO_ATTR_JM_IGNORE_FOE_SPEED, SUMO_ATTR_JM_IGNORE_KEEPCLEAR_TIME, SUMO_ATTR_JM_SIGMA_MINOR, SUMO_ATTR_JM_TIMEGAP_MINOR, SUMO_ATTR_K, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LCA_ACCEL_LAT, SUMO_ATTR_LCA_ASSERTIVE, SUMO_ATTR_LCA_COOPERATIVE_PARAM, SUMO_ATTR_LCA_EXPERIMENTAL1, SUMO_ATTR_LCA_IMPATIENCE, SUMO_ATTR_LCA_KEEPRIGHT_PARAM, SUMO_ATTR_LCA_LOOKAHEADLEFT, SUMO_ATTR_LCA_MAXSPEEDLATFACTOR, SUMO_ATTR_LCA_MAXSPEEDLATSTANDING, SUMO_ATTR_LCA_OPPOSITE_PARAM, SUMO_ATTR_LCA_OVERTAKE_RIGHT, SUMO_ATTR_LCA_PUSHY, SUMO_ATTR_LCA_PUSHYGAP, SUMO_ATTR_LCA_SPEEDGAIN_PARAM, SUMO_ATTR_LCA_SPEEDGAINRIGHT, SUMO_ATTR_LCA_STRATEGIC_PARAM, SUMO_ATTR_LCA_SUBLANE_PARAM, SUMO_ATTR_LCA_TIME_TO_IMPATIENCE, SUMO_ATTR_LCA_TURN_ALIGNMENT_DISTANCE, 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_SIGMA, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_TAU, SUMO_ATTR_TMP1, SUMO_ATTR_TMP2, SUMO_ATTR_TMP3, SUMO_ATTR_TMP4, SUMO_ATTR_TMP5, SUMO_ATTR_TRAIN_TYPE, SUMO_ATTR_WIDTH, toString(), VTYPEPARS_ACTIONSTEPLENGTH_SET, VTYPEPARS_BOARDING_DURATION, VTYPEPARS_CAR_FOLLOW_MODEL, VTYPEPARS_COLOR_SET, VTYPEPARS_CONTAINER_CAPACITY, VTYPEPARS_EMISSIONCLASS_SET, VTYPEPARS_HASDRIVERSTATE_SET, VTYPEPARS_HEIGHT_SET, VTYPEPARS_IMGFILE_SET, VTYPEPARS_IMPATIENCE_SET, VTYPEPARS_LANE_CHANGE_MODEL_SET, VTYPEPARS_LATALIGNMENT_SET, VTYPEPARS_LENGTH_SET, VTYPEPARS_LOADING_DURATION, VTYPEPARS_MAXSPEED_LAT_SET, VTYPEPARS_MAXSPEED_SET, VTYPEPARS_MINGAP_LAT_SET, VTYPEPARS_MINGAP_SET, VTYPEPARS_OSGFILE_SET, VTYPEPARS_PERSON_CAPACITY, VTYPEPARS_PROBABILITY_SET, VTYPEPARS_SHAPE_SET, VTYPEPARS_SPEEDFACTOR_SET, VTYPEPARS_WIDTH_SET, SUMOVTypeParameter::wasSet(), and SUMOVTypeParameter::width.

Referenced by GNERouteHandler::closeVType().

◆ parse() [1/19]

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 GNEAttributeCarrier::canParse(), GNEDetectorE2::isValid(), and GNERoute::isValid().

◆ parse() [2/19]

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() [3/19]

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

Definition at line 923 of file GNEAttributeCarrier.cpp.

References StringUtils::toInt().

◆ parse() [4/19]

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

Definition at line 929 of file GNEAttributeCarrier.cpp.

References StringUtils::toDouble().

◆ parse() [5/19]

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

Definition at line 935 of file GNEAttributeCarrier.cpp.

References string2time().

◆ parse() [6/19]

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

Definition at line 946 of file GNEAttributeCarrier.cpp.

References StringUtils::toBool().

◆ parse() [7/19]

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

Definition at line 952 of file GNEAttributeCarrier.cpp.

◆ parse() [8/19]

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

Definition at line 958 of file GNEAttributeCarrier.cpp.

References SumoVehicleClassStrings, and SVC_IGNORING.

◆ parse() [9/19]

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

Definition at line 970 of file GNEAttributeCarrier.cpp.

References RGBColor::parseColor().

◆ parse() [10/19]

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

Definition at line 976 of file GNEAttributeCarrier.cpp.

References GeomConvHelper::parseShapeReporting().

◆ parse() [11/19]

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

Definition at line 992 of file GNEAttributeCarrier.cpp.

References GeomConvHelper::parseShapeReporting().

◆ parse() [12/19]

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

Definition at line 1010 of file GNEAttributeCarrier.cpp.

References SumoVehicleShapeStrings, and SVS_UNKNOWN.

◆ parse() [13/19]

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

Definition at line 1020 of file GNEAttributeCarrier.cpp.

References StringTokenizer::getVector().

◆ parse() [14/19]

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

Definition at line 1026 of file GNEAttributeCarrier.cpp.

References StringTokenizer::getVector().

◆ parse() [15/19]

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

Definition at line 1037 of file GNEAttributeCarrier.cpp.

◆ parse() [16/19]

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

Definition at line 1048 of file GNEAttributeCarrier.cpp.

◆ parse() [17/19]

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

Definition at line 1059 of file GNEAttributeCarrier.cpp.

◆ parse() [18/19]

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

◆ parse() [19/19]

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<typename T >
static std::string GNEAttributeCarrier::parseIDs ( const std::vector< T > &  ACs)
staticinherited

◆ parseIDs() [2/3]

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

Definition at line 1106 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [3/3]

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

Definition at line 1117 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ removeAdditionalChild()

◆ removeAdditionalParent()

void GNEHierarchicalElementParents::removeAdditionalParent ( GNEAdditional additional)
inherited

◆ removeDemandElementChild()

◆ removeDemandElementParent()

void GNEHierarchicalElementParents::removeDemandElementParent ( GNEDemandElement demandElement)
inherited

◆ removeEdgeChild()

◆ removeEdgeParent()

void GNEHierarchicalElementParents::removeEdgeParent ( GNEEdge edge)
inherited

◆ removeLaneChild()

◆ removeLaneParent()

void GNEHierarchicalElementParents::removeLaneParent ( GNELane lane)
inherited

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

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

◆ removeShapeChild()

◆ removeShapeParent()

void GNEHierarchicalElementParents::removeShapeParent ( GNEShape shape)
inherited

◆ selectAttributeCarrier()

◆ setAttribute() [1/2]

void GNEVehicleType::setAttribute ( SumoXMLAttr  key,
const std::string &  value,
GNEUndoList undoList 
)
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 GNEDemandElement.

Definition at line 515 of file GNEVehicleType.cpp.

References getAttribute(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_DEFAULT_VTYPE_MODIFIED, GNE_ATTR_GENERIC, GNEAttributeCarrier::GNEChange_Attribute, myDefaultVehicleType, GNEDemandElement::myViewNet, GNEUndoList::p_add(), SUMO_ATTR_ACCEL, SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_APPARENTDECEL, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CARRIAGE_GAP, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_CF_IDM_DELTA, SUMO_ATTR_CF_IDM_STEPPING, SUMO_ATTR_CF_IDMM_ADAPT_FACTOR, SUMO_ATTR_CF_IDMM_ADAPT_TIME, SUMO_ATTR_CF_KERNER_PHI, SUMO_ATTR_CF_PWAGNER2009_APPROB, SUMO_ATTR_CF_PWAGNER2009_TAULAST, SUMO_ATTR_CF_WIEDEMANN_ESTIMATION, SUMO_ATTR_CF_WIEDEMANN_SECURITY, SUMO_ATTR_COLLISION_MINGAP_FACTOR, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_DECEL, SUMO_ATTR_EMERGENCYDECEL, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HASDRIVERSTATE, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_JM_CROSSING_GAP, SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME, SUMO_ATTR_JM_DRIVE_AFTER_YELLOW_TIME, SUMO_ATTR_JM_DRIVE_RED_SPEED, SUMO_ATTR_JM_IGNORE_FOE_PROB, SUMO_ATTR_JM_IGNORE_FOE_SPEED, SUMO_ATTR_JM_IGNORE_KEEPCLEAR_TIME, SUMO_ATTR_JM_SIGMA_MINOR, SUMO_ATTR_JM_TIMEGAP_MINOR, SUMO_ATTR_K, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LCA_ACCEL_LAT, SUMO_ATTR_LCA_ASSERTIVE, SUMO_ATTR_LCA_COOPERATIVE_PARAM, SUMO_ATTR_LCA_IMPATIENCE, SUMO_ATTR_LCA_KEEPRIGHT_PARAM, SUMO_ATTR_LCA_LOOKAHEADLEFT, SUMO_ATTR_LCA_MAXSPEEDLATFACTOR, SUMO_ATTR_LCA_MAXSPEEDLATSTANDING, SUMO_ATTR_LCA_OPPOSITE_PARAM, SUMO_ATTR_LCA_OVERTAKE_RIGHT, SUMO_ATTR_LCA_PUSHY, SUMO_ATTR_LCA_PUSHYGAP, SUMO_ATTR_LCA_SPEEDGAIN_PARAM, SUMO_ATTR_LCA_SPEEDGAINRIGHT, SUMO_ATTR_LCA_STRATEGIC_PARAM, SUMO_ATTR_LCA_SUBLANE_PARAM, SUMO_ATTR_LCA_TIME_TO_IMPATIENCE, SUMO_ATTR_LCA_TURN_ALIGNMENT_DISTANCE, 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_SIGMA, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_TAU, SUMO_ATTR_TMP1, SUMO_ATTR_TMP2, SUMO_ATTR_TMP3, SUMO_ATTR_TMP4, SUMO_ATTR_TMP5, SUMO_ATTR_TRAIN_TYPE, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, and toString().

◆ setAttribute() [2/2]

void GNEVehicleType::setAttribute ( SumoXMLAttr  key,
const std::string &  value 
)
privatevirtual

method for setting the attribute and nothing else

Implements GNEDemandElement.

Definition at line 1212 of file GNEVehicleType.cpp.

References SUMOVTypeParameter::actionStepLength, SUMOVTypeParameter::boardingDuration, SUMOXMLDefinitions::CarFollowModels, SUMOVTypeParameter::carriageGap, SUMOVTypeParameter::VClassDefaultValues::carriageLength, SUMOVTypeParameter::carriageLength, SUMOVTypeParameter::cfModel, SUMOVTypeParameter::cfParameter, GNEDemandElement::changeDemandElementID(), SUMOVTypeParameter::color, SUMOVTypeParameter::VClassDefaultValues::containerCapacity, SUMOVTypeParameter::containerCapacity, SUMOVTypeParameter::defaultProbability, SUMOVTypeParameter::VClassDefaultValues::emissionClass, SUMOVTypeParameter::emissionClass, StringBijection< T >::get(), PollutantsInterface::getClassByName(), GNEAttributeCarrier::TagProperties::getDefaultValue(), Distribution_Parameterized::getParameter(), GNEAttributeCarrier::getTagStr(), getVehicleClassID(), getVehicleShapeID(), GNE_ATTR_DEFAULT_VTYPE_MODIFIED, GNE_ATTR_GENERIC, SUMOVTypeParameter::hasDriverState, SUMOVTypeParameter::VClassDefaultValues::height, SUMOVTypeParameter::height, SUMOVTypeParameter::imgFile, SUMOVTypeParameter::impatience, SUMOVTypeParameter::jmParameter, SUMOXMLDefinitions::LaneChangeModels, SUMOVTypeParameter::latAlignment, SUMOXMLDefinitions::LateralAlignments, SUMOVTypeParameter::lcModel, SUMOVTypeParameter::lcParameter, SUMOVTypeParameter::VClassDefaultValues::length, SUMOVTypeParameter::length, SUMOVTypeParameter::loadingDuration, SUMOVTypeParameter::VClassDefaultValues::locomotiveLength, SUMOVTypeParameter::locomotiveLength, SUMOVTypeParameter::VClassDefaultValues::maxSpeed, SUMOVTypeParameter::maxSpeed, SUMOVTypeParameter::maxSpeedLat, SUMOVTypeParameter::VClassDefaultValues::minGap, SUMOVTypeParameter::minGap, SUMOVTypeParameter::minGapLat, myDefaultVehicleTypeModified, GNEAttributeCarrier::myTagProperty, SUMOVTypeParameter::VClassDefaultValues::osgFile, SUMOVTypeParameter::osgFile, SUMOVTypeParameter::parametersSet, SUMOVTypeParameter::VClassDefaultValues::personCapacity, SUMOVTypeParameter::personCapacity, setGenericParametersStr(), Parameterised::setParameter(), SUMOVTypeParameter::VClassDefaultValues::shape, SUMOVTypeParameter::shape, SUMOVTypeParameter::VClassDefaultValues::speedFactor, SUMOVTypeParameter::speedFactor, string2time(), SUMO_ATTR_ACCEL, SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_APPARENTDECEL, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CARRIAGE_GAP, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_CF_IDM_DELTA, SUMO_ATTR_CF_IDM_STEPPING, SUMO_ATTR_CF_IDMM_ADAPT_FACTOR, SUMO_ATTR_CF_IDMM_ADAPT_TIME, SUMO_ATTR_CF_KERNER_PHI, SUMO_ATTR_CF_PWAGNER2009_APPROB, SUMO_ATTR_CF_PWAGNER2009_TAULAST, SUMO_ATTR_CF_WIEDEMANN_ESTIMATION, SUMO_ATTR_CF_WIEDEMANN_SECURITY, SUMO_ATTR_COLLISION_MINGAP_FACTOR, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_DECEL, SUMO_ATTR_EMERGENCYDECEL, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HASDRIVERSTATE, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_JM_CROSSING_GAP, SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME, SUMO_ATTR_JM_DRIVE_AFTER_YELLOW_TIME, SUMO_ATTR_JM_DRIVE_RED_SPEED, SUMO_ATTR_JM_IGNORE_FOE_PROB, SUMO_ATTR_JM_IGNORE_FOE_SPEED, SUMO_ATTR_JM_IGNORE_KEEPCLEAR_TIME, SUMO_ATTR_JM_SIGMA_MINOR, SUMO_ATTR_JM_TIMEGAP_MINOR, SUMO_ATTR_K, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LCA_ACCEL_LAT, SUMO_ATTR_LCA_ASSERTIVE, SUMO_ATTR_LCA_COOPERATIVE_PARAM, SUMO_ATTR_LCA_IMPATIENCE, SUMO_ATTR_LCA_KEEPRIGHT_PARAM, SUMO_ATTR_LCA_LOOKAHEADLEFT, SUMO_ATTR_LCA_MAXSPEEDLATFACTOR, SUMO_ATTR_LCA_MAXSPEEDLATSTANDING, SUMO_ATTR_LCA_OPPOSITE_PARAM, SUMO_ATTR_LCA_OVERTAKE_RIGHT, SUMO_ATTR_LCA_PUSHY, SUMO_ATTR_LCA_PUSHYGAP, SUMO_ATTR_LCA_SPEEDGAIN_PARAM, SUMO_ATTR_LCA_SPEEDGAINRIGHT, SUMO_ATTR_LCA_STRATEGIC_PARAM, SUMO_ATTR_LCA_SUBLANE_PARAM, SUMO_ATTR_LCA_TIME_TO_IMPATIENCE, SUMO_ATTR_LCA_TURN_ALIGNMENT_DISTANCE, 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_SIGMA, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_TAU, SUMO_ATTR_TMP1, SUMO_ATTR_TMP2, SUMO_ATTR_TMP3, SUMO_ATTR_TMP4, SUMO_ATTR_TMP5, SUMO_ATTR_TRAIN_TYPE, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, toString(), Parameterised::unsetParameter(), updateDefaultVClassAttributes(), SUMOVTypeParameter::vehicleClass, VTYPEPARS_ACTIONSTEPLENGTH_SET, VTYPEPARS_BOARDING_DURATION, VTYPEPARS_CAR_FOLLOW_MODEL, VTYPEPARS_CARRIAGE_GAP_SET, VTYPEPARS_CARRIAGE_LENGTH_SET, VTYPEPARS_COLOR_SET, VTYPEPARS_CONTAINER_CAPACITY, VTYPEPARS_EMISSIONCLASS_SET, VTYPEPARS_HASDRIVERSTATE_SET, VTYPEPARS_HEIGHT_SET, VTYPEPARS_IMGFILE_SET, VTYPEPARS_IMPATIENCE_SET, VTYPEPARS_LANE_CHANGE_MODEL_SET, VTYPEPARS_LATALIGNMENT_SET, VTYPEPARS_LENGTH_SET, VTYPEPARS_LOADING_DURATION, VTYPEPARS_LOCOMOTIVE_LENGTH_SET, VTYPEPARS_MAXSPEED_LAT_SET, VTYPEPARS_MAXSPEED_SET, VTYPEPARS_MINGAP_LAT_SET, VTYPEPARS_MINGAP_SET, VTYPEPARS_OSGFILE_SET, VTYPEPARS_PERSON_CAPACITY, VTYPEPARS_PROBABILITY_SET, VTYPEPARS_SHAPE_SET, VTYPEPARS_SPEEDFACTOR_SET, VTYPEPARS_VEHICLECLASS_SET, VTYPEPARS_WIDTH_SET, SUMOVTypeParameter::VClassDefaultValues::width, and SUMOVTypeParameter::width.

◆ setEnabledAttribute()

void GNEVehicleType::setEnabledAttribute ( const int  enabledAttributes)
privatevirtual

method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)

Implements GNEAttributeCarrier.

Definition at line 1689 of file GNEVehicleType.cpp.

◆ setGenericParametersStr()

void GNEVehicleType::setGenericParametersStr ( const std::string &  value)
virtual

◆ setMicrosimID()

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

◆ setParameter()

void Parameterised::setParameter ( const std::string &  key,
const std::string &  value 
)
inherited

Sets a parameter.

Parameters
[in]keyThe parameter's name
[in]valueThe parameter's value

Definition at line 45 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NLHandler::addDistrict(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NBEdge::append(), NIImporter_OpenStreetMap::insertNodeChecking(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NIImporter_ArcView::load(), NIImporter_OpenDrive::loadNetwork(), NIXMLTrafficLightsHandler::myStartElement(), MSStateHandler::myStartElement(), ShapeHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIImporter_MATSim::EdgesHandler::myStartElement(), NIImporter_OpenStreetMap::EdgesHandler::myStartElement(), GNEAdditionalHandler::parseGenericParameter(), setAttribute(), GNEConnection::setGenericParametersStr(), setGenericParametersStr(), GNELane::setGenericParametersStr(), GNEPoly::setGenericParametersStr(), GNEStop::setGenericParametersStr(), GNEPOI::setGenericParametersStr(), GNEJunction::setGenericParametersStr(), GNERide::setGenericParametersStr(), GNEPersonTrip::setGenericParametersStr(), GNEWalk::setGenericParametersStr(), GNEEdge::setGenericParametersStr(), GNERoute::setGenericParametersStr(), GNEPerson::setGenericParametersStr(), GNEAdditional::setGenericParametersStr(), GNEVehicle::setGenericParametersStr(), NIImporter_OpenDrive::setLaneAttributes(), libsumo::Route::setParameter(), libsumo::Polygon::setParameter(), libsumo::TrafficLight::setParameter(), libsumo::POI::setParameter(), libsumo::Edge::setParameter(), and libsumo::Lane::setParameter().

◆ sortAdditionalChildren()

◆ sortDemandElementChildren()

void GNEHierarchicalElementChildren::sortDemandElementChildren ( )
inherited

sort children (used by Rerouters, VSS, TAZs...)

Definition at line 309 of file GNEHierarchicalElementChildren.cpp.

Referenced by GNEHierarchicalElementChildren::addDemandElementChild(), and GNEHierarchicalElementChildren::removeDemandElementChild().

◆ startGeometryMoving()

void GNEVehicleType::startGeometryMoving ( )
virtual

Implements GNEDemandElement.

Definition at line 127 of file GNEVehicleType.cpp.

◆ unreferenced()

◆ unselectAttributeCarrier()

◆ unsetParameter()

void Parameterised::unsetParameter ( const std::string &  key)
inherited

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 51 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by setAttribute().

◆ updateAdditionalParent()

void GNEHierarchicalElementChildren::updateAdditionalParent ( )
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 451 of file GNEHierarchicalElementChildren.cpp.

Referenced by GNEHierarchicalElementChildren::addAdditionalChild(), and GNEHierarchicalElementChildren::removeAdditionalChild().

◆ updateChildConnections()

void GNEHierarchicalElementChildren::updateChildConnections ( )
inherited

◆ updateDefaultVClassAttributes()

void GNEVehicleType::updateDefaultVClassAttributes ( const VClassDefaultValues defaultValues)
private

function called after set new VClass

Definition at line 1695 of file GNEVehicleType.cpp.

References SUMOVTypeParameter::VClassDefaultValues::carriageLength, SUMOVTypeParameter::carriageLength, SUMOVTypeParameter::VClassDefaultValues::containerCapacity, SUMOVTypeParameter::containerCapacity, SUMOVTypeParameter::VClassDefaultValues::emissionClass, SUMOVTypeParameter::emissionClass, SUMOVTypeParameter::VClassDefaultValues::height, SUMOVTypeParameter::height, SUMOVTypeParameter::VClassDefaultValues::length, SUMOVTypeParameter::length, SUMOVTypeParameter::VClassDefaultValues::locomotiveLength, SUMOVTypeParameter::locomotiveLength, SUMOVTypeParameter::VClassDefaultValues::maxSpeed, SUMOVTypeParameter::maxSpeed, SUMOVTypeParameter::VClassDefaultValues::minGap, SUMOVTypeParameter::minGap, SUMOVTypeParameter::VClassDefaultValues::osgFile, SUMOVTypeParameter::osgFile, SUMOVTypeParameter::VClassDefaultValues::personCapacity, SUMOVTypeParameter::personCapacity, SUMOVTypeParameter::VClassDefaultValues::shape, SUMOVTypeParameter::shape, SUMOVTypeParameter::VClassDefaultValues::speedFactor, SUMOVTypeParameter::speedFactor, VTYPEPARS_CARRIAGE_LENGTH_SET, VTYPEPARS_CONTAINER_CAPACITY, VTYPEPARS_EMISSIONCLASS_SET, VTYPEPARS_HEIGHT_SET, VTYPEPARS_LENGTH_SET, VTYPEPARS_LOCOMOTIVE_LENGTH_SET, VTYPEPARS_MAXSPEED_SET, VTYPEPARS_MINGAP_SET, VTYPEPARS_OSGFILE_SET, VTYPEPARS_PERSON_CAPACITY, VTYPEPARS_SHAPE_SET, VTYPEPARS_SPEEDFACTOR_SET, VTYPEPARS_WIDTH_SET, SUMOVTypeParameter::wasSet(), SUMOVTypeParameter::VClassDefaultValues::width, and SUMOVTypeParameter::width.

Referenced by setAttribute().

◆ updateDemandElementParent()

void GNEHierarchicalElementChildren::updateDemandElementParent ( )
virtualinherited

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

Definition at line 457 of file GNEHierarchicalElementChildren.cpp.

◆ updateGeometry()

void GNEVehicleType::updateGeometry ( )
virtual

update pre-computed geometry information

Implements GNEDemandElement.

Definition at line 151 of file GNEVehicleType.cpp.

◆ updateParameter()

void Parameterised::updateParameter ( const std::map< std::string, std::string > &  mapArg)
inherited

◆ wasSet()

◆ write()

void SUMOVTypeParameter::write ( OutputDevice dev) const
inherited

Writes the vtype.

Parameters
[in,out]devThe device to write into
Exceptions
IOErrornot yet implemented

Definition at line 301 of file SUMOVTypeParameter.cpp.

References SUMOVTypeParameter::actionStepLength, SUMOVTypeParameter::boardingDuration, SUMOXMLDefinitions::CarFollowModels, SUMOVTypeParameter::cfModel, SUMOVTypeParameter::cfParameter, OutputDevice::closeTag(), SUMOVTypeParameter::color, SUMOVTypeParameter::containerCapacity, SUMOVTypeParameter::defaultProbability, SUMOVTypeParameter::emissionClass, PollutantsInterface::getName(), getVehicleShapeName(), SUMOVTypeParameter::hasDriverState, SUMOVTypeParameter::height, SUMOVTypeParameter::imgFile, SUMOVTypeParameter::impatience, SUMOVTypeParameter::jmParameter, SUMOVTypeParameter::latAlignment, SUMOVTypeParameter::lcModel, SUMOVTypeParameter::lcParameter, SUMOVTypeParameter::length, SUMOVTypeParameter::loadingDuration, SUMOVTypeParameter::maxSpeed, SUMOVTypeParameter::maxSpeedLat, SUMOVTypeParameter::minGap, SUMOVTypeParameter::minGapLat, SUMOVTypeParameter::onlyReferenced, OutputDevice::openTag(), SUMOVTypeParameter::osgFile, SUMOVTypeParameter::personCapacity, SUMOVTypeParameter::shape, SUMOVTypeParameter::speedFactor, STEPS2TIME, SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HASDRIVERSTATE, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LENGTH, SUMO_ATTR_LOADING_DURATION, 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_SPEEDFACTOR, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, SUMO_TAG_VTYPE, toString(), SUMOVTypeParameter::vehicleClass, VTYPEPARS_ACTIONSTEPLENGTH_SET, VTYPEPARS_BOARDING_DURATION, VTYPEPARS_CAR_FOLLOW_MODEL, VTYPEPARS_COLOR_SET, VTYPEPARS_CONTAINER_CAPACITY, VTYPEPARS_EMISSIONCLASS_SET, VTYPEPARS_HASDRIVERSTATE_SET, VTYPEPARS_HEIGHT_SET, VTYPEPARS_IMGFILE_SET, VTYPEPARS_IMPATIENCE_SET, VTYPEPARS_LANE_CHANGE_MODEL_SET, VTYPEPARS_LATALIGNMENT_SET, VTYPEPARS_LENGTH_SET, VTYPEPARS_LOADING_DURATION, VTYPEPARS_MAXSPEED_LAT_SET, VTYPEPARS_MAXSPEED_SET, VTYPEPARS_MINGAP_LAT_SET, VTYPEPARS_MINGAP_SET, VTYPEPARS_OSGFILE_SET, VTYPEPARS_PERSON_CAPACITY, VTYPEPARS_PROBABILITY_SET, VTYPEPARS_SHAPE_SET, VTYPEPARS_SPEEDFACTOR_SET, VTYPEPARS_VEHICLECLASS_SET, VTYPEPARS_WIDTH_SET, SUMOVTypeParameter::wasSet(), SUMOVTypeParameter::width, OutputDevice::writeAttr(), and Parameterised::writeParams().

Referenced by ROVehicle::saveAsXML(), ROPerson::saveAsXML(), SUMOVTypeParameter::wasSet(), writeDemandElement(), and RODFDetectorCon::writeEmitters().

◆ writeDemandElement()

void GNEVehicleType::writeDemandElement ( OutputDevice device) const
virtual

writte demand element element into a xml file

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

Implements GNEDemandElement.

Definition at line 84 of file GNEVehicleType.cpp.

References myDefaultVehicleType, myDefaultVehicleTypeModified, and SUMOVTypeParameter::write().

◆ writeParams()

Field Documentation

◆ actionStepLength

SUMOTime SUMOVTypeParameter::actionStepLength
inherited

The vehicle type's default actionStepLength [ms], i.e. the interval between two control actions. The default value of 0ms. induces the value to be traced from MSGlobals::gActionStepLength.

Definition at line 223 of file SUMOVTypeParameter.h.

Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::check(), MSVehicleType::getActionStepLength(), getAttribute(), MSVehicleType::MSVehicleType(), overwriteVType(), MSVehicleType::setActionStepLength(), setAttribute(), and SUMOVTypeParameter::write().

◆ boardingDuration

SUMOTime SUMOVTypeParameter::boardingDuration
inherited

◆ carriageGap

◆ carriageLength

◆ cfModel

◆ cfParameter

◆ color

◆ containerCapacity

◆ defaultProbability

double SUMOVTypeParameter::defaultProbability
inherited

◆ dummyTagProperty

GNEAttributeCarrier::TagProperties GNEAttributeCarrier::dummyTagProperty
staticprotectedinherited

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

Definition at line 798 of file GNEAttributeCarrier.h.

Referenced by GNEAttributeCarrier::getTagProperties().

◆ emissionClass

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

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

◆ FEATURE_LOADED

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

Definition at line 584 of file GNEAttributeCarrier.h.

◆ FEATURE_MODIFIED

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

feature has been manually modified (implies approval)

Definition at line 590 of file GNEAttributeCarrier.h.

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

◆ hasDriverState

bool SUMOVTypeParameter::hasDriverState
inherited

Whether vehicles of this type are equipped with a driver (i.e. MSDriverState))

Definition at line 279 of file SUMOVTypeParameter.h.

Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), getAttribute(), overwriteVType(), setAttribute(), and SUMOVTypeParameter::write().

◆ height

◆ id

◆ imgFile

std::string SUMOVTypeParameter::imgFile
inherited

◆ impatience

double SUMOVTypeParameter::impatience
inherited

◆ INVALID_ID

const GUIGlID GUIGlObject::INVALID_ID = 0
staticinherited

◆ INVALID_POSITION

const double GNEAttributeCarrier::INVALID_POSITION
staticinherited

invalid double position

Definition at line 600 of file GNEAttributeCarrier.h.

Referenced by GNEAdditionalHandler::parseAndBuildPOI().

◆ jmParameter

◆ latAlignment

◆ lcModel

LaneChangeModel SUMOVTypeParameter::lcModel
inherited

◆ lcParameter

◆ length

◆ loadingDuration

SUMOTime SUMOVTypeParameter::loadingDuration
inherited

The time a container needs to get loaded on the vehicle.

Definition at line 253 of file SUMOVTypeParameter.h.

Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), getAttribute(), MSVehicleType::getLoadingDuration(), overwriteVType(), setAttribute(), and SUMOVTypeParameter::write().

◆ locomotiveLength

◆ MAXNUMBEROFATTRIBUTES

const size_t GNEAttributeCarrier::MAXNUMBEROFATTRIBUTES = 128
staticinherited

◆ maxSpeed

◆ maxSpeedLat

double SUMOVTypeParameter::maxSpeedLat
inherited

◆ minGap

◆ minGapLat

double SUMOVTypeParameter::minGapLat
inherited

◆ myChildConnections

◆ myDefaultVehicleType

bool GNEVehicleType::myDefaultVehicleType
protected

flag to check if this GNEVehicleType is a default vehicle Type (For Vehicles, Pedestrians...)

Definition at line 195 of file GNEVehicleType.h.

Referenced by getAttribute(), GNEVehicleType(), isValid(), setAttribute(), and writeDemandElement().

◆ myDefaultVehicleTypeModified

bool GNEVehicleType::myDefaultVehicleTypeModified
protected

flag to check if this default GNEVehicleType was modified

Definition at line 198 of file GNEVehicleType.h.

Referenced by getAttribute(), GNEVehicleType(), setAttribute(), and writeDemandElement().

◆ myDemandElementGeometry

DemandElementGeometry GNEDemandElement::myDemandElementGeometry
protectedinherited

◆ myDemandElementSegmentGeometry

◆ myParentConnections

ParentConnections GNEHierarchicalElementParents::myParentConnections
protectedinherited

variable ParentConnections

Definition at line 233 of file GNEHierarchicalElementParents.h.

◆ mySelected

◆ myTagProperty

const TagProperties& GNEAttributeCarrier::myTagProperty
protectedinherited

the xml tag to which this attribute carrier corresponds

Definition at line 792 of file GNEAttributeCarrier.h.

Referenced by GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNEDetectorEntryExit::drawGL(), GNEDetectorE2::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEAdditional::endGeometryMoving(), getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEPerson::getBegin(), GNEVehicle::getBegin(), GNEStop::getColor(), GNEWalk::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNENetElement::getHierarchyName(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEAttributeCarrier::getIcon(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEDemandElement::getParameterWindow(), GNEVehicle::getParentName(), GNENetElement::getPopUpID(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEStop::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEPersonTrip::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEAdditional::setDefaultValues(), GNEAdditional::startGeometryMoving(), GNEAdditional::writeAdditional(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ myViewNet

GNEViewNet* GNEDemandElement::myViewNet
protectedinherited

The GNEViewNet this demand element element belongs.

Definition at line 469 of file GNEDemandElement.h.

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

◆ onlyReferenced

bool SUMOVTypeParameter::onlyReferenced
inherited

Information whether this is a type-stub, being only referenced but not defined (needed by routers)

Definition at line 314 of file SUMOVTypeParameter.h.

Referenced by RONet::RONet(), and SUMOVTypeParameter::write().

◆ osgFile

◆ parametersSet

◆ personCapacity

◆ saved

bool SUMOVTypeParameter::saved
mutableinherited

Information whether this type was already saved (needed by routers)

Definition at line 311 of file SUMOVTypeParameter.h.

Referenced by ROVehicle::saveAsXML(), and ROPerson::saveAsXML().

◆ shape

◆ speedFactor

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 69 of file GUIGlObject.h.

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

◆ vehicleClass

◆ width


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