Stride Reference Manual  1.0
unipar::internal::ResourceManager< Impl, Type, Rest... > Struct Template Reference

#include <unipar.h>

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

Public Types

using RestType = typename Impl::template RMType< Impl, Rest... >
 
using FuncType = std::function< Type()>
 

Public Member Functions

 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

FuncType m_func
 
RestType m_rest
 

Detailed Description

template<typename Impl, typename Type, typename... Rest>
struct unipar::internal::ResourceManager< Impl, Type, Rest... >

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

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

template<typename Impl , typename Type , typename... Rest>
unipar::internal::ResourceManager< Impl, Type, Rest... >::ResourceManager ( )
default
template<typename Impl , typename Type , typename... Rest>
unipar::internal::ResourceManager< Impl, Type, Rest... >::ResourceManager ( const RestType rest)
inline

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

template<typename Impl , typename Type , typename... Rest>
unipar::internal::ResourceManager< Impl, Type, Rest... >::ResourceManager ( const ResourceManager< Impl, Type, Rest... > &  rm)
inline

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

References m_func.

Member Function Documentation

template<typename Impl , typename Type , typename... Rest>
ResourceManager<Impl, Type, Rest...>& unipar::internal::ResourceManager< Impl, Type, Rest... >::operator= ( const ResourceManager< Impl, Type, Rest... > &  other)
inline

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

References m_func, and m_rest.

template<typename Impl , typename Type , typename... Rest>
void unipar::internal::ResourceManager< Impl, Type, Rest... >::setFunc ( const FuncType f)
inline

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

template<typename Impl , typename Type , typename... Rest>
RestType& unipar::internal::ResourceManager< Impl, Type, Rest... >::rest ( )
inline

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

template<typename Impl , typename Type , typename... Rest>
const RestType& unipar::internal::ResourceManager< Impl, Type, Rest... >::rest ( ) const
inline

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

Member Data Documentation

template<typename Impl , typename Type , typename... Rest>
FuncType unipar::internal::ResourceManager< Impl, Type, Rest... >::m_func
protected

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

Referenced by operator=(), and ResourceManager().

template<typename Impl , typename Type , typename... Rest>
RestType unipar::internal::ResourceManager< Impl, Type, Rest... >::m_rest
protected

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

Referenced by operator=().


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