XDispatch 0.6.1
Public Member Functions
QIterationBlockRunnable Class Reference

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

#include <QtDispatch/qiterationblockrunnable.h>

Inheritance diagram for QIterationBlockRunnable:

List of all members.

Public Member Functions

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

Detailed Description

Provides a QIteration 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 qiterationblockrunnable.h.


Constructor & Destructor Documentation

QIterationBlockRunnable::QIterationBlockRunnable ( dispatch_iteration_block_t  b)

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

       QIterationBlockRunnable task($(size_t index){cout << "Hello World at" << index << "\n";}, 3);
QIterationBlockRunnable::QIterationBlockRunnable ( dispatch_iteration_block_t  b,
size_t  index 
)
QIterationBlockRunnable::QIterationBlockRunnable ( const QIterationBlockRunnable )
virtual QIterationBlockRunnable::~QIterationBlockRunnable ( ) [virtual]

Member Function Documentation

virtual void QIterationBlockRunnable::run ( size_t  ) [virtual]

Implements QIterationRunnable.

virtual void QIterationRunnable::run ( ) [virtual, inherited]

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.