XDispatch 0.6.1
Public Member Functions
xdispatch::object Class Reference

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

#include <xdispatch/base.h>

Inheritance diagram for xdispatch::object:

List of all members.

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

Detailed Description

The base class of all xdispatch classes.

Definition at line 159 of file base.h.


Constructor & Destructor Documentation

xdispatch::object::object ( )
virtual xdispatch::object::~object ( ) [virtual]

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

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

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Thu Apr 12 2012 09:50:43 for XDispatch by Doxygen 1.7.4
© 2010-2012 MLBA (about | privacy) All Rights reserved.