20 #ifndef GNEVariableSpeedSign_h 21 #define GNEVariableSpeedSign_h bool insertStep(const SUMOReal time, const SUMOReal speed)
insert a new step in variable speed signal
void moveAdditionalGeometry(SUMOReal offsetx, SUMOReal offsety)
change the position of the rerouter geometry
std::map< SUMOReal, SUMOReal > getVariableSpeedSignSteps() const
get values of variable speed signal
const std::string & getParentName() const
Returns the name of the parent object (if any)
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
std::string getAttribute(SumoXMLAttr key) const
GNEVariableSpeedSign(const std::string &id, GNEViewNet *viewNet, Position pos, std::vector< GNELane * > lanes, const std::string &filename, const std::map< SUMOReal, SUMOReal > &vssValues)
Constructor.
std::map< SUMOReal, SUMOReal > myVSSValues
values of variable speed signal
Position getPositionInView() const
Returns position of Variable Speed Signal in view.
Stores the information about how to visualize structures.
void openAdditionalDialog()
open GNEVariableSpeedSignDialog
std::string getFilename() const
get filename of rerouter
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void setFilename(std::string filename)
set filename of rerouter
void writeAdditional(OutputDevice &device) const
writte additional element into a xml file
void setVariableSpeedSignSteps(const std::map< SUMOReal, SUMOReal > &vssValues)
set values of variable speed signal
A point in 2D or 3D with translation and scaling methods.
bool mySaveInFilename
enable or disable save in external filename
void updateGeometry()
update pre-computed geometry information
GNEVariableSpeedSign & operator=(const GNEVariableSpeedSign &)
Invalidated assignment operator.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
void commmitAdditionalGeometryMoved(SUMOReal oldPosx, SUMOReal oldPosy, GNEUndoList *undoList)
updated geometry changes in the attributes of additional
An Element which don't belongs to GNENet but has influency in the simulation.
~GNEVariableSpeedSign()
Destructor.
Static storage of an output device and its base (abstract) implementation.
std::string myFilename
filename of rerouter