39 #ifndef ORO_OPERATIONBASE_HPP_ 40 #define ORO_OPERATIONBASE_HPP_ 42 #include "../rtt-config.h" 43 #include "../rtt-fwd.hpp" 74 RTT_API void marg(
const std::string& name,
const std::string& description);
This base class serves as a template-less handle for operation objects and also stores the name and d...
The operation ties a C or C++ function into a component interface.
virtual void ownerUpdated()=0
An execution engine serialises (executes one after the other) the execution of all commands...
const std::vector< std::string > & getDescriptions()
Returns all the documented descriptions of this operation, as a single list, starting with the operat...
ExecutionEngine * getOwner() const
RTT_API void mdoc(const std::string &description)
bool ready() const
An operation is ready if it has an implementation and is present in a TaskContext.
virtual DisposableInterface::shared_ptr getImplementation()=0
Returns the implementation object of this operation.
boost::shared_ptr< DisposableInterface > shared_ptr
Use this type for shared pointer storage of an DisposableInterface object.
std::vector< std::string > descriptions
void setOwner(ExecutionEngine *ee)
Updates the owning ExecutionEngine that might execute this operation.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
const std::string & getName()
Returns the name of this operation.
RTT_API void marg(const std::string &name, const std::string &description)
virtual RTT_API ~OperationBase()
RTT_API OperationBase(const std::string &name)
ExecutionThread
Users can choose if an operation's function is executed in the component's thread (OwnThread) or in t...