17 #ifndef GNERouteProbe_h 18 #define GNERouteProbe_h 47 GNERouteProbe(
const std::string&
id,
GNEViewNet* viewNet,
GNEEdge* edge,
const std::string& frequency,
const std::string& name,
const std::string& filename,
double begin);
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
GNEEdge * myEdge
The edge in which this RouteProbe is placed.
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 ...
GNERouteProbe(const std::string &id, GNEViewNet *viewNet, GNEEdge *edge, const std::string &frequency, const std::string &name, const std::string &filename, double begin)
Constructor.
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
std::string getAttribute(SumoXMLAttr key) const
GNERouteProbe & operator=(const GNERouteProbe &)=delete
Invalidated assignment operator.
A road/street connecting two junctions (netedit-version)
void updateGeometry(bool updateGrid)
update pre-computed geometry information
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)
double myBegin
begin of rerouter
~GNERouteProbe()
Destructor.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
Position getPositionInView() const
Returns position of additional in view.