![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qtconcurrentstoredfunctioncall.h>
Public Types | |
using | Resolver = FunctionResolver<Function, PromiseType, Args...> |
using | DataType = typename Resolver::Type |
Public Types inherited from QRunnable | |
template<typename Callable> | |
using | if_callable = std::enable_if_t<std::is_invocable_r_v<void, Callable>, bool> |
Public Member Functions | |
StoredFunctionCallWithPromise (Function &&f, Args &&...args) | |
StoredFunctionCallWithPromise (DecayedTuple< Function, Args... > &&_data) | |
Public Member Functions inherited from QtConcurrent::RunFunctionTaskBase< PromiseType > | |
QFuture< PromiseType > | start () |
void | run () override |
Implement this pure virtual function in your subclass. | |
Public Member Functions inherited from QRunnable | |
constexpr | QRunnable () noexcept=default |
Constructs a QRunnable. | |
virtual | ~QRunnable () |
QRunnable virtual destructor. | |
bool | autoDelete () const |
Returns true is auto-deletion is enabled; false otherwise. | |
void | setAutoDelete (bool autoDelete) |
Enables auto-deletion if autoDelete is true; otherwise auto-deletion is disabled. |
Protected Member Functions | |
void | runFunctor () override |
Additional Inherited Members | |
Static Public Member Functions inherited from QRunnable | |
template<typename Callable, if_callable< Callable > = true> | |
static QRunnable * | create (Callable &&functionToRun) |
static QRunnable * | create (std::nullptr_t)=delete |
Protected Attributes inherited from QtConcurrent::RunFunctionTaskBase< PromiseType > | |
QFutureInterface< PromiseType > | promise |
Definition at line 138 of file qtconcurrentstoredfunctioncall.h.
using QtConcurrent::StoredFunctionCallWithPromise< Function, PromiseType, Args >::DataType = typename Resolver::Type |
Definition at line 141 of file qtconcurrentstoredfunctioncall.h.
using QtConcurrent::StoredFunctionCallWithPromise< Function, PromiseType, Args >::Resolver = FunctionResolver<Function, PromiseType, Args...> |
Definition at line 140 of file qtconcurrentstoredfunctioncall.h.
|
inline |
Definition at line 142 of file qtconcurrentstoredfunctioncall.h.
References StoredFunctionCallWithPromise().
Referenced by StoredFunctionCallWithPromise().
|
inline |
Definition at line 148 of file qtconcurrentstoredfunctioncall.h.
|
inlineoverrideprotectedvirtual |
Implements QtConcurrent::RunFunctionTaskBase< PromiseType >.
Definition at line 154 of file qtconcurrentstoredfunctioncall.h.