41 #include "../internal/DataSources.hpp" 46 using namespace detail;
112 :
c(ec), _invert(invert) {}
ConditionInterface * clone() const
virtual result_t get() const =0
internal::DataSource< bool >::shared_ptr c
base::ActionInterface * c
base::ActionInterface * theCommand() const
EvalCommand(internal::DataSource< bool >::shared_ptr ds, internal::AssignableDataSource< bool >::shared_ptr cache=0)
EvalCommandResult(internal::DataSource< bool >::shared_ptr ec)
This interface represents the concept of a condition which can be evaluated and return true or false...
ConditionInterface * copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
virtual void set(param_t t)=0
virtual void readArguments()=0
virtual bool valid() const
TryCommandResult(internal::DataSource< bool >::shared_ptr ec, bool invert)
bool evaluate()
Evaluate the Condition and return the outcome.
TryCommand * clone() const
base::ActionInterface * clone() const
bool evaluate()
Evaluate the Condition and return the outcome.
virtual DataSource< T > * copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const =0
virtual ActionInterface * clone() const =0
virtual const_reference_t rvalue() const =0
Based on the software pattern 'command', this interface allows execution of action objects...
internal::DataSource< bool >::shared_ptr c
ConditionInterface * clone() const
internal::AssignableDataSource< bool >::shared_ptr result()
internal::AssignableDataSource< bool >::shared_ptr _result
TryCommand(base::ActionInterface *command, internal::AssignableDataSource< bool >::shared_ptr storage=0)
internal::AssignableDataSource< bool >::shared_ptr cache()
base::ActionInterface * copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
internal::AssignableDataSource< bool >::shared_ptr _cache
TryCommand * copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
ConditionInterface * copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
internal::DataSource< bool >::shared_ptr _ds
virtual AssignableDataSource< T > * copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const =0
virtual bool evaluate() const
virtual ActionInterface * copy(std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const