qpid::sys::Runnable Class Reference

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

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions
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.

## 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/sys/Runnable.h