Public Types | Public Member Functions | Protected Attributes
RTT::internal::RemoteOperationCallerImpl< OperationCallerT > Class Template Reference

#include <RemoteOperationCaller.hpp>

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

List of all members.

Public Types

typedef boost::function_traits
< OperationCallerT >
::result_type 
result_type
typedef OperationCallerT Signature

Public Member Functions

result_type call_impl ()
template<class T1 >
result_type call_impl (T1 a1)
template<class T1 , class T2 >
result_type call_impl (T1 a1, T2 a2)
template<class T1 , class T2 , class T3 >
result_type call_impl (T1 a1, T2 a2, T3 a3)
template<class T1 , class T2 , class T3 , class T4 >
result_type call_impl (T1 a1, T2 a2, T3 a3, T4 a4)
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
result_type call_impl (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6)
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
result_type call_impl (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7)
template<class T1 , class T2 , class T3 , class T4 , class T5 >
result_type call_impl (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5)
SendStatus collect_impl ()
template<class T1 >
SendStatus collect_impl (T1 &a1)
template<class T1 , class T2 >
SendStatus collect_impl (T1 &a1, T2 &a2)
template<class T1 , class T2 , class T3 >
SendStatus collect_impl (T1 &a1, T2 &a2, T3 &a3)
template<class T1 , class T2 , class T3 , class T4 >
SendStatus collect_impl (T1 &a1, T2 &a2, T3 &a3, T4 &a4)
template<class T1 , class T2 , class T3 , class T4 , class T5 >
SendStatus collect_impl (T1 &a1, T2 &a2, T3 &a3, T4 &a4, T5 &a5)
SendStatus collectIfDone_impl ()
template<class T1 >
SendStatus collectIfDone_impl (T1 &a1)
template<class T1 , class T2 >
SendStatus collectIfDone_impl (T1 &a1, T2 &a2)
template<class T1 , class T2 , class T3 >
SendStatus collectIfDone_impl (T1 &a1, T2 &a2, T3 &a3)
template<class T1 , class T2 , class T3 , class T4 >
SendStatus collectIfDone_impl (T1 &a1, T2 &a2, T3 &a3, T4 &a4)
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
SendStatus collectIfDone_impl (T1 &a1, T2 &a2, T3 &a3, T4 &a4, T5 &a5, T6 &a6)
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
SendStatus collectIfDone_impl (T1 &a1, T2 &a2, T3 &a3, T4 &a4, T5 &a5, T6 &a6, T7 &a7)
template<class T1 , class T2 , class T3 , class T4 , class T5 >
SendStatus collectIfDone_impl (T1 &a1, T2 &a2, T3 &a3, T4 &a4, T5 &a5)
virtual void dispose ()
virtual void executeAndDispose ()
virtual bool isError () const
 RemoteOperationCallerImpl ()
 RemoteOperationCallerImpl (SendHandleC handle)
result_type ret_impl ()
template<class T1 >
result_type ret_impl (T1 a1)
template<class T1 , class T2 >
result_type ret_impl (T1 a1, T2 a2)
template<class T1 , class T2 , class T3 >
result_type ret_impl (T1 a1, T2 a2, T3 a3)
template<class T1 , class T2 , class T3 , class T4 >
result_type ret_impl (T1 a1, T2 a2, T3 a3, T4 a4)
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
result_type ret_impl (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6)
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
result_type ret_impl (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7)
template<class T1 , class T2 , class T3 , class T4 , class T5 >
result_type ret_impl (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5)
SendHandle< Signaturesend_impl ()
template<class T1 >
SendHandle< Signaturesend_impl (T1 a1)
template<class T1 , class T2 >
SendHandle< Signaturesend_impl (T1 a1, T2 a2)
template<class T1 , class T2 , class T3 >
SendHandle< Signaturesend_impl (T1 a1, T2 a2, T3 a3)
template<class T1 , class T2 , class T3 , class T4 >
SendHandle< Signaturesend_impl (T1 a1, T2 a2, T3 a3, T4 a4)
template<class T1 , class T2 , class T3 , class T4 , class T5 >
SendHandle< Signaturesend_impl (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5)
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
SendHandle< Signaturesend_impl (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6)
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
SendHandle< Signaturesend_impl (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7)

Protected Attributes

DataSourceStorage< typename
CollectType< OperationCallerT >
::type > 
collectargs
SendHandleC mhandle
OperationCallerC mmeth
DataSourceStorage
< OperationCallerT > 
sendargs

Detailed Description

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

A OperationCaller implementation which executes a remote function which is encapsulated in a OperationCallerC and SendHandleC object. Used as implementation class for RemoteOperationCaller.

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

Definition at line 71 of file RemoteOperationCaller.hpp.


Member Typedef Documentation

template<class OperationCallerT >
typedef boost::function_traits<OperationCallerT>::result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::result_type

Definition at line 82 of file RemoteOperationCaller.hpp.

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

Definition at line 81 of file RemoteOperationCaller.hpp.


Constructor & Destructor Documentation

template<class OperationCallerT >
RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::RemoteOperationCallerImpl ( ) [inline]

The defaults are reset by the constructor.

Definition at line 87 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::RemoteOperationCallerImpl ( SendHandleC  handle) [inline]

Create from a sendhandle.

Definition at line 94 of file RemoteOperationCaller.hpp.


Member Function Documentation

template<class OperationCallerT >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::call_impl ( ) [inline]

Call this operator if the RemoteOperationCaller takes no arguments.

Returns:
true if ready and succesfully sent.

Definition at line 107 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::call_impl ( T1  a1) [inline]

Definition at line 113 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::call_impl ( T1  a1,
T2  a2 
) [inline]

Definition at line 120 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::call_impl ( T1  a1,
T2  a2,
T3  a3 
) [inline]

Definition at line 127 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::call_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4 
) [inline]

Definition at line 134 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::call_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5,
T6  a6 
) [inline]

Definition at line 141 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::call_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5,
T6  a6,
T7  a7 
) [inline]

Definition at line 148 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::call_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5 
) [inline]

Definition at line 155 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collect_impl ( ) [inline]

Definition at line 286 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collect_impl ( T1 &  a1) [inline]

Definition at line 290 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collect_impl ( T1 &  a1,
T2 &  a2 
) [inline]

Definition at line 296 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collect_impl ( T1 &  a1,
T2 &  a2,
T3 &  a3 
) [inline]

Definition at line 302 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collect_impl ( T1 &  a1,
T2 &  a2,
T3 &  a3,
T4 &  a4 
) [inline]

Definition at line 308 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collect_impl ( T1 &  a1,
T2 &  a2,
T3 &  a3,
T4 &  a4,
T5 &  a5 
) [inline]

Definition at line 314 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collectIfDone_impl ( ) [inline]

Definition at line 216 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collectIfDone_impl ( T1 &  a1) [inline]

Definition at line 224 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collectIfDone_impl ( T1 &  a1,
T2 &  a2 
) [inline]

Definition at line 233 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collectIfDone_impl ( T1 &  a1,
T2 &  a2,
T3 &  a3 
) [inline]

Definition at line 242 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collectIfDone_impl ( T1 &  a1,
T2 &  a2,
T3 &  a3,
T4 &  a4 
) [inline]

Definition at line 251 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collectIfDone_impl ( T1 &  a1,
T2 &  a2,
T3 &  a3,
T4 &  a4,
T5 &  a5,
T6 &  a6 
) [inline]

Definition at line 260 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collectIfDone_impl ( T1 &  a1,
T2 &  a2,
T3 &  a3,
T4 &  a4,
T5 &  a5,
T6 &  a6,
T7 &  a7 
) [inline]

Definition at line 269 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 >
SendStatus RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collectIfDone_impl ( T1 &  a1,
T2 &  a2,
T3 &  a3,
T4 &  a4,
T5 &  a5 
) [inline]

Definition at line 278 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
virtual void RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::dispose ( ) [inline, virtual]

Just free this object without executing it.

Implements RTT::base::DisposableInterface.

Definition at line 100 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
virtual void RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::executeAndDispose ( ) [inline, virtual]

Execute functionality and free this object. You may no longer use this object after calling this method.

Implements RTT::base::DisposableInterface.

Definition at line 98 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
virtual bool RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::isError ( ) const [inline, virtual]

Definition at line 99 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::ret_impl ( ) [inline]

Definition at line 319 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::ret_impl ( T1  a1) [inline]

This function has the same signature of call() and returns the stored return value, and tries to return all arguments.

Definition at line 330 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::ret_impl ( T1  a1,
T2  a2 
) [inline]

Definition at line 338 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::ret_impl ( T1  a1,
T2  a2,
T3  a3 
) [inline]

Definition at line 346 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::ret_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4 
) [inline]

Definition at line 354 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::ret_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5,
T6  a6 
) [inline]

Definition at line 362 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::ret_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5,
T6  a6,
T7  a7 
) [inline]

Definition at line 370 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 >
result_type RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::ret_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5 
) [inline]

Definition at line 378 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
SendHandle<Signature> RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::send_impl ( ) [inline]

Definition at line 161 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 >
SendHandle<Signature> RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::send_impl ( T1  a1) [inline]

Definition at line 168 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 >
SendHandle<Signature> RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::send_impl ( T1  a1,
T2  a2 
) [inline]

Definition at line 175 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 >
SendHandle<Signature> RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::send_impl ( T1  a1,
T2  a2,
T3  a3 
) [inline]

Definition at line 182 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 >
SendHandle<Signature> RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::send_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4 
) [inline]

Definition at line 189 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 >
SendHandle<Signature> RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::send_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5 
) [inline]

Definition at line 196 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
SendHandle<Signature> RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::send_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5,
T6  a6 
) [inline]

Definition at line 203 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
SendHandle<Signature> RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::send_impl ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5,
T6  a6,
T7  a7 
) [inline]

Definition at line 210 of file RemoteOperationCaller.hpp.


Member Data Documentation

template<class OperationCallerT >
DataSourceStorage<typename CollectType<OperationCallerT>::type > RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::collectargs [protected]

Definition at line 79 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
SendHandleC RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::mhandle [protected]

Definition at line 77 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
OperationCallerC RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::mmeth [protected]

Definition at line 76 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
DataSourceStorage<OperationCallerT> RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::sendargs [protected]

Definition at line 78 of file RemoteOperationCaller.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Wed Aug 26 2015 16:16:25