![]() |
Qt 6.x
The Qt SDK
|
#include <QtConcurrent/qtconcurrent_global.h>
#include <QtConcurrent/qtconcurrentfilterkernel.h>
#include <QtConcurrent/qtconcurrentfunctionwrappers.h>
Go to the source code of this file.
Namespaces | |
namespace | QtConcurrent |
\inmodule QtConcurrent | |
Functions | |
template<typename Sequence , typename KeepFunctor , typename ReduceFunctor > | |
ThreadEngineStarter< void > | QtConcurrent::filterInternal (QThreadPool *pool, Sequence &sequence, KeepFunctor &&keep, ReduceFunctor &&reduce) |
[QtConcurrent-1] | |
template<typename Sequence , typename KeepFunctor > | |
QFuture< void > | QtConcurrent::filter (QThreadPool *pool, Sequence &sequence, KeepFunctor &&keep) |
Calls filterFunction once for each item in sequence. | |
template<typename Sequence , typename KeepFunctor > | |
QFuture< void > | QtConcurrent::filter (Sequence &sequence, KeepFunctor &&keep) |
Calls filterFunction once for each item in sequence. | |
template<typename ResultType , typename Sequence , typename KeepFunctor , typename ReduceFunctor > | |
QFuture< ResultType > | QtConcurrent::filteredReduced (QThreadPool *pool, Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Sequence , typename KeepFunctor , typename ReduceFunctor > | |
QFuture< ResultType > | QtConcurrent::filteredReduced (Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Sequence , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
QFuture< ResultType > | QtConcurrent::filteredReduced (QThreadPool *pool, Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Sequence , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
QFuture< ResultType > | QtConcurrent::filteredReduced (Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Sequence , typename KeepFunctor , typename ReduceFunctor , std::enable_if_t< QtPrivate::isInvocable< KeepFunctor, Sequence >::value, int > = 0, typename ResultType = typename QtPrivate::ReduceResultTypeHelper<ReduceFunctor>::type> | |
QFuture< ResultType > | QtConcurrent::filteredReduced (QThreadPool *pool, Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Sequence , typename KeepFunctor , typename ReduceFunctor , std::enable_if_t< QtPrivate::isInvocable< KeepFunctor, Sequence >::value, int > = 0, typename ResultType = typename QtPrivate::ReduceResultTypeHelper<ReduceFunctor>::type> | |
QFuture< ResultType > | QtConcurrent::filteredReduced (Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Sequence , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInvocable< KeepFunctor, Sequence >::value, int > = 0, typename ResultType = typename QtPrivate::ReduceResultTypeHelper<ReduceFunctor>::type, std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
QFuture< ResultType > | QtConcurrent::filteredReduced (QThreadPool *pool, Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Sequence , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInvocable< KeepFunctor, Sequence >::value, int > = 0, typename ResultType = typename QtPrivate::ReduceResultTypeHelper<ReduceFunctor>::type, std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
QFuture< ResultType > | QtConcurrent::filteredReduced (Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Iterator , typename KeepFunctor , typename ReduceFunctor > | |
QFuture< ResultType > | QtConcurrent::filteredReduced (QThreadPool *pool, Iterator begin, Iterator end, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Iterator , typename KeepFunctor , typename ReduceFunctor > | |
QFuture< ResultType > | QtConcurrent::filteredReduced (Iterator begin, Iterator end, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Iterator , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
QFuture< ResultType > | QtConcurrent::filteredReduced (QThreadPool *pool, Iterator begin, Iterator end, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Iterator , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
QFuture< ResultType > | QtConcurrent::filteredReduced (Iterator begin, Iterator end, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Iterator , typename KeepFunctor , typename ReduceFunctor , std::enable_if_t< QtPrivate::isIterator_v< Iterator >, int > = 0, typename ResultType = typename QtPrivate::ReduceResultTypeHelper<ReduceFunctor>::type, typename InitialValueType , std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
QFuture< ResultType > | QtConcurrent::filteredReduced (Iterator begin, Iterator end, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Sequence , typename KeepFunctor > | |
QFuture< typename std::decay_t< Sequence >::value_type > | QtConcurrent::filtered (QThreadPool *pool, Sequence &&sequence, KeepFunctor &&keep) |
Calls filterFunction once for each item in sequence and returns a new Sequence of kept items. | |
template<typename Sequence , typename KeepFunctor > | |
QFuture< typename std::decay_t< Sequence >::value_type > | QtConcurrent::filtered (Sequence &&sequence, KeepFunctor &&keep) |
Calls filterFunction once for each item in sequence and returns a new Sequence of kept items. | |
template<typename Iterator , typename KeepFunctor > | |
QFuture< typename qValueType< Iterator >::value_type > | QtConcurrent::filtered (QThreadPool *pool, Iterator begin, Iterator end, KeepFunctor &&keep) |
Calls filterFunction once for each item from begin to end and returns a new Sequence of kept items. | |
template<typename Iterator , typename KeepFunctor > | |
QFuture< typename qValueType< Iterator >::value_type > | QtConcurrent::filtered (Iterator begin, Iterator end, KeepFunctor &&keep) |
Calls filterFunction once for each item from begin to end and returns a new Sequence of kept items. | |
template<typename Sequence , typename KeepFunctor > | |
void | QtConcurrent::blockingFilter (QThreadPool *pool, Sequence &sequence, KeepFunctor &&keep) |
Calls filterFunction once for each item in sequence. | |
template<typename Sequence , typename KeepFunctor > | |
void | QtConcurrent::blockingFilter (Sequence &sequence, KeepFunctor &&keep) |
Calls filterFunction once for each item in sequence. | |
template<typename ResultType , typename Sequence , typename KeepFunctor , typename ReduceFunctor > | |
ResultType | QtConcurrent::blockingFilteredReduced (QThreadPool *pool, Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Sequence , typename KeepFunctor , typename ReduceFunctor > | |
ResultType | QtConcurrent::blockingFilteredReduced (Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Sequence , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
ResultType | QtConcurrent::blockingFilteredReduced (QThreadPool *pool, Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Sequence , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
ResultType | QtConcurrent::blockingFilteredReduced (Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Sequence , typename KeepFunctor , typename ReduceFunctor , std::enable_if_t< QtPrivate::isInvocable< KeepFunctor, Sequence >::value, int > = 0, typename ResultType = typename QtPrivate::ReduceResultTypeHelper<ReduceFunctor>::type> | |
ResultType | QtConcurrent::blockingFilteredReduced (QThreadPool *pool, Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Sequence , typename KeepFunctor , typename ReduceFunctor , std::enable_if_t< QtPrivate::isInvocable< KeepFunctor, Sequence >::value, int > = 0, typename ResultType = typename QtPrivate::ReduceResultTypeHelper<ReduceFunctor>::type> | |
ResultType | QtConcurrent::blockingFilteredReduced (Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Sequence , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInvocable< KeepFunctor, Sequence >::value, int > = 0, typename ResultType = typename QtPrivate::ReduceResultTypeHelper<ReduceFunctor>::type, std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
ResultType | QtConcurrent::blockingFilteredReduced (QThreadPool *pool, Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Sequence , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInvocable< KeepFunctor, Sequence >::value, int > = 0, typename ResultType = typename QtPrivate::ReduceResultTypeHelper<ReduceFunctor>::type, std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
ResultType | QtConcurrent::blockingFilteredReduced (Sequence &&sequence, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Iterator , typename KeepFunctor , typename ReduceFunctor > | |
ResultType | QtConcurrent::blockingFilteredReduced (QThreadPool *pool, Iterator begin, Iterator end, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Iterator , typename KeepFunctor , typename ReduceFunctor > | |
ResultType | QtConcurrent::blockingFilteredReduced (Iterator begin, Iterator end, KeepFunctor &&keep, ReduceFunctor &&reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Iterator , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
ResultType | QtConcurrent::blockingFilteredReduced (QThreadPool *pool, Iterator begin, Iterator end, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename ResultType , typename Iterator , typename KeepFunctor , typename ReduceFunctor , typename InitialValueType , std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
ResultType | QtConcurrent::blockingFilteredReduced (Iterator begin, Iterator end, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Iterator , typename KeepFunctor , typename ReduceFunctor , std::enable_if_t< QtPrivate::isIterator_v< Iterator >, int > = 0, typename ResultType = typename QtPrivate::ReduceResultTypeHelper<ReduceFunctor>::type, typename InitialValueType , std::enable_if_t< QtPrivate::isInitialValueCompatible_v< InitialValueType, ResultType >, int > = 0> | |
ResultType | QtConcurrent::blockingFilteredReduced (Iterator begin, Iterator end, KeepFunctor &&keep, ReduceFunctor &&reduce, InitialValueType &&initialValue, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
template<typename Sequence , typename KeepFunctor > | |
std::decay_t< Sequence > | QtConcurrent::blockingFiltered (QThreadPool *pool, Sequence &&sequence, KeepFunctor &&keep) |
Calls filterFunction once for each item in sequence and returns a new Sequence of kept items. | |
template<typename Sequence , typename KeepFunctor > | |
std::decay_t< Sequence > | QtConcurrent::blockingFiltered (Sequence &&sequence, KeepFunctor &&keep) |
Calls filterFunction once for each item in sequence and returns a new Sequence of kept items. | |
template<typename OutputSequence , typename Iterator , typename KeepFunctor > | |
OutputSequence | QtConcurrent::blockingFiltered (QThreadPool *pool, Iterator begin, Iterator end, KeepFunctor &&keep) |
Calls filterFunction once for each item from begin to end and returns a new Sequence of kept items. | |
template<typename OutputSequence , typename Iterator , typename KeepFunctor > | |
OutputSequence | QtConcurrent::blockingFiltered (Iterator begin, Iterator end, KeepFunctor &&keep) |
Calls filterFunction once for each item from begin to end and returns a new Sequence of kept items. | |