Planeshift
Public Member Functions | Protected Member Functions | Protected Attributes

psTemplateResMngr Class Reference

#include <psresmngr.h>

List of all members.

Public Member Functions

void Clean ()
 Releases any resource where the resource manager holds the last reference.
csPtr< psTemplateResCreateResource (const char *name)
 psTemplateResMngr ()
virtual void UnregisterResource (psTemplateRes *res)
 Not yet implemented.
virtual ~psTemplateResMngr ()

Protected Member Functions

virtual csPtr< psTemplateResLoadResource (const char *name)=0

Protected Attributes

psTemplateResourceHashp_resources
 Pointer to the hash that stores pointers to loaded resources.

Detailed Description

Definition at line 14 of file psresmngr.h.


Constructor & Destructor Documentation

psTemplateResMngr::psTemplateResMngr ( )
virtual psTemplateResMngr::~psTemplateResMngr ( ) [virtual]

Member Function Documentation

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.


Member Data Documentation

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.


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