 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
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);
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
An Element which don't belongs to GNENet but has influency in the simulation.
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
void updateGeometry()
update pre-computed geometry information
Position myPosition
position of E3 in view
double mySpeedThreshold
The speed-based threshold that describes how slow a vehicle has to be to be recognized as halting.
std::string myVehicleTypes
attribute vehicle types
std::string getParentName() const
Returns the name of the parent object (if any)
bool checkAdditionalChildRestriction() const
check restriction with the number of children
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
SUMOTime myTimeThreshold
The time-based threshold that describes how much time has to pass until a vehicle is recognized as ha...
A class that stores a 2D geometrical boundary.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
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.
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
std::string myFilename
fielname of E3 detector
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
SUMOTime myFreq
frequency of E3 detector
Stores the information about how to visualize structures.
GNEDetectorE3 & operator=(const GNEDetectorE3 &)=delete
Invalidated assignment operator.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void updateAdditionalParent()
update parent after add or remove a child (can be reimplemented, for example used for statistics)
~GNEDetectorE3()
GNEDetectorE3 Destructor.
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.
std::string getAttribute(SumoXMLAttr key) const
Position getPositionInView() const
Returns position of additional in view.