17 #ifndef GNEDetectorE3_h 18 #define GNEDetectorE3_h 50 GNEDetectorE3(
const std::string&
id,
GNEViewNet* viewNet,
Position pos,
SUMOTime freq,
const std::string& filename,
const std::string& vehicleTypes,
const std::string& name,
SUMOTime 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
SUMOTime myFreq
frequency of E3 detector
void updateAdditionalParent()
update parent after add or remove a child (can be reimplemented, for example used for statistics) ...
std::string myVehicleTypes
attribute vehicle types
Position getPositionInView() const
Returns position of additional in view.
Stores the information about how to visualize structures.
GNEDetectorE3(const std::string &id, GNEViewNet *viewNet, Position pos, SUMOTime freq, const std::string &filename, const std::string &vehicleTypes, const std::string &name, SUMOTime timeThreshold, double speedThreshold, bool blockMovement)
GNEDetectorE3 Constructor.
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 children
A class that stores a 2D geometrical boundary.
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
void updateGeometry()
update pre-computed geometry information
A point in 2D or 3D with translation and scaling methods.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
SUMOTime myTimeThreshold
The time-based threshold that describes how much time has to pass until a vehicle is recognized as ha...
std::string getParentName() const
Returns the name of the parent object (if any)
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
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.