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)
std::string getAttribute(SumoXMLAttr key) const
Position getPositionInView() const
Returns position of detector E3 in view.
Stores the information about how to visualize structures.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
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)
method for checking if the key and their conrrespond attribute are valids
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 commmitAdditionalGeometryMoved(SUMOReal oldPosx, SUMOReal oldPosy, GNEUndoList *undoList)
updated geometry changes in the attributes of additional
void moveAdditionalGeometry(SUMOReal offsetx, SUMOReal offsety)
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...
~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 setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...