MapKernel

#include <QtCore/QtConcurrent/MapKernel>

Overview

Public Types Index

voidReturnType
TResultType

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

MapKernel (Iterator begin, Iterator end, MapFunctor _map)
virtual boolrunIteration (Iterator it, int, void *)
virtual boolrunIterations (Iterator sequenceBeginIterator, int beginIndex, int endIndex, void *)
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
virtual T *result ()Inherited
voidsetAutoDelete (bool _autoDelete)Inherited
voidsetProgressRange (int minimum, int maximum)Inherited
voidsetProgressValue (int progress)Inherited
virtual boolshouldStartThread ()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

Protected Functions Index

Only has inherited protected functions

virtual voidfinish ()Inherited
virtual boolshouldThrottleThread ()Inherited

Public Types

typedef void ReturnType

typedef T ResultType Inherited

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

MapKernel (
  • Iteratorbegin,
  • Iteratorend,
  • MapFunctor_map )

virtual bool runIteration (
  • Iteratorit,
  • int,
  • void * )

virtual bool runIterations (
  • IteratorsequenceBeginIterator,
  • intbeginIndex,
  • intendIndex,
  • void * )

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

virtual T * result ()Inherited

void setAutoDelete (
  • bool_autoDelete)
Inherited

void setProgressRange (
  • intminimum,
  • intmaximum )
Inherited

void setProgressValue (
  • intprogress)
Inherited

virtual bool shouldStartThread ()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

Protected Functions

(Only has inherited protected functions)

virtual void finish ()Inherited

virtual bool shouldThrottleThread ()Inherited

Last modified: 2014-06-24



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

comments powered by Disqus