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

#include <qtconcurrentfilterkernel.h>

Inheritance diagram for QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >:
Inheritance graph
Collaboration diagram for QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >:
Collaboration graph

Public Types

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

Public Member Functions

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

QtConcurrent

Member Typedef Documentation

◆ ResultType

template<typename Iterator , typename KeepFunctor >
typedef T QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >::ResultType

◆ ReturnType

template<typename Iterator , typename KeepFunctor >
typedef T QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >::ReturnType

Constructor & Destructor Documentation

◆ FilteredEachKernel()

template<typename Iterator , typename KeepFunctor >
QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >::FilteredEachKernel ( Iterator  begin,
Iterator  end,
KeepFunctor  _keep 
)
inline

Member Function Documentation

◆ runIteration()

template<typename Iterator , typename KeepFunctor >
bool QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >::runIteration ( Iterator  it,
int  index,
T *   
)
inlineoverride

◆ runIterations()

template<typename Iterator , typename KeepFunctor >
bool QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >::runIterations ( Iterator  sequenceBeginIterator,
int  begin,
int  end,
T *   
)
inlineoverride

◆ start()

template<typename Iterator , typename KeepFunctor >
void QtConcurrent::FilteredEachKernel< Iterator, KeepFunctor >::start ( )
inlineoverridevirtual

Reimplemented from QtConcurrent::ThreadEngineBase.


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