![]() |
Qt 6.x
The Qt SDK
|
#include <qfutureinterface.h>
Inheritance diagram for QFutureInterface< T >:
Collaboration diagram for QFutureInterface< T >:Static Public Member Functions | |
| static QFutureInterface | canceledResult () |
Static Public Member Functions inherited from QFutureInterfaceBase | |
| template<typename T > | |
| static QFutureInterfaceBase | get (const QFuture< T > &future) |
Additional Inherited Members | |
Public Types inherited from QFutureInterfaceBase | |
| enum | State { NoState = 0x00 , Running = 0x01 , Started = 0x02 , Finished = 0x04 , Canceled = 0x08 , Suspending = 0x10 , Suspended = 0x20 , Throttled = 0x40 , Pending = 0x80 } |
Protected Types inherited from QFutureInterfaceBase | |
| enum class | CancelMode { CancelOnly , CancelAndFinish } |
Protected Member Functions inherited from QFutureInterfaceBase | |
| 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 208 of file qfutureinterface.h.
|
inline |
Definition at line 211 of file qfutureinterface.h.
References QFutureInterfaceBase::refT().
Here is the call graph for this function:
|
inline |
Definition at line 216 of file qfutureinterface.h.
References QFutureInterfaceBase::refT().
Here is the call graph for this function:
|
inline |
Definition at line 221 of file qfutureinterface.h.
References QFutureInterfaceBase::refT().
Here is the call graph for this function:
|
inlinenoexcept |
Definition at line 222 of file qfutureinterface.h.
References QFutureInterfaceBase::refT().
Here is the call graph for this function:
|
default |
|
inline |
Definition at line 232 of file qfutureinterface.h.
References QFutureInterfaceBase::derefT(), QFutureInterfaceBase::hasException(), and QFutureInterfaceBase::resultStoreBase().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 238 of file qfutureinterface.h.
References QFutureInterfaceBase::Canceled, QFutureInterfaceBase::Finished, and QFutureInterfaceBase::Started.
|
inline |
Definition at line 320 of file qfuture.h.
Referenced by QtFuture::connect(), QtPrivate::Continuation< Function, ResultType, ParentResultType >::create(), QtPrivate::Continuation< Function, ResultType, ParentResultType >::create(), QtPrivate::FailureHandler< Function, ResultType >::create(), QtPrivate::CanceledHandler< Function, ResultType >::create(), QtFuture::makeExceptionalFuture(), QtPrivate::makeReadyRangeFutureImpl(), QtFuture::makeReadyValueFuture(), QtFuture::makeReadyVoidFuture(), QFuture< T >::onCanceled(), QFuture< T >::onCanceled(), QFuture< T >::onFailed(), QFuture< T >::onFailed(), QFuture< T >::then(), QFuture< T >::then(), QFuture< T >::then(), and QtPrivate::UnwrapHandler::unwrapImpl().
Here is the caller graph for this function:
|
inline |
Definition at line 223 of file qfutureinterface.h.
References copy(), other(), and QFutureInterfaceBase::swap().
Here is the call graph for this function:
|
inline |
Definition at line 311 of file qfutureinterface.h.
References args, QtPrivate::ResultStoreBase::count(), QtPrivate::ResultStoreBase::emplaceResult(), QtPrivate::ResultStoreBase::filterMode(), mutex, and Q_ASSERT.
Here is the call graph for this function:
|
inline |
Definition at line 329 of file qfutureinterface.h.
Referenced by QtConcurrent::StoredFunctionCall< Function, Args >::runFunctor().
Here is the caller graph for this function:
|
inline |
Definition at line 276 of file qfutureinterface.h.
|
inline |
Definition at line 268 of file qfutureinterface.h.
References e, QFutureInterfaceBase::hasException(), QFutureInterfaceBase::reportException(), and QFutureInterfaceBase::resultStoreBase().
Referenced by QtFuture::makeExceptionalFuture(), and QtPrivate::UnwrapHandler::unwrapImpl().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 251 of file qfutureinterface.h.
References QFutureInterfaceBase::reportFinished(), and QFutureInterfaceBase::runContinuation().
Here is the call graph for this function:
|
inline |
Definition at line 369 of file qfutureinterface.h.
Referenced by QtFuture::connect(), QtFuture::makeExceptionalFuture(), QtPrivate::makeReadyRangeFutureImpl(), QtFuture::makeReadyValueFuture(), QtFuture::makeReadyVoidFuture(), and QtPrivate::UnwrapHandler::unwrapImpl().
Here is the caller graph for this function:
|
inline |
Definition at line 341 of file qfutureinterface.h.
|
inline |
Definition at line 288 of file qfutureinterface.h.
References QtPrivate::ResultStoreBase::addResult(), QtPrivate::ResultStoreBase::count(), QtPrivate::ResultStoreBase::filterMode(), mutex, and Q_ASSERT.
Referenced by QtFuture::connect(), QtFuture::makeReadyValueFuture(), and QtConcurrent::StoredFunctionCall< Function, Args >::runFunctor().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 335 of file qfutureinterface.h.
|
inline |
Definition at line 347 of file qfutureinterface.h.
References mutex, Q_ASSERT, and QList< T >::size().
Referenced by QtPrivate::makeReadyRangeFutureImpl().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 388 of file qfutureinterface.h.
|
inline |
Definition at line 379 of file qfutureinterface.h.
|
inline |
Definition at line 397 of file qfutureinterface.h.
References QSet< T >::begin(), it, mutex, and QFutureInterfaceBase::waitForResult().
Here is the call graph for this function:| T QFutureInterface< T >::takeResult |
Definition at line 419 of file qfutureinterface.h.
References mutex, position(), Q_ASSERT, and ret.
Here is the call graph for this function: