19 #ifndef GNERouteProbe_h 20 #define GNERouteProbe_h GNEEdge * myEdge
The edge in which this RouteProbe is placed.
void commitGeometryMoving(const Position &oldPos, GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
double getBegin() const
get begin of RouteProbe
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.
std::string myFilename
filename of RouteProbe
void setBegin(double begin)
set begin of RouteProbe
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
const std::string & getFilename() const
get filename of RouteProbe
void writeAdditional(OutputDevice &device) const
writte additional element into a xml file
double getFrequency() const
get frequency 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
std::string getAttribute(SumoXMLAttr key) const
This functions has to be implemented in all GNEAttributeCarriers.
Position getPositionInView() const
Returns position of additional in view.
A road/street connecting two junctions (netedit-version)
An Element which don't belongs to GNENet but has influency in the simulation.
const std::string & getParentName() const
Returns the name of the parent object (if any)
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
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
void setFrequency(double frequency)
set frequency of RouteProbe