45 myVariableSpeedSignParent(variableSpeedSignDialog->getEditedVariableSpeedSign()),
124 return canParse<double>(value) && (parse<double>(value) >= 0);
126 return canParse<double>(value) && (parse<double>(value) >= 0);
140 myTime = parse<double>(value);
144 mySpeed = parse<double>(value);
GNEVariableSpeedSign * myVariableSpeedSignParent
pointer to variable speed sign parent
~GNEVariableSpeedSignStep()
destructor
void writeStep(OutputDevice &device)
write step into XML
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
GNEVariableSpeedSignStep(GNEVariableSpeedSignDialog *variableSpeedSignDialog)
default constructor
double getTime() const
get time
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
const std::vector< GNEVariableSpeedSignStep * > & getVariableSpeedSignSteps() const
get values of variable speed signal
void p_add(GNEChange_Attribute *cmd)
special method, avoid empty changes, always execute
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
std::string getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
double mySpeed
speed in this timeStep
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
friend class GNEChange_Attribute
declare friend class
GNEVariableSpeedSign * getEditedVariableSpeedSign() const
get edited Variable Speed Sign
bool isValid(SumoXMLAttr key, const std::string &value)
trigger: the time of the step
SumoXMLTag getTag() const
get XML Tag assigned to this object
Static storage of an output device and its base (abstract) implementation.
bool closeTag()
Closes the most recently opened tag.
GNEVariableSpeedSign * getVariableSpeedSignParent() const
get variable speed sign parent
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
trigger: a step description