32 const std::vector<GNEJunction*>& junctionParents,
33 const std::vector<GNEEdge*>& edgeParents,
34 const std::vector<GNELane*>& laneParents,
35 const std::vector<GNEAdditional*>& additionalParents,
36 const std::vector<GNEShape*>& shapeParents,
37 const std::vector<GNETAZElement*>& TAZElementParents,
38 const std::vector<GNEDemandElement*>& demandElementParents,
39 const std::vector<GNEGenericData*>& genericDataParents) :
41 GNEHierarchicalElement(net, tag, junctionParents, edgeParents, laneParents, additionalParents, shapeParents, TAZElementParents, demandElementParents, genericDataParents),
42 myShapeEdited(false) {
SumoXMLTag
Numbers representing SUMO-XML - element names.
@ SUMO_TAG_CONNECTION
connectio between two lanes
@ SUMO_TAG_CROSSING
crossing between edges for pedestrians
@ SUMO_TAG_LANE
begin/end of the description of a single lane
@ SUMO_TAG_EDGE
begin/end of the description of an edge
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
A class that stores a 2D geometrical boundary.
const std::string & getTagStr() const
get tag assigned to this object in string format
const GNETagProperties & myTagProperty
the xml tag to which this attribute carrier corresponds
A NBNetBuilder extended by visualisation and editing capabilities.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
virtual std::string getAttribute(SumoXMLAttr key) const =0
void setShapeEdited(const bool value)
set shape edited
bool myShapeEdited
flag to check if element shape is being edited
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
GNENetworkElement(GNENet *net, const std::string &id, GUIGlObjectType type, SumoXMLTag tag, const std::vector< GNEJunction * > &junctionParents, const std::vector< GNEEdge * > &edgeParents, const std::vector< GNELane * > &laneParents, const std::vector< GNEAdditional * > &additionalParents, const std::vector< GNEShape * > &shapeParents, const std::vector< GNETAZElement * > &TAZElementParents, const std::vector< GNEDemandElement * > &demandElementParents, const std::vector< GNEGenericData * > &genericDataParents)
Constructor.
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
bool isShapeEdited() const
check if shape is being edited
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
virtual ~GNENetworkElement()
Destructor.
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)
const std::string & getID() const
get ID
GUIGlObject * getGUIGlObject()
get GUIGlObject associated with this AttributeCarrier
Boundary myBoundary
object boundary
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property
virtual const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
A window containing a gl-object's parameter.
void mkItem(const char *name, bool dynamic, ValueSource< T > *src)
Adds a row which obtains its value from a ValueSource.
void closeBuilding(const Parameterised *p=0)
Closes the building of the table.