XDispatch 0.6.1
Public Member Functions
QBlockRunnable Class Reference

Provides a QRunnable Implementation for use with blocks on clang or lambda functions in C++0x. More...

#include <QtDispatch/qblockrunnable.h>

List of all members.

Public Member Functions

 QBlockRunnable (dispatch_block_t b)
 Constructs a new QBlockRunnable using the given block, e.g.
 QBlockRunnable (const QBlockRunnable &)
virtual ~QBlockRunnable ()
virtual void run ()

Detailed Description

Provides a QRunnable Implementation for use with blocks on clang or lambda functions in C++0x.

Please see the documentation for QRunnable for the functionality of the autoDelete flags as well.

Definition at line 44 of file qblockrunnable.h.


Constructor & Destructor Documentation

QBlockRunnable::QBlockRunnable ( dispatch_block_t  b)

Constructs a new QBlockRunnable using the given block, e.g.

         QBlockRunnable task(${cout << "Hello World\n";});
QBlockRunnable::QBlockRunnable ( const QBlockRunnable )
virtual QBlockRunnable::~QBlockRunnable ( ) [virtual]

Member Function Documentation

virtual void QBlockRunnable::run ( ) [virtual]

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.