QFutureInterface

#include <QtCore/QFutureInterface>

Overview

Public Types Index

Only has inherited public types

enum State

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

Public Functions Index

QFutureInterface (State initialState=NoState)
QFutureInterface (const QFutureInterface &other)
~QFutureInterface ()
QFuture< T >future ()
QFutureInterface &operator= (const QFutureInterface &other)
voidreportFinished (const T *result=0)
voidreportResult (const T *result, int index=-1)
voidreportResult (const T &result, int index=-1)
voidreportResults (const QVector< T > &results, int beginIndex=-1, int count=-1)
const T *resultPointer (int index) const
const T &resultReference (int index) const
QList< T >results ()
voidcancel ()Inherited
QtConcurrent::internal::ExceptionStore &exceptionStore ()Inherited
intexpectedResultCount ()Inherited
boolisCanceled () const Inherited
boolisFinished () const Inherited
boolisPaused () const Inherited
boolisProgressUpdateNeeded () const Inherited
boolisResultReadyAt (int index) const Inherited
boolisRunning () const Inherited
boolisStarted () const Inherited
boolisThrottled () const Inherited
QMutex *mutex () const Inherited
booloperator!= (const QFutureInterfaceBase &other) const Inherited
QFutureInterfaceBase &operator= (const QFutureInterfaceBase &other)Inherited
booloperator== (const QFutureInterfaceBase &other) const Inherited
intprogressMaximum () const Inherited
intprogressMinimum () const Inherited
QStringprogressText () const Inherited
intprogressValue () const Inherited
QFutureInterfaceBase (State initialState=NoState)Inherited
QFutureInterfaceBase (const QFutureInterfaceBase &other)Inherited
boolqueryState (State state) const Inherited
voidreportCanceled ()Inherited
voidreportException (const QtConcurrent::Exception &e)Inherited
voidreportFinished ()Inherited
voidreportResultsReady (int beginIndex, int endIndex)Inherited
voidreportStarted ()Inherited
intresultCount () const Inherited
QtConcurrent::ResultStoreBase &resultStoreBase ()Inherited
const QtConcurrent::ResultStoreBase &resultStoreBase () const Inherited
voidsetExpectedResultCount (int resultCount)Inherited
voidsetFilterMode (bool enable)Inherited
voidsetPaused (bool paused)Inherited
voidsetProgressRange (int minimum, int maximum)Inherited
voidsetProgressValue (int progressValue)Inherited
voidsetProgressValueAndText (int progressValue, const QString &progressText)Inherited
voidsetRunnable (QRunnable *runnable)Inherited
voidsetThrottled (bool enable)Inherited
voidtogglePaused ()Inherited
voidwaitForFinished ()Inherited
boolwaitForNextResult ()Inherited
voidwaitForResult (int resultIndex)Inherited
voidwaitForResume ()Inherited

Static Public Functions Index

Protected Functions Index

Only has inherited protected functions

boolreferenceCountIsOne () const Inherited

Public Types

(Only has inherited public types)

State Inherited

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

Public Functions

QFutureInterface (
  • StateinitialState)

QFutureInterface (

~QFutureInterface ()

Destructor.

QFuture< T > future ()

QFutureInterface & operator= (

void reportFinished (
  • const T *result)

void reportResult (
  • const T *result,
  • intindex )

void reportResult (
  • const T &result,
  • intindex )

void reportResults (
  • const QVector< T > &results,
  • intbeginIndex,
  • intcount )

const T * resultPointer (
  • intindex)

const T & resultReference (
  • intindex)

QList< T > results ()

void cancel ()Inherited

QtConcurrent::internal::ExceptionStore & exceptionStore ()Inherited

int expectedResultCount ()Inherited

bool isCanceled ()Inherited

bool isFinished ()Inherited

bool isPaused ()Inherited

bool isProgressUpdateNeeded ()Inherited

bool isResultReadyAt (
  • intindex)
Inherited

bool isRunning ()Inherited

bool isStarted ()Inherited

bool isThrottled ()Inherited

QMutex * mutex ()Inherited

bool operator!= (Inherited

QFutureInterfaceBase & operator= (Inherited

bool operator== (Inherited

int progressMaximum ()Inherited

int progressMinimum ()Inherited

QString progressText ()Inherited

int progressValue ()Inherited

QFutureInterfaceBase (
  • StateinitialState)
Inherited

QFutureInterfaceBase (Inherited

bool queryState (
  • Statestate)
Inherited

void reportCanceled ()Inherited

void reportException (Inherited

void reportFinished ()Inherited

void reportResultsReady (
  • intbeginIndex,
  • intendIndex )
Inherited

void reportStarted ()Inherited

int resultCount ()Inherited

QtConcurrent::ResultStoreBase & resultStoreBase ()Inherited

const QtConcurrent::ResultStoreBase & resultStoreBase ()Inherited

void setExpectedResultCount (
  • intresultCount)
Inherited

void setFilterMode (
  • boolenable)
Inherited

void setPaused (
  • boolpaused)
Inherited

void setProgressRange (
  • intminimum,
  • intmaximum )
Inherited

void setProgressValue (
  • intprogressValue)
Inherited

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

void setRunnable (Inherited

void setThrottled (
  • boolenable)
Inherited

void togglePaused ()Inherited

void waitForFinished ()Inherited

bool waitForNextResult ()Inherited

void waitForResult (
  • intresultIndex)
Inherited

void waitForResume ()Inherited

Static Public Functions

QFutureInterface canceledResult ()

Protected Functions

(Only has inherited protected functions)

bool referenceCountIsOne ()Inherited

Last modified: 2014-09-30



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

comments powered by Disqus