 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef GNECalibrator_h
18 #define GNECalibrator_h
58 GNECalibrator(
const std::string&
id,
GNEViewNet* viewNet,
GNEEdge* edge,
double pos,
SUMOTime frequency,
const std::string& name,
const std::string& output,
const std::string& routeprobe);
72 GNECalibrator(
const std::string&
id,
GNEViewNet* viewNet,
GNELane* lane,
double pos,
SUMOTime frequency,
const std::string& name,
const std::string& output,
const std::string& routeprobe);
An Element which don't belongs to GNENet but has influency in the simulation.
std::string myRouteProbe
ID to current RouteProbe.
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
std::string getAttribute(SumoXMLAttr key) const
SUMOTime myFrequency
Frequency of calibrator.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
~GNECalibrator()
Destructor.
Position getPositionInView() const
Returns position of additional in view.
void openAdditionalDialog()
open Calibrator Dialog
Representation of a RouteProbe in netedit.
A road/street connecting two junctions (netedit-version)
GNECalibrator(const std::string &id, GNEViewNet *viewNet, GNEEdge *edge, double pos, SUMOTime frequency, const std::string &name, const std::string &output, const std::string &routeprobe)
Constructor using edge.
std::string myOutput
output of calibrator
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
A class that stores a 2D geometrical boundary.
A point in 2D or 3D with translation and scaling methods.
double myPositionOverLane
position over Lane
std::string getParentName() const
Returns the name of the parent object.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
GNECalibrator & operator=(const GNECalibrator &)=delete
Invalidated assignment operator.
void updateGeometry()
update pre-computed geometry information
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
Stores the information about how to visualize structures.
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.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)