XDispatch 0.7.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected 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

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

Detailed Description

The base class of all xdispatch classes.

Definition at line 44 of file base.h.


Constructor & Destructor Documentation

xdispatch::object::object ( ) [protected]
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::queue, xdispatch::source, and xdispatch::group.

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 ( ) [virtual]

Resumes the invocation of operations or blocks assigned to the object.

Reimplemented in xdispatch::source, QDispatchQueue, and QDispatchGroup.

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.

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

Reimplemented in xdispatch::source, QDispatchQueue, and QDispatchGroup.

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.

Remarks:
This has no effect on the global queues and the main queue.

Reimplemented in xdispatch::source.


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

Generated on Sun Oct 28 2012 22:12:47 for XDispatch by Doxygen 1.7.6.1
© 2010-2012 MLBA (about | privacy) All Rights reserved.