MappedReducedKernel

#include <QtCore/QtConcurrent/MappedReducedKernel>

Overview

Public Types Index

ReducedResultTypeResultType
ReducedResultTypeReturnType

Public Attributes Index

Only has inherited public attributes

const IteratorbeginInherited
QAtomicIntcompletedInherited
IteratorcurrentInherited
QAtomicIntcurrentIndexInherited
const IteratorendInherited
boolforIterationInherited
intiterationCountInherited
QAtomicIntiteratorThreadsInherited
boolprogressReportingEnabledInherited

Protected Attributes Index

Only has inherited protected attributes

ThreadEngineBarrierbarrierInherited
QtConcurrent::internal::ExceptionStoreexceptionStoreInherited
QFutureInterfaceBase *futureInterfaceInherited
QThreadPool *threadPoolInherited

Public Functions Index

MappedReducedKernel (Iterator begin, Iterator end, MapFunctor _map, ReduceFunctor _reduce, ReduceOptions reduceOptions)
MappedReducedKernel (ReducedResultType initialValue, MapFunctor _map, ReduceFunctor _reduce)
virtual voidfinish ()
virtual ReducedResultType *result ()
virtual boolrunIteration (Iterator it, int index, ReducedResultType *)
virtual boolrunIterations (Iterator sequenceBeginIterator, int begin, int end, ReducedResultType *)
virtual boolshouldStartThread ()
virtual boolshouldThrottleThread ()
voidacquireBarrierSemaphore ()Inherited
virtual voidasynchronousFinish ()Inherited
boolautoDelete () const Inherited
ThreadFunctionResultforThreadFunction ()Inherited
QFutureInterface< T > *futureInterfaceTyped ()Inherited
boolisCanceled ()Inherited
boolisProgressReportingEnabled ()Inherited
IterateKernel (Iterator _begin, Iterator _end)Inherited
QRunnable ()Inherited
voidreportResult (const T *_result, int index=-1)Inherited
voidreportResults (const QVector< T > &_result, int index=-1, int count=-1)Inherited
voidsetAutoDelete (bool _autoDelete)Inherited
voidsetProgressRange (int minimum, int maximum)Inherited
voidsetProgressValue (int progress)Inherited
virtual voidstart ()Inherited
QFuture< T >startAsynchronously ()Inherited
T *startBlocking ()Inherited
T *startSingleThreaded ()Inherited
voidstartThread ()Inherited
ThreadEngineBase ()Inherited
virtual ThreadFunctionResultthreadFunction ()Inherited
voidwaitForResume ()Inherited
ThreadFunctionResultwhileThreadFunction ()Inherited

Public Types

typedef ReducedResultType ResultType

typedef ReducedResultType ReturnType

Public Attributes

(Only has inherited public attributes)

const Iterator begin ()Inherited

QAtomicInt completed ()Inherited

Iterator current ()Inherited

QAtomicInt currentIndex ()Inherited

const Iterator end ()Inherited

bool forIteration ()Inherited

int iterationCount ()Inherited

QAtomicInt iteratorThreads ()Inherited

bool progressReportingEnabled ()Inherited

Protected Attributes

(Only has inherited protected attributes)

QtConcurrent::internal::ExceptionStore exceptionStore ()Inherited

QFutureInterfaceBase * futureInterface ()Inherited

QThreadPool * threadPool ()Inherited

Public Functions

MappedReducedKernel (
  • Iteratorbegin,
  • Iteratorend,
  • MapFunctor_map,
  • ReduceFunctor_reduce,
  • ReduceOptionsreduceOptions )

MappedReducedKernel (
  • ReducedResultTypeinitialValue,
  • MapFunctor_map,
  • ReduceFunctor_reduce )

virtual void finish ()

virtual ReducedResultType * result ()

virtual bool runIteration (
  • Iteratorit,
  • intindex,
  • ReducedResultType * )

virtual bool runIterations (
  • IteratorsequenceBeginIterator,
  • intbegin,
  • intend,
  • ReducedResultType * )

virtual bool shouldStartThread ()

virtual bool shouldThrottleThread ()

void acquireBarrierSemaphore ()Inherited

virtual void asynchronousFinish ()Inherited

bool autoDelete ()Inherited

ThreadFunctionResult forThreadFunction ()Inherited

QFutureInterface< T > * futureInterfaceTyped ()Inherited

bool isCanceled ()Inherited

bool isProgressReportingEnabled ()Inherited

IterateKernel (
  • Iterator_begin,
  • Iterator_end )
Inherited

QRunnable ()Inherited

void reportResult (
  • const T *_result,
  • intindex )
Inherited

void reportResults (
  • const QVector< T > &_result,
  • intindex,
  • intcount )
Inherited

void setAutoDelete (
  • bool_autoDelete)
Inherited

void setProgressRange (
  • intminimum,
  • intmaximum )
Inherited

void setProgressValue (
  • intprogress)
Inherited

virtual void start ()Inherited

QFuture< T > startAsynchronously ()Inherited

T * startBlocking ()Inherited

T * startSingleThreaded ()Inherited

void startThread ()Inherited

ThreadEngineBase ()Inherited

virtual ThreadFunctionResult threadFunction ()Inherited

void waitForResume ()Inherited

ThreadFunctionResult whileThreadFunction ()Inherited

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus