QFutureInterfaceBase

#include <QtCore/QFutureInterfaceBase>

Overview

Public Types Index

enum State

NoState = 0x00, Running = 0x01, Started = 0x02, Finished = 0x04, Canceled = 0x08, Paused = 0x10, Throttled = 0x20

Public Functions Index

QFutureInterfaceBase (State initialState=NoState)
QFutureInterfaceBase (const QFutureInterfaceBase &other)
virtual ~QFutureInterfaceBase ()
voidcancel ()
QtConcurrent::internal::ExceptionStore &exceptionStore ()
intexpectedResultCount ()
boolisCanceled () const
boolisFinished () const
boolisPaused () const
boolisProgressUpdateNeeded () const
boolisResultReadyAt (int index) const
boolisRunning () const
boolisStarted () const
boolisThrottled () const
QMutex *mutex () const
booloperator!= (const QFutureInterfaceBase &other) const
QFutureInterfaceBase &operator= (const QFutureInterfaceBase &other)
booloperator== (const QFutureInterfaceBase &other) const
intprogressMaximum () const
intprogressMinimum () const
QStringprogressText () const
intprogressValue () const
boolqueryState (State state) const
voidreportCanceled ()
voidreportException (const QtConcurrent::Exception &e)
voidreportFinished ()
voidreportResultsReady (int beginIndex, int endIndex)
voidreportStarted ()
intresultCount () const
QtConcurrent::ResultStoreBase &resultStoreBase ()
const QtConcurrent::ResultStoreBase &resultStoreBase () const
voidsetExpectedResultCount (int resultCount)
voidsetFilterMode (bool enable)
voidsetPaused (bool paused)
voidsetProgressRange (int minimum, int maximum)
voidsetProgressValue (int progressValue)
voidsetProgressValueAndText (int progressValue, const QString &progressText)
voidsetRunnable (QRunnable *runnable)
voidsetThrottled (bool enable)
voidtogglePaused ()
voidwaitForFinished ()
boolwaitForNextResult ()
voidwaitForResult (int resultIndex)
voidwaitForResume ()

Protected Functions Index

boolreferenceCountIsOne () const

Public Types

State

NoState = 0x00
Running = 0x01
Started = 0x02
Finished = 0x04
Canceled = 0x08
Paused = 0x10
Throttled = 0x20

Public Functions

QFutureInterfaceBase (
  • StateinitialState)

QFutureInterfaceBase (

virtual~QFutureInterfaceBase ()

Destructor.

void cancel ()

QtConcurrent::internal::ExceptionStore & exceptionStore ()

int expectedResultCount ()

bool isCanceled ()

bool isFinished ()

bool isPaused ()

bool isProgressUpdateNeeded ()

bool isResultReadyAt (
  • intindex)

bool isRunning ()

bool isStarted ()

bool isThrottled ()

QMutex * mutex ()

bool operator!= (

QFutureInterfaceBase & operator= (

bool operator== (

int progressMaximum ()

int progressMinimum ()

QString progressText ()

int progressValue ()

bool queryState (
  • Statestate)

void reportCanceled ()

void reportException (

void reportFinished ()

void reportResultsReady (
  • intbeginIndex,
  • intendIndex )

void reportStarted ()

int resultCount ()

QtConcurrent::ResultStoreBase & resultStoreBase ()

const QtConcurrent::ResultStoreBase & resultStoreBase ()

void setExpectedResultCount (
  • intresultCount)

void setFilterMode (
  • boolenable)

void setPaused (
  • boolpaused)

void setProgressRange (
  • intminimum,
  • intmaximum )

void setProgressValue (
  • intprogressValue)

void setProgressValueAndText (
  • intprogressValue,
  • const QString &progressText )

void setRunnable (

void setThrottled (
  • boolenable)

void togglePaused ()

void waitForFinished ()

bool waitForNextResult ()

void waitForResult (
  • intresultIndex)

void waitForResume ()

Protected Functions

bool referenceCountIsOne ()

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus