20 #ifndef GNEDetectorE3_h 21 #define GNEDetectorE3_h 38 class GNEDetectorE3EntryExit;
const std::string & getParentName() const
Returns the name of the parent object (if any)
Stores the information about how to visualize structures.
Position getPositionInView() const
Returns position of detector E3 in view.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
An Element wich group additionalSet elements.
bool isValid(SumoXMLAttr key, const std::string &value)
void writeAdditional(OutputDevice &device, const std::string ¤tDirectory)
writte additionalSet element into a xml file
void updateGeometry()
update pre-computed geometry information
A point in 2D or 3D with translation and scaling methods.
int myFreq
frequency of E3 detector
GNEDetectorE3 & operator=(const GNEDetectorE3 &)
Invalidated assignment operator.
SUMOTime myTimeThreshold
The time-based threshold that describes how much time has to pass until a vehicle is recognized as ha...
void moveAdditional(SUMOReal posx, SUMOReal posy, GNEUndoList *undoList)
change the position of the E3 geometry
SUMOReal mySpeedThreshold
The speed-based threshold that describes how slow a vehicle has to be to be recognized as halting...
std::string getAttribute(SumoXMLAttr key) const
~GNEDetectorE3()
GNEDetectorE3 6Destructor.
GNEDetectorE3(const std::string &id, GNEViewNet *viewNet, Position pos, int freq, const std::string &filename, SUMOTime timeThreshold, SUMOReal speedThreshold, bool blocked)
GNEDetectorE3 Constructor.
Static storage of an output device and its base (abstract) implementation.
std::vector< GNEDetectorE3EntryExit * > myGNEDetectorE3EntryExits
vector with the GNEDetectorE3EntryExits of the detector
std::string myFilename
fielname of E3 detector
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)