
Public Member Functions | |
| Copier (const std_cxx1x::function< void(const CopyData &)> &copier) | |
| void * | operator() (void *item) |
Private Attributes | |
| const std_cxx1x::function < void(const CopyData &)> | copier |
A class that manages calling the copier function. Note that it is, in the TBB notation, a filter that runs sequentially, ensuring that all items are copied in the same order in which they are created.
| WorkStream::internal::Copier< Iterator, ScratchData, CopyData >::Copier | ( | const std_cxx1x::function< void(const CopyData &)> & | copier | ) | [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 copying from the additional data object to the global matrix or similar.
| void* WorkStream::internal::Copier< Iterator, ScratchData, CopyData >::operator() | ( | void * | item | ) | [inline] |
Work on a single item.
References WorkStream::internal::Copier< Iterator, ScratchData, CopyData >::copier.
const std_cxx1x::function<void (const CopyData &)> WorkStream::internal::Copier< Iterator, ScratchData, CopyData >::copier [private] |
Pointer to the function that does the copying of data.
Referenced by WorkStream::internal::Copier< Iterator, ScratchData, CopyData >::operator()().
documentation generated on Fri Aug 12 2011 15:01:11 by
doxygen
1.7.4