Orocos Real-Time Toolkit  2.5.0
Public Types | Public Member Functions
RTT::SendHandle< Signature > Class Template Reference

The SendHandle is used to collect the result values of an asynchronous invocation. More...

#include <rtt/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

 SendHandle ()
 Create an empty SendHandle.
 SendHandle (typename internal::CollectBase< Signature >::shared_ptr coll)
 SendHandle (const SendHandle &hs)
 Create a copy-equivalent SendHandle.
 ~SendHandle ()
 No-op destructor, does not change signal/slot state.
SendHandleoperator= (base::DisposableInterface *implementation)
 operator bool () const
 Inspect if this SendHandle is pointing to a valid (existing) invocation.
bool ready () const
 Inspect if this SendHandle is pointing to valid (existing) invocation.
SendStatus collect ()
 Collect this operator if the method has no arguments.

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 Function Documentation

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.

References RTT::SendHandle< Signature >::ready().

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.

Referenced by RTT::SendHandle< Signature >::operator bool().


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