41 #include "../base/ActionInterface.hpp" 44 using namespace detail;
46 : comm( c ), mresult(false)
bool value() const
Return the result of the last evaluate() function.
virtual void reset()
Reset this action.
virtual void readArguments()=0
This is invoked some time before execute() at a time when the action may read its function arguments...
void reset()
Reset the data to initial values.
DataSourceCommand(base::ActionInterface *c)
DataSourceCommand takes ownership of the command you pass it.
virtual DataSourceCommand * copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
Create a deep copy of this internal::DataSource, unless it is already cloned.
virtual ActionInterface * clone() const =0
The Clone Software Pattern.
virtual bool execute()=0
Execute the functionality of this action.
Based on the software pattern 'command', this interface allows execution of action objects...
virtual DataSourceCommand * clone() const
Return a shallow clone of this DataSource.
bool const & rvalue() const
Get a const reference to the value of this DataSource.
base::ActionInterface * command() const
A class that wraps a Command in a internal::DataSource<bool> interface.
bool get() const
Return the data as type T.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
virtual ActionInterface * copy(std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const
When copying an Orocos program, we want identical internal::DataSource's to be mapped to identical Da...