54 const std::vector<std::string>& vehicleTypes,
const std::vector<std::string>& nextEdges,
const std::string& detectPersons,
55 const std::string& name,
const SUMOTime timeThreshold,
const double speedThreshold,
const bool openEntry,
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
bool isAdditionalValid() const
check if current additional is valid to be written into XML (must be reimplemented in all detector ch...
bool myExpectedArrival
flag for enable/disable expected arrival
GNEMultiEntryExitDetector & operator=(const GNEMultiEntryExitDetector &)=delete
Invalidated assignment operator.
std::vector< std::string > myNextEdges
next edges
double getAttributeDouble(SumoXMLAttr key) const override
std::vector< std::string > myVehicleTypes
attribute vehicle types
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
std::string myOutputFilename
fielname of E3 detector
void updateCenteringBoundary(const bool updateGrid)
update centering boundary (implies change in RTREE)
SUMOTime myTimeThreshold
The time-based threshold that describes how much time has to pass until a vehicle is recognized as ha...
bool checkChildAdditionalRestriction() const
check restriction with the number of children
GNEMultiEntryExitDetector(const GNEMultiEntryExitDetector &)=delete
Invalidated copy constructor.
Parameterised * getParameters() override
get parameters associated with this multiEntryExitDetector
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void fixAdditionalProblem()
fix additional problem (must be reimplemented in all detector children)
Position getPositionInView() const
Returns position of additional in view.
bool isValid(SumoXMLAttr key, const std::string &value) override
std::string getParentName() const
Returns the name of the parent object.
std::string myDetectPersons
detect persons
~GNEMultiEntryExitDetector()
GNEMultiEntryExitDetector Destructor.
PositionVector getAttributePositionVector(SumoXMLAttr key) const override
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList)
split geometry
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
std::string getAdditionalProblem() const
return a string with the current additional problem (must be reimplemented in all detector children)
std::string getAttribute(SumoXMLAttr key) const override
bool checkDrawMoveContour() const override
check if draw move contour (red)
SUMOTime myPeriod
period of E3 detector
void updateGeometry() override
update pre-computed geometry information
void writeAdditional(OutputDevice &device) const
write additional element into a xml file
bool myOpenEntry
@brie open entry
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this multiEntryExitDetector
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
Position getAttributePosition(SumoXMLAttr key) const override
double mySpeedThreshold
The speed-based threshold that describes how slow a vehicle has to be to be recognized as halting.
A NBNetBuilder extended by visualisation and editing capabilities.
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
An upper class for objects with additional parameters.
std::map< std::string, std::string > Map
parameters map
A point in 2D or 3D with translation and scaling methods.