#include <core.h>
Public Member Functions | |
template<typename RT > | |
Resource< RT > * | create (const std::string &name, const std::string &file) |
template<typename RT > | |
Resource< RT > * | create (const std::string &name, const typename RT::DataTypePtr &data) |
template<typename RT > | |
void | destroy (const std::string &name) |
~ResourceManager () | |
Private Member Functions | |
template<typename RT > | |
Resource< RT > * | create (const std::string &name, const std::string &file, ResourceTypes::BaseCloud) |
template<typename RT > | |
Resource< RT > * | create (const std::string &name, const std::string &file, ResourceTypes::Image) |
template<typename RT > | |
std::map< std::string, Resource< RT > * > * | get () |
ResourceManager () | |
Friends | |
class | Core |
Gui::ResourceManager::~ResourceManager | ( | ) | [inline] |
Gui::ResourceManager::ResourceManager | ( | ) | [inline, private] |
Resource<RT>* Gui::ResourceManager::create | ( | const std::string & | name, |
const std::string & | file | ||
) | [inline] |
Gui::Resource< RT > * Gui::ResourceManager::create | ( | const std::string & | name, |
const typename RT::DataTypePtr & | data | ||
) |
Gui::Resource< RT > * Gui::ResourceManager::create | ( | const std::string & | name, |
const std::string & | file, | ||
ResourceTypes::BaseCloud | |||
) | [private] |
Gui::Resource< RT > * Gui::ResourceManager::create | ( | const std::string & | name, |
const std::string & | file, | ||
ResourceTypes::Image | |||
) | [private] |
void Gui::ResourceManager::destroy | ( | const std::string & | name | ) |
std::map< std::string, Gui::Resource< RT > * > * Gui::ResourceManager::get | ( | ) | [private] |