38 #ifndef CONDITIONCOMPOSITE_HPP 39 #define CONDITIONCOMPOSITE_HPP 44 namespace RTT {
namespace scripting {
81 if ( lhs->evaluate() )
128 if ( lhs->evaluate() )
154 ConditionCompositeNOT* copy( std::map<const base::DataSourceBase*, base::DataSourceBase*>& alreadyCloned )
const;
virtual ~ConditionBinaryCompositeAND()
This interface represents the concept of a condition which can be evaluated and return true or false...
ConditionCompositeNOT(ConditionInterface *c)
virtual ~ConditionBinaryCompositeOR()
virtual ConditionInterface * clone() const
The Clone Software Pattern.
virtual ConditionInterface * clone() const =0
The Clone Software Pattern.
#define RTT_SCRIPTING_API
ConditionBinaryCompositeAND * 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...
Compose an 'AND' function of two Conditions.
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...
virtual ConditionInterface * clone() const
The Clone Software Pattern.
ConditionBinaryCompositeOR(ConditionInterface *l, ConditionInterface *r)
If l evaluates to true, evaluate and return the result, otherwise, return false. ...
virtual bool evaluate()
Evaluate the Condition and return the outcome.
virtual void reset()
Some conditions need to be reset at some points.
virtual bool evaluate()
Evaluate the Condition and return the outcome.
virtual void reset()
Some conditions need to be reset at some points.
virtual bool evaluate()=0
Evaluate the Condition and return the outcome.
ConditionBinaryCompositeAND(ConditionInterface *l, ConditionInterface *r)
If l evaluates to true, evaluate and return the result, otherwise, return false. ...
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
ConditionBinaryCompositeOR * 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()
Some conditions need to be reset at some points.