ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Static Methods | List of all members
T_Resourced< T > Struct Template Reference

#include <resources.hpp>

Inheritance diagram for T_Resourced< T >:
[legend]
Collaboration diagram for T_Resourced< T >:
[legend]

Class Description

template<typename T>
struct aworx::lib::resources::T_Resourced< T >


Simple TMP struct that associates resource information to given type T .

Extends std::false_type by default to indicate that it is not specialized for a specific type. Specializations need to extend std::true_type instead.

See also
Template Parameters
TThe type to define resource information for.

Definition at line 294 of file resources.hpp.

Public Static Methods

static constexpr NString Category ()
 
static constexpr NString Name ()
 
static constexpr ResourcePoolPool ()
 

Member Function Documentation

◆ Category()

static constexpr NString Category ( )
inlinestaticconstexpr

Returns a resource category associated with T.

Returns
The resource category.

Definition at line 306 of file resources.hpp.

Here is the call graph for this function:

◆ Name()

static constexpr NString Name ( )
inlinestaticconstexpr

Returns a resource name associated with T.

Returns
The resource category.

Definition at line 312 of file resources.hpp.

Here is the call graph for this function:

◆ Pool()

static constexpr ResourcePool* Pool ( )
inlinestaticconstexpr

Returns a pointer to the resource pool associated with T.

Returns
The resource pool of T.

Definition at line 300 of file resources.hpp.


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