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

#include <qtconcurrentmapkernel.h>

Inheritance diagram for QtConcurrent::MapKernel< Iterator, MapFunctor >:
Inheritance graph
Collaboration diagram for QtConcurrent::MapKernel< Iterator, MapFunctor >:
Collaboration graph

Public Types

typedef void ReturnType
 
- Public Types inherited from QtConcurrent::IterateKernel< Iterator, void >
typedef void ResultType
 
- Public Types inherited from QtConcurrent::ThreadEngine< void >
typedef void ResultType
 

Public Member Functions

 MapKernel (Iterator begin, Iterator end, MapFunctor _map)
 
bool runIteration (Iterator it, int, void *) override
 
bool runIterations (Iterator sequenceBeginIterator, int beginIndex, int endIndex, void *) override
 
- Public Member Functions inherited from QtConcurrent::IterateKernel< Iterator, void >
 IterateKernel (Iterator _begin, Iterator _end)
 
virtual ~IterateKernel ()
 
void start () override
 
bool shouldStartThread () override
 
ThreadFunctionResult threadFunction () override
 
ThreadFunctionResult forThreadFunction ()
 
ThreadFunctionResult whileThreadFunction ()
 
- Public Member Functions inherited from QtConcurrent::ThreadEngine< void >
virtual void * result ()
 
QFutureInterface< void > * futureInterfaceTyped ()
 
void * startSingleThreaded ()
 
void * startBlocking ()
 
QFuture< void > startAsynchronously ()
 
void asynchronousFinish () override
 
void reportResult (const void *_result, int index=-1)
 
void reportResults (const QVector< void > &_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

- Public Attributes inherited from QtConcurrent::IterateKernel< Iterator, void >
const Iterator begin
 
const Iterator end
 
Iterator current
 
QAtomicInt currentIndex
 
bool forIteration
 
QAtomicInt iteratorThreads
 
int iterationCount
 
bool progressReportingEnabled
 
QAtomicInt completed
 
- 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 MapFunctor>
class QtConcurrent::MapKernel< Iterator, MapFunctor >

QtConcurrent

Member Typedef Documentation

◆ ReturnType

template<typename Iterator , typename MapFunctor >
typedef void QtConcurrent::MapKernel< Iterator, MapFunctor >::ReturnType

Constructor & Destructor Documentation

◆ MapKernel()

template<typename Iterator , typename MapFunctor >
QtConcurrent::MapKernel< Iterator, MapFunctor >::MapKernel ( Iterator  begin,
Iterator  end,
MapFunctor  _map 
)
inline

Member Function Documentation

◆ runIteration()

template<typename Iterator , typename MapFunctor >
bool QtConcurrent::MapKernel< Iterator, MapFunctor >::runIteration ( Iterator  it,
int  ,
void *   
)
inlineoverridevirtual

◆ runIterations()

template<typename Iterator , typename MapFunctor >
bool QtConcurrent::MapKernel< Iterator, MapFunctor >::runIterations ( Iterator  sequenceBeginIterator,
int  beginIndex,
int  endIndex,
void *   
)
inlineoverridevirtual

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