Definition at line 62 of file qtconcurrentmapkernel.h.
#include <qtconcurrentmapkernel.h>

Public Types |
|
| typedef void | ReturnType |
Public Member Functions |
|
| MapKernel (Iterator begin, Iterator end, MapFunctor _map) | |
| bool | runIteration (Iterator it, int, void *) |
| bool | runIterations (Iterator sequenceBeginIterator, int beginIndex, int endIndex, void *) |
| typedef void ReturnType |
Definition at line 66 of file qtconcurrentmapkernel.h.
| MapKernel | ( | Iterator | begin, |
| Iterator | end, | ||
| MapFunctor | _map | ||
| ) | [inline] |
Definition at line 67 of file qtconcurrentmapkernel.h.
| bool runIteration | ( | Iterator | it, |
| int | , | ||
| void * | |||
| ) | [inline, virtual] |
Reimplemented from IterateKernel< Iterator, void >.
Definition at line 71 of file qtconcurrentmapkernel.h.
{
map(*it);
return false;
}
| bool runIterations | ( | Iterator | sequenceBeginIterator, |
| int | beginIndex, | ||
| int | endIndex, | ||
| void * | |||
| ) | [inline, virtual] |
Reimplemented from IterateKernel< Iterator, void >.
Definition at line 77 of file qtconcurrentmapkernel.h.
{
Iterator it = sequenceBeginIterator;
advance(it, beginIndex);
for (int i = beginIndex; i < endIndex; ++i) {
runIteration(it, i, 0);
advance(it, 1);
}
return false;
}