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

qpid::framing::Handler< T >::MemFunRef< X, F > Class Template Reference

Adapt a member function of X as a Handler. More...

#include <Handler.h>

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

List of all members.

Public Types

typedef T HandledType
typedef void handleFptr (T)
typedef void result_type

Public Member Functions

 MemFunRef (X &x, Handler< T > *next=0)
void handle (T t)
MemFunRefoperator-> ()
 Allow calling with -> syntax.
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 X, void(X::*)(T) F>
class qpid::framing::Handler< T >::MemFunRef< X, F >

Adapt a member function of X as a Handler.

Only holds a reference to its target, not a copy.

Definition at line 64 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 >::handleFptr(T) [inherited]

Definition at line 34 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 X, void(X::*)(T) F>
qpid::framing::Handler< T >::MemFunRef< X, F >::MemFunRef ( X &  x,
Handler< T > *  next = 0 
) [inline]

Definition at line 66 of file Handler.h.


Member Function Documentation

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

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

Definition at line 67 of file Handler.h.

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

Allow functor syntax for calling handle.

Definition at line 42 of file Handler.h.

template<class T>
template<class X, void(X::*)(T) F>
MemFunRef* qpid::framing::Handler< T >::MemFunRef< X, F >::operator-> (  )  [inline]

Allow calling with -> syntax.

Definition at line 70 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 Tue Dec 8 15:39:37 2009 for Qpid C++ Client API by doxygen 1.4.7