The base class of all xdispatch classes. More...
#include <xdispatch/base.h>
Public Member Functions | |
virtual | ~object () |
virtual void | resume () |
Resumes the invocation of operations or blocks assigned to the object. | |
virtual void | suspend () |
Suspends the invocation of operations or blocks assigned to the object. | |
virtual void | target_queue (const queue &) |
Sets the target queue of this object, i.e. | |
virtual dispatch_object_t | native () const =0 |
bool | operator== (const object &) |
bool | operator!= (const object &) |
bool | operator== (const dispatch_object_t &) |
bool | operator!= (const dispatch_object_t &) |
Protected Member Functions | |
object () |
xdispatch::object::object | ( | ) | [protected] |
virtual xdispatch::object::~object | ( | ) | [virtual] |
virtual dispatch_object_t xdispatch::object::native | ( | ) | const [pure virtual] |
Implemented in xdispatch::group, xdispatch::queue, and xdispatch::source.
bool xdispatch::object::operator!= | ( | const dispatch_object_t & | ) |
bool xdispatch::object::operator!= | ( | const object & | ) |
bool xdispatch::object::operator== | ( | const object & | ) |
bool xdispatch::object::operator== | ( | const dispatch_object_t & | ) |
virtual void xdispatch::object::resume | ( | ) | [virtual] |
Resumes the invocation of operations or blocks assigned to the object.
Reimplemented in QDispatchGroup, QDispatchQueue, and xdispatch::source.
virtual void xdispatch::object::suspend | ( | ) | [virtual] |
Suspends the invocation of operations or blocks assigned to the object.
The object will be suspended as soon as the currently executed operation or block finished.
Reimplemented in QDispatchGroup, QDispatchQueue, and xdispatch::source.
virtual void xdispatch::object::target_queue | ( | const queue & | ) | [virtual] |
Sets the target queue of this object, i.e.
the queue all items concerning this object will be dispatched on in turn.
Reimplemented in xdispatch::source.