#include
<QtCore/qglobal.h>#include <QtCore/qtconcurrentmapkernel.h>#include
<QtCore/qtconcurrentreducekernel.h>#include
<QtCore/qtconcurrentfunctionwrappers.h>#include <QtCore/qstringlist.h>Go to the source code of this file.
Namespaces |
|
| namespace | QtConcurrent |
Functions |
|
| template<typename Sequence , typename MapFunctor > | |
| QFuture< void > | map (Sequence &sequence, MapFunctor map) |
| template<typename Sequence , typename T , typename U > | |
| QFuture< void > | map (Sequence &sequence, T(map)(U)) |
| template<typename Sequence , typename T , typename C > | |
| QFuture< void > | map (Sequence &sequence, T(C::*map)()) |
| template<typename Iterator , typename MapFunctor > | |
| QFuture< void > | map (Iterator begin, Iterator end, MapFunctor map) |
| template<typename Iterator , typename T , typename U > | |
| QFuture< void > | map (Iterator begin, Iterator end, T(map)(U)) |
| template<typename Iterator , typename T , typename C > | |
| QFuture< void > | map (Iterator begin, Iterator end, T(C::*map)()) |
| template<typename ResultType , typename Sequence , typename MapFunctor , typename ReduceFunctor > | |
| QFuture< ResultType > | mappedReduced (const Sequence &sequence, MapFunctor map, ReduceFunctor reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Sequence , typename MapFunctor , typename T , typename U , typename V > | |
| QFuture< U > | mappedReduced (const Sequence &sequence, MapFunctor map, T(reduce)(U &, V), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Sequence , typename MapFunctor , typename T , typename C , typename U > | |
| QFuture< C > | mappedReduced (const Sequence &sequence, MapFunctor map, T(C::*reduce)(U), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename ResultType , typename Sequence , typename T , typename U , typename ReduceFunctor > | |
| QFuture< ResultType > | mappedReduced (const Sequence &sequence, T(map)(U), ReduceFunctor reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename ResultType , typename Sequence , typename T , typename C , typename ReduceFunctor > | |
| QFuture< ResultType > | mappedReduced (const Sequence &sequence, T(C::*map)() const, ReduceFunctor reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Sequence , typename T , typename U , typename V , typename W , typename X > | |
| QFuture< W > | mappedReduced (const Sequence &sequence, T(map)(U), V(reduce)(W &, X), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Sequence , typename T , typename C , typename U , typename V , typename W > | |
| QFuture< V > | mappedReduced (const Sequence &sequence, T(C::*map)() const, U(reduce)(V &, W), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Sequence , typename T , typename U , typename V , typename C , typename W > | |
| QFuture< C > | mappedReduced (const Sequence &sequence, T(map)(U), V(C::*reduce)(W), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Sequence , typename T , typename C , typename U , typename D , typename V > | |
| QFuture< D > | mappedReduced (const Sequence &sequence, T(C::*map)() const, U(D::*reduce)(V), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename ResultType , typename Iterator , typename MapFunctor , typename ReduceFunctor > | |
| QFuture< ResultType > | mappedReduced (Iterator begin, Iterator end, MapFunctor map, ReduceFunctor reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Iterator , typename MapFunctor , typename T , typename U , typename V > | |
| QFuture< U > | mappedReduced (Iterator begin, Iterator end, MapFunctor map, T(reduce)(U &, V), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Iterator , typename MapFunctor , typename T , typename C , typename U > | |
| QFuture< C > | mappedReduced (Iterator begin, Iterator end, MapFunctor map, T(C::*reduce)(U), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename ResultType , typename Iterator , typename T , typename U , typename ReduceFunctor > | |
| QFuture< ResultType > | mappedReduced (Iterator begin, Iterator end, T(map)(U), ReduceFunctor reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename ResultType , typename Iterator , typename T , typename C , typename ReduceFunctor > | |
| QFuture< ResultType > | mappedReduced (Iterator begin, Iterator end, T(C::*map)() const, ReduceFunctor reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Iterator , typename T , typename U , typename V , typename W , typename X > | |
| QFuture< W > | mappedReduced (Iterator begin, Iterator end, T(map)(U), V(reduce)(W &, X), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Iterator , typename T , typename C , typename U , typename V , typename W > | |
| QFuture< V > | mappedReduced (Iterator begin, Iterator end, T(C::*map)() const, U(reduce)(V &, W), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Iterator , typename T , typename U , typename V , typename C , typename W > | |
| QFuture< C > | mappedReduced (Iterator begin, Iterator end, T(map)(U), V(C::*reduce)(W), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Iterator , typename T , typename C , typename U , typename D , typename V > | |
| QFuture< D > | mappedReduced (Iterator begin, Iterator end, T(C::*map)() const, U(D::*reduce)(V), ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Sequence , typename MapFunctor > | |
| QFuture< typename MapFunctor::result_type > |
mapped (const Sequence &sequence, MapFunctor map) |
| template<typename Sequence , typename T , typename U > | |
| QFuture< T > | mapped (const Sequence &sequence, T(map)(U)) |
| template<typename Sequence , typename T , typename C > | |
| QFuture< T > | mapped (const Sequence &sequence, T(C::*map)() const) |
| template<typename Iterator , typename MapFunctor > | |
| QFuture< typename MapFunctor::result_type > |
mapped (Iterator begin, Iterator end, MapFunctor map) |
| template<typename Iterator , typename T , typename U > | |
| QFuture< T > | mapped (Iterator begin, Iterator end, T(map)(U)) |
| template<typename Iterator , typename T , typename C > | |
| QFuture< T > | mapped (Iterator begin, Iterator end, T(C::*map)() const) |
| template<typename Sequence , typename MapFunctor > | |
| void | blockingMap (Sequence &sequence, MapFunctor map) |
| template<typename Sequence , typename T , typename U > | |
| void | blockingMap (Sequence &sequence, T(map)(U)) |
| template<typename Sequence , typename T , typename C > | |
| void | blockingMap (Sequence &sequence, T(C::*map)()) |
| template<typename Iterator , typename MapFunctor > | |
| void | blockingMap (Iterator begin, Iterator end, MapFunctor map) |
| template<typename Iterator , typename T , typename U > | |
| void | blockingMap (Iterator begin, Iterator end, T(map)(U)) |
| template<typename Iterator , typename T , typename C > | |
| void | blockingMap (Iterator begin, Iterator end, T(C::*map)()) |
| template<typename ResultType , typename Sequence , typename MapFunctor , typename ReduceFunctor > | |
| ResultType | blockingMappedReduced (const Sequence &sequence, MapFunctor map, ReduceFunctor reduce, ReduceOptions options=ReduceOptions(UnorderedReduce|SequentialReduce)) |
| template<typename Sequence , typename MapFunctor , typename T , typename U , typename V > | |
| U | blockingMappedReduced (const Sequence &sequence, MapFunctor map, T(reduce)(U &, V), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Sequence , typename MapFunctor , typename T , typename C , typename U > | |
| C | blockingMappedReduced (const Sequence &sequence, MapFunctor map, T(C::*reduce)(U), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename ResultType , typename Sequence , typename T , typename U , typename ReduceFunctor > | |
| ResultType | blockingMappedReduced (const Sequence &sequence, T(map)(U), ReduceFunctor reduce, QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename ResultType , typename Sequence , typename T , typename C , typename ReduceFunctor > | |
| ResultType | blockingMappedReduced (const Sequence &sequence, T(C::*map)() const, ReduceFunctor reduce, QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Sequence , typename T , typename U , typename V , typename W , typename X > | |
| W | blockingMappedReduced (const Sequence &sequence, T(map)(U), V(reduce)(W &, X), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Sequence , typename T , typename C , typename U , typename V , typename W > | |
| V | blockingMappedReduced (const Sequence &sequence, T(C::*map)() const, U(reduce)(V &, W), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Sequence , typename T , typename U , typename V , typename C , typename W > | |
| C | blockingMappedReduced (const Sequence &sequence, T(map)(U), V(C::*reduce)(W), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Sequence , typename T , typename C , typename U , typename D , typename V > | |
| D | blockingMappedReduced (const Sequence &sequence, T(C::*map)() const, U(D::*reduce)(V), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename ResultType , typename Iterator , typename MapFunctor , typename ReduceFunctor > | |
| ResultType | blockingMappedReduced (Iterator begin, Iterator end, MapFunctor map, ReduceFunctor reduce, QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Iterator , typename MapFunctor , typename T , typename U , typename V > | |
| U | blockingMappedReduced (Iterator begin, Iterator end, MapFunctor map, T(reduce)(U &, V), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Iterator , typename MapFunctor , typename T , typename C , typename U > | |
| C | blockingMappedReduced (Iterator begin, Iterator end, MapFunctor map, T(C::*reduce)(U), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename ResultType , typename Iterator , typename T , typename U , typename ReduceFunctor > | |
| ResultType | blockingMappedReduced (Iterator begin, Iterator end, T(map)(U), ReduceFunctor reduce, QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename ResultType , typename Iterator , typename T , typename C , typename ReduceFunctor > | |
| ResultType | blockingMappedReduced (Iterator begin, Iterator end, T(C::*map)() const, ReduceFunctor reduce, QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Iterator , typename T , typename U , typename V , typename W , typename X > | |
| W | blockingMappedReduced (Iterator begin, Iterator end, T(map)(U), V(reduce)(W &, X), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Iterator , typename T , typename C , typename U , typename V , typename W > | |
| V | blockingMappedReduced (Iterator begin, Iterator end, T(C::*map)() const, U(reduce)(V &, W), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Iterator , typename T , typename U , typename V , typename C , typename W > | |
| C | blockingMappedReduced (Iterator begin, Iterator end, T(map)(U), V(C::*reduce)(W), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename Iterator , typename T , typename C , typename U , typename D , typename V > | |
| D | blockingMappedReduced (Iterator begin, Iterator end, T(C::*map)() const, U(D::*reduce)(V), QtConcurrent::ReduceOptions options=QtConcurrent::ReduceOptions(QtConcurrent::UnorderedReduce|QtConcurrent::SequentialReduce)) |
| template<typename OutputSequence , typename InputSequence , typename MapFunctor > | |
| OutputSequence | blockingMapped (const InputSequence &sequence, MapFunctor map) |
| template<typename OutputSequence , typename InputSequence , typename T , typename U > | |
| OutputSequence | blockingMapped (const InputSequence &sequence, T(map)(U)) |
| template<typename OutputSequence , typename InputSequence , typename T , typename C > | |
| OutputSequence | blockingMapped (const InputSequence &sequence, T(C::*map)() const) |
| template<template< typename > class Sequence, typename MapFunctor , typename T > | |
|
Sequence< typename MapFunctor::result_type > |
blockingMapped (const Sequence< T > &sequence, MapFunctor map) |
| template<template< typename > class Sequence, typename T , typename U , typename V > | |
| Sequence< U > | blockingMapped (const Sequence< T > &sequence, U(map)(V)) |
| template<template< typename > class Sequence, typename T , typename U , typename C > | |
| Sequence< U > | blockingMapped (const Sequence< T > &sequence, U(C::*map)() const) |
| template<typename MapFunctor > | |
| QList< typename MapFunctor::result_type > |
blockingMapped (const QStringList &sequence, MapFunctor map) |
| template<typename U , typename V > | |
| QList< U > | blockingMapped (const QStringList &sequence, U(map)(V)) |
| template<typename U , typename C > | |
| QList< U > | blockingMapped (const QStringList &sequence, U(C::*map)() const) |
| template<typename Sequence , typename Iterator , typename MapFunctor > | |
| Sequence | blockingMapped (Iterator begin, Iterator end, MapFunctor map) |
| template<typename Sequence , typename Iterator , typename T , typename U > | |
| Sequence | blockingMapped (Iterator begin, Iterator end, T(map)(U)) |
| template<typename Sequence , typename Iterator , typename T , typename C > | |
| Sequence | blockingMapped (Iterator begin, Iterator end, T(C::*map)() const) |