MapReduceBase Class

(Utils::Internal::MapReduceBase)
Inherits: MapReduceObject

Public Functions

MapReduceBase(QFutureInterface<ReduceResult> futureInterface, ForwardIterator begin, ForwardIterator end, MapFunction &&map, State &state, ReduceFunction &&reduce, MapReduceOption option, QThreadPool *pool, int size)
void exec()
  • 31 public functions inherited from QObject

Protected Functions

void cancelAll()
void mapFinished(QFutureWatcher<MapResult> *watcher)
virtual void reduce(QFutureWatcher<MapResult> *watcher, int index) = 0
bool schedule()
void updateProgress()
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 2 signals inherited from QObject
  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Member Function Documentation

MapReduceBase::MapReduceBase(QFutureInterface<ReduceResult> futureInterface, ForwardIterator begin, ForwardIterator end, MapFunction &&map, State &state, ReduceFunction &&reduce, MapReduceOption option, QThreadPool *pool, int size)

Default constructs an instance of MapReduceBase.

[protected] void MapReduceBase::cancelAll()

void MapReduceBase::exec()

[protected] void MapReduceBase::mapFinished(QFutureWatcher<MapResult> *watcher)

[pure virtual protected] void MapReduceBase::reduce(QFutureWatcher<MapResult> *watcher, int index)

[protected] bool MapReduceBase::schedule()

[protected] void MapReduceBase::updateProgress()