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

#include <RemoteOperationCaller.hpp>

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

Public Types

typedef boost::function_traits< OperationCallerT >::result_type result_type
 
typedef OperationCallerT Signature
 
- Public Types inherited from RTT::base::OperationCallerBase< OperationCallerT >
typedef boost::shared_ptr< OperationCallerBase< OperationCallerT > > shared_ptr
 
- Public Types inherited from RTT::base::OperationCallerInterface
typedef boost::shared_ptr< OperationCallerInterfaceshared_ptr
 
- Public Types inherited from RTT::base::DisposableInterface
typedef boost::shared_ptr< DisposableInterfaceshared_ptr
 
- Public Types inherited from RTT::internal::CollectBase< OperationCallerT >
typedef boost::shared_ptr< CollectBase< OperationCallerT > > shared_ptr
 

Public Member Functions

template<class Xignored >
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)
 
- Public Member Functions inherited from RTT::base::OperationCallerBase< OperationCallerT >
virtual OperationCallerBase< OperationCallerT > * cloneI (ExecutionEngine *caller) const =0
 
virtual ~OperationCallerBase ()
 
- Public Member Functions inherited from RTT::base::OperationCallerInterface
ExecutionEnginegetMessageProcessor () const
 
ExecutionThread getThread () const
 
bool isSend ()
 
 OperationCallerInterface ()
 
 OperationCallerInterface (OperationCallerInterface const &orig)
 
virtual bool ready () const =0
 
void reportError ()
 
virtual void setCaller (ExecutionEngine *ee)
 
virtual void setOwner (ExecutionEngine *ee)
 
bool setThread (ExecutionThread et, ExecutionEngine *executor)
 
virtual ~OperationCallerInterface ()
 
- Public Member Functions inherited from RTT::base::DisposableInterface
virtual ~DisposableInterface ()
 

Protected Attributes

DataSourceStorage< typename CollectType< OperationCallerT >::type > collectargs
 
SendHandleC mhandle
 
OperationCallerC mmeth
 
DataSourceStorage< OperationCallerT > sendargs
 
- Protected Attributes inherited from RTT::base::OperationCallerInterface
ExecutionEnginecaller
 
ExecutionThread met
 
ExecutionEnginemyengine
 

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 >
template<class Xignored >
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 108 of file RemoteOperationCaller.hpp.

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

Definition at line 114 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 121 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 128 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 135 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 142 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 149 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 156 of file RemoteOperationCaller.hpp.

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

Definition at line 287 of file RemoteOperationCaller.hpp.

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

Definition at line 291 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 297 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 303 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 309 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 315 of file RemoteOperationCaller.hpp.

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

Definition at line 217 of file RemoteOperationCaller.hpp.

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

Definition at line 225 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 234 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 243 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 252 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 261 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 270 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 279 of file RemoteOperationCaller.hpp.

template<class OperationCallerT >
virtual void RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::dispose ( )
inlinevirtual

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 ( )
inlinevirtual

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
inlinevirtual

Definition at line 99 of file RemoteOperationCaller.hpp.

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

Definition at line 320 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 331 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 339 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 347 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 355 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 363 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 371 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 379 of file RemoteOperationCaller.hpp.

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

Definition at line 162 of file RemoteOperationCaller.hpp.

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

Definition at line 169 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 176 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 183 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 190 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 197 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 204 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 211 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 Fri Oct 25 2019 03:59:47