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

qpid::sys::Runnable Class Reference

Interface for objects that can be run, e.g. More...

#include <qpid/sys/Runnable.h>

List of all members.

Public Types

typedef boost::function0< void > Functor
 Type to represent a runnable as a Functor.

Public Member Functions

virtual ~Runnable ()
virtual void run ()=0
 Derived classes override run().
Functor functor ()
 Create a functor object that will call this->run().

Detailed Description

Interface for objects that can be run, e.g.

in a thread.

Definition at line 33 of file Runnable.h.


Member Typedef Documentation

typedef boost::function0<void> qpid::sys::Runnable::Functor

Type to represent a runnable as a Functor.

Definition at line 37 of file Runnable.h.


Constructor & Destructor Documentation

virtual qpid::sys::Runnable::~Runnable (  )  [virtual]

Member Function Documentation

Functor qpid::sys::Runnable::functor (  ) 

Create a functor object that will call this->run().

virtual void qpid::sys::Runnable::run (  )  [pure virtual]

Derived classes override run().

Implemented in qpid::client::SubscriptionManager.


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

Qpid C++ API Reference
Generated on Mon Jun 7 17:49:09 2010 for Qpid C++ Client API by doxygen 1.6.2-20100208