Qt 4.8
|
#include <qfutureinterface_p.h>
Public Functions | |
void | connectOutputInterface (QFutureCallOutInterface *iface) |
void | disconnectOutputInterface (QFutureCallOutInterface *iface) |
bool | internal_isResultReadyAt (int index) const |
int | internal_resultCount () const |
void | internal_setThrottled (bool enable) |
bool | internal_updateProgress (int progress, const QString &progressText=QString()) |
bool | internal_waitForNextResult () |
QFutureInterfaceBasePrivate (QFutureInterfaceBase::State initialState) | |
void | sendCallOut (const QFutureCallOutEvent &callOut) |
void | sendCallOuts (const QFutureCallOutEvent &callOut1, const QFutureCallOutEvent &callOut2) |
void | setState (QFutureInterfaceBase::State state) |
Public Variables | |
QtConcurrent::internal::ExceptionStore | m_exceptionStore |
int | m_expectedResultCount |
QMutex | m_mutex |
int | m_progressMaximum |
int | m_progressMinimum |
QString | m_progressText |
int | m_progressValue |
QtConcurrent::ResultStoreBase | m_results |
bool | manualProgress |
QList< QFutureCallOutInterface * > | outputConnections |
QWaitCondition | pausedWaitCondition |
int | pendingResults |
QElapsedTimer | progressTime |
QAtomicInt | refCount |
QRunnable * | runnable |
QFutureInterfaceBase::State | state |
QWaitCondition | waitCondition |
Definition at line 127 of file qfutureinterface_p.h.
QFutureInterfaceBasePrivate::QFutureInterfaceBasePrivate | ( | QFutureInterfaceBase::State | initialState | ) |
Definition at line 422 of file qfutureinterface.cpp.
void QFutureInterfaceBasePrivate::connectOutputInterface | ( | QFutureCallOutInterface * | iface | ) |
Definition at line 511 of file qfutureinterface.cpp.
void QFutureInterfaceBasePrivate::disconnectOutputInterface | ( | QFutureCallOutInterface * | iface | ) |
Definition at line 547 of file qfutureinterface.cpp.
bool QFutureInterfaceBasePrivate::internal_isResultReadyAt | ( | int | index | ) | const |
Definition at line 435 of file qfutureinterface.cpp.
Referenced by QFutureInterfaceBase::isResultReadyAt(), and QFutureInterfaceBase::waitForResult().
int QFutureInterfaceBasePrivate::internal_resultCount | ( | ) | const |
Definition at line 430 of file qfutureinterface.cpp.
Referenced by QFutureInterfaceBase::resultCount().
void QFutureInterfaceBasePrivate::internal_setThrottled | ( | bool | enable | ) |
Definition at line 468 of file qfutureinterface.cpp.
bool QFutureInterfaceBasePrivate::internal_updateProgress | ( | int | progress, |
const QString & | progressText = QString() |
||
) |
Definition at line 451 of file qfutureinterface.cpp.
Referenced by QFutureInterfaceBase::reportResultsReady(), and QFutureInterfaceBase::setProgressValueAndText().
bool QFutureInterfaceBasePrivate::internal_waitForNextResult | ( | ) |
Definition at line 440 of file qfutureinterface.cpp.
Referenced by QFutureInterfaceBase::waitForNextResult().
void QFutureInterfaceBasePrivate::sendCallOut | ( | const QFutureCallOutEvent & | callOut | ) |
Definition at line 485 of file qfutureinterface.cpp.
Referenced by QFutureInterfaceBase::cancel(), QFutureInterfaceBase::reportException(), QFutureInterfaceBase::reportFinished(), QFutureInterfaceBase::reportResultsReady(), QFutureInterfaceBase::reportStarted(), QFutureInterfaceBase::setPaused(), QFutureInterfaceBase::setProgressRange(), QFutureInterfaceBase::setProgressValueAndText(), and QFutureInterfaceBase::togglePaused().
void QFutureInterfaceBasePrivate::sendCallOuts | ( | const QFutureCallOutEvent & | callOut1, |
const QFutureCallOutEvent & | callOut2 | ||
) |
Definition at line 494 of file qfutureinterface.cpp.
Referenced by QFutureInterfaceBase::reportResultsReady().
void QFutureInterfaceBasePrivate::setState | ( | QFutureInterfaceBase::State | state | ) |
Definition at line 558 of file qfutureinterface.cpp.
Referenced by QFutureInterfaceBase::reportStarted().
QtConcurrent::internal::ExceptionStore QFutureInterfaceBasePrivate::m_exceptionStore |
Definition at line 146 of file qfutureinterface_p.h.
Referenced by QFutureInterfaceBase::exceptionStore(), QFutureInterfaceBase::reportException(), QFutureInterfaceBase::waitForFinished(), and QFutureInterfaceBase::waitForResult().
int QFutureInterfaceBasePrivate::m_expectedResultCount |
Definition at line 145 of file qfutureinterface_p.h.
Referenced by QFutureInterfaceBase::expectedResultCount(), and QFutureInterfaceBase::setExpectedResultCount().
|
mutable |
Definition at line 133 of file qfutureinterface_p.h.
Referenced by QFutureInterfaceBase::cancel(), connectOutputInterface(), disconnectOutputInterface(), internal_waitForNextResult(), QFutureInterfaceBase::isProgressUpdateNeeded(), QFutureInterfaceBase::isResultReadyAt(), QFutureInterfaceBase::mutex(), QFutureInterfaceBase::progressText(), QFutureInterfaceBase::reportException(), QFutureInterfaceBase::reportFinished(), QFutureInterfaceBase::reportStarted(), QFutureInterfaceBase::resultCount(), QFutureInterfaceBase::setFilterMode(), QFutureInterfaceBase::setPaused(), QFutureInterfaceBase::setProgressRange(), QFutureInterfaceBase::setProgressValueAndText(), QFutureInterfaceBase::setThrottled(), QFutureInterfaceBase::togglePaused(), QFutureInterfaceBase::waitForFinished(), QFutureInterfaceBase::waitForNextResult(), QFutureInterfaceBase::waitForResult(), and QFutureInterfaceBase::waitForResume().
int QFutureInterfaceBasePrivate::m_progressMaximum |
Definition at line 138 of file qfutureinterface_p.h.
Referenced by connectOutputInterface(), internal_updateProgress(), QFutureInterfaceBase::progressMaximum(), and QFutureInterfaceBase::setProgressRange().
int QFutureInterfaceBasePrivate::m_progressMinimum |
Definition at line 137 of file qfutureinterface_p.h.
Referenced by connectOutputInterface(), QFutureInterfaceBase::progressMinimum(), and QFutureInterfaceBase::setProgressRange().
QString QFutureInterfaceBasePrivate::m_progressText |
Definition at line 147 of file qfutureinterface_p.h.
Referenced by connectOutputInterface(), internal_updateProgress(), QFutureInterfaceBase::progressText(), QFutureInterfaceBase::reportResultsReady(), and QFutureInterfaceBase::setProgressValueAndText().
int QFutureInterfaceBasePrivate::m_progressValue |
Definition at line 136 of file qfutureinterface_p.h.
Referenced by connectOutputInterface(), internal_updateProgress(), QFutureInterfaceBase::progressValue(), QFutureInterfaceBase::reportResultsReady(), and QFutureInterfaceBase::setProgressValueAndText().
QtConcurrent::ResultStoreBase QFutureInterfaceBasePrivate::m_results |
Definition at line 143 of file qfutureinterface_p.h.
Referenced by connectOutputInterface(), internal_isResultReadyAt(), internal_resultCount(), internal_waitForNextResult(), and QFutureInterfaceBase::resultStoreBase().
bool QFutureInterfaceBasePrivate::manualProgress |
Definition at line 144 of file qfutureinterface_p.h.
Referenced by QFutureInterfaceBase::reportResultsReady(), QFutureInterfaceBase::setExpectedResultCount(), and QFutureInterfaceBase::setProgressValueAndText().
QList<QFutureCallOutInterface *> QFutureInterfaceBasePrivate::outputConnections |
Definition at line 135 of file qfutureinterface_p.h.
Referenced by connectOutputInterface(), disconnectOutputInterface(), sendCallOut(), and sendCallOuts().
QWaitCondition QFutureInterfaceBasePrivate::pausedWaitCondition |
Definition at line 141 of file qfutureinterface_p.h.
Referenced by QFutureInterfaceBase::cancel(), internal_setThrottled(), QFutureInterfaceBase::reportException(), QFutureInterfaceBase::setPaused(), QFutureInterfaceBase::setThrottled(), QFutureInterfaceBase::togglePaused(), and QFutureInterfaceBase::waitForResume().
int QFutureInterfaceBasePrivate::pendingResults |
Definition at line 142 of file qfutureinterface_p.h.
QElapsedTimer QFutureInterfaceBasePrivate::progressTime |
Definition at line 140 of file qfutureinterface_p.h.
Referenced by internal_updateProgress(), QFutureInterfaceBase::isProgressUpdateNeeded(), and QFutureInterfaceBasePrivate().
QAtomicInt QFutureInterfaceBasePrivate::refCount |
Definition at line 132 of file qfutureinterface_p.h.
Referenced by QFutureInterfaceBase::operator=(), QFutureInterfaceBase::QFutureInterfaceBase(), QFutureInterfaceBase::referenceCountIsOne(), and QFutureInterfaceBase::~QFutureInterfaceBase().
QRunnable* QFutureInterfaceBasePrivate::runnable |
Definition at line 148 of file qfutureinterface_p.h.
Referenced by QFutureInterfaceBase::setRunnable(), QFutureInterfaceBase::waitForFinished(), and QFutureInterfaceBase::waitForResult().
QFutureInterfaceBase::State QFutureInterfaceBasePrivate::state |
Definition at line 139 of file qfutureinterface_p.h.
Referenced by QFutureInterfaceBase::cancel(), connectOutputInterface(), internal_setThrottled(), internal_waitForNextResult(), QFutureInterfaceBase::queryState(), QFutureInterfaceBase::reportException(), QFutureInterfaceBase::reportFinished(), QFutureInterfaceBase::reportResultsReady(), QFutureInterfaceBase::reportStarted(), QFutureInterfaceBase::setPaused(), QFutureInterfaceBase::setProgressValueAndText(), setState(), QFutureInterfaceBase::setThrottled(), QFutureInterfaceBase::togglePaused(), QFutureInterfaceBase::waitForFinished(), QFutureInterfaceBase::waitForResult(), and QFutureInterfaceBase::waitForResume().
QWaitCondition QFutureInterfaceBasePrivate::waitCondition |
Definition at line 134 of file qfutureinterface_p.h.
Referenced by QFutureInterfaceBase::cancel(), internal_waitForNextResult(), QFutureInterfaceBase::reportException(), QFutureInterfaceBase::reportFinished(), QFutureInterfaceBase::reportResultsReady(), QFutureInterfaceBase::waitForFinished(), and QFutureInterfaceBase::waitForResult().