Qt 4.8
|
#include <qfutureinterface.h>
Public Types | |
enum | State { NoState = 0x00, Running = 0x01, Started = 0x02, Finished = 0x04, Canceled = 0x08, Paused = 0x10, Throttled = 0x20 } |
Protected Functions | |
bool | referenceCountIsOne () const |
Properties | |
QFutureInterfaceBasePrivate * | d |
Friends | |
class | QFutureWatcherBase |
class | QFutureWatcherBasePrivate |
Definition at line 64 of file qfutureinterface.h.
Enumerator | |
---|---|
NoState | |
Running | |
Started | |
Finished | |
Canceled | |
Paused | |
Throttled |
Definition at line 67 of file qfutureinterface.h.
Definition at line 60 of file qfutureinterface.cpp.
QFutureInterfaceBase::QFutureInterfaceBase | ( | const QFutureInterfaceBase & | other | ) |
Definition at line 64 of file qfutureinterface.cpp.
|
virtual |
Definition at line 70 of file qfutureinterface.cpp.
void QFutureInterfaceBase::cancel | ( | ) |
Definition at line 76 of file qfutureinterface.cpp.
Referenced by QFutureWatcherBase::cancel(), and reportCanceled().
QtConcurrent::internal::ExceptionStore & QFutureInterfaceBase::exceptionStore | ( | ) |
Definition at line 393 of file qfutureinterface.cpp.
int QFutureInterfaceBase::expectedResultCount | ( | ) |
Definition at line 272 of file qfutureinterface.cpp.
bool QFutureInterfaceBase::isCanceled | ( | ) | const |
Definition at line 142 of file qfutureinterface.cpp.
bool QFutureInterfaceBase::isFinished | ( | ) | const |
Definition at line 147 of file qfutureinterface.cpp.
bool QFutureInterfaceBase::isPaused | ( | ) | const |
Definition at line 152 of file qfutureinterface.cpp.
Referenced by QFutureWatcherBase::event().
bool QFutureInterfaceBase::isProgressUpdateNeeded | ( | ) | const |
Definition at line 219 of file qfutureinterface.cpp.
bool QFutureInterfaceBase::isResultReadyAt | ( | int | index | ) | const |
Definition at line 162 of file qfutureinterface.cpp.
bool QFutureInterfaceBase::isRunning | ( | ) | const |
Definition at line 132 of file qfutureinterface.cpp.
bool QFutureInterfaceBase::isStarted | ( | ) | const |
Definition at line 137 of file qfutureinterface.cpp.
bool QFutureInterfaceBase::isThrottled | ( | ) | const |
Definition at line 157 of file qfutureinterface.cpp.
QMutex * QFutureInterfaceBase::mutex | ( | ) | const |
Definition at line 388 of file qfutureinterface.cpp.
|
inline |
Definition at line 130 of file qfutureinterface.h.
QFutureInterfaceBase & QFutureInterfaceBase::operator= | ( | const QFutureInterfaceBase & | other | ) |
Definition at line 408 of file qfutureinterface.cpp.
Referenced by QFutureInterface< T >::operator=(), and QFutureInterface< T >::results().
|
inline |
Definition at line 129 of file qfutureinterface.h.
int QFutureInterfaceBase::progressMaximum | ( | ) | const |
Definition at line 202 of file qfutureinterface.cpp.
Referenced by QFutureWatcherBase::progressMaximum().
int QFutureInterfaceBase::progressMinimum | ( | ) | const |
Definition at line 197 of file qfutureinterface.cpp.
Referenced by QFutureWatcherBase::progressMinimum().
QString QFutureInterfaceBase::progressText | ( | ) | const |
Definition at line 213 of file qfutureinterface.cpp.
Referenced by QFutureWatcherBase::progressText().
int QFutureInterfaceBase::progressValue | ( | ) | const |
Definition at line 192 of file qfutureinterface.cpp.
Referenced by QFutureWatcherBase::progressValue().
bool QFutureInterfaceBase::queryState | ( | State | state | ) | const |
Definition at line 277 of file qfutureinterface.cpp.
Referenced by QFutureWatcherBase::isCanceled(), isCanceled(), isFinished(), QFutureWatcherBase::isPaused(), isPaused(), QFutureWatcherBase::isRunning(), isRunning(), QFutureWatcherBase::isStarted(), isStarted(), and isThrottled().
|
protected |
Definition at line 417 of file qfutureinterface.cpp.
void QFutureInterfaceBase::reportCanceled | ( | ) |
Definition at line 235 of file qfutureinterface.cpp.
void QFutureInterfaceBase::reportException | ( | const QtConcurrent::Exception & | e | ) |
Definition at line 241 of file qfutureinterface.cpp.
void QFutureInterfaceBase::reportFinished | ( | ) |
Definition at line 255 of file qfutureinterface.cpp.
Referenced by QFutureInterface< T >::reportFinished(), and QFutureInterface< T >::results().
void QFutureInterfaceBase::reportResultsReady | ( | int | beginIndex, |
int | endIndex | ||
) |
Definition at line 319 of file qfutureinterface.cpp.
void QFutureInterfaceBase::reportStarted | ( | ) |
Definition at line 225 of file qfutureinterface.cpp.
int QFutureInterfaceBase::resultCount | ( | ) | const |
Definition at line 207 of file qfutureinterface.cpp.
Referenced by setExpectedResultCount().
QtConcurrent::ResultStoreBase & QFutureInterfaceBase::resultStoreBase | ( | ) |
Definition at line 398 of file qfutureinterface.cpp.
Referenced by setFilterMode().
const QtConcurrent::ResultStoreBase & QFutureInterfaceBase::resultStoreBase | ( | ) | const |
Definition at line 403 of file qfutureinterface.cpp.
void QFutureInterfaceBase::setExpectedResultCount | ( | int | resultCount | ) |
Definition at line 265 of file qfutureinterface.cpp.
void QFutureInterfaceBase::setFilterMode | ( | bool | enable | ) |
Definition at line 350 of file qfutureinterface.cpp.
void QFutureInterfaceBase::setPaused | ( | bool | paused | ) |
Definition at line 88 of file qfutureinterface.cpp.
Referenced by QFutureWatcherBase::pause(), QFutureWatcherBase::resume(), and QFutureWatcherBase::setPaused().
void QFutureInterfaceBase::setProgressRange | ( | int | minimum, |
int | maximum | ||
) |
Definition at line 356 of file qfutureinterface.cpp.
Referenced by setExpectedResultCount().
void QFutureInterfaceBase::setProgressValue | ( | int | progressValue | ) |
Definition at line 364 of file qfutureinterface.cpp.
void QFutureInterfaceBase::setProgressValueAndText | ( | int | progressValue, |
const QString & | progressText | ||
) |
Definition at line 369 of file qfutureinterface.cpp.
Referenced by setProgressValue().
void QFutureInterfaceBase::setRunnable | ( | QRunnable * | runnable | ) |
Definition at line 345 of file qfutureinterface.cpp.
void QFutureInterfaceBase::setThrottled | ( | bool | enable | ) |
Definition at line 114 of file qfutureinterface.cpp.
void QFutureInterfaceBase::togglePaused | ( | ) |
Definition at line 101 of file qfutureinterface.cpp.
Referenced by QFutureWatcherBase::togglePaused().
void QFutureInterfaceBase::waitForFinished | ( | ) |
Definition at line 305 of file qfutureinterface.cpp.
Referenced by QFutureWatcherBase::waitForFinished().
bool QFutureInterfaceBase::waitForNextResult | ( | ) |
Definition at line 168 of file qfutureinterface.cpp.
void QFutureInterfaceBase::waitForResult | ( | int | resultIndex | ) |
Definition at line 282 of file qfutureinterface.cpp.
Referenced by QFutureInterface< T >::results().
void QFutureInterfaceBase::waitForResume | ( | ) |
Definition at line 174 of file qfutureinterface.cpp.
|
friend |
Definition at line 143 of file qfutureinterface.h.
|
friend |
Definition at line 144 of file qfutureinterface.h.
|
private |
Definition at line 140 of file qfutureinterface.h.
Referenced by cancel(), exceptionStore(), expectedResultCount(), isProgressUpdateNeeded(), isResultReadyAt(), mutex(), operator!=(), operator=(), operator==(), progressMaximum(), progressMinimum(), progressText(), progressValue(), QFutureInterfaceBase(), queryState(), referenceCountIsOne(), reportException(), reportFinished(), reportResultsReady(), reportStarted(), resultCount(), resultStoreBase(), setExpectedResultCount(), setFilterMode(), setPaused(), setProgressRange(), setProgressValueAndText(), setRunnable(), setThrottled(), togglePaused(), waitForFinished(), waitForNextResult(), waitForResult(), waitForResume(), and ~QFutureInterfaceBase().