Public Types | Public Member Functions | Protected Attributes
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

Public Member Functions

ExecutionEnginegetMessageProcessor () const
ExecutionThread getThread () const
bool isSend ()
 OperationCallerInterface ()
 OperationCallerInterface (OperationCallerInterface const &orig)
virtual bool ready () const =0
void reportError ()
void setCaller (ExecutionEngine *ee)
void setOwner (ExecutionEngine *ee)
bool setThread (ExecutionThread et, ExecutionEngine *executor)
virtual ~OperationCallerInterface ()

Protected Attributes

ExecutionEnginecaller
ExecutionThread met
ExecutionEnginemyengine

Detailed Description

The interface class for operation callers.

Definition at line 15 of file OperationCallerInterface.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation

Initializes an empty OperationCallerInterface with owner, executor and caller set to zero and the ExecutionThread type to ClientThread.

Definition at line 8 of file OperationCallerInterface.cpp.

Definition at line 12 of file OperationCallerInterface.cpp.

Definition at line 16 of file OperationCallerInterface.cpp.


Member Function Documentation

Definition at line 34 of file OperationCallerInterface.cpp.

Definition at line 67 of file OperationCallerInterface.hpp.

Helpful function to tell us if this operations is to be sent or not.

Definition at line 79 of file OperationCallerInterface.hpp.

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 >.

Executed when the operation execution resulted in a C++ exception. Must report the error to the ExecutionEngine of the owner of this operation.

Definition at line 44 of file OperationCallerInterface.cpp.

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

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

Definition at line 24 of file OperationCallerInterface.cpp.

Set the ExecutionEngine of the task which owns this method.

Parameters:
eeThe ExecutionEngine of the component that owns this operation.

Definition at line 20 of file OperationCallerInterface.cpp.

Sets the Thread execution policy of this object.

Parameters:
etOwnThread or ClientThread.
executorThe 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.

Definition at line 28 of file OperationCallerInterface.cpp.


Member Data Documentation

Definition at line 85 of file OperationCallerInterface.hpp.

Definition at line 86 of file OperationCallerInterface.hpp.

Definition at line 84 of file OperationCallerInterface.hpp.


The documentation for this struct was generated from the following files:


rtt
Author(s): RTT Developers
autogenerated on Sat Jun 8 2019 18:46:37