
Public Member Functions | |
| Worker (const std_cxx1x::function< void(const Iterator &, ScratchData &, CopyData &)> &worker) | |
| void * | operator() (void *item) |
Private Attributes | |
| const std_cxx1x::function < void(const Iterator &, ScratchData &, CopyData &)> | worker |
A class that manages calling the worker function on a number of parallel threads. Note that it is, in the TBB notation, a filter that can run in parallel.
| WorkStream::internal::Worker< Iterator, ScratchData, CopyData >::Worker | ( | const std_cxx1x::function< void(const Iterator &, ScratchData &, CopyData &)> & | worker | ) | [inline] |
Constructor. Takes a reference to the object on which we will operate as well as a pointer to the function that will do the assembly.
| void* WorkStream::internal::Worker< Iterator, ScratchData, CopyData >::operator() | ( | void * | item | ) | [inline] |
Work on an item.
References WorkStream::internal::Worker< Iterator, ScratchData, CopyData >::worker.
const std_cxx1x::function<void (const Iterator &, ScratchData &, CopyData &)> WorkStream::internal::Worker< Iterator, ScratchData, CopyData >::worker [private] |
Pointer to the function that does the assembling on the sequence of cells.
Referenced by WorkStream::internal::Worker< Iterator, ScratchData, CopyData >::operator()().
documentation generated on Fri Aug 12 2011 15:01:11 by
doxygen
1.7.4