![]() |
SUMO - Simulation of Urban MObility
|
An Element which don't belongs to GNENet but has influency in the simulation. More...
#include <GNEAdditional.h>
Data Structures | |
struct | AdditionalGeometry |
struct for pack all variables related with geometry of elemement More... | |
struct | AdditionalMove |
struct for pack all variables related with additional move More... | |
struct | BlockIcon |
struct for pack all variables and functions related with Block Icon More... | |
struct | ChildConnections |
struct for pack all variables and functions relative to connections between Additionals and their childs More... | |
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 | |||
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... | ||||
const TagProperties & | getTagProperty () const | |||
get Tag Property assigned to this object More... | ||||
const std::string & | getTagStr () const | |||
get tag assigned to this object in string format More... | ||||
GNEViewNet * | getViewNet () const | |||
Returns a pointer to GNEViewNet in which additional element is located. More... | ||||
GNEAdditional (const std::string &id, GNEViewNet *viewNet, GUIGlObjectType type, SumoXMLTag tag, std::string additionalName, bool blockMovement) | ||||
Constructor. More... | ||||
GNEAdditional (GNEAdditional *singleAdditionalParent, GNEViewNet *viewNet, GUIGlObjectType type, SumoXMLTag tag, std::string additionalName, bool blockMovement) | ||||
Constructor used by Additionals that have another additional as parent. More... | ||||
GNEAdditional (GNEAdditional *firstAdditionalParent, GNEAdditional *secondAdditionalParent, GNEViewNet *viewNet, GUIGlObjectType type, SumoXMLTag tag, std::string additionalName, bool blockMovement) | ||||
Constructor used by Additionals that have two additionals as parent. More... | ||||
GNEAdditional (const std::string &id, GNEViewNet *viewNet, GUIGlObjectType type, SumoXMLTag tag, std::string additionalName, bool blockMovement, std::vector< GNEEdge *> edgeChilds) | ||||
Constructor used by Additionals that have Edge childs. More... | ||||
GNEAdditional (const std::string &id, GNEViewNet *viewNet, GUIGlObjectType type, SumoXMLTag tag, std::string additionalName, bool blockMovement, std::vector< GNELane *> laneChilds) | ||||
Constructor used by Additionals that have lane childs. 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<> | ||||
PositionVector | parse (const std::string &string) | |||
template<> | ||||
SUMOVehicleShape | parse (const std::string &string) | |||
template<> | ||||
std::vector< std::string > | parse (const std::string &string) | |||
template<> | ||||
std::vector< int > | parse (const std::string &string) | |||
template<> | ||||
std::vector< double > | parse (const std::string &string) | |||
template<> | ||||
std::vector< bool > | parse (const std::string &string) | |||
template<> | ||||
std::vector< GNEEdge * > | parse (GNENet *net, const std::string &value) | |||
template<> | ||||
std::vector< GNELane * > | parse (GNENet *net, const std::string &value) | |||
template<> | ||||
std::string | parseIDs (const std::vector< GNEEdge *> &ACs) | |||
template<> | ||||
std::string | parseIDs (const std::vector< GNELane *> &ACs) | |||
void | setParameter (const std::string &key, const std::string &value) | |||
Sets a parameter. More... | ||||
bool | unreferenced () | |||
check if object ins't referenced More... | ||||
void | unsetParameter (const std::string &key) | |||
Removes a parameter. More... | ||||
virtual void | updateAdditionalParent () | |||
update parent after add or remove a child (can be reimplemented, for example used for stadistics) More... | ||||
void | updateParameter (const std::map< std::string, std::string > &mapArg) | |||
Adds or updates all given parameters from the map. More... | ||||
void | writeParams (OutputDevice &device) const | |||
write Params in the given outputdevice More... | ||||
~GNEAdditional () | ||||
Destructor. More... | ||||
members and functions relative to write additionals into XML | ||||
void | writeAdditional (OutputDevice &device) const | |||
writte additional element into a xml file More... | ||||
virtual bool | isAdditionalValid () const | |||
check if current additional is valid to be writed into XML (by default true, can be reimplemented in childs) More... | ||||
virtual std::string | getAdditionalProblem () const | |||
return a string with the current additional problem (by default empty, can be reimplemented in childs) More... | ||||
virtual void | fixAdditionalProblem () | |||
fix additional problem (by default throw an exception, has to be reimplemented in childs) 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... | ||||
virtual void | moveGeometry (const Position &offset)=0 | |||
change the position of the element geometry without saving in undoList More... | ||||
virtual void | commitGeometryMoving (GNEUndoList *undoList)=0 | |||
commit geometry changes in the attributes of an element after use of moveGeometry(...) More... | ||||
virtual void | updateGeometry (bool updateGrid)=0 | |||
update pre-computed geometry information More... | ||||
virtual Position | getPositionInView () const =0 | |||
Returns position of additional in view. 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... | ||||
virtual void | drawGL (const GUIVisualizationSettings &s) const =0 | |||
Draws 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... | ||||
virtual std::string | getAttribute (SumoXMLAttr key) const =0 | |||
virtual void | setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0 | |||
method for setting the attribute and letting the object perform additional changes More... | ||||
virtual bool | isValid (SumoXMLAttr key, const std::string &value)=0 | |||
method for checking if the key and their conrrespond attribute are valids More... | ||||
virtual std::string | getPopUpID () const =0 | |||
get PopPup ID (Used in AC Hierarchy) More... | ||||
virtual std::string | getHierarchyName () const =0 | |||
get Hierarchy Name (Used in AC Hierarchy) More... | ||||
Functions related with Generic Paramters | ||||
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
| ||||
const std::string & | getFullName () const | |||
virtual std::string | getParentName () const | |||
Returns the name of the parent object (if any) More... | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. More... | ||||
interfaces to be implemented by derived classes | ||||
virtual 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... | ||||
virtual double | getColorValue (const GUIVisualizationSettings &, int) const | |||
Parameter table window I/O | ||||
Lets this object know a parameter window showing the object's values was opened
| ||||
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 > | allowedTags (bool onlyDrawables) |
get tags of all editable element types More... | |
static std::vector< SumoXMLTag > | allowedTagsByCategory (int tagPropertyCategory, bool onlyDrawables) |
get tags of all editable element types using TagProperty Type (TAGPROPERTY_NETELEMENT, TAGPROPERTY_ADDITIONAL, etc.) More... | |
template<typename T > | |
static bool | canParse (const std::string &string) |
true if a value of type T can be parsed from string More... | |
template<typename T > | |
static bool | canParse (GNENet *net, const std::string &value, bool report) |
true if a value of type T can be parsed from string More... | |
static 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 TagProperties & | 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... | |
static bool | lanesConsecutives (const std::vector< GNELane *> &lanes) |
check if lanes are consecutives More... | |
template<typename T > | |
static T | parse (const std::string &string) |
parses a value of type T from string (used for basic types: int, double, bool, etc.) More... | |
template<typename T > | |
static T | parse (GNENet *net, const std::string &value) |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.) More... | |
template<typename T > | |
static T | parseAttributeFromXML (const SUMOSAXAttributes &attrs, const std::string &objectID, const SumoXMLTag tag, const SumoXMLAttr attribute, bool &abort) |
Parse attribute from XML and show warnings if there are problems parsing it. More... | |
template<typename T > | |
static std::string | parseIDs (const std::vector< T > &ACs) |
parses a list of specific Attribute Carriers into a string of IDs More... | |
Static Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static 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... | |
bool | isValidDetectorID (const std::string &newID) const |
check if a new detector 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... | |
Protected Attributes | |
std::vector< GNEAdditional * > | myAdditionalChilds |
vector with the Additional childs More... | |
std::string | myAdditionalName |
name of additional More... | |
BlockIcon | myBlockIcon |
variable BlockIcon More... | |
bool | myBlockMovement |
boolean to check if additional element is blocked (i.e. cannot be moved with mouse) More... | |
ChildConnections | myChildConnections |
variable ChildConnections More... | |
std::vector< GNEEdge * > | myEdgeChilds |
vector with the edge childs of this additional More... | |
GNEAdditional * | myFirstAdditionalParent |
pointer to first Additional parent More... | |
AdditionalGeometry | myGeometry |
geometry to be precomputed in updateGeometry(...) More... | |
std::vector< GNELane * > | myLaneChilds |
vector with the lane childs of this additional More... | |
AdditionalMove | myMove |
variable AdditionalMove More... | |
GNEAdditional * | mySecondAdditionalParent |
pointer to second Additional parent More... | |
bool | mySelected |
boolean to check if this AC is selected (instead of GUIGlObjectStorage) More... | |
const TagProperties & | myTagProperty |
the xml tag to which this attribute carrier corresponds More... | |
GNEViewNet * | myViewNet |
The GNEViewNet this additional element belongs. More... | |
Static Protected Attributes | |
static TagProperties | dummyTagProperty |
dummy TagProperty used for reference some elements (for Example, dummyEdge) More... | |
Private Member Functions | |
virtual bool | checkAdditionalChildRestriction () const |
check restriction with the number of childs More... | |
GNEAdditional (const GNEAdditional &)=delete | |
Invalidated copy constructor. More... | |
void | mouseOverObject (const GUIVisualizationSettings &s) const |
method for check if mouse is over objects More... | |
GNEAdditional & | operator= (const GNEAdditional &)=delete |
Invalidated assignment operator. More... | |
virtual void | setAttribute (SumoXMLAttr key, const std::string &value)=0 |
method for setting the attribute and nothing else (used in GNEChange_Attribute) More... | |
An Element which don't belongs to GNENet but has influency in the simulation.
Definition at line 48 of file GNEAdditional.h.
|
inherited |
struct with the tag Properties
Definition at line 60 of file GNEAttributeCarrier.h.
|
inherited |
Definition at line 223 of file GNEAttributeCarrier.h.
GNEAdditional::GNEAdditional | ( | const std::string & | id, |
GNEViewNet * | viewNet, | ||
GUIGlObjectType | type, | ||
SumoXMLTag | tag, | ||
std::string | additionalName, | ||
bool | blockMovement | ||
) |
Constructor.
[in] | id | Gl-id of the additional element (Must be unique) |
[in] | viewNet | pointer to GNEViewNet of this additional element belongs |
[in] | type | GUIGlObjectType of additional |
[in] | tag | Type of xml tag that define the additional element (SUMO_TAG_BUS_STOP, SUMO_TAG_REROUTER, etc...) |
[in] | name | Additional name |
[in] | block | movement enable or disable additional movement |
Definition at line 44 of file GNEAdditional.cpp.
GNEAdditional::GNEAdditional | ( | GNEAdditional * | singleAdditionalParent, |
GNEViewNet * | viewNet, | ||
GUIGlObjectType | type, | ||
SumoXMLTag | tag, | ||
std::string | additionalName, | ||
bool | blockMovement | ||
) |
Constructor used by Additionals that have another additional as parent.
[in] | singleAdditionalParent | pointer to single additional parent |
[in] | viewNet | pointer to GNEViewNet of this additional element belongs |
[in] | type | GUIGlObjectType of additional |
[in] | tag | Type of xml tag that define the additional element (SUMO_TAG_BUS_STOP, SUMO_TAG_REROUTER, etc...) |
[in] | name | Additional name |
[in] | block | movement enable or disable additional movement |
Definition at line 58 of file GNEAdditional.cpp.
References GNEAttributeCarrier::TagProperties::getParentTag(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), and GNEAttributeCarrier::myTagProperty.
GNEAdditional::GNEAdditional | ( | GNEAdditional * | firstAdditionalParent, |
GNEAdditional * | secondAdditionalParent, | ||
GNEViewNet * | viewNet, | ||
GUIGlObjectType | type, | ||
SumoXMLTag | tag, | ||
std::string | additionalName, | ||
bool | blockMovement | ||
) |
Constructor used by Additionals that have two additionals as parent.
[in] | additionalParent | pointer to first additional parent |
[in] | additionalParent | pointer to second additional parent |
[in] | viewNet | pointer to GNEViewNet of this additional element belongs |
[in] | type | GUIGlObjectType of additional |
[in] | tag | Type of xml tag that define the additional element (SUMO_TAG_BUS_STOP, SUMO_TAG_REROUTER, etc...) |
[in] | name | Additional name |
[in] | block | movement enable or disable additional movement |
Definition at line 74 of file GNEAdditional.cpp.
References GNEAttributeCarrier::TagProperties::getParentTag(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), and GNEAttributeCarrier::myTagProperty.
GNEAdditional::GNEAdditional | ( | const std::string & | id, |
GNEViewNet * | viewNet, | ||
GUIGlObjectType | type, | ||
SumoXMLTag | tag, | ||
std::string | additionalName, | ||
bool | blockMovement, | ||
std::vector< GNEEdge *> | edgeChilds | ||
) |
Constructor used by Additionals that have Edge childs.
[in] | id | Gl-id of the additional element (Must be unique) |
[in] | viewNet | pointer to GNEViewNet of this additional element belongs |
[in] | type | GUIGlObjectType of additional |
[in] | tag | Type of xml tag that define the additional element (SUMO_TAG_BUS_STOP, SUMO_TAG_REROUTER, etc...) |
[in] | name | Additional name |
[in] | block | movement enable or disable additional movement |
[in] | edgeChilds | vector of edge childs |
Definition at line 90 of file GNEAdditional.cpp.
GNEAdditional::GNEAdditional | ( | const std::string & | id, |
GNEViewNet * | viewNet, | ||
GUIGlObjectType | type, | ||
SumoXMLTag | tag, | ||
std::string | additionalName, | ||
bool | blockMovement, | ||
std::vector< GNELane *> | laneChilds | ||
) |
Constructor used by Additionals that have lane childs.
[in] | id | Gl-id of the additional element (Must be unique) |
[in] | viewNet | pointer to GNEViewNet of this additional element belongs |
[in] | type | GUIGlObjectType of additional |
[in] | tag | Type of xml tag that define the additional element (SUMO_TAG_BUS_STOP, SUMO_TAG_REROUTER, etc...) |
[in] | name | Additional name |
[in] | block | movement enable or disable additional movement |
[in] | laneChilds | vector of lane childs |
Definition at line 105 of file GNEAdditional.cpp.
GNEAdditional::~GNEAdditional | ( | ) |
Destructor.
Definition at line 120 of file GNEAdditional.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEAdditional::addAdditionalChild | ( | GNEAdditional * | additional | ) |
add additional child to this additional
Definition at line 334 of file GNEAdditional.cpp.
References GNEAttributeCarrier::TagProperties::canAutomaticSortChilds(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), myAdditionalChilds, GNEAttributeCarrier::myTagProperty, sortAdditionalChilds(), updateAdditionalParent(), and updateGeometry().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::builParkingAreaReroute(), changeFirstAdditionalParent(), changeSecondAdditionalParent(), GNEChange_Additional::redo(), and GNEChange_Additional::undo().
void GNEAdditional::addEdgeChild | ( | GNEEdge * | edge | ) |
add edge child
Definition at line 498 of file GNEAdditional.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), myEdgeChilds, SUMO_TAG_EDGE, and toString().
Referenced by GNETAZSink::GNETAZSink(), and GNETAZSource::GNETAZSource().
void GNEAdditional::addLaneChild | ( | GNELane * | lane | ) |
add lane child
Definition at line 530 of file GNEAdditional.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), myLaneChilds, SUMO_TAG_EDGE, and toString().
|
inherited |
Definition at line 263 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
staticinherited |
get tags of all editable element types
Definition at line 1056 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myTagProperties.
|
staticinherited |
get tags of all editable element types using TagProperty Type (TAGPROPERTY_NETELEMENT, TAGPROPERTY_ADDITIONAL, etc.)
Definition at line 1073 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::myTagProperties, GNEAttributeCarrier::TAGPROPERTY_ADDITIONAL, GNEAttributeCarrier::TAGPROPERTY_NETELEMENT, GNEAttributeCarrier::TAGPROPERTY_SHAPE, and GNEAttributeCarrier::TAGPROPERTY_TAZ.
Referenced by GNENet::computeEverything(), GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNENet::GNENet(), GNEFrame::ItemSelector::ItemSelector(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), and GNEAdditionalFrame::SelectorAdditionalParent::showSelectorAdditionalParentModul().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 301 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
protectedinherited |
Builds an entry which allows to center to the object.
Definition at line 192 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and getPopUpMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
Definition at line 201 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds the header.
Definition at line 183 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.
Definition at line 242 of file GUIGlObject.cpp.
References GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
Definition at line 211 of file GUIGlObject.cpp.
References GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, ICON_FLAG_MINUS, ICON_FLAG_PLUS, GUISelectedStorage::isSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 278 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
Referenced by GUIPointOfInterest::getPopUpMenu(), and GNEPOI::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
Definition at line 254 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_MANIP, and MID_MANIP.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
Definition at line 224 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
Definition at line 233 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.
Referenced by GUIPerson::getPopUpMenu(), and GUIBaseVehicle::getPopUpMenu().
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 547 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::parse().
Referenced by GNECalibratorRoute::isValid(), GNECrossing::isValid(), GNEDetectorE2::isValid(), GNEAdditionalHandler::parseAndBuildCalibratorRoute(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildRerouter(), and GNEAdditionalHandler::parseAndBuildVariableSpeedSign().
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 566 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::lanesConsecutives(), GNEAttributeCarrier::parse(), GNEAttributeCarrier::parseIDs(), and WRITE_WARNING.
|
protected |
change ID of additional
exception | if exist already an additional whith the same ID |
exception | if ID isn't valid |
Definition at line 987 of file GNEAdditional.cpp.
References GUIGlObject::getMicrosimID(), GNEViewNet::getNet(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::myTagProperty, myViewNet, GNENet::retrieveAdditional(), GUIGlObject::setMicrosimID(), and GNENet::updateAdditionalID().
Referenced by GNEBusStop::setAttribute(), GNEContainerStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNETAZSink::setAttribute(), GNETAZSource::setAttribute(), GNEVaporizer::setAttribute(), GNEClosingReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouterInterval::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEParkingSpace::setAttribute(), GNERouteProbe::setAttribute(), GNEAccess::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouter::setAttribute(), GNECalibrator::setAttribute(), GNEDetectorE2::setAttribute(), GNETAZ::setAttribute(), GNECalibratorFlow::setAttribute(), and GNECalibratorVehicleType::setAttribute().
change edge of additional
exception | if oldEdge doesn't belong to an edge |
exception | if edge with ID newEdgeID doesn't exist |
Definition at line 1002 of file GNEAdditional.cpp.
References GNENetElement::addAdditionalChild(), GUIGlObject::getMicrosimID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), myViewNet, GNENetElement::removeAdditionalChild(), GNENet::retrieveEdge(), SUMO_TAG_EDGE, toString(), and updateGeometry().
Referenced by GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), and GNECalibrator::setAttribute().
|
protected |
change first additional parent of additional
exception | if this additional doesn't have previously a defined Additional parent |
exception | if additional with ID newAdditionalParentID doesn't exist |
Definition at line 1030 of file GNEAdditional.cpp.
References addAdditionalChild(), GUIGlObject::getMicrosimID(), GNEViewNet::getNet(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), myFirstAdditionalParent, myViewNet, removeAdditionalChild(), GNENet::retrieveAdditional(), and updateGeometry().
Referenced by GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), and GNEParkingSpace::setAttribute().
change lane of additional
exception | if oldLane doesn't belong to an edge |
exception | if lane with ID newLaneID doesn't exist |
Definition at line 1016 of file GNEAdditional.cpp.
References GNENetElement::addAdditionalChild(), GUIGlObject::getMicrosimID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), myViewNet, GNENetElement::removeAdditionalChild(), GNENet::retrieveLane(), SUMO_TAG_LANE, toString(), and updateGeometry().
Referenced by GNEBusStop::setAttribute(), GNEContainerStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEAccess::setAttribute(), and GNECalibrator::setAttribute().
|
protected |
change second additional parent of additional
exception | if this additional doesn't have previously a defined Additional parent |
exception | if additional with ID newAdditionalParentID doesn't exist |
Definition at line 1046 of file GNEAdditional.cpp.
References addAdditionalChild(), GUIGlObject::getMicrosimID(), GNEViewNet::getNet(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), mySecondAdditionalParent, myViewNet, removeAdditionalChild(), GNENet::retrieveAdditional(), and updateGeometry().
Referenced by GNEParkingAreaReroute::setAttribute().
|
privatevirtual |
check restriction with the number of childs
ProcessError | if itis called without be reimplemented in child class |
Reimplemented in GNEDetectorE3.
Definition at line 1099 of file GNEAdditional.cpp.
References GNEAttributeCarrier::getTagStr().
Referenced by writeAdditional().
bool GNEAdditional::checkAdditionalChildsOverlapping | ( | ) | const |
check if childs are overlapped (Used by Rerouters)
Definition at line 457 of file GNEAdditional.cpp.
References myAdditionalChilds, SUMO_ATTR_BEGIN, SUMO_ATTR_END, and SUMO_ATTR_TIME.
Referenced by GNECalibratorFlowDialog::onCmdAccept(), and GNERerouterDialog::onCmdAccept().
|
inherited |
Clears the parameter map.
Definition at line 99 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing(), GNECrossing::setGenericParametersStr(), GNEConnection::setGenericParametersStr(), GNEPoly::setGenericParametersStr(), GNELane::setGenericParametersStr(), GNEJunction::setGenericParametersStr(), GNEPOI::setGenericParametersStr(), GNEEdge::setGenericParametersStr(), and setGenericParametersStr().
|
pure virtual |
commit geometry changes in the attributes of an element after use of moveGeometry(...)
[in] | undoList | The undoList on which to register changes |
Implemented in GNEDetectorE2, GNEDetector, GNECalibrator, GNEStoppingPlace, GNEDetectorE1Instant, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEAccess, GNERerouter, GNECalibratorVehicleType, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEParkingSpace, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEDetectorE3, GNEParkingAreaReroute, GNEClosingLaneReroute, GNEDestProbReroute, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, and GNETAZ.
Referenced by GNEViewNet::onLeftBtnRelease().
|
inlineinherited |
Decrease reference.
Definition at line 53 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), UNUSED_PARAMETER, and WRITE_ERROR.
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), 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(), GNENet::~GNENet(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
pure virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Implemented in GNEDetectorE2, GNEDetector, GNETAZ, GNECalibrator, GNEStoppingPlace, GNEDetectorE1Instant, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEAccess, GNECalibratorVehicleType, GNERerouter, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, GNEParkingArea, GNEBusStop, GNEChargingStation, and GNEContainerStop.
|
virtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIBaseVehicle, GUIPerson, and GUIContainer.
Definition at line 162 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
|
inherited |
draw name of item
Definition at line 330 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show.
Referenced by GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNEJunction::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorExit::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNETAZ::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEEdge::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), and GUIBaseVehicle::drawOnPos().
void GNEAdditional::endGeometryMoving | ( | ) |
begin movement (used when user click over additional to start a movement, to avoid problems with problems with GL Tree)
Definition at line 278 of file GNEAdditional.cpp.
References GNENet::addGLObjectIntoGrid(), GNEViewNet::getNet(), Boundary::isInitialised(), GNEAdditional::AdditionalMove::movingGeometryBoundary, myMove, myViewNet, GNENet::removeGLObjectFromGrid(), Boundary::reset(), and updateGeometry().
Referenced by GNEViewNet::onLeftBtnRelease().
|
virtual |
fix additional problem (by default throw an exception, has to be reimplemented in childs)
Reimplemented in GNEDetectorE2, GNEDetector, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEStoppingPlace, and GNEDetectorE1Instant.
Definition at line 240 of file GNEAdditional.cpp.
References GNEAttributeCarrier::getTagStr().
std::string GNEAdditional::generateAdditionalChildID | ( | SumoXMLTag | childTag | ) |
gererate a new ID for an additional child
Definition at line 324 of file GNEAdditional.cpp.
References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), myViewNet, GNENet::retrieveAdditional(), and toString().
Referenced by GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouterInterval::setAttribute(), GNEVariableSpeedSign::setAttribute(), and GNERerouter::setAttribute().
const std::vector< GNEAdditional * > & GNEAdditional::getAdditionalChilds | ( | ) | const |
return vector of additionals that have as Parent this edge (For example, Calibrators)
Definition at line 373 of file GNEAdditional.cpp.
References myAdditionalChilds.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNEVariableSpeedSignStep::GNEVariableSpeedSignStep(), GNEVariableSpeedSignStep::isValid(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNECalibratorDialog::onCmdClickedRoute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNETAZFrame::TAZCurrent::refreshTAZEdges(), GNEAdditionalFrame::removeAdditional(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNECalibratorDialog::updateFlowTable(), GNERerouterDialog::updateIntervalTable(), GNETAZFrame::TAZCommonStatistics::updateStatistics(), and GNEVariableSpeedSignDialog::updateTableSteps().
|
protected |
returns Additional ID
Definition at line 961 of file GNEAdditional.cpp.
References GUIGlObject::getMicrosimID().
Referenced by GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEChargingStation::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNETAZSink::getAttribute(), GNETAZSource::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDetectorE3::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorRoute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNERerouterInterval::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNERerouter::getAttribute(), GNECalibratorVehicleType::getAttribute(), GNEAccess::getAttribute(), GNEDetectorExit::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNETAZ::getAttribute(), and GNEDetectorE2::getAttribute().
|
virtual |
return a string with the current additional problem (by default empty, can be reimplemented in childs)
Reimplemented in GNEDetectorE2, GNEDetector, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEStoppingPlace, and GNEDetectorE1Instant.
Definition at line 234 of file GNEAdditional.cpp.
|
pure virtual |
Implements GNEAttributeCarrier.
Implemented in GNEDetectorE2, GNEDetector, GNETAZ, GNECalibrator, GNEStoppingPlace, GNEDetectorE1Instant, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEAccess, GNECalibratorVehicleType, GNERerouter, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, GNEParkingArea, GNEBusStop, GNEChargingStation, and GNEContainerStop.
Referenced by GNETAZFrame::TAZCurrent::addTAZChild(), GNETAZSource::getAttribute(), GNETAZSink::getAttribute(), getParameterWindow(), getPopUpMenu(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), GNECalibratorVehicleTypeDialog::setVClassLabelImage(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), startGeometryMoving(), GNECalibratorFlowDialog::updateCalibratorFlowValues(), GNECalibratorRouteDialog::updateCalibratorRouteValues(), GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues(), GNETAZFrame::TAZCurrent::TAZEdge::updateColors(), and writeAdditional().
|
virtualinherited |
method for getting the attribute in the context of object selection
Reimplemented in GNEEdge, and GNELane.
Definition at line 995 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::getAttribute().
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 629 of file GNEAdditional.cpp.
References PositionVector::getBoxBoundary(), getCenteringBoundary(), Boundary::grow(), Boundary::isInitialised(), GNEAdditional::AdditionalMove::movingGeometryBoundary, GNEAdditional::AdditionalGeometry::multiShape, GNEAdditional::AdditionalGeometry::multiShapeUnified, myFirstAdditionalParent, myGeometry, myMove, and GNEAdditional::AdditionalGeometry::shape.
Referenced by GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1Instant::drawGL(), GNECalibrator::drawGL(), GNEDetectorE2::drawGL(), getCenteringBoundary(), and startGeometryMoving().
|
staticinherited |
function to calculate circle resolution for all circles drawn in drawGL(...) functions
Definition at line 1165 of file GNEAttributeCarrier.cpp.
References GUIVisualizationSettings::drawForSelecting, and GUIVisualizationSettings::scale.
Referenced by GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEJunction::drawGL(), GNETAZ::drawGL(), GNELane::drawGL(), GNEPoly::drawGL(), GNEEdge::drawGL(), and GNEAttributeCarrier::parseAttributeFromXML().
|
inlinevirtualinherited |
Reimplemented in GUILane, GNELane, and GUIEdge.
Definition at line 145 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::showToolTipFor().
|
inherited |
Returns the value for a given key converted to a double.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 81 of file Parameterised.cpp.
References Parameterised::myMap, StringUtils::toDouble(), and WRITE_WARNING.
Referenced by MSDevice_Battery::buildVehicleDevices(), MSSOTLPolicy5DStimulus::getStimCox(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionIn(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionOut(), MSSOTLPolicy5DStimulus::getStimCoxExpIn(), MSSOTLPolicy5DStimulus::getStimCoxExpOut(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionIn(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionOut(), MSSOTLPolicy5DStimulus::getStimDivisorIn(), MSSOTLPolicy5DStimulus::getStimDivisorOut(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionIn(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionOut(), MSSOTLPolicy5DStimulus::getStimOffsetIn(), MSSOTLPolicy5DStimulus::getStimOffsetOut(), and MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus().
const std::vector< GNEEdge * > & GNEAdditional::getEdgeChilds | ( | ) | const |
GNEAdditional * GNEAdditional::getFirstAdditionalParent | ( | ) | const |
Definition at line 312 of file GNEAdditional.cpp.
References myFirstAdditionalParent.
Referenced by GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), and GNEAdditionalHandler::parseAndBuildRerouterInterval().
|
inherited |
Definition at line 117 of file GUIGlObject.cpp.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUILaneSpeedTrigger::openManipulator(), GUICalibrator::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
virtual |
return generic parameters as vector of pairs format
Implements GNEAttributeCarrier.
Definition at line 1121 of file GNEAdditional.cpp.
References Parameterised::getParametersMap().
|
virtual |
return generic parameters in string format
Implements GNEAttributeCarrier.
Definition at line 1106 of file GNEAdditional.cpp.
References Parameterised::getParametersMap().
Referenced by GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEChargingStation::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNETAZSink::getAttribute(), GNETAZSource::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDetectorE3::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorRoute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNERerouterInterval::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNERerouter::getAttribute(), GNECalibratorVehicleType::getAttribute(), GNEAccess::getAttribute(), GNEDetectorExit::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNETAZ::getAttribute(), and GNEDetectorE2::getAttribute().
|
inherited |
Returns the numerical id of the object.
Definition at line 129 of file GUIGlObject.cpp.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildRouteProbe(), GUIGlObject::buildSelectionPopupEntry(), GNEAdditionalHandler::buildVaporizer(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEJunction::drawGL(), GNEVariableSpeedSign::drawGL(), GNEInternalLane::drawGL(), GNECrossing::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIPolygon::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GUIPointOfInterest::drawGL(), GNETAZ::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEEdge::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(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIPerson::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIEdge::getScaleValue(), GUILane::isLaneOrEdgeSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIPerson::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), 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(), GNEShape::selectAttributeCarrier(), selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), GUIMessageWindow::setCursorPos(), GNENetElement::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), unselectAttributeCarrier(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
|
pure virtual |
get Hierarchy Name (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Implemented in GNEDetector, GNETAZ, GNECalibrator, GNEStoppingPlace, GNECalibratorVehicleType, GNEAccess, GNERerouter, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, and GNEVaporizer.
Referenced by GNEFrame::ACHierarchy::showAttributeCarrierParents().
|
staticinherited |
return the number of attributes of the tag with the most highter number of attributes
Definition at line 1120 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), MAX2(), and GNEAttributeCarrier::myTagProperties.
Referenced by GNEFrame::ACAttributes::ACAttributes(), and GNEInspectorFrame::AttributesEditor::AttributesEditor().
|
inherited |
get FXIcon associated to this AC
Definition at line 1019 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::TagProperties::getGUIIcon(), GUIIconSubSys::getIcon(), GNEAttributeCarrier::myTagProperties, and GNEAttributeCarrier::myTagProperty.
Referenced by GNEFrame::ACHierarchy::addACIntoList(), GNEFrame::ACHierarchy::createPopUpMenu(), getPopUpMenu(), and GNEFrame::ACHierarchy::showAttributeCarrierParents().
|
virtualinherited |
function to support debugging
Implements GNEReferenceCounter.
Definition at line 1029 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::getAttribute(), and SUMO_ATTR_ID.
Referenced by GNENetElement::addAdditionalChild(), addAdditionalChild(), GNENetElement::addAdditionalParent(), GNECrossingFrame::addCrossing(), addEdgeChild(), GNEJunction::addIncomingGNEEdge(), addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNENet::addReversedEdge(), GNELane::addShapeChild(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildAdditional(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEConnectorFrame::buildConnection(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNENet::changeShapeID(), GNENet::computeEverything(), GNENet::deleteAdditional(), generateAdditionalChildID(), GNEAdditionalFrame::generateID(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEChargingStation::getAttribute(), GNEParkingArea::getAttribute(), GNETAZSink::getAttribute(), GNETAZSource::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNERerouterInterval::getAttribute(), GNECalibratorFlow::getAttribute(), GNEAccess::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GNELane::getColorValue(), GNEClosingReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEAccess::getHierarchyName(), GNETAZSink::getParentName(), GNETAZSource::getParentName(), GNEClosingReroute::getParentName(), GNERouteProbReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNERerouterInterval::getParentName(), GNECalibratorFlow::getParentName(), GNEAccess::getParentName(), GNEDetectorE3::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNERerouter::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEDetector::getPopUpID(), GNEShape::getPopUpID(), GNENetElement::getPopUpID(), GNEAdditionalHandler::getPosition(), GNENet::GNENet(), GNENet::insertAdditional(), GNENet::insertShape(), isRouteValid(), GNEAccess::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::CrossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdSetVariable(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEPolygonFrame::processClick(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_Connection::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNENetElement::removeAdditionalChild(), removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), removeEdgeChild(), GNEJunction::removeEdgeFromCrossings(), GNEEdge::removeEdgeOfAdditionalParents(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), removeLaneChild(), GNELane::removeLaneOfAdditionalParents(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNEEdge::setAttribute(), GNETAZFrame::TAZCurrent::setTAZ(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), GNENet::splitJunction(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_Additional::undo(), GNEChange_TLS::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNECalibratorRouteDialog::updateCalibratorRouteValues(), 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().
const std::vector< GNELane * > & GNEAdditional::getLaneChilds | ( | ) | const |
|
virtualinherited |
Returns the id of the object as known to microsim.
Definition at line 143 of file GUIGlObject.cpp.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), changeAdditionalID(), changeEdge(), changeFirstAdditionalParent(), changeLane(), changeSecondAdditionalParent(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GUIGlObject::drawName(), getAdditionalID(), GNEConnection::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), GNEDialogACChooser::getObjectName(), GUIDialog_GLObjChooser::getObjectName(), GNEVaporizer::getParentName(), GNERouteProbe::getParentName(), GNEDetectorE3::getParentName(), GNECalibratorRoute::getParentName(), GNEParkingSpace::getParentName(), GNEVariableSpeedSign::getParentName(), GNECalibratorVehicleType::getParentName(), GNERerouter::getParentName(), GNELane::getParentName(), GNEStoppingPlace::getParentName(), GNECalibrator::getParentName(), GNETAZ::getParentName(), GNEDetector::getParentName(), GNEPoly::getParentName(), GNEPOI::getParentName(), GNETLSEditorFrame::handleMultiChange(), GNEEdge::isValid(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNEInspectorFrame::TemplateEditor::onUpdCopyTemplate(), GNENet::registerEdge(), GNENet::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNEEdge::removeConnection(), GNEEdge::setAttribute(), GNENet::splitEdge(), GNEProhibitionFrame::updateDescription(), and GNEConnection::updateID().
|
inherited |
Returns the value for a given key.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 71 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::equippedByParameter(), libsumo::Simulation::findIntermodalRoute(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), GNELane::getColorValue(), GUILane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSTLLogicControl::WAUTSwitchProcedure::getGSPValue(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), MSDevice_ToC::getOutputFilename(), 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(), MSDevice_SSM::requestsTrajectories(), NBEdgeCont::splitAt(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::stretchLogic(), MSDevice_SSM::useGeoCoords(), and NWWriter_DlrNavteq::writeLinksUnsplitted().
|
inherited |
Returns the inner key/value map.
Definition at line 105 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEPoly::getGenericParameters(), GNELane::getGenericParameters(), GNEJunction::getGenericParameters(), GNEPOI::getGenericParameters(), GNEEdge::getGenericParameters(), getGenericParameters(), GNEPoly::getGenericParametersStr(), GNELane::getGenericParametersStr(), GNEPOI::getGenericParametersStr(), GNEJunction::getGenericParametersStr(), GNEEdge::getGenericParametersStr(), getGenericParametersStr(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIPolygon::getParameterWindow(), GUIJunctionWrapper::getParameterWindow(), GUIPointOfInterest::getParameterWindow(), GUILane::getParameterWindow(), GUIContainer::getTypeParameterWindow(), GUIPerson::getTypeParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), GUIVehicle::getTypeParameterWindow(), NIImporter_OpenStreetMap::insertEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), and TraCIServerAPI_TrafficLight::processGet().
|
virtual |
Returns an own parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Implements GUIGlObject.
Definition at line 610 of file GNEAdditional.cpp.
References GUIParameterTableWindow::closeBuilding(), getAttribute(), GNEAttributeCarrier::TagProperties::getNumberOfAttributes(), GUIParameterTableWindow::mkItem(), GNEAttributeCarrier::myTagProperty, and toString().
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNEPOI, GNEPoly, GNEDetector, GNETAZ, GNECalibrator, GNEStoppingPlace, GUILane, GNELane, GNECalibratorVehicleType, GNERerouter, GNEAccess, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, and GNEVaporizer.
Definition at line 123 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
pure virtual |
get PopPup ID (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Implemented in GNEDetector, GNETAZ, GNECalibrator, GNEStoppingPlace, GNECalibratorVehicleType, GNEAccess, GNERerouter, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, and GNEVaporizer.
|
virtual |
Returns an own popup-menu.
[in] | app | The application needed to build the popup-menu |
[in] | parent | The parent window needed to build the popup-menu |
Implements GUIGlObject.
Definition at line 562 of file GNEAdditional.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GNEViewNet::buildSelectionACPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), getAttribute(), GNEAttributeCarrier::getIcon(), GNEEdge::getLanes(), GNEViewNet::getNet(), GUISUMOAbstractView::getPositionInformation(), getPositionInView(), GNELane::getShape(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::TagProperties::hasAttribute(), GNEAttributeCarrier::TagProperties::hasDialog(), MID_COPY_NAME, MID_COPY_TYPED_NAME, MID_OPEN_ADDITIONAL_DIALOG, myGeometry, GNEAttributeCarrier::myTagProperty, myViewNet, PositionVector::nearest_offset_to_point2D(), GNENet::retrieveEdge(), GNENet::retrieveLane(), GNEAdditional::AdditionalGeometry::shape, SUMO_ATTR_EDGE, SUMO_ATTR_LANE, SUMO_TAG_EDGE, SUMO_TAG_LANE, and toString().
|
pure virtual |
Returns position of additional in view.
Implemented in GNEDetector, GNECalibrator, GNEStoppingPlace, GNEAccess, GNERerouter, GNECalibratorVehicleType, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEParkingSpace, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEDetectorE3, GNEParkingAreaReroute, GNEClosingLaneReroute, GNEDestProbReroute, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, and GNETAZ.
Referenced by getPopUpMenu(), GNETAZSink::getPositionInView(), GNETAZSource::getPositionInView(), GNEClosingReroute::getPositionInView(), GNEDestProbReroute::getPositionInView(), GNERouteProbReroute::getPositionInView(), GNEClosingLaneReroute::getPositionInView(), GNEParkingAreaReroute::getPositionInView(), GNEVariableSpeedSignStep::getPositionInView(), GNECalibratorFlow::getPositionInView(), GNERerouterInterval::getPositionInView(), GNEViewNet::onLeftBtnPress(), GNEAdditional::BlockIcon::setRotation(), startGeometryMoving(), and GNEAdditional::ChildConnections::update().
GNEAdditional * GNEAdditional::getSecondAdditionalParent | ( | ) | const |
Definition at line 318 of file GNEAdditional.cpp.
References mySecondAdditionalParent.
Referenced by GNEParkingAreaReroute::getHierarchyName().
PositionVector GNEAdditional::getShape | ( | ) | const |
Returns additional element's shape.
Definition at line 300 of file GNEAdditional.cpp.
References myGeometry, and GNEAdditional::AdditionalGeometry::shape.
Referenced by GNEViewNet::MoveSingleElementValues::calculateTAZValues(), GNETAZ::drawGL(), and GNEDetector::getPositionInView().
|
staticinherited |
get Tag Properties
Definition at line 1038 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::dummyTagProperty, GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::myTagProperties, SUMO_TAG_NOTHING, and toString().
Referenced by GNECrossingFrame::CrossingParameters::enableCrossingParameters(), GNESelectorFrame::getMatches(), GNECrossingFrame::CrossingParameters::onCmdHelp(), GNETAZFrame::TAZParameters::onCmdHelp(), GNEFrame::ItemSelector::onCmdSelectItem(), GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute(), GNESelectorFrame::MatchAttribute::onCmdSelMBString(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), GNEAttributeCarrier::parseAttributeFromXML(), GNENet::retrieveAttributeCarriers(), GNENet::saveAdditionalsConfirmed(), GNEFrame::ItemSelector::setCurrentTypeTag(), GNETAZFrame::TAZCurrent::setTAZ(), GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute(), and GNEInspectorFrame::AttributesEditor::showAttributeEditorModul().
|
inherited |
get Tag Property assigned to this object
Definition at line 1013 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNENet::additionalExist(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEViewNet::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalWithParent(), changeFirstAdditionalParent(), changeSecondAdditionalParent(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNEAdditional::BlockIcon::draw(), GNEViewNet::getAttributeCarriersInBoundary(), GNEEdge::getRouteProbeRelativePosition(), GNEAdditional(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNENet::insertShape(), GNEInspectorFrame::inspectSingleElement(), GNEInspectorFrame::OverlappedInspection::onCmdNextElement(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEInspectorFrame::OverlappedInspection::onCmdPreviousElement(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onLeftBtnPress(), GNEAdditionalHandler::parseGenericParameter(), GNEInspectorFrame::processClick(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::removeShape(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNENet::retrieveShapes(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNENet::updateAdditionalID(), and GNEChange_Attribute::~GNEChange_Attribute().
|
inherited |
get tag assigned to this object in string format
Definition at line 1007 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TagProperties::getTagStr(), and GNEAttributeCarrier::myTagProperty.
Referenced by GNENetElement::addAdditionalChild(), addAdditionalChild(), GNENetElement::addAdditionalParent(), addEdgeChild(), GNEJunction::addIncomingGNEEdge(), addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNELane::addShapeChild(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), changeAdditionalID(), changeEdge(), changeFirstAdditionalParent(), changeLane(), changeSecondAdditionalParent(), checkAdditionalChildRestriction(), GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorEntry::commitGeometryMoving(), GNEDetectorExit::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNENet::deleteAdditional(), GNENet::deleteShape(), fixAdditionalProblem(), GNEBusStop::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNETAZSink::getAttribute(), GNETAZSource::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNEDetectorE3::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNERerouterInterval::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNECrossing::getAttribute(), GNEAccess::getAttribute(), GNERerouter::getAttribute(), GNECalibratorVehicleType::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNETAZ::getAttribute(), GNEConnection::getAttribute(), GNEDetectorE2::getAttribute(), GNEPoly::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), GNEPOI::getAttribute(), GNEEdge::getAttribute(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNETAZSink::getHierarchyName(), GNETAZSource::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNECalibratorRoute::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNERerouter::getHierarchyName(), GNEAccess::getHierarchyName(), GNECalibratorVehicleType::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNECalibrator::getHierarchyName(), GNETAZ::getHierarchyName(), GNENetElement::getHierarchyName(), GNEShape::getHierarchyName(), GNEDetector::getHierarchyName(), GNEVaporizer::getPopUpID(), GNETAZSource::getPopUpID(), GNERouteProbe::getPopUpID(), GNETAZSink::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEParkingSpace::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNERerouterInterval::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEShape::getPopUpID(), GNENetElement::getPopUpID(), GNEDetector::getPopUpID(), getPopUpMenu(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), isRouteValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEChargingStation::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNETAZSink::isValid(), GNETAZSource::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNEDetectorE3::isValid(), GNERouteProbReroute::isValid(), GNEDestProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouterInterval::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSign::isValid(), GNECrossing::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorVehicleType::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEConnection::isValid(), GNEDetectorE2::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEJunction::isValid(), GNEPOI::isValid(), GNEEdge::isValid(), GNECalibratorVehicleTypeDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdAccept(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), openAdditionalDialog(), GNEAdditionalHandler::parseGenericParameter(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_TLS::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(), removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), removeEdgeChild(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), removeLaneChild(), GNEJunction::removeOutgoingGNEEdge(), GNELane::removeShapeChild(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEBusStop::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEParkingArea::setAttribute(), GNEVaporizer::setAttribute(), GNETAZSink::setAttribute(), GNETAZSource::setAttribute(), GNERouteProbe::setAttribute(), GNEClosingReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouterInterval::setAttribute(), GNECalibratorFlow::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNECrossing::setAttribute(), GNEAccess::setAttribute(), GNERerouter::setAttribute(), GNECalibratorVehicleType::setAttribute(), GNEDetectorExit::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEConnection::setAttribute(), GNEDetectorE2::setAttribute(), GNEPoly::setAttribute(), GNELane::setAttribute(), GNEJunction::setAttribute(), GNEPOI::setAttribute(), GNEEdge::setAttribute(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_Additional::undo(), GNEChange_TLS::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), 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().
|
inherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 156 of file GUIGlObject.cpp.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GNEAdditional::BlockIcon::draw(), GNEAdditional::ChildConnections::draw(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIVehicle::drawAction_drawRailCarriages(), GUIPerson::drawAction_drawWalkingareaPath(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEJunction::drawGL(), GNEVariableSpeedSign::drawGL(), GNECrossing::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::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(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdBegin2TrackPhases(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::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(), GNEShape::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNENetElement::unselectAttributeCarrier(), and GNEShape::unselectAttributeCarrier().
|
virtualinherited |
Returns an own type parameter window (optional)
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented in GUIVehicle, GUIBaseVehicle, GUIMEVehicle, GUIPerson, and GUIContainer.
Definition at line 135 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
GNEViewNet * GNEAdditional::getViewNet | ( | ) | const |
Returns a pointer to GNEViewNet in which additional element is located.
Definition at line 294 of file GNEAdditional.cpp.
References 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(), GNECalibratorFlowDialog::onCmdSetVariable(), GNECalibratorRouteDialog::onCmdSetVariable(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), GNEAdditionalDialog::resetChanges(), GNECalibratorDialog::updateFlowAndLabelButton(), GNECalibratorDialog::updateRouteTable(), and GNECalibratorDialog::updateVehicleTypeTable().
|
inlineinherited |
Increarse reference.
Definition at line 68 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), and UNUSED_PARAMETER.
Referenced by GNEEdge::addLane(), GNENet::addPOI(), GNENet::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), 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().
bool GNEAdditional::isAdditionalBlocked | ( | ) | const |
Check if additional item is currently blocked (i.e. cannot be moved with mouse)
Definition at line 306 of file GNEAdditional.cpp.
References myBlockMovement.
Referenced by GNEViewNet::MoveSingleElementValues::calculateTAZValues(), and GNEViewNet::onMouseMove().
|
virtual |
check if current additional is valid to be writed into XML (by default true, can be reimplemented in childs)
Reimplemented in GNEDetectorE2, GNEDetector, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEStoppingPlace, and GNEDetectorE1Instant.
Definition at line 228 of file GNEAdditional.cpp.
|
virtual |
check if attribute carrier is selected
Implements GNEAttributeCarrier.
Definition at line 1093 of file GNEAdditional.cpp.
References GNEAttributeCarrier::mySelected.
Referenced by GNENet::deleteAdditional(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNECalibrator::drawGL(), GNETAZ::drawGL(), GNEDetectorE2::drawGL(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEChargingStation::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEDetectorE3::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEAccess::getAttribute(), GNERerouter::getAttribute(), GNEDetectorExit::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNETAZ::getAttribute(), GNEDetectorE2::getAttribute(), and GNENet::insertAdditional().
|
staticinherited |
check if given string can be parsed to a map/list of generic parameters
Definition at line 1135 of file GNEAttributeCarrier.cpp.
References StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), and StringTokenizer::next().
Referenced by GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEChargingStation::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNETAZSource::isValid(), GNETAZSink::isValid(), GNEClosingReroute::isValid(), GNERouteProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDetectorE3::isValid(), GNEDestProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouterInterval::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSign::isValid(), GNECrossing::isValid(), GNERerouter::isValid(), GNEAccess::isValid(), GNECalibratorVehicleType::isValid(), GNEDetectorExit::isValid(), GNEDetectorEntry::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEConnection::isValid(), GNEDetectorE2::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEPOI::isValid(), GNEJunction::isValid(), GNEEdge::isValid(), and GNEFrame::GenericParametersEditor::onCmdSetGenericParameter().
|
static |
check if a route is valid
[in] | edges | vector with the route's edges |
[in] | report | enable or disable writting warnings if route isn't valid |
Definition at line 651 of file GNEAdditional.cpp.
References GNEEdge::getGNEJunctionDestiny(), GNEJunction::getGNEOutgoingEdges(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and WRITE_WARNING.
Referenced by GNECalibratorRoute::isValid().
|
pure virtual |
method for checking if the key and their conrrespond attribute are valids
[in] | key | The attribute key |
[in] | value | The value asociated to key key |
Implements GNEAttributeCarrier.
Implemented in GNEDetectorE2, GNEDetector, GNETAZ, GNECalibrator, GNEStoppingPlace, GNEDetectorE1Instant, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNECalibratorVehicleType, GNEAccess, GNERerouter, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, GNEParkingArea, GNEBusStop, GNEChargingStation, and GNEContainerStop.
Referenced by GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNECalibratorFlowDialog::onCmdSetVariable(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and GNECalibratorRouteDialog::onCmdSetVariable().
|
protected |
check if a new additional ID is valid
Definition at line 967 of file GNEAdditional.cpp.
References GNEViewNet::getNet(), GNEAttributeCarrier::TagProperties::getTag(), SUMOXMLDefinitions::isValidNetID(), GNEAttributeCarrier::myTagProperty, myViewNet, and GNENet::retrieveAdditional().
Referenced by GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEChargingStation::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNETAZSource::isValid(), GNERouteProbe::isValid(), GNETAZSink::isValid(), GNEClosingReroute::isValid(), GNEClosingLaneReroute::isValid(), GNERouteProbReroute::isValid(), GNEDestProbReroute::isValid(), GNEParkingSpace::isValid(), GNEParkingAreaReroute::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouterInterval::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSign::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorVehicleType::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNECalibrator::isValid(), and GNETAZ::isValid().
|
protected |
check if a new detector ID is valid
Definition at line 977 of file GNEAdditional.cpp.
References GNEViewNet::getNet(), GNEAttributeCarrier::TagProperties::getTag(), SUMOXMLDefinitions::isValidDetectorID(), GNEAttributeCarrier::myTagProperty, myViewNet, and GNENet::retrieveAdditional().
Referenced by GNEDetectorE3::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), and GNEDetectorE2::isValid().
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 65 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::append(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice::equippedByParameter(), MSDevice::getBoolParam(), NWWriter_DlrNavteq::getBrunnelType(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), MSDevice_SSM::requestsTrajectories(), and MSDevice_SSM::useGeoCoords().
|
staticinherited |
check if lanes are consecutives
Definition at line 964 of file GNEAttributeCarrier.cpp.
Referenced by GNEAttributeCarrier::canParse(), GNEDetectorE2::isValid(), and GNEAdditionalHandler::parseAndBuildDetectorE2().
|
privatevirtual |
method for check if mouse is over objects
Implements GNEAttributeCarrier.
Definition at line 1157 of file GNEAdditional.cpp.
|
pure virtual |
change the position of the element geometry without saving in undoList
Implemented in GNEDetectorE2, GNEDetector, GNECalibrator, GNEStoppingPlace, GNEDetectorE1Instant, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEAccess, GNERerouter, GNECalibratorVehicleType, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEParkingSpace, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEDetectorE3, GNEParkingAreaReroute, GNEClosingLaneReroute, GNEDestProbReroute, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, and GNETAZ.
Referenced by GNEViewNet::onMouseMove().
|
virtual |
open Additional Dialog
invalid | argument if additional doesn't have an additional Dialog |
Reimplemented in GNECalibrator, GNERerouter, and GNEVariableSpeedSign.
Definition at line 246 of file GNEAdditional.cpp.
References GNEAttributeCarrier::getTagStr().
Referenced by GNEViewNet::onCmdOpenAdditionalDialog().
|
privatedelete |
Invalidated assignment operator.
|
staticinherited |
parses a value of type T from string (used for basic types: int, double, bool, etc.)
Referenced by GNEAttributeCarrier::canParse(), GNECalibratorRoute::isValid(), and GNEDetectorE2::isValid().
|
staticinherited |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.)
|
inherited |
Definition at line 781 of file GNEAttributeCarrier.cpp.
References StringUtils::toInt().
|
inherited |
Definition at line 787 of file GNEAttributeCarrier.cpp.
References StringUtils::toDouble().
|
inherited |
Definition at line 793 of file GNEAttributeCarrier.cpp.
References StringUtils::toBool().
|
inherited |
Definition at line 799 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 805 of file GNEAttributeCarrier.cpp.
References SumoVehicleClassStrings, and SVC_IGNORING.
|
inherited |
Definition at line 817 of file GNEAttributeCarrier.cpp.
References RGBColor::parseColor().
|
inherited |
Definition at line 823 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
|
inherited |
Definition at line 839 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
|
inherited |
Definition at line 857 of file GNEAttributeCarrier.cpp.
References SumoVehicleShapeStrings, and SVS_UNKNOWN.
|
inherited |
Definition at line 867 of file GNEAttributeCarrier.cpp.
References StringTokenizer::getVector().
|
inherited |
Definition at line 873 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 884 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 895 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 906 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveEdge(), SUMO_ATTR_EDGES, SUMO_TAG_EDGE, and toString().
|
inherited |
Definition at line 924 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveLane(), SUMO_ATTR_LANES, SUMO_TAG_LANE, and toString().
|
inlinestaticinherited |
Parse attribute from XML and show warnings if there are problems parsing it.
Definition at line 591 of file GNEAttributeCarrier.h.
References canParseVehicleClasses(), SUMOSAXAttributes::get(), GNEAttributeCarrier::getCircleResolution(), GNEAttributeCarrier::getTagProperties(), SUMOSAXAttributes::hasAttribute(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), SUMOXMLDefinitions::isValidNetID(), GNEAttributeCarrier::mouseOverObject(), GNEAttributeCarrier::setAttribute(), SUMO_ATTR_EDGES, SUMO_ATTR_GUISHAPE, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_POSITION, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VCLASS, SUMO_ATTR_VTYPES, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, toString(), and WRITE_WARNING.
|
staticinherited |
parses a list of specific Attribute Carriers into a string of IDs
Referenced by GNEAttributeCarrier::canParse(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNERerouter::getAttribute(), and GNEDetectorE2::getAttribute().
|
inherited |
Definition at line 942 of file GNEAttributeCarrier.cpp.
References joinToString().
|
inherited |
Definition at line 953 of file GNEAttributeCarrier.cpp.
References joinToString().
void GNEAdditional::removeAdditionalChild | ( | GNEAdditional * | additional | ) |
remove additional child from this additional
Definition at line 353 of file GNEAdditional.cpp.
References GNEAttributeCarrier::TagProperties::canAutomaticSortChilds(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), myAdditionalChilds, GNEAttributeCarrier::myTagProperty, sortAdditionalChilds(), updateAdditionalParent(), and updateGeometry().
Referenced by changeFirstAdditionalParent(), changeSecondAdditionalParent(), GNEChange_Additional::redo(), and GNEChange_Additional::undo().
void GNEAdditional::removeEdgeChild | ( | GNEEdge * | edge | ) |
remove edge child
Definition at line 511 of file GNEAdditional.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), myEdgeChilds, SUMO_TAG_EDGE, and toString().
void GNEAdditional::removeLaneChild | ( | GNELane * | lane | ) |
remove lane child
Definition at line 543 of file GNEAdditional.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), myLaneChilds, SUMO_TAG_EDGE, and toString().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 269 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
virtual |
Implements GNEAttributeCarrier.
Definition at line 1062 of file GNEAdditional.cpp.
References GNESelectorFrame::LockGLObjectTypes::addedLockedObject(), GUIGlObject::getGlID(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewParent::getSelectorFrame(), GNEViewNet::getViewParent(), GLO_ADDITIONAL, gSelected, GNEAttributeCarrier::mySelected, myViewNet, and GUISelectedStorage::select().
Referenced by GNENet::insertAdditional(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEVaporizer::setAttribute(), GNEDetectorExit::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEParkingSpace::setAttribute(), GNERouteProbe::setAttribute(), GNEAccess::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouter::setAttribute(), GNECalibrator::setAttribute(), GNEDetectorE2::setAttribute(), and GNETAZ::setAttribute().
|
pure virtual |
method for setting the attribute and letting the object perform additional changes
[in] | key | The attribute key |
[in] | value | The new value |
[in] | undoList | The undoList on which to register changes |
Implements GNEAttributeCarrier.
Implemented in GNEDetectorE2, GNEDetector, GNETAZ, GNECalibrator, GNEStoppingPlace, GNEDetectorE1Instant, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNECalibratorVehicleType, GNEAccess, GNERerouter, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, GNEParkingArea, GNEBusStop, GNEChargingStation, and GNEContainerStop.
Referenced by GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNECalibratorFlowDialog::onCmdSetVariable(), GNECalibratorRouteDialog::onCmdSetVariable(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setDefaultValues().
|
privatepure virtual |
method for setting the attribute and nothing else (used in GNEChange_Attribute)
Implements GNEAttributeCarrier.
Implemented in GNECalibratorVehicleType, GNECalibratorFlow, GNETAZ, GNEDetectorE2, GNEStoppingPlace, GNEDetector, GNECalibrator, GNERerouter, GNEDetectorE3, GNEAccess, GNERouteProbe, GNEParkingSpace, GNEDetectorE1Instant, GNERerouterInterval, GNEVariableSpeedSign, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEParkingAreaReroute, GNEClosingLaneReroute, GNEDestProbReroute, GNERouteProbReroute, GNEClosingReroute, GNEVaporizer, GNETAZSink, GNETAZSource, GNEParkingArea, GNEChargingStation, GNEBusStop, and GNEContainerStop.
|
protected |
change all attributes of additional with their default values (note: this cannot be undo)
Definition at line 950 of file GNEAdditional.cpp.
References GNEAttributeCarrier::myTagProperty, and setAttribute().
Referenced by GNECalibratorFlow::GNECalibratorFlow(), GNECalibratorRoute::GNECalibratorRoute(), GNECalibratorVehicleType::GNECalibratorVehicleType(), GNEClosingLaneReroute::GNEClosingLaneReroute(), GNEClosingReroute::GNEClosingReroute(), GNEDestProbReroute::GNEDestProbReroute(), GNEParkingAreaReroute::GNEParkingAreaReroute(), GNERerouterInterval::GNERerouterInterval(), GNERouteProbReroute::GNERouteProbReroute(), and GNEVariableSpeedSignStep::GNEVariableSpeedSignStep().
|
virtual |
set generic parameters in string format
Implements GNEAttributeCarrier.
Definition at line 1132 of file GNEAdditional.cpp.
References Parameterised::clearParameter(), StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), StringTokenizer::next(), and Parameterised::setParameter().
Referenced by GNEBusStop::setAttribute(), GNEContainerStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNETAZSink::setAttribute(), GNETAZSource::setAttribute(), GNEVaporizer::setAttribute(), GNEClosingReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouterInterval::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEParkingSpace::setAttribute(), GNERouteProbe::setAttribute(), GNEAccess::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouter::setAttribute(), GNECalibrator::setAttribute(), GNEDetectorE2::setAttribute(), GNETAZ::setAttribute(), GNECalibratorFlow::setAttribute(), and GNECalibratorVehicleType::setAttribute().
|
virtualinherited |
Changes the microsimID of the object.
Reimplemented in GNEEdge.
Definition at line 149 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by changeAdditionalID(), GNENet::renameJunction(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNELane::setIndex(), GNEEdge::setMicrosimID(), and GNEConnection::updateID().
|
inherited |
Sets a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Definition at line 45 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::addDistrict(), SUMORouteHandler::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(), setGenericParametersStr(), libsumo::Route::setParameter(), libsumo::Polygon::setParameter(), libsumo::POI::setParameter(), libsumo::TrafficLight::setParameter(), libsumo::Edge::setParameter(), and libsumo::Lane::setParameter().
void GNEAdditional::sortAdditionalChilds | ( | ) |
sort childs (used by Rerouters and VSS)
Definition at line 379 of file GNEAdditional.cpp.
References GNEAttributeCarrier::TagProperties::getTag(), myAdditionalChilds, GNEAttributeCarrier::myTagProperty, SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_TIME, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E3DETECTOR, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, and SUMO_TAG_TAZSOURCE.
Referenced by addAdditionalChild(), GNEVariableSpeedSignDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterDialog::onCmdSortIntervals(), GNEVariableSpeedSignDialog::onCmdSortSteps(), and removeAdditionalChild().
void GNEAdditional::startGeometryMoving | ( | ) |
Definition at line 252 of file GNEAdditional.cpp.
References GNEAttributeCarrier::TagProperties::canBePlacedOverLane(), GNEAttributeCarrier::TagProperties::canBePlacedOverLanes(), GNEAttributeCarrier::TagProperties::canMaskStartEndPos(), GNEAdditional::AdditionalMove::firstOriginalLanePosition, getAttribute(), getCenteringBoundary(), getPositionInView(), GNEAdditional::AdditionalMove::movingGeometryBoundary, myMove, GNEAttributeCarrier::myTagProperty, GNEAdditional::AdditionalMove::originalViewPosition, GNEAdditional::AdditionalMove::secondOriginalPosition, SUMO_ATTR_ENDPOS, SUMO_ATTR_POSITION, and SUMO_ATTR_STARTPOS.
Referenced by GNEViewNet::onLeftBtnPress().
|
inlineinherited |
check if object ins't referenced
Definition at line 79 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), and GNEReferenceCounter::myCount.
Referenced by GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), 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 GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
virtual |
unselect attribute carrier using GUIGlobalSelection
Implements GNEAttributeCarrier.
Definition at line 1077 of file GNEAdditional.cpp.
References GUISelectedStorage::deselect(), GUIGlObject::getGlID(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewParent::getSelectorFrame(), GNEViewNet::getViewParent(), GLO_ADDITIONAL, gSelected, GNEAttributeCarrier::mySelected, myViewNet, and GNESelectorFrame::LockGLObjectTypes::removeLockedObject().
Referenced by GNENet::deleteAdditional(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEVaporizer::setAttribute(), GNEDetectorExit::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEParkingSpace::setAttribute(), GNERouteProbe::setAttribute(), GNEAccess::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouter::setAttribute(), GNECalibrator::setAttribute(), GNEDetectorE2::setAttribute(), and GNETAZ::setAttribute().
|
inherited |
Removes a parameter.
[in] | key | The parameter's name |
Definition at line 51 of file Parameterised.cpp.
References Parameterised::myMap.
|
virtual |
update parent after add or remove a child (can be reimplemented, for example used for stadistics)
Reimplemented in GNETAZ.
Definition at line 686 of file GNEAdditional.cpp.
Referenced by addAdditionalChild(), removeAdditionalChild(), GNETAZSink::setAttribute(), and GNETAZSource::setAttribute().
|
pure virtual |
update pre-computed geometry information
Implemented in GNEDetectorE2, GNEDetector, GNECalibrator, GNEStoppingPlace, GNEDetectorE1Instant, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEAccess, GNERerouter, GNECalibratorVehicleType, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEParkingSpace, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEDetectorE3, GNEParkingAreaReroute, GNEClosingLaneReroute, GNEDestProbReroute, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, GNEParkingArea, GNETAZ, GNEBusStop, GNEChargingStation, and GNEContainerStop.
Referenced by addAdditionalChild(), changeEdge(), changeFirstAdditionalParent(), changeLane(), changeSecondAdditionalParent(), endGeometryMoving(), GNENet::insertAdditional(), removeAdditionalChild(), GNEDetectorEntry::updateGeometry(), and GNEDetectorExit::updateGeometry().
|
inherited |
Adds or updates all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 57 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NBTrafficLightDefinition::compute(), NIImporter_OpenStreetMap::insertEdge(), and NBLoadedSUMOTLDef::NBLoadedSUMOTLDef().
void GNEAdditional::writeAdditional | ( | OutputDevice & | device | ) | const |
writte additional element into a xml file
[in] | device | device in which write parameters of additional element |
Definition at line 124 of file GNEAdditional.cpp.
References checkAdditionalChildRestriction(), OutputDevice::close(), OutputDevice::closeTag(), getAttribute(), OutputDevice::getDevice(), FileHelpers::getFilePath(), GNEAttributeCarrier::getID(), OptionsCont::getOptions(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::TagProperties::getTagSynonym(), GNEAttributeCarrier::TagProperties::hasMinimumNumberOfChilds(), GNEAttributeCarrier::TagProperties::hasTagSynonym(), myAdditionalChilds, GNEAttributeCarrier::myTagProperty, OutputDevice::openTag(), parseVehicleClasses(), SUMO_ATTR_DISALLOW, SUMO_ATTR_FILE, SUMO_ATTR_POSITION, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, toString(), WRITE_WARNING, OutputDevice::writeAttr(), Parameterised::writeParams(), writePermissions(), OutputDevice::writeXMLHeader(), Position::x(), Position::y(), and Position::z().
|
inherited |
write Params in the given outputdevice
Definition at line 111 of file Parameterised.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), Parameterised::myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().
Referenced by ROVehicle::saveAsXML(), ROPerson::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), SUMOVTypeParameter::write(), writeAdditional(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
staticprotectedinherited |
dummy TagProperty used for reference some elements (for Example, dummyEdge)
Definition at line 921 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::getTagProperties().
|
staticinherited |
feature has been approved but not changed (i.e. after being reguessed)
Definition at line 498 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been reguessed (may still be unchanged be we can't tell (yet)
Definition at line 492 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::setAttribute(), and GNEEdge::setAttribute().
|
staticinherited |
Definition at line 489 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been manually modified (implies approval)
Definition at line 495 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::markAsModified(), and GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections().
|
staticinherited |
Definition at line 70 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOAbstractView::paintGL(), and GUIViewTraffic::stopTrack().
|
protected |
vector with the Additional childs
Definition at line 430 of file GNEAdditional.h.
Referenced by addAdditionalChild(), GNEDetectorE3::checkAdditionalChildRestriction(), checkAdditionalChildsOverlapping(), GNEBusStop::drawGL(), getAdditionalChilds(), GNETAZ::getAttribute(), removeAdditionalChild(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouterInterval::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNERerouter::setAttribute(), sortAdditionalChilds(), GNEAdditional::ChildConnections::update(), GNETAZ::updateAdditionalParent(), and writeAdditional().
|
protected |
name of additional
Definition at line 418 of file GNEAdditional.h.
Referenced by GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEChargingStation::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEDetectorE3::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNERerouter::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNEDetectorE2::getAttribute(), GNEBusStop::setAttribute(), GNEContainerStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEVaporizer::setAttribute(), GNEDetectorE1::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNERouteProbe::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouter::setAttribute(), GNECalibrator::setAttribute(), and GNEDetectorE2::setAttribute().
|
protected |
variable BlockIcon
Definition at line 439 of file GNEAdditional.h.
Referenced by GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNEParkingArea::updateGeometry(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEDetectorE3::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), GNERerouter::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorExit::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), and GNEDetectorE2::updateGeometry().
|
protected |
boolean to check if additional element is blocked (i.e. cannot be moved with mouse)
Definition at line 421 of file GNEAdditional.h.
Referenced by GNEAccess::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNEAdditional::BlockIcon::draw(), GNETAZ::drawGL(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE3::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEAccess::getAttribute(), GNERerouter::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNETAZ::getAttribute(), GNEDetectorE2::getAttribute(), isAdditionalBlocked(), GNETAZ::moveEntireShape(), GNETAZ::moveVertexShape(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorExit::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorE1::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEParkingSpace::setAttribute(), GNEAccess::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouter::setAttribute(), GNEDetectorE2::setAttribute(), and GNETAZ::setAttribute().
|
protected |
variable ChildConnections
Definition at line 442 of file GNEAdditional.h.
Referenced by GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEDetectorE3::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), and GNERerouter::updateGeometry().
|
protected |
vector with the edge childs of this additional
Definition at line 433 of file GNEAdditional.h.
Referenced by addEdgeChild(), GNERerouter::getAttribute(), getEdgeChilds(), removeEdgeChild(), GNERerouter::setAttribute(), and GNEAdditional::ChildConnections::update().
|
protected |
pointer to first Additional parent
Definition at line 424 of file GNEAdditional.h.
Referenced by changeFirstAdditionalParent(), GNETAZSink::getAttribute(), GNETAZSource::getAttribute(), GNEClosingReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNERerouterInterval::getAttribute(), GNEAccess::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), getCenteringBoundary(), getFirstAdditionalParent(), GNETAZSink::getParentName(), GNETAZSource::getParentName(), GNEClosingReroute::getParentName(), GNERouteProbReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEParkingSpace::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNECalibratorFlow::getParentName(), GNERerouterInterval::getParentName(), GNEAccess::getParentName(), GNETAZSource::getPositionInView(), GNETAZSink::getPositionInView(), GNEClosingReroute::getPositionInView(), GNERouteProbReroute::getPositionInView(), GNEClosingLaneReroute::getPositionInView(), GNEDestProbReroute::getPositionInView(), GNEParkingAreaReroute::getPositionInView(), GNEVariableSpeedSignStep::getPositionInView(), GNECalibratorFlow::getPositionInView(), GNERerouterInterval::getPositionInView(), GNEVariableSpeedSignStep::GNEVariableSpeedSignStep(), GNEVariableSpeedSignStep::isValid(), GNEAccess::isValid(), GNETAZSink::setAttribute(), GNETAZSource::setAttribute(), GNEDetectorExit::updateGeometry(), and GNEDetectorEntry::updateGeometry().
|
protected |
geometry to be precomputed in updateGeometry(...)
Definition at line 412 of file GNEAdditional.h.
Referenced by GNETAZ::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNETAZ::deleteGeometryPoint(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorE1Instant::drawGL(), GNECalibrator::drawGL(), GNETAZ::drawGL(), GNEDetectorE2::drawGL(), GNETAZ::getAttribute(), getCenteringBoundary(), getPopUpMenu(), GNETAZ::getPositionInView(), getShape(), GNETAZ::getVertexIndex(), GNETAZ::GNETAZ(), GNETAZ::moveEntireShape(), GNETAZ::moveGeometry(), GNETAZ::moveVertexShape(), GNETAZ::setAttribute(), GNEAdditional::BlockIcon::setRotation(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNEBusStop::updateGeometry(), GNEParkingArea::updateGeometry(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEDetectorE3::updateGeometry(), GNEParkingSpace::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), GNERerouter::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorExit::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), and GNEDetectorE2::updateGeometry().
|
protected |
vector with the lane childs of this additional
Definition at line 436 of file GNEAdditional.h.
Referenced by addLaneChild(), GNEVariableSpeedSign::getAttribute(), getLaneChilds(), removeLaneChild(), GNEVariableSpeedSign::setAttribute(), and GNEAdditional::ChildConnections::update().
|
protected |
variable AdditionalMove
Definition at line 415 of file GNEAdditional.h.
Referenced by GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorEntry::commitGeometryMoving(), GNEDetectorExit::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), endGeometryMoving(), getCenteringBoundary(), GNETAZ::moveGeometry(), GNEDetectorE3::moveGeometry(), GNEParkingSpace::moveGeometry(), GNEVariableSpeedSign::moveGeometry(), GNEAccess::moveGeometry(), GNERerouter::moveGeometry(), GNEDetectorExit::moveGeometry(), GNEDetectorE1::moveGeometry(), GNEDetectorEntry::moveGeometry(), GNEDetectorE1Instant::moveGeometry(), GNEStoppingPlace::moveGeometry(), GNEDetectorE2::moveGeometry(), and startGeometryMoving().
|
protected |
pointer to second Additional parent
Definition at line 427 of file GNEAdditional.h.
Referenced by changeSecondAdditionalParent(), GNEParkingAreaReroute::getAttribute(), and getSecondAdditionalParent().
|
protectedinherited |
boolean to check if this AC is selected (instead of GUIGlObjectStorage)
Definition at line 918 of file GNEAttributeCarrier.h.
Referenced by GNEShape::draw(), GNEAdditional::BlockIcon::draw(), GNEAccess::drawGL(), GNENetElement::isAttributeCarrierSelected(), GNEShape::isAttributeCarrierSelected(), isAttributeCarrierSelected(), GNENetElement::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), selectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), and unselectAttributeCarrier().
|
protectedinherited |
the xml tag to which this attribute carrier corresponds
Definition at line 915 of file GNEAttributeCarrier.h.
Referenced by addAdditionalChild(), changeAdditionalID(), GNEDetectorE2::drawGL(), GNENetElement::getHierarchyName(), GNEAttributeCarrier::getIcon(), GNENetElement::getParameterWindow(), getParameterWindow(), GNENetElement::getPopUpID(), getPopUpMenu(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEAdditional(), isValidAdditionalID(), isValidDetectorID(), removeAdditionalChild(), setDefaultValues(), sortAdditionalChilds(), startGeometryMoving(), and writeAdditional().
|
protected |
The GNEViewNet this additional element belongs.
Definition at line 409 of file GNEAdditional.h.
Referenced by changeAdditionalID(), changeEdge(), changeFirstAdditionalParent(), changeLane(), changeSecondAdditionalParent(), GNETAZ::deleteGeometryPoint(), GNEAdditional::BlockIcon::draw(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEVariableSpeedSign::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GNECalibrator::drawGL(), GNETAZ::drawGL(), GNEDetectorE2::drawGL(), endGeometryMoving(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorExit::fixAdditionalProblem(), GNEDetectorE1::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEDetectorEntry::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), generateAdditionalChildID(), GNEDetectorE3::getParentName(), GNECalibratorRoute::getParentName(), GNEVariableSpeedSign::getParentName(), GNERerouter::getParentName(), GNECalibratorVehicleType::getParentName(), GNETAZ::getParentName(), getPopUpMenu(), GNETAZ::getVertexIndex(), getViewNet(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEBusStop::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDestProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNECalibratorRoute::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSign::isValid(), GNERerouter::isValid(), GNEAccess::isValid(), GNEDetectorExit::isValid(), GNEDetectorEntry::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNECalibrator::isValid(), GNEDetectorE2::isValid(), isValidAdditionalID(), isValidDetectorID(), GNETAZ::moveGeometry(), GNEDetectorE3::moveGeometry(), GNEParkingSpace::moveGeometry(), GNEVariableSpeedSign::moveGeometry(), GNERerouter::moveGeometry(), GNEAccess::moveGeometry(), GNEDetectorE1::moveGeometry(), GNEDetectorExit::moveGeometry(), GNEDetectorEntry::moveGeometry(), GNEDetectorE1Instant::moveGeometry(), GNEStoppingPlace::moveGeometry(), GNEDetectorE2::moveGeometry(), GNETAZ::moveVertexShape(), selectAttributeCarrier(), GNEClosingReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNERerouter::setAttribute(), GNEDetectorE2::setAttribute(), GNECalibratorFlow::setAttribute(), GNETAZ::setAttribute(), unselectAttributeCarrier(), GNEBusStop::updateGeometry(), GNEContainerStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEParkingArea::updateGeometry(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEDetectorE3::updateGeometry(), GNEParkingSpace::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), GNEAccess::updateGeometry(), GNERerouter::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEDetectorExit::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), and GNEDetectorE2::updateGeometry().
|
staticinherited |
associates object types with strings
Definition at line 69 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().