#include <NullParallel.hpp>
Public Member Functions | |
void | call (size_t maxIndex, std::function< void(size_t firstIndex, size_t numIndices)> target) override |
![]() | |
virtual | ~Parallel () |
virtual void | call (size_t maxIndex, std::function< void(size_t firstIndex, size_t numIndices)> target)=0 |
Private Member Functions | |
NullParallel (int threadCount) | |
Friends | |
class | ParallelFactory |
Additional Inherited Members | |
![]() | |
Parallel () | |
This class implements the Parallel base class interface as a "no operation". In other words, it ignores any requests for performing tasks. This no-operation capability can be used, for example, to skip a certain body of work on all processeses except for the root process.
|
explicitprivate |
Constructs a NullParallel instance. The specified number of execution threads is ignored. The constructor is private; use the ParallelFactory::parallel() function instead.
|
overridevirtual |