Public Member Functions | Static Private Member Functions | Private Attributes

parallel::internal::Body< F > Struct Template Reference

List of all members.

Public Member Functions

 Body (const F &f)
template<typename Range >
void operator() (const Range &range) const

Static Private Member Functions

template<typename I1 , typename I2 >
static void apply (const F &f, const std_cxx1x::tuple< I1, I2 > &p)
template<typename I1 , typename I2 , typename I3 >
static void apply (const F &f, const std_cxx1x::tuple< I1, I2, I3 > &p)
template<typename I1 , typename I2 , typename I3 , typename I4 >
static void apply (const F &f, const std_cxx1x::tuple< I1, I2, I3, I4 > &p)

Private Attributes

const F f

Detailed Description

template<typename F>
struct parallel::internal::Body< F >

Convert a function object of type F into an object that can be applied to all elements of a range of synchronous iterators.

Definition at line 50 of file parallel.h.


Constructor & Destructor Documentation

template<typename F >
parallel::internal::Body< F >::Body ( const F &  f ) [inline]

Constructor. Take and package the given function object.

Definition at line 56 of file parallel.h.


Member Function Documentation

template<typename F >
template<typename Range >
void parallel::internal::Body< F >::operator() ( const Range &  range ) const [inline]
template<typename F >
template<typename I1 , typename I2 >
static void parallel::internal::Body< F >::apply ( const F &  f,
const std_cxx1x::tuple< I1, I2 > &  p 
) [inline, static, private]

Apply F to a set of iterators with two elements.

Definition at line 83 of file parallel.h.

Referenced by parallel::internal::Body< F >::operator()().

template<typename F >
template<typename I1 , typename I2 , typename I3 >
static void parallel::internal::Body< F >::apply ( const F &  f,
const std_cxx1x::tuple< I1, I2, I3 > &  p 
) [inline, static, private]

Apply F to a set of iterators with three elements.

Definition at line 96 of file parallel.h.

template<typename F >
template<typename I1 , typename I2 , typename I3 , typename I4 >
static void parallel::internal::Body< F >::apply ( const F &  f,
const std_cxx1x::tuple< I1, I2, I3, I4 > &  p 
) [inline, static, private]

Apply F to a set of iterators with three elements.

Definition at line 111 of file parallel.h.


Member Data Documentation

template<typename F >
const F parallel::internal::Body< F >::f [private]

The stored function object.

Definition at line 74 of file parallel.h.

Referenced by parallel::internal::Body< F >::operator()().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:15 by doxygen 1.7.2