44 using namespace scripting;
49 mark( 0 ), _invert( invert )
The TimeService is used for system-wide time keeping and conversions.
ConditionInterface * clone() const
The Clone Software Pattern.
static nsecs ticks2nsecs(const ticks t)
Convert an amount of ticks to nano seconds.
ConditionDuration(nsecs t, bool invert=false)
Create a condition that changes after t nano seconds.
virtual void reset()
Some conditions need to be reset at some points.
This interface represents the concept of a condition which can be evaluated and return true or false...
virtual bool evaluate()
Evaluate the Condition and return the outcome.
ticks ticksSince(ticks relativeTime) const
Get clicks passed since a certain moment.
virtual ~ConditionDuration()
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
ticks getTicks() const
Get current tick of the System clock.