17 #ifndef GNEDetectorE3_h 18 #define GNEDetectorE3_h 50 GNEDetectorE3(
const std::string&
id,
GNEViewNet* viewNet,
Position pos,
double freq,
const std::string& filename,
const std::string& vehicleTypes,
const std::string& name,
const double timeThreshold,
double speedThreshold,
bool blockMovement);
double 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
Position myPosition
position of E3 in view
std::string myVehicleTypes
attribute vehicle types
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.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
bool checkAdditionalChildRestriction() const
check restriction with the number of childs
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
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.
GNEDetectorE3(const std::string &id, GNEViewNet *viewNet, Position pos, double freq, const std::string &filename, const std::string &vehicleTypes, const std::string &name, const double timeThreshold, double speedThreshold, bool blockMovement)
GNEDetectorE3 Constructor.
std::string getParentName() const
Returns the name of the parent object (if any)
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
void updateGeometry(bool updateGrid)
update pre-computed geometry information
double myFreq
frequency of E3 detector
An Element which don't belongs to GNENet but has influency in the simulation.
~GNEDetectorE3()
GNEDetectorE3 Destructor.
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
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.