Stride Reference Manual
1.0
|
#include <tbb.h>
Public Types | |
using | RestType = typename Impl::template RMType< Impl, Rest... > |
using | FuncType = std::function< Type()> |
using | TLSType = tbb::enumerable_thread_specific< Type > |
![]() | |
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 &func, Args &&...args) |
void | setFunc (const FuncType &f) |
![]() | |
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) |
RestType & | rest () |
const RestType & | rest () const |
Protected Attributes | |
std::unique_ptr< TLSType > | m_tls |
![]() | |
FuncType | m_func |
RestType | m_rest |
using unipar::internal::TbbResourceManager< Impl, Type, Rest... >::RestType = typename Impl::template RMType<Impl, Rest...> |
using unipar::internal::TbbResourceManager< Impl, Type, Rest... >::FuncType = std::function<Type()> |
using unipar::internal::TbbResourceManager< Impl, Type, Rest... >::TLSType = tbb::enumerable_thread_specific<Type> |
|
inline |
|
inline |
|
protected |