#include <seadResourceMgr.h>
Classes | |
| struct | CreateArg |
| struct | LoadArg |
Public Types | |
| typedef TList< ResourceFactory * > | FactoryList |
| typedef TList< Resource * > | ResourceList |
| typedef TList< Decompressor * > | DecompressorList |
Public Member Functions | |
| ResourceMgr () | |
| ~ResourceMgr () | |
| void | postCreate () |
| void | registerFactory (ResourceFactory *factory, const SafeString &name) |
| void | registerDecompressor (Decompressor *decompressor, const SafeString &name) |
| void | unregisterFactory (ResourceFactory *factory) |
| void | unregisterDecompressor (Decompressor *decompressor) |
| ResourcePtr | tryLoadWithoutDecomp (const LoadArg &arg) |
| ResourcePtr | tryLoad (const LoadArg &arg, const SafeString &convert_ext, Decompressor *decomp) |
| ResourcePtr | loadWithoutDecomp (const LoadArg &arg) |
| ResourceFactory * | findFactory (const SafeString &ext) |
| Decompressor * | findDecompressor (const SafeString &ext) |
Private Attributes | |
| FactoryList | mFactoryList |
| ResourceList | mPostCreateResourceList |
| DecompressorList | mDecompList |
| ResourceFactory * | mNullResourceFactory |
| typedef TList<Resource*> sead::ResourceMgr::ResourceList |
| sead::ResourceMgr::ResourceMgr | ( | ) |
| sead::ResourceMgr::~ResourceMgr | ( | ) |
| void sead::ResourceMgr::postCreate | ( | ) |
| void sead::ResourceMgr::registerFactory | ( | ResourceFactory * | factory, |
| const SafeString & | name ) |
| void sead::ResourceMgr::registerDecompressor | ( | Decompressor * | decompressor, |
| const SafeString & | name ) |
| void sead::ResourceMgr::unregisterFactory | ( | ResourceFactory * | factory | ) |
| void sead::ResourceMgr::unregisterDecompressor | ( | Decompressor * | decompressor | ) |
| ResourcePtr sead::ResourceMgr::tryLoadWithoutDecomp | ( | const LoadArg & | arg | ) |
| ResourcePtr sead::ResourceMgr::tryLoad | ( | const LoadArg & | arg, |
| const SafeString & | convert_ext, | ||
| Decompressor * | decomp ) |
|
inline |
| ResourceFactory * sead::ResourceMgr::findFactory | ( | const SafeString & | ext | ) |
| Decompressor * sead::ResourceMgr::findDecompressor | ( | const SafeString & | ext | ) |
|
private |
|
private |
|
private |
|
private |