20 #ifndef GNENetElement_h 21 #define GNENetElement_h
SumoXMLTag
Numbers representing SUMO-XML - element names.
GNENet * myNet
the net to inform about updates
virtual const std::string & getParentName() const
Returns the name of the parent object (if any)
GUIIcon
An enumeration of icons used by the gui applications.
Stores the information about how to visualize structures.
virtual Boundary getCenteringBoundary() const =0
Returns the boundary to which the view shall be centered in order to show the object.
A NBNetBuilder extended by visualisation and editing capabilities.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A class that stores a 2D geometrical boundary.
virtual GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own parameter window.
~GNENetElement()
Destructor.
GNENet * getNet() const
get Net in which this element is placed
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
virtual bool isValid(SumoXMLAttr key, const std::string &value)=0
virtual GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own popup-menu.
virtual void updateGeometry()=0
update pre-computed geometry information
GNENetElement & operator=(const GNENetElement &)
Invalidated assignment operator.
GNENetElement(GNENet *net, const std::string &id, GUIGlObjectType type, SumoXMLTag tag, GUIIcon icon)
Constructor.
A window containing a gl-object's parameter.
virtual std::string getAttribute(SumoXMLAttr key) const =0