Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::framing::Handler< T >::Handler::Functor< F > Class Template Reference

Adapt any void(T) functor as a Handler. More...

#include <Handler.h>

List of all members.

Public Types

typedef T HandledType
typedef void result_type

Public Member Functions

 Functor (F f, Handler< T > *next=0)
void handle (T t)
typedef void handleFptr (T)
void operator() (Tt)
 Allow functor syntax for calling handle.

Public Attributes

Handler< T > * next
 Pointer to next handler in a linked list.


Detailed Description

template<class T>
template<class F>
class qpid::framing::Handler< T >::Functor< F >

Adapt any void(T) functor as a Handler.

Functor<F>(f) will copy f. Functor<F&>(f) will only take a reference to x.

Definition at line 52 of file Handler.h.


Member Typedef Documentation

typedef T qpid::framing::Handler< T >::HandledType [inherited]

Definition at line 33 of file Handler.h.

typedef void qpid::framing::Handler< T >::result_type [inherited]

Definition at line 35 of file Handler.h.


Constructor & Destructor Documentation

template<class T>
template<class F >
qpid::framing::Handler< T >::Handler::Functor< F >::Functor ( f,
Handler< T > *  next = 0 
) [inline]

Definition at line 54 of file Handler.h.


Member Function Documentation

template<class T>
template<class F >
void qpid::framing::Handler< T >::Handler::Functor< F >::handle ( t  )  [inline, virtual]

Implements qpid::framing::Handler< T >.

Definition at line 55 of file Handler.h.

typedef void qpid::framing::Handler< T >::handleFptr (  )  [inherited]

void qpid::framing::Handler< T >::operator() ( t  )  [inline, inherited]

Allow functor syntax for calling handle.

Definition at line 42 of file Handler.h.


Member Data Documentation

Handler<T >* qpid::framing::Handler< T >::next [inherited]

Pointer to next handler in a linked list.

Definition at line 46 of file Handler.h.


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

Qpid C++ API Reference
Generated on Thu Jul 2 13:32:13 2009 for Qpid C++ Client API by doxygen 1.5.8