|ConditionInterface *||clone () const|
|ConditionDuration (nsecs t, bool invert=false)|
|virtual bool||evaluate ()|
|Evaluate the Condition and return the outcome. |
|virtual void||reset ()|
A conditional that evaluates true after a certain time has passed. The behaviour can be inverted upon construction.
Some conditions need to be reset at some points. E.g. a scripting::ConditionDuration counts the time since the first time a Command was executed, and if this time exceeds a certain preset time, returns true. Therefore, it needs to be reset, i.e. it needs to start counting, when the command is first executed.. scripting::ConditionOnce has a similar need. This function is called at such times.
Reimplemented from RTT::scripting::ConditionInterface.