QtConcurrent
Trial to use Doxygen to generate UML class diagram of QtConcurrent module.
Public Types | Public Member Functions | List of all members
QtConcurrent::ThreadEngine< T > Class Template Reference

#include <qtconcurrentthreadengine.h>

Inheritance diagram for QtConcurrent::ThreadEngine< T >:
Inheritance graph
Collaboration diagram for QtConcurrent::ThreadEngine< T >:
Collaboration graph

Public Types

typedef T ResultType
 

Public Member Functions

virtual T * result ()
 
QFutureInterface< T > * futureInterfaceTyped ()
 
T * startSingleThreaded ()
 
T * startBlocking ()
 
QFuture< T > startAsynchronously ()
 
void asynchronousFinish () override
 
void reportResult (const T *_result, int index=-1)
 
void reportResults (const QVector< T > &_result, int index=-1, int count=-1)
 
- Public Member Functions inherited from QtConcurrent::ThreadEngineBase
 ThreadEngineBase ()
 
virtual ~ThreadEngineBase ()
 
void startSingleThreaded ()
 
void startBlocking ()
 
void startThread ()
 
bool isCanceled ()
 
void waitForResume ()
 
bool isProgressReportingEnabled ()
 
void setProgressValue (int progress)
 
void setProgressRange (int minimum, int maximum)
 
void acquireBarrierSemaphore ()
 

Additional Inherited Members

- Protected Member Functions inherited from QtConcurrent::ThreadEngineBase
virtual void start ()
 
virtual void finish ()
 
virtual ThreadFunctionResult threadFunction ()
 
virtual bool shouldStartThread ()
 
virtual bool shouldThrottleThread ()
 
- Protected Attributes inherited from QtConcurrent::ThreadEngineBase
QFutureInterfaceBase * futureInterface
 
QThreadPool * threadPool
 
ThreadEngineBarrier barrier
 
QtPrivate::ExceptionStore exceptionStore
 

Detailed Description

template<typename T>
class QtConcurrent::ThreadEngine< T >

QtConcurrent

Member Typedef Documentation

◆ ResultType

template<typename T>
typedef T QtConcurrent::ThreadEngine< T >::ResultType

Member Function Documentation

◆ asynchronousFinish()

template<typename T>
void QtConcurrent::ThreadEngine< T >::asynchronousFinish ( )
inlineoverridevirtual

◆ futureInterfaceTyped()

template<typename T>
QFutureInterface<T>* QtConcurrent::ThreadEngine< T >::futureInterfaceTyped ( )
inline

◆ reportResult()

template<typename T>
void QtConcurrent::ThreadEngine< T >::reportResult ( const T *  _result,
int  index = -1 
)
inline

◆ reportResults()

template<typename T>
void QtConcurrent::ThreadEngine< T >::reportResults ( const QVector< T > &  _result,
int  index = -1,
int  count = -1 
)
inline

◆ result()

template<typename T>
virtual T* QtConcurrent::ThreadEngine< T >::result ( )
inlinevirtual

◆ startAsynchronously()

template<typename T>
QFuture<T> QtConcurrent::ThreadEngine< T >::startAsynchronously ( )
inline

◆ startBlocking()

template<typename T>
T* QtConcurrent::ThreadEngine< T >::startBlocking ( )
inline

◆ startSingleThreaded()

template<typename T>
T* QtConcurrent::ThreadEngine< T >::startSingleThreaded ( )
inline

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