|
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 > |
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 &func, Args &&...args) |
| void | setFunc (const FuncType &f) |
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) |
| RestType & | rest () |
| const RestType & | rest () const |
Protected Attributes | |
| std::unique_ptr< TLSType > | m_tls |
Protected Attributes inherited from unipar::internal::ResourceManager< Impl, Type, Rest... > | |
| 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 |