Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qfuture_impl.h>
Static Public Member Functions | |
template<class F = Function> | |
static void | create (F &&handler, QFuture< ResultType > *future, QFutureInterface< ResultType > &fi) |
template<class F = Function> | |
static void | create (F &&handler, QFuture< ResultType > *future, QFutureInterface< ResultType > &fi, QObject *context) |
template<class F = Function> | |
static void | run (F &&handler, QFuture< ResultType > &parentFuture, QPromise< ResultType > &&promise) |
Definition at line 780 of file qfuture_impl.h.
|
inlinestatic |
Definition at line 784 of file qfuture_impl.h.
References future, Q_ASSERT, and QtPrivate::CanceledHandler< Function, ResultType >::run().
|
inlinestatic |
Definition at line 797 of file qfuture_impl.h.
References context, future, Q_ASSERT, QtPrivate::CanceledHandler< Function, ResultType >::run(), and QtPrivate::watchContinuation().
|
inlinestatic |
Definition at line 811 of file qfuture_impl.h.
References QtPrivate::fulfillPromise().
Referenced by QtPrivate::CanceledHandler< Function, ResultType >::create(), and QtPrivate::CanceledHandler< Function, ResultType >::create().