#include <resource_manager.hpp>
|
| resource_manager () |
|
void | merge (i_resource_manager &aResourceManager) override |
|
void | add_resource (i_string const &aUri, const void *aResourceData, std::size_t aResourceSize) override |
|
void | add_module_resource (i_string const &aUri, const void *aResourceData, std::size_t aResourceSize) override |
|
void | load_resource (i_string const &aUri, i_ref_ptr< i_resource > &aResult) override |
|
void | cleanup () override |
|
void | clean () override |
|
neolib::i_map< i_string, neolib::i_variant< i_ref_ptr< i_resource >, i_weak_ref_ptr< i_resource > > > const & | resources () override |
|
neolib::i_map< i_string, neolib::i_variant< i_ref_ptr< i_resource >, i_weak_ref_ptr< i_resource > > > const & | resource_archives () override |
|
virtual void | add_resource (i_string const &aUri, const void *aResourceData, std::size_t aResourceSize)=0 |
|
void | add_resource (std::string const &aUri, const void *aResourceData, std::size_t aResourceSize) |
|
virtual void | add_module_resource (i_string const &aUri, const void *aResourceData, std::size_t aResourceSize)=0 |
|
void | add_module_resource (std::string const &aUri, const void *aResourceData, std::size_t aResourceSize) |
|
virtual void | load_resource (i_string const &aUri, i_ref_ptr< i_resource > &aResult)=0 |
|
ref_ptr< i_resource > | load_resource (std::string const &aUri) |
|
void | add_resource (std::string const &aUri, const void *aResourceData, std::size_t aResourceSize) |
|
void | add_module_resource (std::string const &aUri, const void *aResourceData, std::size_t aResourceSize) |
|
ref_ptr< i_resource > | load_resource (std::string const &aUri) |
|
virtual | ~i_service ()=default |
|
Definition at line 29 of file resource_manager.hpp.
◆ resource_manager()
neogfx::resource_manager::resource_manager |
( |
| ) |
|
◆ add_module_resource() [1/3]
void neogfx::resource_manager::add_module_resource |
( |
i_string const & |
aUri, |
|
|
const void * |
aResourceData, |
|
|
std::size_t |
aResourceSize |
|
) |
| |
|
overridevirtual |
◆ add_module_resource() [2/3]
virtual void neogfx::i_resource_manager::add_module_resource |
( |
i_string const & |
aUri, |
|
|
const void * |
aResourceData, |
|
|
std::size_t |
aResourceSize |
|
) |
| |
|
virtual |
◆ add_module_resource() [3/3]
void neogfx::i_resource_manager::add_module_resource |
( |
std::string const & |
aUri, |
|
|
const void * |
aResourceData, |
|
|
std::size_t |
aResourceSize |
|
) |
| |
|
inline |
◆ add_resource() [1/3]
void neogfx::resource_manager::add_resource |
( |
i_string const & |
aUri, |
|
|
const void * |
aResourceData, |
|
|
std::size_t |
aResourceSize |
|
) |
| |
|
overridevirtual |
◆ add_resource() [2/3]
virtual void neogfx::i_resource_manager::add_resource |
( |
i_string const & |
aUri, |
|
|
const void * |
aResourceData, |
|
|
std::size_t |
aResourceSize |
|
) |
| |
|
virtual |
◆ add_resource() [3/3]
void neogfx::i_resource_manager::add_resource |
( |
std::string const & |
aUri, |
|
|
const void * |
aResourceData, |
|
|
std::size_t |
aResourceSize |
|
) |
| |
|
inline |
◆ clean()
void neogfx::resource_manager::clean |
( |
| ) |
|
|
overridevirtual |
◆ cleanup()
void neogfx::resource_manager::cleanup |
( |
| ) |
|
|
overridevirtual |
◆ instance()
◆ load_resource() [1/3]
◆ load_resource() [2/3]
◆ load_resource() [3/3]
ref_ptr< i_resource > neogfx::i_resource_manager::load_resource |
( |
std::string const & |
aUri | ) |
|
|
inline |
◆ merge()
◆ resource_archives()
◆ resources()
The documentation for this class was generated from the following file: