QFutureInterface< void > Class Template Reference

QFutureInterface< void > Class Template Reference

#include <qfutureinterface.h>

Class Description

template<>
class QFutureInterface< void >

Definition at line 282 of file qfutureinterface.h.

+ Inheritance diagram for QFutureInterface< void >:

Public Member Functions

 QFutureInterface (State initialState=NoState)
 
 QFutureInterface (const QFutureInterface< void > &other)
 
QFutureInterface< void > & operator= (const QFutureInterface< void > &other)
 
QFuture< voidfuture ()
 
void reportResult (const void *, int)
 
void reportResults (const QVector< void > &, int)
 
void reportFinished (void *=0)
 
- Public Member Functions inherited from QFutureInterfaceBase
 QFutureInterfaceBase (State initialState=NoState)
 
 QFutureInterfaceBase (const QFutureInterfaceBase &other)
 
virtual ~QFutureInterfaceBase ()
 
void reportStarted ()
 
void reportFinished ()
 
void reportCanceled ()
 
void reportException (const QtConcurrent::Exception &e)
 
void reportResultsReady (int beginIndex, int endIndex)
 
void setRunnable (QRunnable *runnable)
 
void setFilterMode (bool enable)
 
void setProgressRange (int minimum, int maximum)
 
int progressMinimum () const
 
int progressMaximum () const
 
bool isProgressUpdateNeeded () const
 
void setProgressValue (int progressValue)
 
int progressValue () const
 
void setProgressValueAndText (int progressValue, const QString &progressText)
 
QString progressText () const
 
void setExpectedResultCount (int resultCount)
 
int expectedResultCount ()
 
int resultCount () const
 
bool queryState (State state) const
 
bool isRunning () const
 
bool isStarted () const
 
bool isCanceled () const
 
bool isFinished () const
 
bool isPaused () const
 
bool isThrottled () const
 
bool isResultReadyAt (int index) const
 
void cancel ()
 
void setPaused (bool paused)
 
void togglePaused ()
 
void setThrottled (bool enable)
 
void waitForFinished ()
 
bool waitForNextResult ()
 
void waitForResult (int resultIndex)
 
void waitForResume ()
 
QMutexmutex () const
 
QtConcurrent::internal::ExceptionStoreexceptionStore ()
 
QtConcurrent::ResultStoreBaseresultStoreBase ()
 
const QtConcurrent::ResultStoreBaseresultStoreBase () const
 
bool operator== (const QFutureInterfaceBase &other) const
 
bool operator!= (const QFutureInterfaceBase &other) const
 
QFutureInterfaceBaseoperator= (const QFutureInterfaceBase &other)
 

Static Public Member Functions

static QFutureInterface< voidcanceledResult ()
 

Additional Inherited Members

- Public Types inherited from QFutureInterfaceBase
enum  State {
  NoState = 0x00, Running = 0x01, Started = 0x02, Finished = 0x04,
  Canceled = 0x08, Paused = 0x10, Throttled = 0x20
}
 
- Protected Member Functions inherited from QFutureInterfaceBase
bool referenceCountIsOne () const
 

Constructor & Destructor Documentation

QFutureInterface ( State  initialState = NoState)
inline

Definition at line 285 of file qfutureinterface.h.

286  : QFutureInterfaceBase(initialState)
287  { }
QFutureInterfaceBase(State initialState=NoState)
QFutureInterface ( const QFutureInterface< void > &  other)
inline

Definition at line 288 of file qfutureinterface.h.

289  : QFutureInterfaceBase(other)
290  { }
QFutureInterfaceBase(State initialState=NoState)

Member Function Documentation

QFutureInterface<void>& operator= ( const QFutureInterface< void > &  other)
inline

Definition at line 295 of file qfutureinterface.h.

296  {
298  return *this;
299  }
QFutureInterfaceBase & operator=(const QFutureInterfaceBase &other)
QFuture< void > future ( )
inline

Definition at line 262 of file qfuture.h.

263 {
264  return QFuture<void>(this);
265 }
void reportResult ( const void ,
int   
)
inline

Definition at line 303 of file qfutureinterface.h.

303 { }
void reportResults ( const QVector< void > &  ,
int   
)
inline

Definition at line 304 of file qfutureinterface.h.

304 { }
void reportFinished ( void = 0)
inline

Definition at line 305 of file qfutureinterface.h.


The documentation for this class was generated from the following files: