![]() |
Qt 6.x
The Qt SDK
|
#include <qfutureinterface.h>
Static Public Member Functions | |
static QFutureInterface< void > | canceledResult () |
![]() | |
template<typename T > | |
static QFutureInterfaceBase | get (const QFuture< T > &future) |
Additional Inherited Members | |
![]() | |
enum | State { NoState = 0x00 , Running = 0x01 , Started = 0x02 , Finished = 0x04 , Canceled = 0x08 , Suspending = 0x10 , Suspended = 0x20 , Throttled = 0x40 , Pending = 0x80 } |
![]() | |
enum class | CancelMode { CancelOnly , CancelAndFinish } |
![]() | |
bool | refT () const noexcept |
bool | derefT () const noexcept |
void | reset () |
void | rethrowPossibleException () |
void | setContinuation (std::function< void(const QFutureInterfaceBase &)> func) |
void | setContinuation (std::function< void(const QFutureInterfaceBase &)> func, QFutureInterfaceBasePrivate *continuationFutureData) |
void | cleanContinuation () |
void | runContinuation () const |
void | setLaunchAsync (bool value) |
bool | launchAsync () const |
bool | isRunningOrPending () const |
void | cancel (CancelMode mode) |
Definition at line 465 of file qfutureinterface.h.
|
inlineexplicit |
Definition at line 276 of file qfutureinterface.h.
References e, QFutureInterfaceBase::hasException(), QFutureInterfaceBase::reportException(), and QFutureInterfaceBase::resultStoreBase().
|
inline |
Definition at line 472 of file qfutureinterface.h.
|
inlinestatic |
Definition at line 474 of file qfutureinterface.h.
|
inline |
|
inline |
Definition at line 487 of file qfutureinterface.h.
References QFutureInterfaceBase::reportFinished(), and QFutureInterfaceBase::runContinuation().
|
inline |
Definition at line 482 of file qfutureinterface.h.
|
inline |
Definition at line 480 of file qfutureinterface.h.
|
inline |
Definition at line 481 of file qfutureinterface.h.