40 #include "../internal/DataSource.hpp" 43 using namespace detail;
49 : condition ( new
ConditionTrue ), rank(condition_counter++) {}
This interface represents the concept of a condition which can be evaluated and return true or false...
virtual ConditionInterface * clone() const =0
EdgeCondition copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &replacementdss) const
ConditionInterface * condition
static int condition_counter
void setCondition(ConditionInterface *cond)
virtual bool evaluate()=0
Evaluate the Condition and return the outcome.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
ConditionInterface * getCondition() const
This class represents a conditional branch in a program tree. It contains a condition which must be s...
EdgeCondition & operator=(const EdgeCondition &orig)