64 const std::vector<GNEJunction*>& junctionParents,
65 const std::vector<GNEEdge*>& edgeParents,
66 const std::vector<GNELane*>& laneParents,
67 const std::vector<GNEAdditional*>& additionalParents,
68 const std::vector<GNEShape*>& shapeParents,
69 const std::vector<GNETAZElement*>& TAZElementParents,
70 const std::vector<GNEDemandElement*>& demandElementParents,
71 const std::vector<GNEGenericData*>& genericDataParents);
89 const std::vector<GNEJunction*>& junctionParents,
90 const std::vector<GNEEdge*>& edgeParents,
91 const std::vector<GNELane*>& laneParents,
92 const std::vector<GNEAdditional*>& additionalParents,
93 const std::vector<GNEShape*>& shapeParents,
94 const std::vector<GNETAZElement*>& TAZElementParents,
95 const std::vector<GNEDemandElement*>& demandElementParents,
96 const std::vector<GNEGenericData*>& genericDataParents);
102 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.
bool isTAZElementBlocked() const
Check if TAZElement item is currently blocked (i.e. cannot be moved with mouse)
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
GNETAZElement & operator=(const GNETAZElement &)=delete
Invalidated assignment operator.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
bool isValidTAZElementID(const std::string &newID) const
check if a new TAZElement ID is valid
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
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
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)
virtual std::string getHierarchyName() const =0
get Hierarchy Name (Used in AC Hierarchy)
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
bool myBlockMovement
boolean to check if TAZElement element is blocked (i.e. cannot be moved with mouse)
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 bool checkChildTAZElementRestriction() const
check restriction with the number of children
virtual bool isAttributeEnabled(SumoXMLAttr key) const =0
GNETAZElement(const std::string &id, GNENet *net, GUIGlObjectType type, SumoXMLTag tag, bool blockMovement, 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.
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.