19 #ifndef GNEVariableSpeedSign_h 20 #define GNEVariableSpeedSign_h 154 std::vector<GNEVariableSpeedSignStep*>
mySteps;
void sortVariableSpeedSignSteps()
sort steps
void commitGeometryMoving(const Position &oldPos, GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
const std::vector< GNEVariableSpeedSignStep * > & getVariableSpeedSignSteps() const
get values of variable speed signal
void removeVariableSpeedSignStep(GNEVariableSpeedSignStep *step)
remove an existent step of variable speed signal
Stores the information about how to visualize structures.
void openAdditionalDialog()
open GNEVariableSpeedSignDialog
Position getPositionInView() const
Returns position of additional in view.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GNEVariableSpeedSign & operator=(const GNEVariableSpeedSign &)=delete
Invalidated assignment operator.
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
std::vector< GNEVariableSpeedSignStep * > mySteps
values of variable speed signal
std::string getAttribute(SumoXMLAttr key) const
This functions has to be implemented in all GNEAttributeCarriers.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
An Element which don't belongs to GNENet but has influency in the simulation.
~GNEVariableSpeedSign()
Destructor.
void moveGeometry(const Position &oldPos, const Position &offset)
change the position of the element geometry without saving in undoList
GNEVariableSpeedSign(const std::string &id, GNEViewNet *viewNet, Position pos, std::vector< GNELane *> lanes, const std::string &filename)
Constructor.
Static storage of an output device and its base (abstract) implementation.
Position myPosition
position of VSS in view
std::string myFilename
filename of variable speed sign
const std::string & getParentName() const
Returns the name of the parent object.
void writeAdditional(OutputDevice &device) const
writte additional element into a xml file
void addVariableSpeedSignStep(GNEVariableSpeedSignStep *step)
insert a new step in variable speed signal