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