20 #ifndef GNEVariableSpeedSign_h 21 #define GNEVariableSpeedSign_h 54 GNEVariableSpeedSign(
const std::string&
id,
GNEViewNet* viewNet,
Position pos, std::vector<GNELane*> lanes,
const std::string& filename,
const std::vector<GNEVariableSpeedSignStep>& vssValues);
72 const std::vector<GNEVariableSpeedSignStep>&
getSteps()
const;
149 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, const std::vector< GNEVariableSpeedSignStep > &vssValues)
Constructor.
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 allGNEAttributeCarrier.
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 > & getSteps() const
get values of variable speed signal
A point in 2D or 3D with translation and scaling methods.
void writeAdditional(OutputDevice &device, bool volatileOptionsEnabled) const
writte additional element into a xml file
bool mySaveInFilename
enable or disable save in external filename
void setVariableSpeedSignSteps(const std::vector< GNEVariableSpeedSignStep > &steps)
set values of variable speed signal
void addStep(const GNEVariableSpeedSignStep &step)
insert a new step in variable speed signal
void updateGeometry()
update pre-computed geometry information
void moveGeometry(const Position &newPosition)
change the position of the element geometry without saving in undoList
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 ...
const std::string & getFilename() const
get filename of variable speed sign
std::vector< GNEVariableSpeedSignStep > mySteps
values of variable speed signal
An Element which don't belongs to GNENet but has influency in the simulation.
void setFilename(const std::string &filename)
set filename of variable speed sign
~GNEVariableSpeedSign()
Destructor.
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