Public Member Functions | Private Attributes
WorkStream::internal::Worker< Iterator, ScratchData, CopyData > Class Template Reference
Inheritance diagram for WorkStream::internal::Worker< Iterator, ScratchData, CopyData >:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

template<typename Iterator, typename ScratchData, typename CopyData>
class WorkStream::internal::Worker< Iterator, ScratchData, CopyData >

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.


Constructor & Destructor Documentation

template<typename Iterator, typename ScratchData, typename CopyData>
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.


Member Function Documentation

template<typename Iterator, typename ScratchData, typename CopyData>
void* WorkStream::internal::Worker< Iterator, ScratchData, CopyData >::operator() ( void *  item) [inline]

Member Data Documentation

template<typename Iterator, typename ScratchData, typename CopyData>
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()().


The documentation for this class was generated from the following file:

deal.II documentation generated on Fri Aug 12 2011 15:01:11 by doxygen 1.7.4