Stride Reference Manual  1.0
unipar::internal::OpenmpResourceManager< Impl, Type, Rest... > Class Template Reference

#include <openmp.h>

Inheritance diagram for unipar::internal::OpenmpResourceManager< Impl, Type, Rest... >:
Inheritance graph
Collaboration diagram for unipar::internal::OpenmpResourceManager< Impl, Type, Rest... >:
Collaboration graph

Public Types

using RestType = typename Impl::template RMType< Impl, Rest... >
 
using FuncType = std::function< Type()>
 
- Public Types inherited from unipar::internal::ResourceManager< Impl, Type, Rest... >
using RestType = typename Impl::template RMType< Impl, Rest... >
 
using FuncType = std::function< Type()>
 

Public Member Functions

template<typename F , typename... Args>
std::result_of< F(Type &, Args...)>::type call (const F &to_call, Args &&...args)
 
void init (size_t size)
 
 ~OpenmpResourceManager ()
 
- Public Member Functions inherited from unipar::internal::ResourceManager< Impl, Type, Rest... >
 ResourceManager ()=default
 
 ResourceManager (const RestType &rest)
 
 ResourceManager (const ResourceManager< Impl, Type, Rest... > &rm)
 
ResourceManager< Impl, Type, Rest... > & operator= (const ResourceManager< Impl, Type, Rest... > &other)
 
void setFunc (const FuncType &f)
 
RestTyperest ()
 
const RestTyperest () const
 

Protected Attributes

std::vector< Type * > m_values
 
- Protected Attributes inherited from unipar::internal::ResourceManager< Impl, Type, Rest... >
FuncType m_func
 
RestType m_rest
 

Detailed Description

template<typename Impl, typename Type, typename... Rest>
class unipar::internal::OpenmpResourceManager< Impl, Type, Rest... >

Definition at line 15 of file openmp.h.

Member Typedef Documentation

template<typename Impl , typename Type , typename... Rest>
using unipar::internal::OpenmpResourceManager< Impl, Type, Rest... >::RestType = typename Impl::template RMType<Impl, Rest...>

Definition at line 17 of file openmp.h.

template<typename Impl , typename Type , typename... Rest>
using unipar::internal::OpenmpResourceManager< Impl, Type, Rest... >::FuncType = std::function<Type()>

Definition at line 18 of file openmp.h.

Constructor & Destructor Documentation

template<typename Impl , typename Type , typename... Rest>
unipar::internal::OpenmpResourceManager< Impl, Type, Rest... >::~OpenmpResourceManager ( )
inline

Definition at line 37 of file openmp.h.

Member Function Documentation

template<typename Impl , typename Type , typename... Rest>
template<typename F , typename... Args>
std::result_of<F(Type&, Args...)>::type unipar::internal::OpenmpResourceManager< Impl, Type, Rest... >::call ( const F &  to_call,
Args &&...  args 
)
inline

Definition at line 24 of file openmp.h.

template<typename Impl , typename Type , typename... Rest>
void unipar::internal::OpenmpResourceManager< Impl, Type, Rest... >::init ( size_t  size)
inline

Definition at line 32 of file openmp.h.

Member Data Documentation

template<typename Impl , typename Type , typename... Rest>
std::vector<Type*> unipar::internal::OpenmpResourceManager< Impl, Type, Rest... >::m_values
protected

Definition at line 47 of file openmp.h.


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