43 using namespace detail;
47 mark( 0 ), _invert( invert )
DataSource is a base class representing a generic way to read data of type T.
virtual bool evaluate()
Evaluate the Condition and return the outcome.
virtual result_t get() const =0
Return the data as type T.
The TimeService is used for system-wide time keeping and conversions.
This interface represents the concept of a condition which can be evaluated and return true or false...
ConditionDSDuration(internal::DataSource< double >::shared_ptr ds, bool invert=false)
Create a condition that changes after ds->get() seconds.
Seconds secondsSince(ticks relativeTime) const
Get Seconds passed since a certain moment.
virtual DataSource< T > * copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const =0
Create a deep copy of this internal::DataSource, unless it is already cloned.
virtual ConditionInterface * copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
When copying an Orocos program, we want identical internal::DataSource's to be mapped to identical Da...
ConditionInterface * clone() const
The Clone Software Pattern.
virtual void reset()
Some conditions need to be reset at some points.
virtual ~ConditionDSDuration()
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
ticks getTicks() const
Get current tick of the System clock.