clan::ResourceManager Class Reference - ClanLib SDK
Description: clan::ResourceManager Class Reference

Public Member Functions | List of all members
clan::ResourceManager Class Reference
clanCore Resources

Resource manager. More...

`#include <resource_manager.h>`

## Public Member Functions
| ResourceManager ()
| Construct a ResourceManager.
| ~ResourceManager ()
template<typename Type >
std::shared_ptr< Type > | get_cache (const std::string &name) const
template<typename Type >
void | set_cache (const std::string &name, const std::shared_ptr< Type > &cache)

## Detailed Description

Resource manager.

## Constructor & Destructor Documentation

## ◆ ResourceManager()

clan::ResourceManager::ResourceManager | ( |  | ) |

Construct a ResourceManager.

## ◆ ~ResourceManager()

clan::ResourceManager::~ResourceManager | ( |  | ) |

## Member Function Documentation

## ◆ get_cache()

template<typename Type >

std::shared_ptr< Type > clan::ResourceManager::get_cache | ( | const std::string & | name | ) | const
| inline

References clan::UserDataOwner::get_data().

## ◆ set_cache()

template<typename Type >

void clan::ResourceManager::set_cache | ( | const std::string & | name,
|  | const std::shared_ptr< Type > & | cache )
| inline

References clan::UserDataOwner::set_data().

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

- resource_manager.h