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

qpid::framing::Handler< T >::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() (T t)
 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

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

Definition at line 33 of file Handler.h.

template<class T >
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 >::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 >::Functor< F >::handle ( T  t  )  [inline, virtual]

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

Definition at line 55 of file Handler.h.

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

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

Allow functor syntax for calling handle.

Definition at line 42 of file Handler.h.


Member Data Documentation

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

Pointer to next handler in a linked list.

Definition at line 46 of file Handler.h.

Referenced by qpid::framing::ChannelHandler::handle().


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

Qpid C++ API Reference
Generated on Thu Mar 19 15:24:04 2009 for Qpid C++ Client API by doxygen 1.5.7.1