ScummVM API documentation
hpl::iResourceBase Class Referenceabstract
Inheritance diagram for hpl::iResourceBase:
hpl::cAnimation hpl::cImageEntityData hpl::cMesh hpl::cParticleSystemData3D hpl::cResourceImage hpl::cSoundEntityData hpl::cTileSet hpl::FontData hpl::iGpuProgram hpl::iMaterial hpl::iScript hpl::iSoundData hpl::iTexture hpl::iVideoStream

Public Member Functions

 iResourceBase (tString asName, unsigned long alPrio)
 
virtual bool reload ()=0
 
virtual void unload ()=0
 
virtual void destroy ()=0
 
tString GetName ()
 
unsigned long GetHandle ()
 
void SetHandle (unsigned long alHandle)
 
tString GetFilePath ()
 
unsigned long GetTime ()
 
unsigned long GetPrio ()
 
unsigned long GetSize ()
 
void SetLogDestruction (bool abX)
 
unsigned int GetUserCount ()
 
void IncUserCount ()
 
void DecUserCount ()
 
bool HasUsers ()
 

Static Public Member Functions

static bool GetLogCreateAndDelete ()
 
static void SetLogCreateAndDelete (bool abX)
 

Protected Attributes

unsigned int mlPrio
 
unsigned long mlTime
 
unsigned long mlSize
 
unsigned int mlUserCount
 
unsigned long mlHandle
 
tString msName
 
tString msFilePath
 
bool mbLogDestruction
 

Static Protected Attributes

static bool mbLogCreateAndDelete
 

Member Function Documentation

◆ reload()

virtual bool hpl::iResourceBase::reload ( )
pure virtual

◆ unload()

virtual void hpl::iResourceBase::unload ( )
pure virtual

◆ destroy()


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