Annwvyn::AnnAudioFileManager Class Reference

Audio file ResourceManager. More...

#include <AnnAudioFile.hpp>

Inheritance diagram for Annwvyn::AnnAudioFileManager:
Collaboration diagram for Annwvyn::AnnAudioFileManager:

Public Member Functions

 AnnAudioFileManager ()
 Construct an AnnAudioFileManager. Will register itsel to the Ogre ResourceGroupManager. More...
 
virtual ~AnnAudioFileManager ()
 Will unregister itself to the Ogre ResourceGroupManager. More...
 
virtual AnnAudioFilePtr load (const Ogre::String &name, const Ogre::String &group)
 Load a file via the AudioFileManager. More...
 

Static Public Member Functions

static AnnAudioFileManagergetSingleton ()
 Get singleton ref. More...
 
static AnnAudioFileManagergetSingletonPtr ()
 Get singleton pointer. More...
 

Protected Member Functions

Ogre::Resource * createImpl (const Ogre::String &name, Ogre::ResourceHandle handle, const Ogre::String &group, bool isManual, Ogre::ManualResourceLoader *loader, const Ogre::NameValuePairList *createParams) override
 Create the audio file resource itself. More...
 

Detailed Description

Audio file ResourceManager.

Definition at line 85 of file AnnAudioFile.hpp.

Constructor & Destructor Documentation

◆ AnnAudioFileManager()

AnnAudioFileManager::AnnAudioFileManager ( )

Construct an AnnAudioFileManager. Will register itsel to the Ogre ResourceGroupManager.

Definition at line 63 of file AnnAudioFile.cpp.

◆ ~AnnAudioFileManager()

AnnAudioFileManager::~AnnAudioFileManager ( )
virtual

Will unregister itself to the Ogre ResourceGroupManager.

Definition at line 70 of file AnnAudioFile.cpp.

Member Function Documentation

◆ createImpl()

Resource * AnnAudioFileManager::createImpl ( const Ogre::String &  name,
Ogre::ResourceHandle  handle,
const Ogre::String &  group,
bool  isManual,
Ogre::ManualResourceLoader *  loader,
const Ogre::NameValuePairList *  createParams 
)
overrideprotected

Create the audio file resource itself.

Definition at line 54 of file AnnAudioFile.cpp.

◆ getSingleton()

AnnAudioFileManager & AnnAudioFileManager::getSingleton ( )
static

Get singleton ref.

Definition at line 82 of file AnnAudioFile.cpp.

◆ getSingletonPtr()

AnnAudioFileManager * AnnAudioFileManager::getSingletonPtr ( )
static

Get singleton pointer.

Definition at line 87 of file AnnAudioFile.cpp.

◆ load()

AnnAudioFilePtr AnnAudioFileManager::load ( const Ogre::String &  name,
const Ogre::String &  group 
)
virtual

Load a file via the AudioFileManager.

Definition at line 75 of file AnnAudioFile.cpp.

Here is the caller graph for this function:

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