|
|
| 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 bool | GetLogCreateAndDelete () |
| |
|
static void | SetLogCreateAndDelete (bool abX) |
| |
|
|
unsigned int | mlPrio |
| |
|
unsigned long | mlTime |
| |
|
unsigned long | mlSize |
| |
|
unsigned int | mlUserCount |
| |
|
unsigned long | mlHandle |
| |
|
tString | msName |
| |
|
tString | msFilePath |
| |
|
bool | mbLogDestruction |
| |
|
|
static bool | mbLogCreateAndDelete |
| |
◆ reload()
| virtual bool hpl::iResourceBase::reload |
( |
| ) |
|
|
pure virtual |
virtual bool Reload()=0;
- Returns
- true is reload was successful, else false.
Implemented in hpl::cMesh, hpl::iScript, hpl::iMaterial, hpl::iGLStateProgram, hpl::iTexture, hpl::cSoundEntityData, hpl::iVideoStream, hpl::FontData, hpl::cImageEntityData, hpl::cAnimation, hpl::cParticleSystemData3D, hpl::cTileSet, hpl::iSoundData, and hpl::cResourceImage.
◆ unload()
| virtual void hpl::iResourceBase::unload |
( |
| ) |
|
|
pure virtual |
Free most the memory, save info to get started again.
Implemented in hpl::cMesh, hpl::iScript, hpl::iMaterial, hpl::iGLStateProgram, hpl::iTexture, hpl::cSoundEntityData, hpl::iVideoStream, hpl::FontData, hpl::cImageEntityData, hpl::cAnimation, hpl::cParticleSystemData3D, hpl::cTileSet, hpl::iSoundData, and hpl::cResourceImage.
◆ destroy()
| virtual void hpl::iResourceBase::destroy |
( |
| ) |
|
|
pure virtual |
Free all memory.
Implemented in hpl::cMesh, hpl::iScript, hpl::iMaterial, hpl::iGLStateProgram, hpl::iTexture, hpl::cSoundEntityData, hpl::iVideoStream, hpl::FontData, hpl::cImageEntityData, hpl::cAnimation, hpl::cParticleSystemData3D, hpl::cTileSet, hpl::iSoundData, and hpl::cResourceImage.
The documentation for this class was generated from the following file: