Public Types | Public Member Functions
RTT::SendHandle< Signature > Class Template Reference

The SendHandle is used to collect the result values of an asynchronous invocation. The template argument Signature must have the same type as the method being invoked. More...

#include <SendHandle.hpp>

List of all members.

Public Types

typedef
internal::CollectSignature
< boost::function_traits
< typename
internal::CollectType
< Signature >::Ft >::arity,
typename internal::CollectType
< Signature >::Ft,
internal::CollectBase
< Signature > * > 
CBase
typedef
internal::ReturnSignature
< boost::function_traits
< Signature >::arity,
Signature, typename
internal::CollectBase
< Signature >::shared_ptr > 
RBase

Public Member Functions

SendStatus collect ()
 operator bool () const
SendHandleoperator= (base::DisposableInterface *implementation)
bool ready () const
 SendHandle ()
 SendHandle (typename internal::CollectBase< Signature >::shared_ptr coll)
 SendHandle (const SendHandle &hs)
 ~SendHandle ()

Detailed Description

template<class Signature>
class RTT::SendHandle< Signature >

The SendHandle is used to collect the result values of an asynchronous invocation. The template argument Signature must have the same type as the method being invoked.

Definition at line 58 of file SendHandle.hpp.


Member Typedef Documentation

template<class Signature>
typedef internal::CollectSignature<boost::function_traits<typename internal::CollectType<Signature>::Ft>::arity, typename internal::CollectType<Signature>::Ft, internal::CollectBase<Signature>* > RTT::SendHandle< Signature >::CBase

Definition at line 69 of file SendHandle.hpp.

template<class Signature>
typedef internal::ReturnSignature<boost::function_traits<Signature>::arity, Signature, typename internal::CollectBase<Signature>::shared_ptr > RTT::SendHandle< Signature >::RBase

Definition at line 72 of file SendHandle.hpp.


Constructor & Destructor Documentation

template<class Signature>
RTT::SendHandle< Signature >::SendHandle ( ) [inline]

Create an empty SendHandle.

Definition at line 76 of file SendHandle.hpp.

template<class Signature>
RTT::SendHandle< Signature >::SendHandle ( typename internal::CollectBase< Signature >::shared_ptr  coll) [inline]

Definition at line 78 of file SendHandle.hpp.

template<class Signature>
RTT::SendHandle< Signature >::SendHandle ( const SendHandle< Signature > &  hs) [inline]

Create a copy-equivalent SendHandle.

Definition at line 83 of file SendHandle.hpp.

template<class Signature>
RTT::SendHandle< Signature >::~SendHandle ( ) [inline]

No-op destructor, does not change signal/slot state.

Definition at line 88 of file SendHandle.hpp.


Member Function Documentation

template<class Signature>
SendStatus RTT::SendHandle< Signature >::collect ( ) [inline]

Collect this operator if the method has no arguments.

Definition at line 124 of file SendHandle.hpp.

template<class Signature>
RTT::SendHandle< Signature >::operator bool ( ) const [inline]

Inspect if this SendHandle is pointing to a valid (existing) invocation.

Returns:
false if no invocation is associated with this SendHandle.

Definition at line 111 of file SendHandle.hpp.

template<class Signature>
SendHandle& RTT::SendHandle< Signature >::operator= ( base::DisposableInterface implementation) [inline]

Definition at line 92 of file SendHandle.hpp.

template<class Signature>
bool RTT::SendHandle< Signature >::ready ( ) const [inline]

Inspect if this SendHandle is pointing to valid (existing) invocation.

Returns:
false if no invocation is associated with this handle.

Definition at line 117 of file SendHandle.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:23