RTT::base::OperationCallerInterface Struct Reference

#include <OperationCallerInterface.hpp>

Inheritance diagram for RTT::base::OperationCallerInterface:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< OperationCallerInterface
shared_ptr
typedef boost::shared_ptr
< OperationCallerInterface
shared_ptr

Public Member Functions

virtual bool ready () const =0
virtual bool ready () const =0
virtual void setCaller (ExecutionEngine *ee)=0
virtual void setCaller (ExecutionEngine *ee)=0
virtual void setExecutor (ExecutionEngine *ee)=0
virtual void setExecutor (ExecutionEngine *ee)=0
virtual bool setThread (ExecutionThread et, ExecutionEngine *executor)=0
virtual bool setThread (ExecutionThread et, ExecutionEngine *executor)=0
virtual ~OperationCallerInterface ()
virtual ~OperationCallerInterface ()

Detailed Description

The interface class for operation callers.

Definition at line 15 of file install/include/rtt/base/OperationCallerInterface.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation

virtual RTT::base::OperationCallerInterface::~OperationCallerInterface (  )  [inline, virtual]
virtual RTT::base::OperationCallerInterface::~OperationCallerInterface (  )  [inline, virtual]

Definition at line 23 of file rtt/base/OperationCallerInterface.hpp.


Member Function Documentation

virtual bool RTT::base::OperationCallerInterface::ready (  )  const [pure virtual]

Available such that implementations have a way to expose their ready-ness, ie being able to do the call.

Implemented in RTT::internal::LocalOperationCallerImpl< FunctionT >, and RTT::internal::LocalOperationCallerImpl< FunctionT >.

virtual bool RTT::base::OperationCallerInterface::ready (  )  const [pure virtual]

Available such that implementations have a way to expose their ready-ness, ie being able to do the call.

Implemented in RTT::internal::LocalOperationCallerImpl< FunctionT >, and RTT::internal::LocalOperationCallerImpl< FunctionT >.

virtual void RTT::base::OperationCallerInterface::setCaller ( ExecutionEngine ee  )  [pure virtual]

Sets the caller's engine of this operation. This object will be used to test if asynchronous messaging is required.

Parameters:
ee The ExecutionEngine of the component that is calling this operation.

Implemented in RTT::internal::LocalOperationCallerImpl< FunctionT >, RTT::internal::RemoteOperationCallerImpl< OperationCallerT >, RTT::internal::LocalOperationCallerImpl< FunctionT >, and RTT::internal::RemoteOperationCallerImpl< OperationCallerT >.

virtual void RTT::base::OperationCallerInterface::setCaller ( ExecutionEngine ee  )  [pure virtual]

Sets the caller's engine of this operation. This object will be used to test if asynchronous messaging is required.

Parameters:
ee The ExecutionEngine of the component that is calling this operation.

Implemented in RTT::internal::LocalOperationCallerImpl< FunctionT >, RTT::internal::RemoteOperationCallerImpl< OperationCallerT >, RTT::internal::LocalOperationCallerImpl< FunctionT >, and RTT::internal::RemoteOperationCallerImpl< OperationCallerT >.

virtual void RTT::base::OperationCallerInterface::setExecutor ( ExecutionEngine ee  )  [pure virtual]

Set an executor which will execute this method when it is called or sent. If ee is set to 0, the method will be executed in the client's thread or the GlobalExecutionEngine.

Parameters:
ee The ExecutionEngine of the component that is executing this operation.

Implemented in RTT::internal::LocalOperationCallerImpl< FunctionT >, RTT::internal::RemoteOperationCallerImpl< OperationCallerT >, RTT::internal::LocalOperationCallerImpl< FunctionT >, and RTT::internal::RemoteOperationCallerImpl< OperationCallerT >.

virtual void RTT::base::OperationCallerInterface::setExecutor ( ExecutionEngine ee  )  [pure virtual]

Set an executor which will execute this method when it is called or sent. If ee is set to 0, the method will be executed in the client's thread or the GlobalExecutionEngine.

Parameters:
ee The ExecutionEngine of the component that is executing this operation.

Implemented in RTT::internal::LocalOperationCallerImpl< FunctionT >, RTT::internal::RemoteOperationCallerImpl< OperationCallerT >, RTT::internal::LocalOperationCallerImpl< FunctionT >, and RTT::internal::RemoteOperationCallerImpl< OperationCallerT >.

virtual bool RTT::base::OperationCallerInterface::setThread ( ExecutionThread  et,
ExecutionEngine executor 
) [pure virtual]

Sets the Thread execution policy of this object.

Parameters:
et OwnThread or ClientThread.
executor The engine of the component owning this operation. In case it is not yet owned by a component, executor may be null.
Returns:
false if it may not be modified.

Implemented in RTT::internal::LocalOperationCallerImpl< FunctionT >, and RTT::internal::LocalOperationCallerImpl< FunctionT >.

virtual bool RTT::base::OperationCallerInterface::setThread ( ExecutionThread  et,
ExecutionEngine executor 
) [pure virtual]

Sets the Thread execution policy of this object.

Parameters:
et OwnThread or ClientThread.
executor The engine of the component owning this operation. In case it is not yet owned by a component, executor may be null.
Returns:
false if it may not be modified.

Implemented in RTT::internal::LocalOperationCallerImpl< FunctionT >, and RTT::internal::LocalOperationCallerImpl< FunctionT >.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:49:52 2013