Public Types | Public Member Functions | List of all members
RTT::internal::RemoteOperationCaller< OperationCallerT > Class Template Reference

#include <RemoteOperationCaller.hpp>

Inheritance diagram for RTT::internal::RemoteOperationCaller< OperationCallerT >:
Inheritance graph
[legend]

Public Types

typedef OperationCallerT Signature
 

Public Member Functions

virtual base::OperationCallerBase< OperationCallerT > * cloneI (ExecutionEngine *caller) const
 
virtual bool ready () const
 
 RemoteOperationCaller (OperationInterfacePart *of, std::string name, ExecutionEngine *caller=0)
 
 RemoteOperationCaller (const SendHandleC &sh)
 
virtual void setCaller (ExecutionEngine *caller)
 

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 operations, 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 remote operation. For example, bool( int, Frame, double)

Definition at line 404 of file RemoteOperationCaller.hpp.

Member Typedef Documentation

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

Definition at line 408 of file RemoteOperationCaller.hpp.

Constructor & Destructor Documentation

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

Create a RemoteOperationCaller object which executes a remote method

Parameters
ofThe OperationFactory for methods.
nameThe name of this method.
callerThe caller's engine of this operation. Will be reset if this RemoteOperationCaller is assigned to an OperationCaller.

Definition at line 418 of file RemoteOperationCaller.hpp.

template<class OperationCallerT>
RTT::internal::RemoteOperationCaller< OperationCallerT >::RemoteOperationCaller ( const SendHandleC sh)
inline

Definition at line 428 of file RemoteOperationCaller.hpp.

Member Function Documentation

template<class OperationCallerT>
virtual base::OperationCallerBase<OperationCallerT>* RTT::internal::RemoteOperationCaller< OperationCallerT >::cloneI ( ExecutionEngine caller) const
inlinevirtual

Definition at line 449 of file RemoteOperationCaller.hpp.

template<class OperationCallerT>
virtual bool RTT::internal::RemoteOperationCaller< OperationCallerT >::ready ( ) const
inlinevirtual

Definition at line 436 of file RemoteOperationCaller.hpp.

template<class OperationCallerT>
virtual void RTT::internal::RemoteOperationCaller< OperationCallerT >::setCaller ( ExecutionEngine caller)
inlinevirtual

Definition at line 440 of file RemoteOperationCaller.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:47