Orocos Real-Time Toolkit  2.6.0
Public Types | Public Member Functions
RTT::internal::RemoteOperationCaller< OperationCallerT > Class Template Reference

A OperationCaller implementation which delegates C++ to datasource conversions when C++ code tries to call remote methods, only available in an OperationInterfacePart, and not through an OperationBase. More...

#include <rtt/internal/RemoteOperationCaller.hpp>

Inheritance diagram for RTT::internal::RemoteOperationCaller< OperationCallerT >:
RTT::internal::Invoker< OperationCallerT, RemoteOperationCallerImpl< OperationCallerT > >

List of all members.

Public Types

typedef OperationCallerT Signature

Public Member Functions

 RemoteOperationCaller (OperationInterfacePart *of, std::string name, ExecutionEngine *caller)
 Create a RemoteOperationCaller object which executes a remote method.
 RemoteOperationCaller (const SendHandleC &sh)
virtual bool ready () const
virtual
base::OperationCallerBase
< OperationCallerT > * 
cloneI (ExecutionEngine *caller) const

Detailed Description

template<class OperationCallerT>
class RTT::internal::RemoteOperationCaller< OperationCallerT >

A OperationCaller implementation which delegates C++ to datasource conversions when C++ code tries to call remote methods, only available in an OperationInterfacePart, and not through an OperationBase.

The datasources created as such are not subject to copy/clone semantics since they only serve as proxies to C++ arguments on the stack, when the OperationCaller object is invoked. A OperationCallerC object is used to keep track of all involved objects, and a SendHandleC object is used to track the results of asynchronous calls.

Parameters:
OperationCallerTThe function signature of the method. For example, bool( int, Frame, double)

Definition at line 403 of file RemoteOperationCaller.hpp.


Constructor & Destructor Documentation

template<class OperationCallerT >
RTT::internal::RemoteOperationCaller< OperationCallerT >::RemoteOperationCaller ( OperationInterfacePart of,
std::string  name,
ExecutionEngine caller 
) [inline]

Create a RemoteOperationCaller object which executes a remote method.

Parameters:
nameThe name of this method.
comThe OperationFactory for methods.

Definition at line 415 of file RemoteOperationCaller.hpp.


The documentation for this class was generated from the following file: