51 const std::vector<std::string>& vehicleTypes,
const std::string& name,
bool friendlyPos,
52 const std::map<std::string, std::string>& parameters);
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
bool isAttributeEnabled(SumoXMLAttr key) const
GNEDetectorE1(const GNEDetectorE1 &)=delete
Invalidated copy constructor.
void updateGeometry()
update pre-computed geometry information
std::string getAdditionalProblem() const
return a string with the current additional problem
void fixAdditionalProblem()
fix additional problem
void setMoveShape(const GNEMoveResult &moveResult)
set move shape
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList)
commit move shape
bool isAdditionalValid() const
check if current additional is valid to be writed into XML
~GNEDetectorE1()
Destructor.
GNEDetectorE1 & operator=(const GNEDetectorE1 &)=delete
Invalidated assignment operator.
std::string getAttribute(SumoXMLAttr key) const
double getAttributeDouble(SumoXMLAttr key) const
GNEDetectorE1(GNENet *net)
default constructor
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void writeAdditional(OutputDevice &device) const
writte additional element into a xml file
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.
Static storage of an output device and its base (abstract) implementation.