libXDispatch 0.4
Public Member Functions
QBlockRunnable Class Reference

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

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


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 )
QBlockRunnable::~QBlockRunnable ( )

Member Function Documentation

virtual void QBlockRunnable::run ( ) [virtual]

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

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