void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GNEDetectorEntry(GNEViewNet *viewNet, GNEAdditional *parent, GNELane *lane, double pos, bool friendlyPos, bool blockMovement)
Constructor.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
GNELane * myLane
The lane in which this detector is placed.
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
std::string getAdditionalProblem() const
return a string with the current additional problem
bool isAdditionalValid() const
check if current additional is valid to be writed into XML (by default true, can be reimplemented in ...
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
void fixAdditionalProblem()
fix additional problem
GNELane * getLane() const
get lane
std::string getAttribute(SumoXMLAttr key) const
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
void updateGeometry(bool updateGrid)
update pre-computed geometry information
GNEDetectorEntry & operator=(const GNEDetectorEntry &)=delete
Invalidated assignment operator.