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
const std::vector< GNEVariableSpeedSignStep * > & getVariableSpeedSignSteps() const
get values of variable speed signal
GNEVariableSpeedSignStep(GNEVariableSpeedSignDialog *variableSpeedSignDialog)
default constructor
double getTime() const
get time
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
void p_add(GNEChange_Attribute *cmd)
special method, avoid empty changes, always execute
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
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
Static storage of an output device and its base (abstract) implementation.
bool closeTag()
Closes the most recently opened tag.
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
GNEVariableSpeedSign * getVariableSpeedSignParent() const
get variable speed sign parent
trigger: a step description
SumoXMLTag getTag() const
get XML Tag assigned to this object