Orocos Real-Time Toolkit  2.5.0
OperationCallerInterface.hpp
00001 #ifndef ORO_OPERATION_CALLER_INTERFACE_HPP
00002 #define ORO_OPERATION_CALLER_INTERFACE_HPP
00003 
00004 #include "../rtt-fwd.hpp"
00005 #include "DisposableInterface.hpp"
00006 #include "OperationBase.hpp"
00007 
00008 namespace RTT
00009 {
00010     namespace base
00011     {
00015         struct OperationCallerInterface: public DisposableInterface
00016         {
00021             typedef boost::shared_ptr<OperationCallerInterface> shared_ptr;
00022 
00023             virtual ~OperationCallerInterface()
00024             {
00025             }
00026 
00031             virtual bool ready() const = 0;
00032 
00041             virtual void setExecutor(ExecutionEngine* ee) = 0;
00042 
00050             virtual void setCaller(ExecutionEngine* ee) = 0;
00051 
00060             virtual bool setThread(ExecutionThread et,
00061                     ExecutionEngine* executor) = 0;
00062         };
00063     }
00064 }
00065 
00066 #endif