17 #ifndef GNENetElement_h 18 #define GNENetElement_h SumoXMLTag
Numbers representing SUMO-XML - element names.
virtual void setGenericParametersStr(const std::string &value)=0
set generic parameters in string format
GNENet * myNet
the net to inform about updates
GNENet * getNet() const
get Net in which this element is placed
virtual void updateGeometry(bool updateGrid)=0
update pre-computed geometry information
Stores the information about how to visualize structures.
virtual void mouseOverObject(const GUIVisualizationSettings &s) const =0
method for check if mouse is over objects
A NBNetBuilder extended by visualisation and editing capabilities.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
virtual Boundary getCenteringBoundary() const =0
Returns the boundary to which the view shall be centered in order to show the object.
A class that stores a 2D geometrical boundary.
Boundary myMovingGeometryBoundary
boundary used during moving of elements
~GNENetElement()
Destructor.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
GNENetElement(GNENet *net, const std::string &id, GUIGlObjectType type, SumoXMLTag tag)
Constructor.
const std::vector< GNEAdditional * > & getAdditionalParents() const
return vector of additionals that have as Parameter this edge (For example, Rerouters) ...
void addAdditionalParent(GNEAdditional *additional)
add additional child to this edge
void addAdditionalChild(GNEAdditional *additional)
add additional child to this edge
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
void removeAdditionalChild(GNEAdditional *additional)
remove additional child from this edge
virtual bool isValid(SumoXMLAttr key, const std::string &value)=0
virtual GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own popup-menu.
void selectAttributeCarrier(bool changeFlag=true)
select attribute carrier using GUIGlobalSelection
void unselectAttributeCarrier(bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection
virtual std::string getGenericParametersStr() const =0
return generic parameters in string format
An Element which don't belongs to GNENet but has influency in the simulation.
virtual std::vector< std::pair< std::string, std::string > > getGenericParameters() const =0
return generic parameters as vector of pairs format
virtual std::string getAttribute(SumoXMLAttr key) const =0
std::vector< GNEAdditional * > myAdditionalChilds
list of Additional Childs of this NetElement
GNENetElement & operator=(const GNENetElement &)=delete
Invalidated assignment operator.
void removeAdditionalParent(GNEAdditional *additional)
remove additional child from this edge
const std::vector< GNEAdditional * > & getAdditionalChilds() const
return vector of additionals that have as Parent this edge (For example, Calibrators) ...
std::vector< GNEAdditional * > myFirstAdditionalParents
list of Additional parents of this NetElement
A window containing a gl-object's parameter.
bool isAttributeCarrierSelected() const
check if attribute carrier is selected