V-Gears 0
Free Final Fantasy VII engine.
VGears::TxzFileManager Class Reference

The manager for TXZ files. More...

#include <TxzFileManager.h>

Inheritance diagram for VGears::TxzFileManager:
Collaboration diagram for VGears::TxzFileManager:

Public Member Functions

 TxzFileManager ()
 Constructor. More...
 
virtual ~TxzFileManager ()
 Destructor. More...
 

Static Public Member Functions

static TxzFileManagergetSingleton ()
 Retrieves a singleton to the manager. More...
 
static TxzFileManagergetSingletonPtr ()
 Retrieves a pointer to the manager singleton. More...
 

Private Member Functions

virtual Ogre::Resource * createImpl (const Ogre::String &name, Ogre::ResourceHandle handle, const Ogre::String &group, bool is_manual, Ogre::ManualResourceLoader *loader, const Ogre::NameValuePairList *create_params) override final
 Loads the manager. More...
 

Detailed Description

The manager for TXZ files.

Constructor & Destructor Documentation

◆ TxzFileManager()

VGears::TxzFileManager::TxzFileManager ( )

Constructor.

◆ ~TxzFileManager()

VGears::TxzFileManager::~TxzFileManager ( )
virtual

Destructor.

Member Function Documentation

◆ createImpl()

Ogre::Resource * VGears::TxzFileManager::createImpl ( const Ogre::String &  name,
Ogre::ResourceHandle  handle,
const Ogre::String &  group,
bool  is_manual,
Ogre::ManualResourceLoader *  loader,
const Ogre::NameValuePairList *  create_params 
)
finaloverrideprivatevirtual

Loads the manager.

Parameters
[in]nameThe unique name of the manager.
[in]handle
Todo:
Understand and document.
Parameters
[in]groupThe name of the resource group to which this resource belong.
[in]is_manualTrue if the resource is manually loaded, false otherwise.
[in]loaderPointer to a ManualResourceLoader implementation which will be called when the Resource wishes to load (should be supplied if is_manual is set to true). It can be null, but the Resource will never be able to reload if anything ever causes it to unload. Therefore provision of a proper ManualResourceLoader instance is strongly recommended.
[in]create_paramsUnused.

◆ getSingleton()

TxzFileManager & VGears::TxzFileManager::getSingleton ( )
static

Retrieves a singleton to the manager.

◆ getSingletonPtr()

TxzFileManager * VGears::TxzFileManager::getSingletonPtr ( )
static

Retrieves a pointer to the manager singleton.


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