65 const std::vector<GNEJunction*>& junctionParents,
66 const std::vector<GNEEdge*>& edgeParents,
67 const std::vector<GNELane*>& laneParents,
68 const std::vector<GNEAdditional*>& additionalParents,
69 const std::vector<GNEShape*>& shapeParents,
70 const std::vector<GNETAZElement*>& TAZElementParents,
71 const std::vector<GNEDemandElement*>& demandElementParents,
72 const std::vector<GNEGenericData*>& genericDataParents,
73 const std::map<std::string, std::string>& parameters);
92 const std::vector<GNEJunction*>& junctionParents,
93 const std::vector<GNEEdge*>& edgeParents,
94 const std::vector<GNELane*>& laneParents,
95 const std::vector<GNEAdditional*>& additionalParents,
96 const std::vector<GNEShape*>& shapeParents,
97 const std::vector<GNETAZElement*>& TAZElementParents,
98 const std::vector<GNEDemandElement*>& demandElementParents,
99 const std::vector<GNEGenericData*>& genericDataParents,
100 const std::map<std::string, std::string>& parameters);
106 const std::string&
getID()
const;
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A class that stores a 2D geometrical boundary.
A NBNetBuilder extended by visualisation and editing capabilities.
An Element which don't belongs to GNENet but has influency in the simulation.
virtual const PositionVector & getTAZElementShape() const =0
get TAZ Shape
virtual Position getPositionInView() const =0
Returns position of TAZElement in view.
GNETAZElement(const std::string &id, GNENet *net, 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, const std::map< std::string, std::string > ¶meters)
Constructor.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
GNETAZElement & operator=(const GNETAZElement &)=delete
Invalidated assignment operator.
void toogleAttribute(SumoXMLAttr key, const bool value, const int previousParameters)
method for enable or disable the attribute and nothing else (used in GNEChange_EnableAttribute)
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
method for setting the attribute and letting the object perform TAZElement changes
virtual bool isValid(SumoXMLAttr key, const std::string &value)=0
method for checking if the key and their conrrespond attribute are valids
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
const std::string & getID() const
get ID
virtual void updateGeometry()=0
update pre-computed geometry information
virtual GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own popup-menu.
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
std::string generateChildID(SumoXMLTag childTag)
gererate a new ID for an element child
virtual double getAttributeDouble(SumoXMLAttr key) const =0
virtual std::string getHierarchyName() const =0
get Hierarchy Name (Used in AC Hierarchy)
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
virtual ~GNETAZElement()
Destructor.
virtual std::string getPopUpID() const =0
get PopPup ID (Used in AC Hierarchy)
virtual void setAttribute(SumoXMLAttr key, const std::string &value)=0
method for setting the attribute and nothing else (used in GNEChange_Attribute)
GUIGlObject * getGUIGlObject()
get GUIGlObject associated with this AttributeCarrier
const std::map< std::string, std::string > & getACParametersMap() const
get parameters map
GNETAZElement(const GNETAZElement &)=delete
Invalidated copy constructor.
virtual void writeTAZElement(OutputDevice &device) const =0
writte TAZElement element into a xml file
virtual double getExaggeration(const GUIVisualizationSettings &s) const =0
return exaggeration asociated with this GLObject
virtual bool checkChildTAZElementRestriction() const
check restriction with the number of children
virtual bool isAttributeEnabled(SumoXMLAttr key) const =0
virtual Position getAttributePosition(SumoXMLAttr key) const =0
bool isAttributeComputed(SumoXMLAttr key) const
virtual std::string getAttribute(SumoXMLAttr key) const =0
virtual Boundary getCenteringBoundary() const =0
Returns the boundary to which the view shall be centered in order to show the object.
A window containing a gl-object's parameter.
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
An upper class for objects with additional parameters.
A point in 2D or 3D with translation and scaling methods.