SumoXMLTag
Numbers representing SUMO-XML - element names.
const Position & getPosition() const =delete
Invalidate return position of additional.
GUIIcon
An enumeration of icons used by the gui applications.
Stores the information about how to visualize structures.
double myFreq
The aggregation period the values the detector collects shall be summed up.
GNEDetector(const std::string &id, GNEViewNet *viewNet, SumoXMLTag tag, GUIIcon icon, GNELane *lane, double pos, double freq, const std::string &filename, bool friendlyPos)
Constructor.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
method for setting the attribute and letting the object perform additional changes ...
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void commitGeometryMoving(const Position &oldPos, GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
~GNEDetector()
Destructor.
const std::string & getFilename() const
returns the path to the output file
virtual bool isDetectorPositionFixed() const =0
check if Position of detector is fixed
void setPosition(const Position &pos)=delete
Invalidate set new position in the view.
virtual void writeAdditional(OutputDevice &device, bool volatileOptionsEnabled) const =0
writte additional element into a xml file
virtual std::string getAttribute(SumoXMLAttr key) const =0
This functions has to be implemented in allGNEAttributeCarrier.
A point in 2D or 3D with translation and scaling methods.
virtual void updateGeometry()=0
update pre-computed geometry information
const std::string & getParentName() const
Returns the name of the parent object.
double getAbsolutePositionOverLane() const
get absolute position over Lane
bool myFriendlyPosition
Flag for friendly position.
std::string myFilename
The path to the output file.
void setFrequency(const double freq)
Set a new frequency in detector.
An Element which don't belongs to GNENet but has influency in the simulation.
void setFilename(const std::string &filename)
Set a new filename in detector.
double getFrequency() const
returns the aggregation period the values the detector collects shall be summed up.
Static storage of an output device and its base (abstract) implementation.
virtual bool isValid(SumoXMLAttr key, const std::string &value)=0
method for checking if the key and their conrrespond attribute are valids
Position getPositionInView() const
Returns position of additional in view.
double myPositionOverLane
position of detector over Lane
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
void moveGeometry(const Position &newPosition)
change the position of the element geometry without saving in undoList