 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef GNEDetectorE1Instant_h
17 #define GNEDetectorE1Instant_h
48 GNEDetectorE1Instant(
const std::string&
id,
GNELane* lane,
GNEViewNet* viewNet,
double pos,
const std::string& filename,
const std::string& vehicleTypes,
const std::string& name,
bool friendlyPos,
bool blockMovement);
void fixAdditionalProblem()
fix additional problem
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
GNELane * getLane() const
get lane
std::string getAttribute(SumoXMLAttr key) const
~GNEDetectorE1Instant()
Destructor.
bool isAdditionalValid() const
check if current additional is valid to be writed into XML (by default true, can be reimplemented in ...
GNEDetectorE1Instant & operator=(const GNEDetectorE1Instant &)=delete
Invalidated assignment operator.
void updateGeometry()
update pre-computed geometry information
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
A point in 2D or 3D with translation and scaling methods.
bool isDetectorPositionFixed() const
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GNEDetectorE1Instant(const std::string &id, GNELane *lane, GNEViewNet *viewNet, double pos, const std::string &filename, const std::string &vehicleTypes, const std::string &name, bool friendlyPos, bool blockMovement)
Constructor.
std::string getAdditionalProblem() const
return a string with the current additional problem
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
Stores the information about how to visualize structures.
bool isAttributeEnabled(SumoXMLAttr key) const
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.