Provides a QIteration Implementation for use with blocks on clang or lambda functions in C++0x. More...
Inheritance diagram for QIterationBlockRunnable: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 &) | |
| ~QIterationBlockRunnable () | |
| virtual void | run (size_t) |
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.
| 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 & | ) |
| QIterationBlockRunnable::~QIterationBlockRunnable | ( | ) |
| virtual void QIterationBlockRunnable::run | ( | size_t | ) | [virtual] |
Implements QIterationRunnable.