19 #ifndef GNEDetectorE1_h 20 #define GNEDetectorE1_h 55 GNEDetectorE1(
const std::string&
id,
GNELane* lane,
GNEViewNet* viewNet,
double pos,
double freq,
const std::string& filename,
const std::string& vehicleTypes,
bool friendlyPos);
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
GNEDetectorE1 & operator=(const GNEDetectorE1 &)=delete
Invalidated assignment operator.
Stores the information about how to visualize structures.
GNEDetectorE1(const std::string &id, GNELane *lane, GNEViewNet *viewNet, double pos, double freq, const std::string &filename, const std::string &vehicleTypes, bool friendlyPos)
Constructor.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
void writeAdditional(OutputDevice &device) const
writte additional element into a xml file
~GNEDetectorE1()
Destructor.
std::string myVehicleTypes
attribute vehicle types
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void updateGeometry()
update pre-computed geometry information
std::string getAttribute(SumoXMLAttr key) const
This functions has to be implemented in all GNEAttributeCarriers.
bool isDetectorPositionFixed() const
check if Position of detector is fixed
Static storage of an output device and its base (abstract) implementation.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.