19 #ifndef GNEVariableSpeedSign_h 20 #define GNEVariableSpeedSign_h 154 std::vector<GNEVariableSpeedSignStep*>
mySteps;
const std::string & getParentName() const
Returns the name of the parent object.
GNEVariableSpeedSign(const std::string &id, GNEViewNet *viewNet, Position pos, std::vector< GNELane * > lanes, const std::string &filename)
Constructor.
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
std::string getAttribute(SumoXMLAttr key) const
This functions has to be implemented in all GNEAttributeCarriers.
void removeVariableSpeedSignStep(GNEVariableSpeedSignStep *step)
remove an existent step of variable speed signal
Position getPositionInView() const
Returns position of additional in view.
Stores the information about how to visualize structures.
void openAdditionalDialog()
open GNEVariableSpeedSignDialog
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
const std::vector< GNEVariableSpeedSignStep * > & getVariableSpeedSignSteps() const
get values of variable speed signal
void writeAdditional(OutputDevice &device) const
writte additional element into a xml file
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
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
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
void addVariableSpeedSignStep(GNEVariableSpeedSignStep *step)
insert a new step in variable speed signal