19 #ifndef GNEDetectorE3_h 20 #define GNEDetectorE3_h 54 GNEDetectorE3(
const std::string&
id,
GNEViewNet* viewNet,
Position pos,
double freq,
const std::string& filename,
const double timeThreshold,
double speedThreshold);
double mySpeedThreshold
The speed-based threshold that describes how slow a vehicle has to be to be recognized as halting...
const std::string & getParentName() const
Returns the name of the parent object (if any)
GNEDetectorE3(const std::string &id, GNEViewNet *viewNet, Position pos, double freq, const std::string &filename, const double timeThreshold, double speedThreshold)
GNEDetectorE3 Constructor.
void moveGeometry(const Position &oldPos, const Position &offset)
change the position of the element geometry without saving in undoList
std::string getAttribute(SumoXMLAttr key) const
This functions has to be implemented in all GNEAttributeCarriers.
Position myPosition
position of E3 in view
Position getPositionInView() const
Returns position of additional in view.
Stores the information about how to visualize structures.
double myTimeThreshold
The time-based threshold that describes how much time has to pass until a vehicle is recognized as ha...
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
void updateGeometry()
update pre-computed geometry information
A point in 2D or 3D with translation and scaling methods.
std::string generateEntryID()
gererate a new ID for an Entry detector child
void writeAdditional(OutputDevice &device) const
writte additional element into a xml file
double myFreq
frequency of E3 detector
void commitGeometryMoving(const Position &oldPos, GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
An Element which don't belongs to GNENet but has influency in the simulation.
~GNEDetectorE3()
GNEDetectorE3 6Destructor.
Static storage of an output device and its base (abstract) implementation.
std::string generateExitID()
gererate a new ID for an Exit detector child
std::string myFilename
fielname of E3 detector
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
GNEDetectorE3 & operator=(const GNEDetectorE3 &)=delete
Invalidated assignment operator.