std::string getParentName() const
Returns the name of the parent object.
SumoXMLTag
Numbers representing SUMO-XML - element names.
std::string getAttribute(SumoXMLAttr key) const
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute) ...
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
void compute()
compute demand element
Stores the information about how to visualize structures.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
bool isAttributeEnabled(SumoXMLAttr key) const
GNEWalk & operator=(GNEWalk *)=delete
Invalidated assignment operator.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string getGenericParametersStr() const
return generic parameters in string format
SUMOVehicleClass getVClass() const
obtain VClass related with this demand element
A class that stores a 2D geometrical boundary.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
DemandElementMove myWalkMove
variable for move walks
void writeDemandElement(OutputDevice &device) const
writte demand element element into a xml file
void unselectAttributeCarrier(bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection
bool isDemandElementValid() const
check if current demand element is valid to be writed into XML (by default true, can be reimplemented...
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
A point in 2D or 3D with translation and scaling methods.
double getAttributeDouble(SumoXMLAttr key) const
const RGBColor & getColor() const
get color
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
void startGeometryMoving()
void updateGeometry()
update pre-computed geometry information
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform demand element changes ...
Position getPositionInView() const
Returns position of additional in view.
An upper class for objects with additional parameters.
double myArrivalPosition
arrival position
A road/street connecting two junctions (netedit-version)
std::vector< std::string > myVia
List of the via-edges that Person must visit.
std::vector< std::pair< std::string, std::string > > getGenericParameters() const
return generic parameters as vector of pairs format
void selectAttributeCarrier(bool changeFlag=true)
inherited from GNEAttributeCarrier
An Element which don't belongs to GNENet but has influency in the simulation.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GNEEdge * getToEdge() const
obtain to edge of this demand element
void fixDemandElementProblem()
fix demand element problem (by default throw an exception, has to be reimplemented in children) ...
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
Static storage of an output device and its base (abstract) implementation.
void setGenericParametersStr(const std::string &value)
set generic parameters in string format
void endGeometryMoving()
end geometry movement
GNEWalk(GNEViewNet *viewNet, GNEDemandElement *personParent, SumoXMLTag walkTag, const std::vector< GNEEdge *> &edges, double arrivalPosition)
parameter constructor
std::string getDemandElementProblem() const
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
GNEEdge * getFromEdge() const
An Element which don't belongs to GNENet but has influency in the simulation.