MappedReducedKernel< ReducedResultType, Iterator, MapFunctor, ReduceFunctor, Reducer > Class Template Reference
#include <qtconcurrentmapkernel.h>
template<typename ReducedResultType, typename Iterator, typename MapFunctor, typename ReduceFunctor, typename Reducer = ReduceKernel<ReduceFunctor, ReducedResultType, typename MapFunctor::result_type>>
class QtConcurrent::MappedReducedKernel< ReducedResultType, Iterator, MapFunctor, ReduceFunctor, Reducer >
Definition at line 97 of file qtconcurrentmapkernel.h.
|
| MappedReducedKernel (Iterator begin, Iterator end, MapFunctor _map, ReduceFunctor _reduce, ReduceOptions reduceOptions) |
|
| MappedReducedKernel (ReducedResultType initialValue, MapFunctor _map, ReduceFunctor _reduce) |
|
bool | runIteration (Iterator it, int index, ReducedResultType *) |
|
bool | runIterations (Iterator sequenceBeginIterator, int begin, int end, ReducedResultType *) |
|
void | finish () |
|
bool | shouldThrottleThread () |
|
bool | shouldStartThread () |
|
ReducedResultType * | result () |
|
| IterateKernel (Iterator _begin, Iterator _end) |
|
virtual | ~IterateKernel () |
|
void | start () |
|
bool | shouldStartThread () |
|
ThreadFunctionResult | threadFunction () |
|
ThreadFunctionResult | forThreadFunction () |
|
ThreadFunctionResult | whileThreadFunction () |
|
QFutureInterface< ReducedResultType > * | futureInterfaceTyped () |
|
ReducedResultType * | startSingleThreaded () |
|
ReducedResultType * | startBlocking () |
|
QFuture< ReducedResultType > | startAsynchronously () |
|
void | asynchronousFinish () |
|
void | reportResult (const ReducedResultType *_result, int index=-1) |
|
void | reportResults (const QVector< ReducedResultType > &_result, int index=-1, int count=-1) |
|
| ThreadEngineBase () |
|
virtual | ~ThreadEngineBase () |
|
void | startSingleThreaded () |
|
void | startBlocking () |
|
void | startThread () |
|
bool | isCanceled () |
|
void | waitForResume () |
|
bool | isProgressReportingEnabled () |
|
void | setProgressValue (int progress) |
|
void | setProgressRange (int minimum, int maximum) |
|
void | acquireBarrierSemaphore () |
|
| QRunnable () |
|
virtual | ~QRunnable () |
|
bool | autoDelete () const |
|
void | setAutoDelete (bool _autoDelete) |
|
MappedReducedKernel |
( |
Iterator |
begin, |
|
|
Iterator |
end, |
|
|
MapFunctor |
_map, |
|
|
ReduceFunctor |
_reduce, |
|
|
ReduceOptions |
reduceOptions |
|
) |
| |
|
inline |
Definition at line 105 of file qtconcurrentmapkernel.h.
106 : IterateKernel<Iterator, ReducedResultType>(
begin,
end), reducedResult(), map(_map), reduce(_reduce), reducer(reduceOptions)
bool runIteration |
( |
Iterator |
it, |
|
|
int |
index, |
|
|
ReducedResultType * |
|
|
) |
| |
|
inlinevirtual |
bool runIterations |
( |
Iterator |
sequenceBeginIterator, |
|
|
int |
begin, |
|
|
int |
end, |
|
|
ReducedResultType * |
|
|
) |
| |
|
inlinevirtual |
bool shouldThrottleThread |
( |
| ) |
|
|
inlinevirtual |
bool shouldStartThread |
( |
| ) |
|
|
inlinevirtual |
ReducedResultType* result |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: