![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qfuture.h>
Classes | |
class | const_iterator |
Public Types | |
template<class Function> | |
using | ResultType = typename QtPrivate::ResultTypeHelper<Function, T>::ResultType |
typedef const_iterator | ConstIterator |
Public Member Functions | |
QFuture () | |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> | |
QFuture (QFutureInterface< T > *p) | |
template<typename U = T, typename = QtPrivate::EnableForVoid<U>> | |
QFuture (QFutureInterfaceBase *p) | |
template<typename U, typename V = T, typename = QtPrivate::EnableForVoid<V>> | |
QFuture (const QFuture< U > &other) | |
template<typename U, typename V = T, typename = QtPrivate::EnableForVoid<V>> | |
QFuture< void > & | operator= (const QFuture< U > &other) |
void | cancel () |
bool | isCanceled () const |
void | cancelChain () |
bool | isSuspending () const |
bool | isSuspended () const |
void | setSuspended (bool suspend) |
void | suspend () |
void | resume () |
void | toggleSuspended () |
bool | isStarted () const |
bool | isFinished () const |
bool | isRunning () const |
int | resultCount () const |
int | progressValue () const |
int | progressMinimum () const |
int | progressMaximum () const |
QString | progressText () const |
void | waitForFinished () |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> | |
T | result () const |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> | |
T | resultAt (int index) const |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> | |
bool | isResultReadyAt (int resultIndex) const |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> | |
QList< T > | results () const |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> | |
T | takeResult () |
bool | isValid () const |
template<class Function> | |
QFuture< ResultType< Function > > | then (Function &&function) |
template<class Function> | |
QFuture< ResultType< Function > > | then (QtFuture::Launch policy, Function &&function) |
template<class Function> | |
QFuture< ResultType< Function > > | then (QThreadPool *pool, Function &&function) |
template<class Function> | |
QFuture< ResultType< Function > > | then (QObject *context, Function &&function) |
template<class Function, typename = std::enable_if_t<!QtPrivate::ArgResolver<Function>::HasExtraArgs>> | |
QFuture< T > | onFailed (Function &&handler) |
template<class Function, typename = std::enable_if_t<!QtPrivate::ArgResolver<Function>::HasExtraArgs>> | |
QFuture< T > | onFailed (QObject *context, Function &&handler) |
template<class Function, typename = std::enable_if_t<std::is_invocable_r_v<T, Function>>> | |
QFuture< T > | onCanceled (Function &&handler) |
template<class Function, typename = std::enable_if_t<std::is_invocable_r_v<T, Function>>> | |
QFuture< T > | onCanceled (QObject *context, Function &&handler) |
template<class U = T, typename = std::enable_if_t<QtPrivate::isQFutureV<U>>> | |
auto | unwrap () |
template<class U = T, typename = QtPrivate::EnableForNonVoid<U>> | |
const_iterator | begin () const |
template<class U = T, typename = QtPrivate::EnableForNonVoid<U>> | |
const_iterator | constBegin () const |
template<class U = T, typename = QtPrivate::EnableForNonVoid<U>> | |
const_iterator | end () const |
template<class U = T, typename = QtPrivate::EnableForNonVoid<U>> | |
const_iterator | constEnd () const |
template<class Function> | |
QFuture< typename QFuture< T >::template ResultType< Function > > | then (Function &&function) |
template<class Function> | |
QFuture< typename QFuture< T >::template ResultType< Function > > | then (QtFuture::Launch policy, Function &&function) |
template<class Function> | |
QFuture< typename QFuture< T >::template ResultType< Function > > | then (QThreadPool *pool, Function &&function) |
template<class Function> | |
QFuture< typename QFuture< T >::template ResultType< Function > > | then (QObject *context, Function &&function) |
Friends | |
class | const_iterator |
class | QFutureWatcher< T > |
template<class U> | |
class | QFuture |
class | QFutureInterfaceBase |
template<class Function, class ResultType, class ParentResultType> | |
class | QtPrivate::CompactContinuation |
template<class Function, class ResultType> | |
class | QtPrivate::CanceledHandler |
template<class Function, class ResultType> | |
class | QtPrivate::FailureHandler |
template<typename ResultType> | |
struct | QtPrivate::WhenAnyContext |
struct | QtPrivate::UnwrapHandler |
typedef const_iterator QFuture< T >::ConstIterator |
using QFuture< T >::ResultType = typename QtPrivate::ResultTypeHelper<Function, T>::ResultType |
|
inlineexplicit |
Definition at line 36 of file qfuture.h.
References const_iterator.
|
inlineexplicit |
Definition at line 41 of file qfuture.h.
References const_iterator.
|
inlineexplicit |
Definition at line 47 of file qfuture.h.
References const_iterator.
|
inline |
Definition at line 64 of file qfuture.h.
References const_iterator.
Definition at line 66 of file qfuture.h.
References const_iterator.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 65 of file qfuture.h.
References const_iterator.
|
inline |
Definition at line 95 of file qfuture.h.
References const_iterator.
|
inline |
|
inline |
Definition at line 96 of file qfuture.h.
References const_iterator.
|
inline |
Definition at line 94 of file qfuture.h.
References const_iterator.
|
inline |
Definition at line 88 of file qfuture.h.
References const_iterator.
|
inline |
Definition at line 87 of file qfuture.h.
References const_iterator.
|
inline |
|
inline |
Definition at line 52 of file qfuture.h.
References const_iterator.
|
inline |
Definition at line 101 of file qfuture.h.
References const_iterator.
|
inline |
Definition at line 100 of file qfuture.h.
References const_iterator.
Definition at line 102 of file qfuture.h.
References const_iterator.
|
inline |
Definition at line 99 of file qfuture.h.
References const_iterator.
|
inline |
|
inline |
Definition at line 98 of file qfuture.h.
References const_iterator.
Definition at line 91 of file qfuture.h.
References const_iterator.
Definition at line 89 of file qfuture.h.
References const_iterator.
Definition at line 90 of file qfuture.h.
References const_iterator.
|
inline |
QFuture< ResultType< Function > > QFuture< T >::then | ( | Function && | function | ) |
QFuture< ResultType< Function > > QFuture< T >::then | ( | QObject * | context, |
Function && | function ) |
QFuture< ResultType< Function > > QFuture< T >::then | ( | QtFuture::Launch | policy, |
Function && | function ) |
QFuture< typename QFuture< T >::template ResultType< Function > > QFuture< T >::then | ( | QtFuture::Launch | policy, |
Function && | function ) |
QFuture< ResultType< Function > > QFuture< T >::then | ( | QThreadPool * | pool, |
Function && | function ) |
QFuture< typename QFuture< T >::template ResultType< Function > > QFuture< T >::then | ( | QThreadPool * | pool, |
Function && | function ) |
Definition at line 92 of file qfuture.h.
References const_iterator.
Definition at line 103 of file qfuture.h.
References const_iterator.
|
friend |
Definition at line 260 of file qfuture.h.
Referenced by QFuture(), QFuture(), QFuture(), cancel(), cancelChain(), isCanceled(), isFinished(), isRunning(), isStarted(), isSuspended(), isSuspending(), operator=(), progressMaximum(), progressMinimum(), progressText(), progressValue(), resultCount(), resume(), setSuspended(), suspend(), toggleSuspended(), and waitForFinished().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |