40 using namespace detail;
virtual result_t get() const =0
Return the data as type T.
void reset()
Some conditions need to be reset at some points.
ConditionBoolDataSource * 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...
virtual void reset()
Reset the data to initial values.
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.
bool evaluate()
Evaluate the Condition and return the outcome.
A Condition which holds a boolean DataSource.
~ConditionBoolDataSource()
ConditionBoolDataSource(internal::DataSource< bool > *s)
The constructor stores the internal::DataSource s in a shared_ptr.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
ConditionBoolDataSource * clone() const
The Clone Software Pattern.