SUMO - Simulation of Urban MObility
GNECalibratorRoute Class Reference

#include <GNECalibratorRoute.h>

Inheritance diagram for GNECalibratorRoute:
Inheritance graph
Collaboration diagram for GNECalibratorRoute:
Collaboration graph

Public Types

enum  AttrProperty {
  ATTRPROPERTY_INT = 1 << 0, ATTRPROPERTY_FLOAT = 1 << 1, ATTRPROPERTY_BOOL = 1 << 2, ATTRPROPERTY_STRING = 1 << 3,
  ATTRPROPERTY_POSITION = 1 << 4, ATTRPROPERTY_COLOR = 1 << 5, ATTRPROPERTY_VCLASS = 1 << 6, ATTRPROPERTY_POSITIVE = 1 << 7,
  ATTRPROPERTY_NOTZERO = 1 << 8, ATTRPROPERTY_UNIQUE = 1 << 9, ATTRPROPERTY_FILENAME = 1 << 10, ATTRPROPERTY_NONEDITABLE = 1 << 11,
  ATTRPROPERTY_DISCRETE = 1 << 12, ATTRPROPERTY_PROBABILITY = 1 << 13, ATTRPROPERTY_TIME = 1 << 14, ATTRPROPERTY_ANGLE = 1 << 15,
  ATTRPROPERTY_LIST = 1 << 16, ATTRPROPERTY_OPTIONAL = 1 << 17, ATTRPROPERTY_DEFAULTVALUE = 1 << 18, ATTRPROPERTY_COMBINABLE = 1 << 19,
  ATTRPROPERTY_SYNONYM = 1 << 20
}
 struct with the tag Properties More...
 
enum  TAGProperty {
  TAGPROPERTY_NETELEMENT = 1 << 0, TAGPROPERTY_ADDITIONAL = 1 << 1, TAGPROPERTY_SHAPE = 1 << 2, TAGPROPERTY_STOPPINGPLACE = 1 << 3,
  TAGPROPERTY_DETECTOR = 1 << 4, TAGPROPERTY_ROUTEELEMENT = 1 << 5, TAGPROPERTY_DRAWABLE = 1 << 6, TAGPROPERTY_BLOCKMOVEMENT = 1 << 7,
  TAGPROPERTY_BLOCKSHAPE = 1 << 8, TAGPROPERTY_CLOSESHAPE = 1 << 9, TAGPROPERTY_GEOPOSITION = 1 << 10, TAGPROPERTY_GEOSHAPE = 1 << 11,
  TAGPROPERTY_DIALOG = 1 << 12, TAGPROPERTY_PARENT = 1 << 13, TAGPROPERTY_MINIMUMCHILDS = 1 << 14, TAGPROPERTY_REPARENT = 1 << 15,
  TAGPROPERTY_SYNONYM = 1 << 16, TAGPROPERTY_AUTOMATICSORTING = 1 << 17, TAGPROPERTY_SELECTABLE = 1 << 18, TAGPROPERTY_WRITECHILDSSEPARATE = 1 << 19
}
 

Public Member Functions

void clearParameter ()
 Clears the parameter map. More...
 
void decRef (const std::string &debugMsg="")
 Decrease reference. More...
 
virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additional, user-triggered visualisations. More...
 
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const
 draw name of item More...
 
std::string generateAdditionalChildID (SumoXMLTag childTag)
 gererate a new ID for an additional child More...
 
virtual std::string getAttributeForSelection (SumoXMLAttr key) const
 method for getting the attribute in the context of object selection More...
 
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double. More...
 
GNEAdditional * getFirstAdditionalParent () const
 
const std::vector< GNEEdge * > & getGNEEdges () const
 get GNEEdges of Calibrator ROute More...
 
FXIcon * getIcon () const
 get FXIcon associated to this AC More...
 
const std::string getID () const
 function to support debugging 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...
 
GNEAdditional * getSecondAdditionalParent () const
 
PositionVector getShape () const
 Returns additional element's shape. More...
 
SumoXMLTag getTag () const
 get XML Tag assigned to this object More...
 
GNEViewNet * getViewNet () const
 Returns a pointer to GNEViewNet in which additional element is located. More...
 
 GNECalibratorRoute (GNEViewNet *viewNet)
 default constructor (used only in GNECalibratorDialog) More...
 
 GNECalibratorRoute (GNEViewNet *viewNet, const std::string &routeID, const std::vector< GNEEdge *> &edges, const RGBColor &color)
 parameter constructor More...
 
void incRef (const std::string &debugMsg="")
 Increarse reference. More...
 
bool isAdditionalBlocked () const
 Check if additional item is currently blocked (i.e. cannot be moved with mouse) More...
 
bool knowsParameter (const std::string &key) const
 Returns whether the parameter is known. More...
 
virtual void openAdditionalDialog ()
 open Additional Dialog More...
 
template<>
int parse (const std::string &string)
 
template<>
double 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<>
SUMOVehicleShape parse (const std::string &string)
 
template<>
std::vector< 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...
 
void updateParameter (const std::map< std::string, std::string > &mapArg)
 Adds or updates all given parameters from the map. More...
 
void writeAdditional (OutputDevice &device) const
 writte additional element into a xml file More...
 
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice More...
 
 ~GNECalibratorRoute ()
 destructor More...
 
Functions related with geometry of element
void moveGeometry (const Position &oldPos, const Position &offset)
 change the position of the element geometry without saving in undoList More...
 
void commitGeometryMoving (const Position &oldPos, GNEUndoList *undoList)
 commit geometry changes in the attributes of an element after use of moveGeometry(...) More...
 
void updateGeometry (bool updateGrid)
 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...
 
void drawGL (const GUIVisualizationSettings &s) const
 Draws the object. More...
 
std::string getAttribute (SumoXMLAttr key) const
 inherited from GNEAttributeCarrier More...
 
void setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
 method for setting the attribute and letting the object perform additional changes More...
 
bool isValid (SumoXMLAttr key, const std::string &value)
 method for checking if the key and their conrrespond attribute are valids More...
 
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 geometry of element

begin movement (used when user click over additional to start a movement, to avoid problems with problems with GL Tree)

void startGeometryMoving ()
 
void endGeometryMoving ()
 begin movement (used when user click over additional to start a movement, to avoid problems with problems with GL Tree) More...
 
members and functions relative to additional's childs
void addAdditionalChild (GNEAdditional *additional)
 add additional child to this additional More...
 
void removeAdditionalChild (GNEAdditional *additional)
 remove additional child from this additional More...
 
const std::vector< GNEAdditional * > & getAdditionalChilds () const
 return vector of additionals that have as Parent this edge (For example, Calibrators) More...
 
void sortAdditionalChilds ()
 sort childs (used by Rerouters and VSS) More...
 
bool checkAdditionalChildsOverlapping () const
 check if childs are overlapped (Used by Rerouters) More...
 
void addEdgeChild (GNEEdge *edge)
 add edge child More...
 
void removeEdgeChild (GNEEdge *edge)
 remove edge child More...
 
const std::vector< GNEEdge * > & getEdgeChilds () const
 get edge chidls More...
 
void addLaneChild (GNELane *lane)
 add lane child More...
 
void removeLaneChild (GNELane *lane)
 remove lane child More...
 
const std::vector< GNELane * > & getLaneChilds () const
 get lanes of VSS More...
 
inherited from GUIGlObject
GUIGLObjectPopupMenu * getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own popup-menu. More...
 
GUIParameterTableWindow * getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own parameter window. More...
 
Boundary getCenteringBoundary () const
 Returns the boundary to which the view shall be centered in order to show the object. More...
 
inherited from GNEAttributeCarrier

select attribute carrier using GUIGlobalSelection

void selectAttributeCarrier (bool changeFlag=true)
 
void unselectAttributeCarrier (bool changeFlag=true)
 unselect attribute carrier using GUIGlobalSelection More...
 
bool isAttributeCarrierSelected () const
 check if attribute carrier is selected More...
 
Functions related with Generic Paramters
bool addGenericParameter (const std::string &key, const std::string &value)
 add generic parameter More...
 
bool removeGenericParameter (const std::string &key)
 remove generic parameter More...
 
bool updateGenericParameter (const std::string &oldKey, const std::string &newKey)
 update generic parameter More...
 
bool updateGenericParameterValue (const std::string &key, const std::string &newValue)
 update value generic parameter More...
 
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...
 
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 GUIParameterTableWindow * getTypeParameterWindow (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 void setMicrosimID (const std::string &newID)
 Changes the microsimID of the object. More...
 
GUIGlObjectType getType () const
 Returns the type of the object as coded in GUIGlObjectType. More...
 
Parameter table window I/O

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

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

Static Public Member Functions

static std::vector< SumoXMLTag > allowedAdditionalTags (bool onlyDrawables)
 get all editable for tag additional elements More...
 
static std::vector< SumoXMLTag > allowedNetElementsTags (bool onlyDrawables)
 get all editable for tag net elements More...
 
static std::vector< SumoXMLTag > allowedShapeTags (bool onlyDrawables)
 get all editable for tag shape elements More...
 
static std::vector< SumoXMLTag > allowedTags (bool onlyDrawables)
 get all editable for tag elements of all types More...
 
template<typename T >
static bool canParse (const std::string &string)
 true if a value of type T can be parsed from string More...
 
template<typename T >
static bool canParse (GNENet *net, const std::string &value, bool report)
 true if a value of type T can be parsed from string More...
 
static int getCircleResolution (const GUIVisualizationSettings &settings)
 function to calculate circle resolution for all circles drawn in drawGL(...) functions More...
 
static int getHigherNumberOfAttributes ()
 return the number of attributes of the tag with the most highter number of attributes More...
 
static const TagValues & getTagProperties (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...
 
template<typename T >
static T parse (const std::string &string)
 parses a value of type T from string (used for basic types: int, double, bool, etc.) More...
 
template<typename T >
static T parse (GNENet *net, const std::string &value)
 parses a complex value of type T from string (use for list of edges, list of lanes, etc.) More...
 
template<typename T >
static T parseAttributeFromXML (const SUMOSAXAttributes &attrs, const std::string &objectID, const SumoXMLTag tag, const SumoXMLAttr attribute, bool &abort)
 Parse attribute from XML and show warnings if there are problems parsing it. More...
 
template<typename T >
static std::string parseIDs (const std::vector< T > &ACs)
 parses a list of specific Attribute Carriers into a string of IDs More...
 
static bool parseStringToANDBool (const std::string &string)
 parse a string of booleans (1 0 1 1....) using AND operation More...
 

Static Public Attributes

static const GUIGlID INVALID_ID = 0
 
static const double INVALID_POSITION = -1000000
 default value for invalid positions (used by POIs and Polygons) More...
 
static StringBijection< GUIGlObjectType > TypeNames
 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 setDefaultValues ()
 change all attributes of additional with their default values (note: this cannot be undo) More...
 
Functions relative to change values in setAttribute(...)
const std::string & getAdditionalID () const
 returns Additional ID More...
 
bool isValidAdditionalID (const std::string &newID) const
 check if a new additional ID is valid More...
 
void changeAdditionalID (const std::string &newID)
 change ID of additional More...
 
GNEEdge * changeEdge (GNEEdge *oldEdge, const std::string &newEdgeID)
 change edge of additional More...
 
GNELane * changeLane (GNELane *oldLane, const std::string &newLaneID)
 change lane of additional More...
 
void changeFirstAdditionalParent (const std::string &newAdditionalParentID)
 change first additional parent of additional More...
 
void changeSecondAdditionalParent (const std::string &newAdditionalParentID)
 change second additional parent of additional More...
 
helper methods for building popup-menus
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header. More...
 
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object. More...
 
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard. More...
 
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object. More...
 
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window. More...
 
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window. More...
 
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More...
 
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window. More...
 

Static Protected Member Functions

static void fillAttributeCarriers ()
 fill Attribute Carriers More...
 

Protected Attributes

std::vector< GNEAdditional * > myAdditionalChilds
 vector with the Additional childs More...
 
std::string myAdditionalName
 name of additional More...
 
bool myBlockMovement
 boolean to check if additional element is blocked (i.e. cannot be moved with mouse) More...
 
RGBColor myColor
 color of ROute More...
 
std::vector< GNEEdge * > myEdgeChilds
 vector with the edge childs of this additional More...
 
std::vector< GNEEdge * > myEdges
 edges of route More...
 
GNEAdditional * myFirstAdditionalParent
 pointer to first Addititional parent More...
 
std::vector< GNELane * > myLaneChilds
 vector with the lane childs of this additional More...
 
Boundary myMovingGeometryBoundary
 boundary used during moving of elements More...
 
GNEAdditional * mySecondAdditionalParent
 pointer to second Addititional parent More...
 
bool mySelected
 boolean to check if this AC is selected (instead of GUIGlObjectStorage) More...
 
PositionVector myShape
 The shape of the additional element. More...
 
const SumoXMLTag myTag
 the xml tag to which this attribute carrier corresponds More...
 
GNEViewNet * myViewNet
 The GNEViewNet this additional element belongs. More...
 
computed only once (for performance) in updateGeometry(bool updateGrid)

The rotations of the shape parts

std::vector< double > myShapeRotations
 
std::vector< double > myShapeLengths
 The lengths of the shape parts. More...
 

Static Protected Attributes

static std::map< SumoXMLTag, TagValues > myAllowedTags
 map with the tags values More...
 

Private Member Functions

 GNECalibratorRoute (GNECalibratorRoute *)=delete
 Invalidated copy constructor. More...
 
GNECalibratorRoute & operator= (GNECalibratorRoute *)=delete
 Invalidated assignment operator. More...
 
void setAttribute (SumoXMLAttr key, const std::string &value)
 method for setting the attribute and nothing else More...
 

members and functions relative to block icon

set Rotation of block Icon (must be called in updateGeometry(bool updateGrid) function)

Position myBlockIconPosition
 position of the block icon More...
 
Position myBlockIconOffset
 The offSet of the block icon. More...
 
double myBlockIconRotation
 The rotation of the block icon. More...
 
void setBlockIconRotation (GNELane *additionalLane=nullptr)
 
void drawLockIcon (double size=0.5) const
 draw lock icon More...
 

members and functions relative to connections between Additionals and their childs

std::vector< std::pair< Position, double > > mySymbolsPositionAndRotation
 position and rotation of every simbol over lane More...
 
std::vector< PositionVector > myChildConnectionPositions
 Matrix with the Vertex's positions of connections between parents an their childs. More...
 
void updateChildConnections ()
 update Connection's geometry More...
 
void drawChildConnections () const
 draw connections between Parent and childrens More...
 

Detailed Description

vehicle route used by GNECalibrators

Definition at line 45 of file GNECalibratorRoute.h.

Member Enumeration Documentation

◆ AttrProperty

struct with the tag Properties

Enumerator
ATTRPROPERTY_INT 
ATTRPROPERTY_FLOAT 
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_TIME 
ATTRPROPERTY_ANGLE 
ATTRPROPERTY_LIST 
ATTRPROPERTY_OPTIONAL 
ATTRPROPERTY_DEFAULTVALUE 
ATTRPROPERTY_COMBINABLE 
ATTRPROPERTY_SYNONYM 

Definition at line 68 of file GNEAttributeCarrier.h.

◆ TAGProperty

Enumerator
TAGPROPERTY_NETELEMENT 
TAGPROPERTY_ADDITIONAL 
TAGPROPERTY_SHAPE 
TAGPROPERTY_STOPPINGPLACE 
TAGPROPERTY_DETECTOR 
TAGPROPERTY_ROUTEELEMENT 
TAGPROPERTY_DRAWABLE 
TAGPROPERTY_BLOCKMOVEMENT 
TAGPROPERTY_BLOCKSHAPE 
TAGPROPERTY_CLOSESHAPE 
TAGPROPERTY_GEOPOSITION 
TAGPROPERTY_GEOSHAPE 
TAGPROPERTY_DIALOG 
TAGPROPERTY_PARENT 
TAGPROPERTY_MINIMUMCHILDS 
TAGPROPERTY_REPARENT 
TAGPROPERTY_SYNONYM 
TAGPROPERTY_AUTOMATICSORTING 
TAGPROPERTY_SELECTABLE 
TAGPROPERTY_WRITECHILDSSEPARATE 

Definition at line 202 of file GNEAttributeCarrier.h.

Constructor & Destructor Documentation

◆ GNECalibratorRoute() [1/3]

GNECalibratorRoute::GNECalibratorRoute ( GNEViewNet *  viewNet)

default constructor (used only in GNECalibratorDialog)

Definition at line 54 of file GNECalibratorRoute.cpp.

References GNEAdditional::setDefaultValues().

◆ GNECalibratorRoute() [2/3]

GNECalibratorRoute::GNECalibratorRoute ( GNEViewNet *  viewNet,
const std::string &  routeID,
const std::vector< GNEEdge *> &  edges,
const RGBColor &  color 
)

parameter constructor

Definition at line 61 of file GNECalibratorRoute.cpp.

◆ ~GNECalibratorRoute()

GNECalibratorRoute::~GNECalibratorRoute ( )

destructor

Definition at line 68 of file GNECalibratorRoute.cpp.

◆ GNECalibratorRoute() [3/3]

GNECalibratorRoute::GNECalibratorRoute ( GNECalibratorRoute *  )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addAdditionalChild()

◆ addEdgeChild()

void GNEAdditional::addEdgeChild ( GNEEdge *  edge)
inherited

◆ addGenericParameter()

bool GNEAdditional::addGenericParameter ( const std::string &  key,
const std::string &  value 
)
virtualinherited

add generic parameter

Implements GNEAttributeCarrier.

Definition at line 925 of file GNEAdditional.cpp.

References Parameterised::knowsParameter(), and Parameterised::setParameter().

◆ addLaneChild()

void GNEAdditional::addLaneChild ( GNELane *  lane)
inherited

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow *  w)
inherited

◆ allowedAdditionalTags()

◆ allowedNetElementsTags()

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

◆ allowedShapeTags()

◆ allowedTags()

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

get all editable for tag elements of all types

Definition at line 822 of file GNEAttributeCarrier.cpp.

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

◆ buildAdditionalsPopupOptions()

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

◆ buildCenterPopupEntry()

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

◆ buildPositionCopyEntry()

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

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

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

◆ canParse() [1/2]

template<typename T >
static bool GNEAttributeCarrier::canParse ( const std::string &  string)
inlinestaticinherited

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

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

◆ changeAdditionalID()

◆ changeEdge()

GNEEdge * GNEAdditional::changeEdge ( GNEEdge *  oldEdge,
const std::string &  newEdgeID 
)
protectedinherited

◆ changeFirstAdditionalParent()

void GNEAdditional::changeFirstAdditionalParent ( const std::string &  newAdditionalParentID)
protectedinherited

change first additional parent of additional

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

Definition at line 854 of file GNEAdditional.cpp.

References GNEAdditional::addAdditionalChild(), GUIGlObject::getMicrosimID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTag(), GNEAdditional::myFirstAdditionalParent, GNEAdditional::myViewNet, GNEAdditional::removeAdditionalChild(), GNENet::retrieveAdditional(), toString(), and GNEAdditional::updateGeometry().

Referenced by GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), and GNEParkingSpace::setAttribute().

◆ changeLane()

◆ changeSecondAdditionalParent()

void GNEAdditional::changeSecondAdditionalParent ( const std::string &  newAdditionalParentID)
protectedinherited

change second additional parent of additional

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

Definition at line 870 of file GNEAdditional.cpp.

References GNEAdditional::addAdditionalChild(), GUIGlObject::getMicrosimID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTag(), GNEAdditional::mySecondAdditionalParent, GNEAdditional::myViewNet, GNEAdditional::removeAdditionalChild(), GNENet::retrieveAdditional(), toString(), and GNEAdditional::updateGeometry().

Referenced by GNEParkingAreaReroute::setAttribute().

◆ checkAdditionalChildsOverlapping()

bool GNEAdditional::checkAdditionalChildsOverlapping ( ) const
inherited

◆ clearParameter()

◆ commitGeometryMoving()

void GNECalibratorRoute::commitGeometryMoving ( const Position &  oldPos,
GNEUndoList *  undoList 
)
virtual

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

Parameters
[in]oldPosthe old position of additional
[in]undoListThe undoList on which to register changes

Implements GNEAdditional.

Definition at line 84 of file GNECalibratorRoute.cpp.

◆ decRef()

◆ drawChildConnections()

void GNEAdditional::drawChildConnections ( ) const
protectedinherited

◆ drawGL()

void GNECalibratorRoute::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 GNEAdditional.

Definition at line 108 of file GNECalibratorRoute.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, GUIPerson, and GUIContainer.

Definition at line 161 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ drawLockIcon()

◆ drawName()

◆ endGeometryMoving()

void GNEAdditional::endGeometryMoving ( )
inherited

begin movement (used when user click over additional to start a movement, to avoid problems with problems with GL Tree)

Definition at line 232 of file GNEAdditional.cpp.

References GNENet::addGLObjectIntoGrid(), GNEViewNet::getNet(), Boundary::isInitialised(), GNEAdditional::myMovingGeometryBoundary, GNEAdditional::myViewNet, GNENet::removeGLObjectFromGrid(), Boundary::reset(), and GNEAdditional::updateGeometry().

Referenced by GNEViewNet::onLeftBtnRelease().

◆ fillAttributeCarriers()

void GNEAttributeCarrier::fillAttributeCarriers ( )
staticprotectedinherited

fill Attribute Carriers

Definition at line 949 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::ATTRPROPERTY_ANGLE, GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_COMBINABLE, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUE, GNEAttributeCarrier::ATTRPROPERTY_DISCRETE, GNEAttributeCarrier::ATTRPROPERTY_FILENAME, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_NONEDITABLE, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_PROBABILITY, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_SYNONYM, GNEAttributeCarrier::ATTRPROPERTY_TIME, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, SUMOXMLDefinitions::CarFollowModels, Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, Shape::DEFAULT_IMG_HEIGHT, Shape::DEFAULT_IMG_WIDTH, Shape::DEFAULT_LAYER, Shape::DEFAULT_LAYER_POI, Shape::DEFAULT_RELATIVEPATH, Shape::DEFAULT_TYPE, DEFAULT_VTYPE_ID, OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), StringBijection< T >::getStrings(), GNE_ATTR_BIDIR, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, ICON_ACCESS, ICON_BUSSTOP, ICON_CALIBRATOR, ICON_CHARGINGSTATION, ICON_CLOSINGLANEREROUTE, ICON_CLOSINGREROUTE, ICON_CONNECTION, ICON_CONTAINERSTOP, ICON_CROSSING, ICON_DESTPROBREROUTE, ICON_E1, ICON_E1INSTANT, ICON_E2, ICON_E3, ICON_E3ENTRY, ICON_E3EXIT, ICON_EDGE, ICON_FLOW, ICON_JUNCTION, ICON_LANE, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_PARKINGAREA, ICON_PARKINGSPACE, ICON_PARKINGZONEREROUTE, ICON_REROUTER, ICON_REROUTERINTERVAL, ICON_ROUTE, ICON_ROUTEPROBE, ICON_ROUTEPROBREROUTE, ICON_VAPORIZER, ICON_VARIABLESPEEDSIGN, ICON_VSSSTEP, ICON_VTYPE, SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LaneSpreadFunctions, SUMOXMLDefinitions::LateralAlignments, GNEAttributeCarrier::myAllowedTags, NODETYPE_DEAD_END_DEPRECATED, SUMOXMLDefinitions::NodeTypes, SUMO_ATTR_ACCEL, SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_ARRIVALLANE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALPOS_LAT, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_BEGIN, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_COLOR, SUMO_ATTR_CONT, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_CONTAINER_NUMBER, SUMO_ATTR_CONTPOS, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DECEL, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DEPARTPOS_LAT, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_END, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FILL, SUMO_ATTR_FREQUENCY, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_INDEX, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_LANE, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LANES, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LAYER, SUMO_ATTR_LENGTH, SUMO_ATTR_LINE, SUMO_ATTR_LINES, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP, SUMO_ATTR_MINGAP_LAT, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_OFF, SUMO_ATTR_OUTPUT, SUMO_ATTR_PARKING, SUMO_ATTR_PASS, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_PERSON_NUMBER, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_PRIORITY, SUMO_ATTR_PROB, SUMO_ATTR_RADIUS, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_REROUTE, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_ROUTE, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_SHAPE, SUMO_ATTR_SIGMA, SUMO_ATTR_SPEED, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_STARTPOS, SUMO_ATTR_TAU, SUMO_ATTR_TIME, SUMO_ATTR_TLID, SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, SUMO_ATTR_TLTYPE, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, SUMO_ATTR_TYPE, SUMO_ATTR_UNCONTROLLED, SUMO_ATTR_VCLASS, SUMO_ATTR_VEHSPERHOUR, SUMO_ATTR_VISIBILITY_DISTANCE, SUMO_ATTR_VISIBLE, SUMO_ATTR_VTYPES, SUMO_ATTR_WIDTH, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_CONNECTION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_CROSSING, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E3DETECTOR, SUMO_TAG_EDGE, SUMO_TAG_FLOW, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_NOTHING, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_SPACE, SUMO_TAG_PARKING_ZONE_REROUTE, SUMO_TAG_POI, SUMO_TAG_POILANE, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, SUMO_TAG_VTYPE, SumoVehicleClassStrings, SumoVehicleShapeStrings, GNEAttributeCarrier::TAGPROPERTY_ADDITIONAL, GNEAttributeCarrier::TAGPROPERTY_AUTOMATICSORTING, GNEAttributeCarrier::TAGPROPERTY_BLOCKMOVEMENT, GNEAttributeCarrier::TAGPROPERTY_BLOCKSHAPE, GNEAttributeCarrier::TAGPROPERTY_CLOSESHAPE, GNEAttributeCarrier::TAGPROPERTY_DETECTOR, GNEAttributeCarrier::TAGPROPERTY_DIALOG, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_GEOPOSITION, GNEAttributeCarrier::TAGPROPERTY_GEOSHAPE, GNEAttributeCarrier::TAGPROPERTY_MINIMUMCHILDS, GNEAttributeCarrier::TAGPROPERTY_NETELEMENT, GNEAttributeCarrier::TAGPROPERTY_PARENT, GNEAttributeCarrier::TAGPROPERTY_REPARENT, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SHAPE, GNEAttributeCarrier::TAGPROPERTY_STOPPINGPLACE, GNEAttributeCarrier::TAGPROPERTY_SYNONYM, GNEAttributeCarrier::TAGPROPERTY_WRITECHILDSSEPARATE, toString(), SUMOXMLDefinitions::TrafficLightTypes, NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_SPEED, and NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE.

Referenced by GNEAttributeCarrier::allowedAdditionalTags(), GNEAttributeCarrier::allowedNetElementsTags(), GNEAttributeCarrier::allowedShapeTags(), GNEAttributeCarrier::allowedTags(), GNEAttributeCarrier::getHigherNumberOfAttributes(), GNEAttributeCarrier::getIcon(), GNEAttributeCarrier::getTagProperties(), and GNEAttributeCarrier::parseAttributeFromXML().

◆ generateAdditionalChildID()

◆ getAdditionalChilds()

◆ getAdditionalID()

◆ getAttribute()

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

References GNEAttributeCarrier::getAttribute().

◆ getCenteringBoundary()

◆ getCircleResolution()

int GNEAttributeCarrier::getCircleResolution ( const GUIVisualizationSettings &  settings)
staticinherited

◆ getDouble()

double Parameterised::getDouble ( const std::string &  key,
const double  defaultValue 
) const
inherited

Returns the value for a given key converted to a double.

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 82 of file Parameterised.cpp.

References TplConvert::_2double(), Parameterised::myMap, and WRITE_WARNING.

Referenced by MSDevice_Battery::buildVehicleDevices().

◆ getEdgeChilds()

const std::vector< GNEEdge * > & GNEAdditional::getEdgeChilds ( ) const
inherited

get edge chidls

Definition at line 453 of file GNEAdditional.cpp.

References GNEAdditional::myEdgeChilds.

◆ getFirstAdditionalParent()

◆ getFullName()

◆ getGenericParameters()

std::vector< std::pair< std::string, std::string > > GNEAdditional::getGenericParameters ( ) const
virtualinherited

return generic parameters as vector of pairs format

Implements GNEAttributeCarrier.

Definition at line 986 of file GNEAdditional.cpp.

References Parameterised::getParametersMap().

◆ getGenericParametersStr()

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 128 of file GUIGlObject.cpp.

References GUIGlObject::myGlID.

Referenced by GUIMessageWindow::appendMsg(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildRouteProbe(), GUIGlObject::buildSelectionPopupEntry(), GNEAdditionalHandler::buildVaporizer(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNEChargingStation::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEJunction::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEVariableSpeedSign::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEParkingSpace::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPolygon::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GUIPointOfInterest::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEEdge::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GNEPoly::getGlID(), GNEPOI::getGlID(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIPerson::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIEdge::getScaleValue(), GUILane::isLaneOrEdgeSelected(), GUIGlChildWindow::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIPerson::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEFrame::ACHierarchy::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GNENetElement::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), GUIMessageWindow::setCursorPos(), GNENetElement::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().

◆ getGNEEdges()

const std::vector< GNEEdge * > & GNECalibratorRoute::getGNEEdges ( ) const

get GNEEdges of Calibrator ROute

Definition at line 72 of file GNECalibratorRoute.cpp.

References myEdges.

◆ getHierarchyName()

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

get Hierarchy Name (Used in AC Hierarchy)

Implements GNEAdditional.

Definition at line 177 of file GNECalibratorRoute.cpp.

References GNEAttributeCarrier::getTag(), and toString().

◆ getHigherNumberOfAttributes()

int GNEAttributeCarrier::getHigherNumberOfAttributes ( )
staticinherited

◆ getIcon()

◆ getID()

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

function to support debugging

Implements GNEReferenceCounter.

Definition at line 798 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::getAttribute(), and SUMO_ATTR_ID.

Referenced by GNEAdditionalFrame::addAdditional(), GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNECrossingFrame::addCrossing(), GNEAdditional::addEdgeChild(), GNEJunction::addIncomingGNEEdge(), GNEAdditional::addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNENet::addReversedEdge(), GNELane::addShapeChild(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildAdditional(), GNEAdditionalHandler::buildRerouterInterval(), GNENet::changeShapeID(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNEAdditional::generateAdditionalChildID(), GNEAdditionalFrame::generateID(), GNEChargingStation::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE2::getAttribute(), GNERouteProbe::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNEAccess::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), GNEJunction::getAttribute(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouterInterval::getParentName(), GNERouteProbReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNEClosingReroute::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNEAccess::getParentName(), GNECalibratorFlow::getParentName(), GNEDetectorE3::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), getPopUpID(), GNERerouter::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNECalibrator::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), GNEShape::getPopUpID(), GNEAdditionalHandler::getPosition(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNENet::insertAdditional(), GNENet::insertShape(), GNEAdditional::isRouteValid(), GNEAccess::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::crossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdSetVariable(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEAdditionalHandler::parseAndBuildBusStop(), GNEAdditionalHandler::parseAndBuildCalibrator(), GNEAdditionalHandler::parseAndBuildCalibratorFlow(), GNEAdditionalHandler::parseAndBuildCalibratorRoute(), GNEAdditionalHandler::parseAndBuildCalibratorVehicleType(), GNEAdditionalHandler::parseAndBuildChargingStation(), GNEAdditionalHandler::parseAndBuildContainerStop(), GNEAdditionalHandler::parseAndBuildDetectorE1(), GNEAdditionalHandler::parseAndBuildDetectorE1Instant(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildDetectorE3(), GNEAdditionalHandler::parseAndBuildDetectorEntry(), GNEAdditionalHandler::parseAndBuildDetectorExit(), GNEAdditionalHandler::parseAndBuildParkingArea(), GNEAdditionalHandler::parseAndBuildParkingSpace(), GNEAdditionalHandler::parseAndBuildRerouter(), GNEAdditionalHandler::parseAndBuildRerouterClosingLaneReroute(), GNEAdditionalHandler::parseAndBuildRerouterClosingReroute(), GNEAdditionalHandler::parseAndBuildRerouterDestProbReroute(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEAdditionalHandler::parseAndBuildRerouterParkingAreaReroute(), GNEAdditionalHandler::parseAndBuildRerouterRouteProbReroute(), GNEAdditionalHandler::parseAndBuildRouteProbe(), GNEAdditionalHandler::parseAndBuildVaporizer(), GNEAdditionalHandler::parseAndBuildVariableSpeedSign(), GNEAdditionalHandler::parseAndBuildVariableSpeedSignStep(), GNEPolygonFrame::processClick(), GNEViewNet::SelectingArea::processSelection(), GNEChange_Shape::redo(), GNEChange_Junction::redo(), GNEChange_TLS::redo(), GNEChange_Connection::redo(), GNEChange_Additional::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), GNEJunction::removeEdgeFromCrossings(), GNEEdge::removeEdgeOfAdditionalParents(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNELane::removeLaneOfAdditionalParents(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNEEdge::setAttribute(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), GNENet::splitJunction(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNECalibratorRouteDialog::updateCalibratorRouteValues(), GNEAdditional::writeAdditional(), GNEPOI::writeShape(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEJunction::~GNEJunction().

◆ getLaneChilds()

const std::vector< GNELane * > & GNEAdditional::getLaneChilds ( ) const
inherited

get lanes of VSS

Definition at line 485 of file GNEAdditional.cpp.

References GNEAdditional::myLaneChilds.

◆ getMicrosimID()

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

Returns the id of the object as known to microsim.

Definition at line 142 of file GUIGlObject.cpp.

References GUIGlObject::myMicrosimID.

Referenced by SUMORTree::addAdditionalGLObject(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GUIGlObject::drawName(), GNEAdditional::getAdditionalID(), GNEConnection::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), GNEVaporizer::getParentName(), GNERouteProbe::getParentName(), GNEDetectorE3::getParentName(), getParentName(), GNEVariableSpeedSign::getParentName(), GNERerouter::getParentName(), GNELane::getParentName(), GNEParkingSpace::getParentName(), GNEStoppingPlace::getParentName(), GNECalibratorVehicleType::getParentName(), GNECalibrator::getParentName(), GNEDetector::getParentName(), GNEPoly::getParentName(), GNEPOI::getParentName(), GNETLSEditorFrame::handleMultiChange(), GNEEdge::isValid(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNEInspectorFrame::TemplateEditor::onUpdCopyTemplate(), GUIDialog_GLObjChooser::refreshList(), GNENet::registerEdge(), GNENet::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNEEdge::removeConnection(), GNEEdge::setAttribute(), GNENet::splitEdge(), GNEProhibitionFrame::updateDescription(), GNEConnectorFrame::updateDescription(), and GNEConnection::updateID().

◆ 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 72 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by MSTLLogicControl::WAUTSwitchProcedure_Stretch::adaptLogic(), NBEdge::addRestrictedLane(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice::equippedByDefaultAssignmentOptions(), MSDevice::equippedByParameter(), libsumo::Simulation::findIntermodalRoute(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSTLLogicControl::WAUTSwitchProcedure::getGSPValue(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLRequestTrafficLightLogic::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), libsumo::Polygon::getParameter(), libsumo::Route::getParameter(), libsumo::POI::getParameter(), libsumo::Person::getParameter(), libsumo::TrafficLight::getParameter(), libsumo::Edge::getParameter(), libsumo::Lane::getParameter(), libsumo::VehicleType::getParameter(), libsumo::Vehicle::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(), NIImporter_OpenStreetMap::insertEdge(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), libsumo::Helper::moveToXYMap(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), MSTriggeredRerouter::notifyEnter(), MSSOTLPolicyDesirability::readParameter(), MSDevice_SSM::requestsTrajectories(), NBEdgeCont::splitAt(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::stretchLogic(), GNECrossing::updateGenericParameter(), GNEConnection::updateGenericParameter(), GNEPoly::updateGenericParameter(), GNELane::updateGenericParameter(), GNEPOI::updateGenericParameter(), GNEJunction::updateGenericParameter(), GNEEdge::updateGenericParameter(), GNEAdditional::updateGenericParameter(), MSDevice_SSM::useGeoCoords(), and NWWriter_DlrNavteq::writeLinksUnsplitted().

◆ getParametersMap()

◆ getParameterWindow()

GUIParameterTableWindow * GNEAdditional::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 541 of file GNEAdditional.cpp.

References GUIParameterTableWindow::closeBuilding(), GNEAdditional::getAttribute(), GNEAttributeCarrier::getTag(), GNEAttributeCarrier::getTagProperties(), GUIParameterTableWindow::mkItem(), and toString().

◆ getParentName()

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

Returns the name of the parent object.

Returns
This object's parent id

Reimplemented from GUIGlObject.

Definition at line 102 of file GNECalibratorRoute.cpp.

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

◆ getPopUpID()

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

get PopPup ID (Used in AC Hierarchy)

Implements GNEAdditional.

Definition at line 171 of file GNECalibratorRoute.cpp.

References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), and toString().

◆ getPopUpMenu()

◆ getPositionInView()

Position GNECalibratorRoute::getPositionInView ( ) const
virtual

Returns position of additional in view.

Implements GNEAdditional.

Definition at line 96 of file GNECalibratorRoute.cpp.

◆ getSecondAdditionalParent()

GNEAdditional * GNEAdditional::getSecondAdditionalParent ( ) const
inherited

◆ getShape()

PositionVector GNEAdditional::getShape ( ) const
inherited

Returns additional element's shape.

Definition at line 254 of file GNEAdditional.cpp.

References GNEAdditional::myShape.

◆ getTag()

SumoXMLTag GNEAttributeCarrier::getTag ( ) const
inherited

get XML Tag assigned to this object

Definition at line 782 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::myTag.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEAdditionalFrame::addAdditional(), GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNEAdditional::addEdgeChild(), GNEJunction::addIncomingGNEEdge(), GNEAdditional::addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNELane::addShapeChild(), GNEViewNet::beginMoveSelection(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNENet::changeShapeID(), GNEAdditional::checkAdditionalChildRestriction(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNEDetectorE3::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEDetector::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNENet::deleteShape(), GNEAdditional::drawLockIcon(), GNEChargingStation::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE2::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEDetectorE3::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbReroute::getAttribute(), GNECrossing::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEAccess::getAttribute(), GNECalibratorFlow::getAttribute(), GNERerouter::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorVehicleType::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), GNEPoly::getAttribute(), GNELane::getAttribute(), GNEPOI::getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouter::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNECalibratorVehicleType::getHierarchyName(), GNECalibrator::getHierarchyName(), GNEDetector::getHierarchyName(), GNENetElement::getHierarchyName(), GNEShape::getHierarchyName(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEVaporizer::getPopUpID(), GNERouteProbe::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNERerouterInterval::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEParkingSpace::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNECalibrator::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), GNEShape::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEEdge::getRouteProbeRelativePosition(), GNEAdditional::GNEAdditional(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNENet::insertShape(), GNEInspectorFrame::inspectElement(), GNEAdditional::isRouteValid(), GNEChargingStation::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE2::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEDetectorE3::isValid(), GNEDestProbReroute::isValid(), GNERerouterInterval::isValid(), GNERouteProbReroute::isValid(), GNECrossing::isValid(), GNEParkingAreaReroute::isValid(), GNEClosingReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEVariableSpeedSign::isValid(), isValid(), GNEVariableSpeedSignStep::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorFlow::isValid(), GNEParkingSpace::isValid(), GNECalibratorVehicleType::isValid(), GNECalibrator::isValid(), GNEConnection::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEPOI::isValid(), GNEJunction::isValid(), GNEEdge::isValid(), GNEAdditional::isValidAdditionalID(), GNECalibratorFlowDialog::onCmdAccept(), GNECalibratorVehicleTypeDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onLeftBtnPress(), GNEAdditional::openAdditionalDialog(), GNEAdditionalHandler::parseGenericParameter(), GNEViewNet::SelectingArea::processSelection(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_TLS::redo(), GNEChange_Additional::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEChange_Shape::redoName(), GNEChange_Additional::redoName(), GNEChange_Attribute::redoName(), GNEAdditionalFrame::removeAdditional(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedElements::retrieveAdditionalParent(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::retrieveShapes(), GNEChargingStation::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorExit::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorE1::setAttribute(), GNEBusStop::setAttribute(), GNEContainerStop::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE2::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouterInterval::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNECrossing::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEVariableSpeedSign::setAttribute(), setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouter::setAttribute(), GNEAccess::setAttribute(), GNECalibratorFlow::setAttribute(), GNEParkingSpace::setAttribute(), GNECalibratorVehicleType::setAttribute(), GNECalibrator::setAttribute(), GNEConnection::setAttribute(), GNEPoly::setAttribute(), GNEPOI::setAttribute(), GNELane::setAttribute(), GNEJunction::setAttribute(), GNEEdge::setAttribute(), GNEAdditional::setDefaultValues(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditional::sortAdditionalChilds(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TLS::~GNEChange_TLS().

◆ getTagProperties()

const GNEAttributeCarrier::TagValues & GNEAttributeCarrier::getTagProperties ( SumoXMLTag  tag)
staticinherited

get Tag Properties

Definition at line 807 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::myAllowedTags, and toString().

Referenced by GNEAdditionalFrame::addAdditional(), GNEAdditional::addAdditionalChild(), GNEAdditionalFrame::AdditionalAttributes::addAttribute(), GNEPolygonFrame::ShapeAttributes::addAttribute(), GNEAdditionalFrame::AdditionalAttributes::areValuesValid(), GNEPolygonFrame::ShapeAttributes::areValuesValid(), GNEAdditional::checkAdditionalChildsOverlapping(), GNENet::computeAndUpdate(), GNENet::deleteAdditional(), GNEAdditional::drawLockIcon(), GNECrossingFrame::crossingParameters::enableCrossingParameters(), GNESelectorFrame::getMatches(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEAdditional::getPopUpMenu(), GNEAdditionalFrame::AdditionalAttributeSingle::getValue(), GNEPolygonFrame::ShapeAttributeSingle::getValue(), GNEAdditional::GNEAdditional(), GNEChange_Additional::GNEChange_Additional(), GNEDialog_AllowDisallow::GNEDialog_AllowDisallow(), GNESelectorFrame::handleIDs(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdOpenAttributeDialog(), GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute(), GNESelectorFrame::MatchAttribute::onCmdSelMBString(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), GNEAdditionalFrame::AdditionalAttributeSingle::onCmdSetAttribute(), GNEPolygonFrame::ShapeAttributeSingle::onCmdSetAttribute(), GNEPolygonFrame::ShapeAttributeSingle::onCmdSetColorAttribute(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEFrame::openHelpAttributesDialog(), GNEAttributeCarrier::parseAttributeFromXML(), GNEViewNet::SelectingArea::processSelection(), GNEInspectorFrame::AttributesEditor::refreshAttributeEditor(), GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::refreshNeteditAttributesEditor(), GNEAdditional::removeAdditionalChild(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::replaceInListAttribute(), GNENet::retrieveAttributeCarriers(), GNENet::saveAdditionalsConfirmed(), GNEAdditionalFrame::AdditionalSelector::setCurrentAdditional(), GNEPolygonFrame::ShapeSelector::setCurrentShape(), GNEAdditional::setDefaultValues(), GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::AttributesEditor::showAttributeEditor(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditionalFrame::AdditionalAttributeSingle::showParameter(), GNEPolygonFrame::ShapeAttributeSingle::showParameter(), GNEAdditionalFrame::AdditionalAttributes::showWarningMessage(), GNEPolygonFrame::ShapeAttributes::showWarningMessage(), GNEAdditional::sortAdditionalChilds(), GNEViewNet::ObjectsUnderCursor::updateObjectUnderCursor(), and GNEAdditional::writeAdditional().

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 155 of file GUIGlObject.cpp.

References GUIGlObject::myGLObjectType.

Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIVehicle::drawAction_drawRailCarriages(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawChildConnections(), GNEChargingStation::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEJunction::drawGL(), GNECrossing::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEAccess::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEParkingSpace::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GNEAdditional::drawLockIcon(), GUIBaseVehicle::drawOnPos(), GNEJunction::getAttribute(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getEdgesAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUIGlChildWindow::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::onCmdHideLFLinkItems(), GUIPerson::GUIPersonPopupMenu::onCmdHideWalkingareaPath(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFoes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowLFLinkItems(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdShowPhases(), GUIPerson::GUIPersonPopupMenu::onCmdShowWalkingareaPath(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStopTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStopTrack(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLS2Off(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLSLogic(), GNEViewNet::SelectingArea::processSelection(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISelectedStorage::toggleSelection(), and GNEViewNet::ObjectsUnderCursor::updateObjectUnderCursor().

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

Definition at line 134 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().

◆ getViewNet()

GNEViewNet * GNEAdditional::getViewNet ( ) const
inherited

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

Definition at line 248 of file GNEAdditional.cpp.

References GNEAdditional::myViewNet.

Referenced by GNEAdditionalDialog::acceptChanges(), GNEAdditionalDialog::cancelChanges(), GNERouteProbReroute::GNERouteProbReroute(), GNEAdditionalDialog::initChanges(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNECalibratorDialog::onCmdAddFlow(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNECalibratorDialog::onCmdAddRoute(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), GNECalibratorDialog::onCmdAddVehicleType(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute(), GNERerouterIntervalDialog::onCmdClickedClosingReroute(), GNERerouterIntervalDialog::onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNERerouterIntervalDialog::onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), GNECalibratorFlowDialog::onCmdSetVariable(), GNECalibratorRouteDialog::onCmdSetVariable(), GNEAdditionalDialog::resetChanges(), GNECalibratorDialog::updateFlowAndLabelButton(), GNECalibratorDialog::updateRouteTable(), and GNECalibratorDialog::updateVehicleTypeTable().

◆ incRef()

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

Increarse reference.

Definition at line 70 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::buildCalibratorRoute(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE2(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNENet::computeEverything(), GNEChange_Attribute::GNEChange_Attribute(), GNENet::GNENet(), GNEJunction::rebuildGNECrossings(), GNENet::registerEdge(), GNENet::registerJunction(), GNEEdge::remakeGNEConnections(), and GNEInspectorFrame::TemplateEditor::setEdgeTemplate().

◆ isAdditionalBlocked()

bool GNEAdditional::isAdditionalBlocked ( ) const
inherited

Check if additional item is currently blocked (i.e. cannot be moved with mouse)

Definition at line 260 of file GNEAdditional.cpp.

References GNEAdditional::myBlockMovement.

Referenced by GNEViewNet::onMouseMove().

◆ isAttributeCarrierSelected()

◆ isGenericParametersValid()

◆ isRouteValid()

bool GNEAdditional::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 577 of file GNEAdditional.cpp.

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

Referenced by isValid().

◆ isValid()

bool GNECalibratorRoute::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 GNEAdditional.

Definition at line 149 of file GNECalibratorRoute.cpp.

References GNEAttributeCarrier::canParse(), GNEViewNet::getNet(), GNEAttributeCarrier::getTag(), GNE_ATTR_GENERIC, GNEAttributeCarrier::isGenericParametersValid(), GNEAdditional::isRouteValid(), GNEAdditional::isValidAdditionalID(), GNEAdditional::myViewNet, GNEAttributeCarrier::parse(), SUMO_ATTR_COLOR, SUMO_ATTR_EDGES, SUMO_ATTR_ID, and toString().

◆ isValidAdditionalID()

◆ knowsParameter()

bool Parameterised::knowsParameter ( const std::string &  key) const
inherited

Returns whether the parameter is known.

Parameters
[in]keyThe key to ask for
Returns
Whether the key is known

Definition at line 66 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by GNEPoly::addGenericParameter(), GNELane::addGenericParameter(), GNEPOI::addGenericParameter(), GNEJunction::addGenericParameter(), GNEEdge::addGenericParameter(), GNEAdditional::addGenericParameter(), NBEdge::append(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice::equippedByDefaultAssignmentOptions(), MSDevice::equippedByParameter(), MSDevice::getBoolParam(), NWWriter_DlrNavteq::getBrunnelType(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_SSM::getOutputFilename(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), GNEPoly::removeGenericParameter(), GNELane::removeGenericParameter(), GNEPOI::removeGenericParameter(), GNEJunction::removeGenericParameter(), GNEEdge::removeGenericParameter(), GNEAdditional::removeGenericParameter(), MSDevice_SSM::requestsTrajectories(), GNEPoly::updateGenericParameter(), GNELane::updateGenericParameter(), GNEPOI::updateGenericParameter(), GNEJunction::updateGenericParameter(), GNEEdge::updateGenericParameter(), GNEAdditional::updateGenericParameter(), GNEPoly::updateGenericParameterValue(), GNEPOI::updateGenericParameterValue(), GNELane::updateGenericParameterValue(), GNEJunction::updateGenericParameterValue(), GNEEdge::updateGenericParameterValue(), GNEAdditional::updateGenericParameterValue(), and MSDevice_SSM::useGeoCoords().

◆ moveGeometry()

void GNECalibratorRoute::moveGeometry ( const Position &  oldPos,
const Position &  offset 
)
virtual

change the position of the element geometry without saving in undoList

Parameters
[in]newPositionnew position of geometry
Note
should't be called in drawGL(...) functions to avoid smoothness issues

Implements GNEAdditional.

Definition at line 78 of file GNECalibratorRoute.cpp.

◆ openAdditionalDialog()

void GNEAdditional::openAdditionalDialog ( )
virtualinherited

open Additional Dialog

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

Reimplemented in GNECalibrator, GNERerouter, and GNEVariableSpeedSign.

Definition at line 219 of file GNEAdditional.cpp.

References GNEAttributeCarrier::getTag(), and toString().

Referenced by GNEViewNet::onCmdOpenAdditionalDialog().

◆ operator=()

GNECalibratorRoute& GNECalibratorRoute::operator= ( GNECalibratorRoute *  )
privatedelete

Invalidated assignment operator.

◆ parse() [1/16]

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(), and isValid().

◆ parse() [2/16]

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/16]

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

Definition at line 589 of file GNEAttributeCarrier.cpp.

References TplConvert::_str2int().

◆ parse() [4/16]

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

Definition at line 595 of file GNEAttributeCarrier.cpp.

References TplConvert::_str2double().

◆ parse() [5/16]

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

Definition at line 601 of file GNEAttributeCarrier.cpp.

References TplConvert::_str2Bool().

◆ parse() [6/16]

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

Definition at line 607 of file GNEAttributeCarrier.cpp.

◆ parse() [7/16]

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

Definition at line 613 of file GNEAttributeCarrier.cpp.

References SumoVehicleClassStrings, and SVC_IGNORING.

◆ parse() [8/16]

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

Definition at line 625 of file GNEAttributeCarrier.cpp.

References RGBColor::parseColor().

◆ parse() [9/16]

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

Definition at line 631 of file GNEAttributeCarrier.cpp.

References GeomConvHelper::parseShapeReporting().

◆ parse() [10/16]

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

Definition at line 647 of file GNEAttributeCarrier.cpp.

References SumoVehicleShapeStrings, and SVS_UNKNOWN.

◆ parse() [11/16]

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

Definition at line 657 of file GNEAttributeCarrier.cpp.

References StringTokenizer::getVector().

◆ parse() [12/16]

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

Definition at line 663 of file GNEAttributeCarrier.cpp.

◆ parse() [13/16]

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

Definition at line 674 of file GNEAttributeCarrier.cpp.

◆ parse() [14/16]

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

Definition at line 685 of file GNEAttributeCarrier.cpp.

◆ parse() [15/16]

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

◆ parse() [16/16]

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

◆ parseAttributeFromXML()

◆ parseIDs() [1/3]

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

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

Referenced by GNEAttributeCarrier::canParse(), getAttribute(), GNEVariableSpeedSign::getAttribute(), and GNERerouter::getAttribute().

◆ parseIDs() [2/3]

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

Definition at line 732 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [3/3]

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

Definition at line 743 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseStringToANDBool()

bool GNEAttributeCarrier::parseStringToANDBool ( const std::string &  string)
staticinherited

parse a string of booleans (1 0 1 1....) using AND operation

Definition at line 754 of file GNEAttributeCarrier.cpp.

Referenced by GNEAttributeCarrier::canParse(), and GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute().

◆ removeAdditionalChild()

◆ removeEdgeChild()

void GNEAdditional::removeEdgeChild ( GNEEdge *  edge)
inherited

◆ removeGenericParameter()

bool GNEAdditional::removeGenericParameter ( const std::string &  key)
virtualinherited

remove generic parameter

Implements GNEAttributeCarrier.

Definition at line 936 of file GNEAdditional.cpp.

References Parameterised::knowsParameter(), and Parameterised::unsetParameter().

◆ removeLaneChild()

void GNEAdditional::removeLaneChild ( 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 268 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

◆ selectAttributeCarrier()

◆ setAttribute() [1/2]

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

method for setting the attribute and letting the object perform additional changes

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

Implements GNEAdditional.

Definition at line 131 of file GNECalibratorRoute.cpp.

References getAttribute(), GNEAttributeCarrier::getTag(), GNE_ATTR_GENERIC, GNEAttributeCarrier::GNEChange_Attribute, GNEUndoList::p_add(), SUMO_ATTR_COLOR, SUMO_ATTR_EDGES, SUMO_ATTR_ID, and toString().

◆ setAttribute() [2/2]

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

◆ setBlockIconRotation()

◆ setDefaultValues()

◆ setGenericParametersStr()

◆ 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 46 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by GNECrossing::addGenericParameter(), GNEConnection::addGenericParameter(), GNEPoly::addGenericParameter(), GNELane::addGenericParameter(), GNEPOI::addGenericParameter(), GNEJunction::addGenericParameter(), GNEEdge::addGenericParameter(), GNEAdditional::addGenericParameter(), SUMORouteHandler::addParam(), NLHandler::addParam(), ShapeHandler::addPOI(), NIImporter_OpenStreetMap::insertNodeChecking(), 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(), GNEConnection::setGenericParametersStr(), GNEPoly::setGenericParametersStr(), GNELane::setGenericParametersStr(), GNEPOI::setGenericParametersStr(), GNEJunction::setGenericParametersStr(), GNEEdge::setGenericParametersStr(), GNEAdditional::setGenericParametersStr(), libsumo::Route::setParameter(), libsumo::Polygon::setParameter(), libsumo::POI::setParameter(), libsumo::TrafficLight::setParameter(), libsumo::Edge::setParameter(), libsumo::Lane::setParameter(), GNEConnection::updateGenericParameter(), GNEPoly::updateGenericParameter(), GNELane::updateGenericParameter(), GNEPOI::updateGenericParameter(), GNEJunction::updateGenericParameter(), GNEEdge::updateGenericParameter(), GNEAdditional::updateGenericParameter(), GNECrossing::updateGenericParameterValue(), GNEConnection::updateGenericParameterValue(), GNEPoly::updateGenericParameterValue(), GNELane::updateGenericParameterValue(), GNEPOI::updateGenericParameterValue(), GNEJunction::updateGenericParameterValue(), GNEEdge::updateGenericParameterValue(), and GNEAdditional::updateGenericParameterValue().

◆ sortAdditionalChilds()

◆ startGeometryMoving()

void GNEAdditional::startGeometryMoving ( )
inherited

◆ unreferenced()

◆ unselectAttributeCarrier()

◆ unsetParameter()

◆ updateChildConnections()

◆ updateGenericParameter()

bool GNEAdditional::updateGenericParameter ( const std::string &  oldKey,
const std::string &  newKey 
)
virtualinherited

◆ updateGenericParameterValue()

bool GNEAdditional::updateGenericParameterValue ( const std::string &  key,
const std::string &  newValue 
)
virtualinherited

update value generic parameter

Implements GNEAttributeCarrier.

Definition at line 960 of file GNEAdditional.cpp.

References Parameterised::knowsParameter(), and Parameterised::setParameter().

◆ updateGeometry()

void GNECalibratorRoute::updateGeometry ( bool  updateGrid)
virtual

update pre-computed geometry information

Implements GNEAdditional.

Definition at line 90 of file GNECalibratorRoute.cpp.

◆ updateParameter()

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

◆ writeAdditional()

◆ writeParams()

Field Documentation

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

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

◆ FEATURE_LOADED

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

Definition at line 407 of file GNEAttributeCarrier.h.

◆ FEATURE_MODIFIED

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

feature has been manually modified (implies approval)

Definition at line 413 of file GNEAttributeCarrier.h.

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

◆ INVALID_ID

const GUIGlID GUIGlObject::INVALID_ID = 0
staticinherited

◆ INVALID_POSITION

const double GNEAttributeCarrier::INVALID_POSITION = -1000000
staticinherited

default value for invalid positions (used by POIs and Polygons)

Definition at line 523 of file GNEAttributeCarrier.h.

◆ myAdditionalChilds

◆ myAdditionalName

◆ myAllowedTags

◆ myBlockIconOffset

◆ myBlockIconPosition

◆ myBlockIconRotation

◆ myBlockMovement

◆ myChildConnectionPositions

std::vector<PositionVector> GNEAdditional::myChildConnectionPositions
protectedinherited

Matrix with the Vertex's positions of connections between parents an their childs.

Definition at line 426 of file GNEAdditional.h.

Referenced by GNEAdditional::drawChildConnections(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), and GNEAdditional::updateChildConnections().

◆ myColor

RGBColor GNECalibratorRoute::myColor
protected

color of ROute

Definition at line 130 of file GNECalibratorRoute.h.

Referenced by getAttribute(), and setAttribute().

◆ myEdgeChilds

std::vector<GNEEdge*> GNEAdditional::myEdgeChilds
protectedinherited

◆ myEdges

std::vector<GNEEdge*> GNECalibratorRoute::myEdges
protected

edges of route

Definition at line 127 of file GNECalibratorRoute.h.

Referenced by getAttribute(), getGNEEdges(), and setAttribute().

◆ myFirstAdditionalParent

GNEAdditional* GNEAdditional::myFirstAdditionalParent
protectedinherited

pointer to first Addititional parent

Definition at line 337 of file GNEAdditional.h.

Referenced by GNEAdditional::changeFirstAdditionalParent(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNERerouterInterval::getAttribute(), GNEClosingReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNEAccess::getAttribute(), GNEParkingSpace::getAttribute(), GNEAdditional::getCenteringBoundary(), GNEAdditional::getFirstAdditionalParent(), GNEDestProbReroute::getParentName(), GNERouteProbReroute::getParentName(), GNERerouterInterval::getParentName(), GNEClosingLaneReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEClosingReroute::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNEAccess::getParentName(), GNECalibratorFlow::getParentName(), GNEParkingSpace::getParentName(), GNERouteProbReroute::getPositionInView(), GNERerouterInterval::getPositionInView(), GNEDestProbReroute::getPositionInView(), GNEClosingReroute::getPositionInView(), GNEClosingLaneReroute::getPositionInView(), GNEParkingAreaReroute::getPositionInView(), GNEVariableSpeedSignStep::getPositionInView(), GNECalibratorFlow::getPositionInView(), GNEVariableSpeedSignStep::GNEVariableSpeedSignStep(), GNEVariableSpeedSignStep::isValid(), GNEAccess::isValid(), GNEDetectorExit::updateGeometry(), and GNEDetectorEntry::updateGeometry().

◆ myLaneChilds

std::vector<GNELane*> GNEAdditional::myLaneChilds
protectedinherited

◆ myMovingGeometryBoundary

Boundary GNEAdditional::myMovingGeometryBoundary
protectedinherited

boundary used during moving of elements

Definition at line 319 of file GNEAdditional.h.

Referenced by GNEAdditional::endGeometryMoving(), GNEAdditional::getCenteringBoundary(), and GNEAdditional::startGeometryMoving().

◆ mySecondAdditionalParent

GNEAdditional* GNEAdditional::mySecondAdditionalParent
protectedinherited

◆ mySelected

◆ myShape

◆ myShapeLengths

◆ myShapeRotations

◆ mySymbolsPositionAndRotation

std::vector<std::pair<Position, double> > GNEAdditional::mySymbolsPositionAndRotation
protectedinherited

position and rotation of every simbol over lane

Definition at line 423 of file GNEAdditional.h.

Referenced by GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEAdditional::updateChildConnections(), and GNEVariableSpeedSign::updateGeometry().

◆ myTag

const SumoXMLTag GNEAttributeCarrier::myTag
protectedinherited

the xml tag to which this attribute carrier corresponds

Definition at line 751 of file GNEAttributeCarrier.h.

Referenced by GNEAttributeCarrier::getIcon(), and GNEAttributeCarrier::getTag().

◆ myViewNet

GNEViewNet* GNEAdditional::myViewNet
protectedinherited

The GNEViewNet this additional element belongs.

Definition at line 311 of file GNEAdditional.h.

Referenced by GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNEChargingStation::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEAccess::drawGL(), GNEParkingSpace::drawGL(), GNECalibrator::drawGL(), GNEAdditional::drawLockIcon(), GNEAdditional::endGeometryMoving(), GNEAdditional::generateAdditionalChildID(), GNEDetectorE3::getParentName(), getParentName(), GNEVariableSpeedSign::getParentName(), GNERerouter::getParentName(), GNECalibratorVehicleType::getParentName(), GNEAdditional::getPopUpMenu(), GNEAdditional::getViewNet(), GNEChargingStation::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE2::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEDestProbReroute::isValid(), GNEClosingReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEVariableSpeedSign::isValid(), isValid(), GNERerouter::isValid(), GNEAccess::isValid(), GNECalibratorFlow::isValid(), GNEParkingSpace::isValid(), GNECalibrator::isValid(), GNEAdditional::isValidAdditionalID(), GNEAdditional::selectAttributeCarrier(), GNEVariableSpeedSign::setAttribute(), GNEDestProbReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), setAttribute(), GNERerouter::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEAdditional::unselectAttributeCarrier(), GNEChargingStation::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorExit::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEContainerStop::updateGeometry(), GNEBusStop::updateGeometry(), GNEVaporizer::updateGeometry(), GNEParkingArea::updateGeometry(), GNERouteProbe::updateGeometry(), GNEDetectorE2::updateGeometry(), GNEDetectorE3::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), GNEAccess::updateGeometry(), GNERerouter::updateGeometry(), GNEParkingSpace::updateGeometry(), and GNECalibrator::updateGeometry().

◆ 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().


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