![]() |
Qt 6.x
The Qt SDK
|
\inmodule QtConcurrent More...
#include <qtconcurrentmapkernel.h>
Inheritance diagram for QtConcurrent::MapKernel< Iterator, MapFunctor >:
Collaboration diagram for QtConcurrent::MapKernel< Iterator, MapFunctor >:Public Types | |
| typedef void | ReturnType |
Public Types inherited from QtConcurrent::IterateKernel< Iterator, void > | |
| typedef void | ResultType |
Public Types inherited from QtConcurrent::ThreadEngine< T > | |
| typedef T | ResultType |
Public Types inherited from QRunnable | |
| template<typename Callable > | |
| using | if_callable = std::enable_if_t< std::is_invocable_r_v< void, Callable >, bool > |
Public Member Functions | |
| template<typename F = MapFunctor> | |
| MapKernel (QThreadPool *pool, Iterator begin, Iterator end, F &&_map) | |
| bool | runIteration (Iterator it, int, void *) override |
| bool | runIterations (Iterator sequenceBeginIterator, int beginIndex, int endIndex, void *) override |
Public Member Functions inherited from QtConcurrent::IterateKernel< Iterator, void > | |
| IterateKernel (QThreadPool *pool, Iterator _begin, Iterator _end) | |
| IterateKernel (QThreadPool *pool, Iterator _begin, Iterator _end) | |
| IterateKernel (QThreadPool *pool, Iterator _begin, Iterator _end, U &&_defaultValue) | |
| virtual | ~IterateKernel () |
| virtual bool | runIteration (Iterator, int, void *) |
| virtual bool | runIterations (Iterator, int, int, void *) |
| void | start () override |
| bool | shouldStartThread () override |
| ThreadFunctionResult | threadFunction () override |
| ThreadFunctionResult | forThreadFunction () |
| ThreadFunctionResult | whileThreadFunction () |
Public Member Functions inherited from QtConcurrent::ThreadEngine< T > | |
| ThreadEngine (QThreadPool *pool) | |
| virtual T * | result () |
| QFutureInterface< T > * | futureInterfaceTyped () |
| T * | startSingleThreaded () |
| QFuture< T > | startAsynchronously () |
| void | asynchronousFinish () override |
| void | reportResult (const T *_result, int index=-1) |
| void | reportResults (const QList< T > &_result, int index=-1, int count=-1) |
Public Member Functions inherited from QtConcurrent::ThreadEngineBase | |
| 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 |
Public Member Functions inherited from QRunnable | |
| virtual void | run ()=0 |
| Implement this pure virtual function in your subclass. | |
| 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 Callable , if_callable< Callable > = true> | |
| QGenericRunnable (Callable &&c) | |
| ~QGenericRunnable () override | |
| void | run () override |
\inmodule QtConcurrent
Definition at line 22 of file qtconcurrentmapkernel.h.
| typedef void QtConcurrent::MapKernel< Iterator, MapFunctor >::ReturnType |
Definition at line 26 of file qtconcurrentmapkernel.h.
|
inline |
Definition at line 28 of file qtconcurrentmapkernel.h.
References map.
|
inlineoverridevirtual |
Reimplemented from QtConcurrent::IterateKernel< Iterator, void >.
Definition at line 32 of file qtconcurrentmapkernel.h.
Referenced by QtConcurrent::MapKernel< Iterator, MapFunctor >::runIterations().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from QtConcurrent::IterateKernel< Iterator, void >.
Definition at line 38 of file qtconcurrentmapkernel.h.
References i, it, and QtConcurrent::MapKernel< Iterator, MapFunctor >::runIteration().
Here is the call graph for this function: