![]() |
Qt 6.x
The Qt SDK
|
\inmodule QtConcurrent More...
#include <qtconcurrentfilterkernel.h>
Inheritance diagram for QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >:
Collaboration diagram for QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >:Public Types | |
| typedef T | ReturnType |
| typedef T | ResultType |
Public Types inherited from QtConcurrent::IterateKernel< Iterator, qValueType< Iterator >::value_type > | |
| typedef qValueType< Iterator >::value_type | 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 Keep = KeepFunctor> | |
| FilteredEachKernel (QThreadPool *pool, Iterator begin, Iterator end, Keep &&_keep) | |
| void | start () override |
| bool | runIteration (Iterator it, int index, T *) override |
| bool | runIterations (Iterator sequenceBeginIterator, int begin, int end, T *) override |
Public Member Functions inherited from QtConcurrent::IterateKernel< Iterator, qValueType< Iterator >::value_type > | |
| 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, qValueType< Iterator >::value_type *) |
| virtual bool | runIterations (Iterator, int, int, qValueType< Iterator >::value_type *) |
| 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 213 of file qtconcurrentfilterkernel.h.
| typedef T QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >::ResultType |
Definition at line 222 of file qtconcurrentfilterkernel.h.
| typedef T QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >::ReturnType |
Definition at line 221 of file qtconcurrentfilterkernel.h.
|
inline |
Definition at line 225 of file qtconcurrentfilterkernel.h.
|
inlineoverride |
Definition at line 236 of file qtconcurrentfilterkernel.h.
References it, and QtConcurrent::ThreadEngine< T >::reportResult().
Here is the call graph for this function:
|
inlineoverride |
Definition at line 245 of file qtconcurrentfilterkernel.h.
References QList< T >::append(), QtConcurrent::IterateKernel< Iterator, qValueType< Iterator >::value_type >::begin, QList< T >::begin(), QtConcurrent::IterateKernel< Iterator, qValueType< Iterator >::value_type >::end, QList< T >::end(), i, it, QtConcurrent::ThreadEngine< T >::reportResults(), QList< T >::reserve(), results, and QtConcurrent::IntermediateResults< T >::vector.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QtConcurrent::ThreadEngineBase.
Definition at line 229 of file qtconcurrentfilterkernel.h.
References QtConcurrent::ThreadEngineBase::futureInterface, QFutureInterfaceBase::setFilterMode(), and QtConcurrent::IterateKernel< Iterator, T >::start().
Here is the call graph for this function: