![]() |
Qt 6.x
The Qt SDK
|
#include <qfuture_impl.h>
Public Member Functions | |
template<typename F = Function> | |
SyncContinuation (F &&func, const QFuture< ParentResultType > &f, QPromise< ResultType > &&p) | |
~SyncContinuation () override=default | |
![]() | |
template<typename F = Function> | |
Continuation (F &&func, const QFuture< ParentResultType > &f, QPromise< ResultType > &&p) | |
virtual | ~Continuation ()=default |
bool | execute () |
Private Member Functions | |
void | runImpl () override |
Additional Inherited Members | |
![]() | |
template<typename F = Function> | |
static void | create (F &&func, QFuture< ParentResultType > *f, QFutureInterface< ResultType > &fi, QtFuture::Launch policy) |
template<typename F = Function> | |
static void | create (F &&func, QFuture< ParentResultType > *f, QFutureInterface< ResultType > &fi, QThreadPool *pool) |
template<typename F = Function> | |
static void | create (F &&func, QFuture< ParentResultType > *f, QFutureInterface< ResultType > &fi, QObject *context) |
![]() | |
virtual void | runImpl ()=0 |
void | runFunction () |
![]() | |
QPromise< ResultType > | promise |
QFuture< ParentResultType > | parentFuture |
Function | function |
Definition at line 334 of file qfuture_impl.h.
|
inline |
Definition at line 338 of file qfuture_impl.h.
|
overridedefault |
|
inlineoverrideprivatevirtual |
Implements QtPrivate::Continuation< Function, ResultType, ParentResultType >.
Definition at line 347 of file qfuture_impl.h.
References QtPrivate::Continuation< Function, ResultType, ParentResultType >::runFunction().