Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Types | Public Member Functions | List of all members
qpid::sys::Runnable Class Referenceabstract

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. More...
 

Public Member Functions

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

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 Thu Mar 31 2016 for Qpid C++ Client API by doxygen 1.8.5