20 #ifndef GNERouteProbe_h 21 #define GNERouteProbe_h void commmitAdditionalGeometryMoved(SUMOReal, SUMOReal, GNEUndoList *)
updated geometry changes in the attributes of additional
const std::string & getParentName() const
Returns the name of the parent object (if any)
void removeEdgeReference()
remove reference to edge
void writeAdditional(OutputDevice &device, const std::string &)
writte additional element into a xml file
Stores the information about how to visualize structures.
void setBegin(int begin)
set begin of RouteProbe
void moveAdditionalGeometry(SUMOReal, SUMOReal)
change the position of the RouteProbe geometry
GNERouteProbe & operator=(const GNERouteProbe &)
Invalidated assignment operator.
std::string myFilename
filename of RouteProbe
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
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, int frequency, const std::string &filename, int begin, bool blocked)
Constructor.
Position myRouteProbeLogoOffset
route probe logo offset
int getBegin() const
get begin of RouteProbe
std::string getFilename() const
get filename of RouteProbe
A point in 2D or 3D with translation and scaling methods.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
int numberOfLanes
number of lanes of edge (To improve efficiency)
std::string getAttribute(SumoXMLAttr key) const
int myBegin
begin of rerouter
A road/street connecting two junctions (netedit-version)
int getFrequency() const
get frequency of RouteProbe
An Element which don't belongs to GNENet but has influency in the simulation.
void setFilename(std::string filename)
set filename of RouteProbe
void updateGeometry()
update pre-computed geometry information
~GNERouteProbe()
Destructor.
Static storage of an output device and its base (abstract) implementation.
Position getPositionInView() const
Returns position of RouteProbe in view.
void setFrequency(int frequency)
set frequency of RouteProbe
int myFrequency
Frequency of RouteProbe.