Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
Interface for objects that can be run, e.g. More...
#include <qpid/sys/Runnable.h>
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(). |
Interface for objects that can be run, e.g.
in a thread.
Definition at line 33 of file Runnable.h.
typedef boost::function0<void> qpid::sys::Runnable::Functor |
Type to represent a runnable as a Functor.
Definition at line 37 of file Runnable.h.
virtual qpid::sys::Runnable::~Runnable | ( | ) | [virtual] |
virtual void qpid::sys::Runnable::run | ( | ) | [pure virtual] |
Derived classes override run().
Implemented in qpid::client::SubscriptionManager.