The base class of all xdispatch classes. More...
#include <xdispatch/base.h>
Public Member Functions | |
object () | |
virtual | ~object () |
virtual void | resume ()=0 |
Resumes the invocation of operations or blocks assigned to the object. | |
virtual void | suspend ()=0 |
Suspends the invocation of operations or blocks assigned to the object. | |
virtual dispatch_object_t | native () const =0 |
Returns the native dispatch object associated to the xdispatch object. | |
bool | operator== (const object &) |
bool | operator!= (const object &) |
bool | operator== (const dispatch_object_t &) |
bool | operator!= (const dispatch_object_t &) |
xdispatch::object::object | ( | ) |
virtual xdispatch::object::~object | ( | ) | [virtual] |
virtual dispatch_object_t xdispatch::object::native | ( | ) | const [pure virtual] |
Returns the native dispatch object associated to the xdispatch object.
Implemented in xdispatch::group, xdispatch::queue, xdispatch::source, and xdispatch::timer.
bool xdispatch::object::operator!= | ( | const object & | ) |
bool xdispatch::object::operator!= | ( | const dispatch_object_t & | ) |
bool xdispatch::object::operator== | ( | const object & | ) |
bool xdispatch::object::operator== | ( | const dispatch_object_t & | ) |
virtual void xdispatch::object::resume | ( | ) | [pure virtual] |
Resumes the invocation of operations or blocks assigned to the object.
Implemented in QDispatchGroup, QDispatchQueue, xdispatch::group, xdispatch::queue, xdispatch::source, and xdispatch::timer.
virtual void xdispatch::object::suspend | ( | ) | [pure 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.
Implemented in QDispatchGroup, QDispatchQueue, xdispatch::group, xdispatch::queue, xdispatch::source, and xdispatch::timer.