Planeshift
|
#include <psresmngr.h>
Public Member Functions | |
void | Clean () |
Releases any resource where the resource manager holds the last reference. | |
csPtr< psTemplateRes > | CreateResource (const char *name) |
psTemplateResMngr () | |
virtual void | UnregisterResource (psTemplateRes *res) |
Not yet implemented. | |
virtual | ~psTemplateResMngr () |
Protected Member Functions | |
virtual csPtr< psTemplateRes > | LoadResource (const char *name)=0 |
Protected Attributes | |
psTemplateResourceHash * | p_resources |
Pointer to the hash that stores pointers to loaded resources. |
Definition at line 14 of file psresmngr.h.
psTemplateResMngr::psTemplateResMngr | ( | ) |
virtual psTemplateResMngr::~psTemplateResMngr | ( | ) | [virtual] |
void psTemplateResMngr::Clean | ( | ) |
Releases any resource where the resource manager holds the last reference.
This causes a new csHashMap to be created and assigned to p_resources
csPtr<psTemplateRes> psTemplateResMngr::CreateResource | ( | const char * | name | ) |
virtual csPtr<psTemplateRes> psTemplateResMngr::LoadResource | ( | const char * | name | ) | [protected, pure virtual] |
virtual void psTemplateResMngr::UnregisterResource | ( | psTemplateRes * | res | ) | [virtual] |
Not yet implemented.
psTemplateResourceHash* psTemplateResMngr::p_resources [protected] |
Pointer to the hash that stores pointers to loaded resources.
This can and does change and should not be accessable outside of objects of this class.
Definition at line 38 of file psresmngr.h.