#include <qfutureinterface.h>
Definition at line 51 of file qfutureinterface.h.
◆ CancelMode
◆ ContinuationType
◆ State
Enumerator |
---|
NoState | |
Running | |
Started | |
Finished | |
Canceled | |
Suspending | |
Suspended | |
Throttled | |
Pending | |
Definition at line 54 of file qfutureinterface.h.
◆ QFutureInterfaceBase() [1/3]
QFutureInterfaceBase::QFutureInterfaceBase |
( |
State | initialState = NoState | ) |
|
◆ QFutureInterfaceBase() [2/3]
◆ QFutureInterfaceBase() [3/3]
◆ ~QFutureInterfaceBase()
QFutureInterfaceBase::~QFutureInterfaceBase |
( |
| ) |
|
|
virtual |
◆ cancel() [1/2]
void QFutureInterfaceBase::cancel |
( |
| ) |
|
◆ cancel() [2/2]
◆ cancelAndFinish()
void QFutureInterfaceBase::cancelAndFinish |
( |
| ) |
|
|
inline |
◆ cancelChain() [1/2]
void QFutureInterfaceBase::cancelChain |
( |
| ) |
|
◆ cancelChain() [2/2]
◆ cleanContinuation()
void QFutureInterfaceBase::cleanContinuation |
( |
| ) |
|
|
protected |
◆ derefT()
bool QFutureInterfaceBase::derefT |
( |
| ) |
const |
|
protectednoexcept |
◆ exceptionStore()
◆ expectedResultCount()
int QFutureInterfaceBase::expectedResultCount |
( |
| ) |
|
◆ get()
◆ hasException()
bool QFutureInterfaceBase::hasException |
( |
| ) |
const |
◆ isCanceled()
bool QFutureInterfaceBase::isCanceled |
( |
| ) |
const |
◆ isChainCanceled()
bool QFutureInterfaceBase::isChainCanceled |
( |
| ) |
const |
◆ isFinished()
bool QFutureInterfaceBase::isFinished |
( |
| ) |
const |
◆ isProgressUpdateNeeded()
bool QFutureInterfaceBase::isProgressUpdateNeeded |
( |
| ) |
const |
◆ isResultReadyAt()
bool QFutureInterfaceBase::isResultReadyAt |
( |
int | index | ) |
const |
◆ isRunning()
bool QFutureInterfaceBase::isRunning |
( |
| ) |
const |
◆ isRunningOrPending()
bool QFutureInterfaceBase::isRunningOrPending |
( |
| ) |
const |
|
protected |
◆ isStarted()
bool QFutureInterfaceBase::isStarted |
( |
| ) |
const |
◆ isSuspended()
bool QFutureInterfaceBase::isSuspended |
( |
| ) |
const |
◆ isSuspending()
bool QFutureInterfaceBase::isSuspending |
( |
| ) |
const |
◆ isThrottled()
bool QFutureInterfaceBase::isThrottled |
( |
| ) |
const |
◆ isValid()
bool QFutureInterfaceBase::isValid |
( |
| ) |
const |
◆ launchAsync()
bool QFutureInterfaceBase::launchAsync |
( |
| ) |
const |
|
protected |
◆ loadState()
int QFutureInterfaceBase::loadState |
( |
| ) |
const |
◆ mutex()
QMutex & QFutureInterfaceBase::mutex |
( |
| ) |
const |
◆ operator!=()
◆ operator=()
◆ operator==()
◆ progressMaximum()
int QFutureInterfaceBase::progressMaximum |
( |
| ) |
const |
◆ progressMinimum()
int QFutureInterfaceBase::progressMinimum |
( |
| ) |
const |
◆ progressText()
QString QFutureInterfaceBase::progressText |
( |
| ) |
const |
◆ progressValue()
int QFutureInterfaceBase::progressValue |
( |
| ) |
const |
◆ queryState()
bool QFutureInterfaceBase::queryState |
( |
State | state | ) |
const |
◆ refT()
bool QFutureInterfaceBase::refT |
( |
| ) |
const |
|
protectednoexcept |
◆ reportCanceled()
void QFutureInterfaceBase::reportCanceled |
( |
| ) |
|
◆ reportException() [1/2]
◆ reportException() [2/2]
void QFutureInterfaceBase::reportException |
( |
const std::exception_ptr & | e | ) |
|
◆ reportFinished()
void QFutureInterfaceBase::reportFinished |
( |
| ) |
|
◆ reportResultsReady()
void QFutureInterfaceBase::reportResultsReady |
( |
int | beginIndex, |
|
|
int | endIndex ) |
◆ reportStarted()
void QFutureInterfaceBase::reportStarted |
( |
| ) |
|
◆ reportSuspended()
void QFutureInterfaceBase::reportSuspended |
( |
| ) |
const |
◆ reset()
void QFutureInterfaceBase::reset |
( |
| ) |
|
|
protected |
◆ resultCount()
int QFutureInterfaceBase::resultCount |
( |
| ) |
const |
◆ resultStoreBase() [1/2]
◆ resultStoreBase() [2/2]
◆ rethrowPossibleException()
void QFutureInterfaceBase::rethrowPossibleException |
( |
| ) |
|
|
protected |
◆ runContinuation()
void QFutureInterfaceBase::runContinuation |
( |
| ) |
const |
|
protected |
◆ setContinuation() [1/2]
◆ setContinuation() [2/2]
◆ setExpectedResultCount()
void QFutureInterfaceBase::setExpectedResultCount |
( |
int | resultCount | ) |
|
◆ setFilterMode()
void QFutureInterfaceBase::setFilterMode |
( |
bool | enable | ) |
|
◆ setLaunchAsync()
void QFutureInterfaceBase::setLaunchAsync |
( |
bool | value | ) |
|
|
protected |
◆ setProgressRange()
void QFutureInterfaceBase::setProgressRange |
( |
int | minimum, |
|
|
int | maximum ) |
Sets the progress range's minimum and maximum values to minimum and maximum respectively.
If maximum is smaller than minimum, minimum becomes the only legal value.
The progress value is reset to be minimum.
The progress range usage can be disabled by using setProgressRange(0, 0). In this case progress value is also reset to 0.
The behavior of this method is mostly inspired by \l QProgressBar::setRange.
Definition at line 572 of file qfutureinterface.cpp.
◆ setProgressValue()
void QFutureInterfaceBase::setProgressValue |
( |
int | progressValue | ) |
|
◆ setProgressValueAndText()
void QFutureInterfaceBase::setProgressValueAndText |
( |
int | progressValue, |
|
|
const QString & | progressText ) |
◆ setRunnable()
◆ setSuspended()
void QFutureInterfaceBase::setSuspended |
( |
bool | suspend | ) |
|
◆ setThreadPool()
◆ setThrottled()
void QFutureInterfaceBase::setThrottled |
( |
bool | enable | ) |
|
◆ suspendIfRequested()
void QFutureInterfaceBase::suspendIfRequested |
( |
| ) |
|
◆ swap()
◆ threadPool()
QThreadPool * QFutureInterfaceBase::threadPool |
( |
| ) |
const |
◆ toggleSuspended()
void QFutureInterfaceBase::toggleSuspended |
( |
| ) |
|
◆ waitForFinished()
void QFutureInterfaceBase::waitForFinished |
( |
| ) |
|
◆ waitForNextResult()
bool QFutureInterfaceBase::waitForNextResult |
( |
| ) |
|
◆ waitForResult()
void QFutureInterfaceBase::waitForResult |
( |
int | resultIndex | ) |
|
◆ waitForResume()
void QFutureInterfaceBase::waitForResume |
( |
| ) |
|
◆ QFutureInterfaceBasePrivate
◆ QFutureWatcherBase
◆ QFutureWatcherBasePrivate
◆ QPromise
◆ QtPrivate::CanceledHandler
template<class
Function, class ResultType>
◆ QtPrivate::CompactContinuation
template<typename
Function, typename ResultType, typename ParentResultType>
◆ QtPrivate::FailureHandler
template<class
Function, class ResultType>
The documentation for this class was generated from the following files: