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

#include <qtconcurrentiteratekernel.h>

Inheritance diagram for QtConcurrent::IterateKernel< Iterator, T >:
Inheritance graph
Collaboration diagram for QtConcurrent::IterateKernel< Iterator, T >:
Collaboration graph

Public Types

typedef T ResultType
 
- Public Types inherited from QtConcurrent::ThreadEngine< T >
typedef T ResultType
 

Public Member Functions

 IterateKernel (Iterator _begin, Iterator _end)
 
virtual ~IterateKernel ()
 
virtual bool runIteration (Iterator it, int index, T *result)
 
virtual bool runIterations (Iterator _begin, int beginIndex, int endIndex, T *results)
 
void start () override
 
bool shouldStartThread () override
 
ThreadFunctionResult threadFunction () override
 
ThreadFunctionResult forThreadFunction ()
 
ThreadFunctionResult whileThreadFunction ()
 
- Public Member Functions inherited from QtConcurrent::ThreadEngine< T >
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 ()
 

Public Attributes

const Iterator begin
 
const Iterator end
 
Iterator current
 
QAtomicInt currentIndex
 
bool forIteration
 
QAtomicInt iteratorThreads
 
int iterationCount
 
bool progressReportingEnabled
 
QAtomicInt completed
 

Additional Inherited Members

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

Detailed Description

template<typename Iterator, typename T>
class QtConcurrent::IterateKernel< Iterator, T >

QtConcurrent

Member Typedef Documentation

◆ ResultType

template<typename Iterator, typename T>
typedef T QtConcurrent::IterateKernel< Iterator, T >::ResultType

Constructor & Destructor Documentation

◆ IterateKernel()

template<typename Iterator, typename T>
QtConcurrent::IterateKernel< Iterator, T >::IterateKernel ( Iterator  _begin,
Iterator  _end 
)
inline

◆ ~IterateKernel()

template<typename Iterator, typename T>
virtual QtConcurrent::IterateKernel< Iterator, T >::~IterateKernel ( )
inlinevirtual

Member Function Documentation

◆ forThreadFunction()

template<typename Iterator, typename T>
ThreadFunctionResult QtConcurrent::IterateKernel< Iterator, T >::forThreadFunction ( )
inline

◆ runIteration()

template<typename Iterator, typename T>
virtual bool QtConcurrent::IterateKernel< Iterator, T >::runIteration ( Iterator  it,
int  index,
T *  result 
)
inlinevirtual

◆ runIterations()

template<typename Iterator, typename T>
virtual bool QtConcurrent::IterateKernel< Iterator, T >::runIterations ( Iterator  _begin,
int  beginIndex,
int  endIndex,
T *  results 
)
inlinevirtual

◆ shouldStartThread()

template<typename Iterator, typename T>
bool QtConcurrent::IterateKernel< Iterator, T >::shouldStartThread ( )
inlineoverridevirtual

Reimplemented from QtConcurrent::ThreadEngineBase.

◆ start()

template<typename Iterator, typename T>
void QtConcurrent::IterateKernel< Iterator, T >::start ( )
inlineoverridevirtual

Reimplemented from QtConcurrent::ThreadEngineBase.

◆ threadFunction()

template<typename Iterator, typename T>
ThreadFunctionResult QtConcurrent::IterateKernel< Iterator, T >::threadFunction ( )
inlineoverridevirtual

Reimplemented from QtConcurrent::ThreadEngineBase.

◆ whileThreadFunction()

template<typename Iterator, typename T>
ThreadFunctionResult QtConcurrent::IterateKernel< Iterator, T >::whileThreadFunction ( )
inline

Member Data Documentation

◆ begin

template<typename Iterator, typename T>
const Iterator QtConcurrent::IterateKernel< Iterator, T >::begin

◆ completed

template<typename Iterator, typename T>
QAtomicInt QtConcurrent::IterateKernel< Iterator, T >::completed

◆ current

template<typename Iterator, typename T>
Iterator QtConcurrent::IterateKernel< Iterator, T >::current

◆ currentIndex

template<typename Iterator, typename T>
QAtomicInt QtConcurrent::IterateKernel< Iterator, T >::currentIndex

◆ end

template<typename Iterator, typename T>
const Iterator QtConcurrent::IterateKernel< Iterator, T >::end

◆ forIteration

template<typename Iterator, typename T>
bool QtConcurrent::IterateKernel< Iterator, T >::forIteration

◆ iterationCount

template<typename Iterator, typename T>
int QtConcurrent::IterateKernel< Iterator, T >::iterationCount

◆ iteratorThreads

template<typename Iterator, typename T>
QAtomicInt QtConcurrent::IterateKernel< Iterator, T >::iteratorThreads

◆ progressReportingEnabled

template<typename Iterator, typename T>
bool QtConcurrent::IterateKernel< Iterator, T >::progressReportingEnabled

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