20 #ifndef GNECalibrator_h 21 #define GNECalibrator_h 114 void setFlowValues(std::map<std::string, CalibratorFlow> calibratorFlowValues);
void writeAdditional(OutputDevice &device, const std::string &)
writte additional element into a xml file
Stores the information about how to visualize structures.
void insertFlow(const std::string &id, const CalibratorFlow &flow)
insert a new flow
std::string getAttribute(SumoXMLAttr key) const
~GNECalibrator()
Destructor.
SUMOTime myFrequency
Frequency of calibrator.
Position getPositionInView() const
Returns position of Calibrator in view.
GNERouteProbe * myRouteProbe
pointer to RouteProbe
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 ...
void removeFlow(const std::string &id)
remove a existent flow
void openAdditionalDialog()
open Calibrator Dialog
void setFlowValues(std::map< std::string, CalibratorFlow > calibratorFlowValues)
set Calbratorflow values
std::string myOutput
output of calibrator
GNECalibrator & operator=(const GNECalibrator &)
Invalidated assignment operator.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
A point in 2D or 3D with translation and scaling methods.
void commmitAdditionalGeometryMoved(SUMOReal, SUMOReal, GNEUndoList *)
updated geometry changes in the attributes of additional
std::map< std::string, CalibratorFlow > getFlowValues() const
get Calbratorflow values
A road/street connecting two junctions (netedit-version)
const 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.
Static storage of an output device and its base (abstract) implementation.
void updateGeometry()
update pre-computed geometry information
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void moveAdditionalGeometry(SUMOReal, SUMOReal)
change the position of the calibrator geometry
std::map< std::string, CalibratorFlow > myFlowValues
Calbratorflow values.
GNECalibrator(const std::string &id, GNEEdge *edge, GNEViewNet *viewNet, SUMOReal pos, SUMOTime frequency, const std::string &output, const std::map< std::string, CalibratorFlow > &flowValues, bool blocked)
Constructor.