|
template<typename F = MapFunctor> |
| MappedEachKernel (QThreadPool *pool, Iterator begin, Iterator end, F &&_map) |
bool | runIteration (Iterator it, int, T *result) override |
bool | runIterations (Iterator sequenceBeginIterator, int beginIndex, int endIndex, T *results) override |
| IterateKernel (QThreadPool *pool, Iterator _begin, Iterator _end) |
virtual | ~IterateKernel () |
virtual bool | runIteration (Iterator, int, QtPrivate::MapResultType< Iterator, MapFunctor > *) |
virtual bool | runIterations (Iterator, int, int, QtPrivate::MapResultType< Iterator, MapFunctor > *) |
void | start () override |
bool | shouldStartThread () override |
ThreadFunctionResult | threadFunction () override |
ThreadFunctionResult | forThreadFunction () |
ThreadFunctionResult | whileThreadFunction () |
| ThreadEngine (QThreadPool *pool) |
virtual QtPrivate::MapResultType< Iterator, MapFunctor > * | result () |
QFutureInterface< QtPrivate::MapResultType< Iterator, MapFunctor > > * | futureInterfaceTyped () |
QtPrivate::MapResultType< Iterator, MapFunctor > * | startSingleThreaded () |
QFuture< QtPrivate::MapResultType< Iterator, MapFunctor > > | startAsynchronously () |
void | asynchronousFinish () override |
void | reportResult (const QtPrivate::MapResultType< Iterator, MapFunctor > *_result, int index=-1) |
void | reportResults (const QList< QtPrivate::MapResultType< Iterator, MapFunctor > > &_result, int index=-1, int count=-1) |
| ThreadEngineBase (QThreadPool *pool) |
virtual | ~ThreadEngineBase () |
void | startSingleThreaded () |
void | startThread () |
bool | isCanceled () |
void | waitForResume () |
bool | isProgressReportingEnabled () |
void | setProgressValue (int progress) |
void | setProgressRange (int minimum, int maximum) |
void | acquireBarrierSemaphore () |
void | reportIfSuspensionDone () const |
constexpr | QRunnable () noexcept=default |
| Constructs a QRunnable.
|
virtual | ~QRunnable () |
| QRunnable virtual destructor.
|
bool | autoDelete () const |
| Returns true is auto-deletion is enabled; false otherwise.
|
void | setAutoDelete (bool autoDelete) |
| Enables auto-deletion if autoDelete is true; otherwise auto-deletion is disabled.
|
template<typename
Iterator, typename MapFunctor>
class QtConcurrent::MappedEachKernel< Iterator, MapFunctor >
\inmodule QtConcurrent
Definition at line 144 of file qtconcurrentmapkernel.h.