17 #ifndef GNERouteProbe_h 18 #define GNERouteProbe_h void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
GNERouteProbe(const std::string &id, GNEViewNet *viewNet, GNEEdge *edge, const std::string &frequency, const std::string &name, const std::string &filename, SUMOTime begin)
Constructor.
Stores the information about how to visualize structures.
Representation of a RouteProbe in netedit.
std::string myFilename
filename of RouteProbe
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
int myRelativePositionY
relative position regarding to other route probes
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
A class that stores a 2D geometrical boundary.
Position myRouteProbeLogoOffset
route probe logo offset
A point in 2D or 3D with translation and scaling methods.
std::string myFrequency
Frequency of RouteProbe.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
SUMOTime myBegin
begin of rerouter
std::string getAttribute(SumoXMLAttr key) const
GNERouteProbe & operator=(const GNERouteProbe &)=delete
Invalidated assignment operator.
A road/street connecting two junctions (netedit-version)
std::string getParentName() const
Returns the name of the parent object (if any)
An Element which don't belongs to GNENet but has influency in the simulation.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
void updateGeometry()
update pre-computed geometry information
~GNERouteProbe()
Destructor.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
Position getPositionInView() const
Returns position of additional in view.