45 GNEDetectorE1Instant(
const std::string&
id,
GNELane* lane,
GNENet* net,
double pos,
const std::string& filename,
const std::string& vehicleTypes,
const std::string& name,
bool friendlyPos,
bool blockMovement);
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string getAdditionalProblem() const
return a string with the current additional problem
GNEDetectorE1Instant(const GNEDetectorE1Instant &)=delete
Invalidated copy constructor.
std::string getAttribute(SumoXMLAttr key) const
~GNEDetectorE1Instant()
Destructor.
GNELane * getLane() const
get lane
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
void updateGeometry()
update pre-computed geometry information
GNEDetectorE1Instant & operator=(const GNEDetectorE1Instant &)=delete
Invalidated assignment operator.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
bool isAttributeEnabled(SumoXMLAttr key) const
bool isAdditionalValid() const
check if current additional is valid to be writed into XML (by default true, can be reimplemented in ...
GNEDetectorE1Instant(const std::string &id, GNELane *lane, GNENet *net, double pos, const std::string &filename, const std::string &vehicleTypes, const std::string &name, bool friendlyPos, bool blockMovement)
Constructor.
bool isDetectorPositionFixed() const
void fixAdditionalProblem()
fix additional problem
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
A NBNetBuilder extended by visualisation and editing capabilities.
Stores the information about how to visualize structures.