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