Stride Reference Manual  1.0
unipar::internal::ParallelWrapper< Impl, Types > Class Template Reference

#include <unipar.h>

Collaboration diagram for unipar::internal::ParallelWrapper< Impl, Types >:
Collaboration graph

Public Types

using RMType = typename Impl::template RMType< Impl, Types... >
 

Public Member Functions

 ParallelWrapper (const Impl &impl)
 
 ParallelWrapper (int nthreads)
 
 ParallelWrapper ()
 
template<typename PrevResMan >
 ParallelWrapper (Impl &impl, PrevResMan &prev_rm)
 
template<typename IndexF , typename IndexL , typename Func >
void for_ (IndexF first, IndexL last, const Func &f)
 
template<typename IndexF , typename IndexL , typename IndexS , typename Func >
void for_ (IndexF first, IndexL last, IndexS step, const Func &f)
 
template<typename T >
ParallelWrapper< Impl, T, Types... > withFunc (const std::function< T()> &f)
 
template<typename T , typename Func >
ParallelWrapper< Impl, T, Types... > withFunc (const Func &f)
 
template<typename T , typename... Args>
ParallelWrapper< Impl, T, Types... > with (Args...args)
 
RMTyperesources ()
 
Impl & impl ()
 
const Impl & impl () const
 
int getNumThreads () const
 
void setNumThreads (int nthreads)
 

Protected Attributes

Impl m_impl
 
RMType m_resource_manager
 

Detailed Description

template<typename Impl, typename... Types>
class unipar::internal::ParallelWrapper< Impl, Types >

Definition at line 68 of file unipar/unipar.h.

Member Typedef Documentation

template<typename Impl , typename... Types>
using unipar::internal::ParallelWrapper< Impl, Types >::RMType = typename Impl::template RMType<Impl, Types...>

Definition at line 70 of file unipar/unipar.h.

Constructor & Destructor Documentation

template<typename Impl , typename... Types>
unipar::internal::ParallelWrapper< Impl, Types >::ParallelWrapper ( const Impl &  impl)
inline

Definition at line 74 of file unipar/unipar.h.

template<typename Impl , typename... Types>
unipar::internal::ParallelWrapper< Impl, Types >::ParallelWrapper ( int  nthreads)
inline

Definition at line 77 of file unipar/unipar.h.

template<typename Impl , typename... Types>
unipar::internal::ParallelWrapper< Impl, Types >::ParallelWrapper ( )
inline

Definition at line 79 of file unipar/unipar.h.

template<typename Impl , typename... Types>
template<typename PrevResMan >
unipar::internal::ParallelWrapper< Impl, Types >::ParallelWrapper ( Impl &  impl,
PrevResMan &  prev_rm 
)
inline

Definition at line 83 of file unipar/unipar.h.

Member Function Documentation

template<typename Impl , typename... Types>
template<typename IndexF , typename IndexL , typename Func >
void unipar::internal::ParallelWrapper< Impl, Types >::for_ ( IndexF  first,
IndexL  last,
const Func &  f 
)
inline

Definition at line 92 of file unipar/unipar.h.

template<typename Impl , typename... Types>
template<typename IndexF , typename IndexL , typename IndexS , typename Func >
void unipar::internal::ParallelWrapper< Impl, Types >::for_ ( IndexF  first,
IndexL  last,
IndexS  step,
const Func &  f 
)
inline

Definition at line 97 of file unipar/unipar.h.

template<typename Impl , typename... Types>
template<typename T >
ParallelWrapper<Impl, T, Types...> unipar::internal::ParallelWrapper< Impl, Types >::withFunc ( const std::function< T()> &  f)
inline
template<typename Impl , typename... Types>
template<typename T , typename Func >
ParallelWrapper<Impl, T, Types...> unipar::internal::ParallelWrapper< Impl, Types >::withFunc ( const Func &  f)
inline

Definition at line 113 of file unipar/unipar.h.

template<typename Impl , typename... Types>
template<typename T , typename... Args>
ParallelWrapper<Impl, T, Types...> unipar::internal::ParallelWrapper< Impl, Types >::with ( Args...  args)
inline

Definition at line 118 of file unipar/unipar.h.

template<typename Impl , typename... Types>
RMType& unipar::internal::ParallelWrapper< Impl, Types >::resources ( )
inline
template<typename Impl , typename... Types>
Impl& unipar::internal::ParallelWrapper< Impl, Types >::impl ( )
inline

Definition at line 133 of file unipar/unipar.h.

template<typename Impl , typename... Types>
const Impl& unipar::internal::ParallelWrapper< Impl, Types >::impl ( ) const
inline

Definition at line 135 of file unipar/unipar.h.

template<typename Impl , typename... Types>
int unipar::internal::ParallelWrapper< Impl, Types >::getNumThreads ( ) const
inline

Definition at line 138 of file unipar/unipar.h.

template<typename Impl , typename... Types>
void unipar::internal::ParallelWrapper< Impl, Types >::setNumThreads ( int  nthreads)
inline

Definition at line 140 of file unipar/unipar.h.

Member Data Documentation

template<typename Impl , typename... Types>
Impl unipar::internal::ParallelWrapper< Impl, Types >::m_impl
protected

Definition at line 143 of file unipar/unipar.h.

template<typename Impl , typename... Types>
RMType unipar::internal::ParallelWrapper< Impl, Types >::m_resource_manager
protected

Definition at line 144 of file unipar/unipar.h.


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