libXDispatch 0.5
Public Member Functions
xdispatch::object Class Reference

The base class of all xdispatch classes. More...

Inheritance diagram for xdispatch::object:

List of all members.

Public Member Functions

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 &)

Detailed Description

The base class of all xdispatch classes.


Member Function Documentation

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 xdispatch::group, xdispatch::queue, xdispatch::source, xdispatch::timer, QDispatchGroup, and QDispatchQueue.

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.

Remarks:
Calls to suspend() should be balanced with calls to resume() to continue an object

Implemented in xdispatch::group, xdispatch::queue, xdispatch::source, xdispatch::timer, QDispatchGroup, and QDispatchQueue.


The documentation for this class was generated from the following file:

Generated on Wed Feb 22 2012 19:54:06 for libXDispatch by Doxygen 1.7.4
Content © 2011-2012 MLBA (about | privacy) – Design © 2010-2012 Emzeat. All Rights reserved.