Overload  1.1
Game engine with editor
Public Member Functions | List of all members
OvCore::ResourceManagement::SoundManager Class Reference

#include <SoundManager.h>

Inheritance diagram for OvCore::ResourceManagement::SoundManager:
OvCore::ResourceManagement::AResourceManager< OvAudio::Resources::Sound >

Public Member Functions

virtual OvAudio::Resources::SoundCreateResource (const std::string &p_path) override
 
virtual void DestroyResource (OvAudio::Resources::Sound *p_resource) override
 
- Public Member Functions inherited from OvCore::ResourceManagement::AResourceManager< OvAudio::Resources::Sound >
OvAudio::Resources::SoundLoadResource (const std::string &p_path)
 
void UnloadResource (const std::string &p_path)
 
bool MoveResource (const std::string &p_previousPath, const std::string &p_newPath)
 
bool IsResourceRegistered (const std::string &p_path)
 
void UnloadResources ()
 
OvAudio::Resources::SoundRegisterResource (const std::string &p_path, OvAudio::Resources::Sound *p_instance)
 
void UnregisterResource (const std::string &p_path)
 
OvAudio::Resources::SoundGetResource (const std::string &p_path, bool p_tryToLoadIfNotFound=true)
 
OvAudio::Resources::Soundoperator[] (const std::string &p_path)
 
std::unordered_map< std::string, OvAudio::Resources::Sound * > & GetResources ()
 

Additional Inherited Members

- Static Public Member Functions inherited from OvCore::ResourceManagement::AResourceManager< OvAudio::Resources::Sound >
static void ProvideAssetPaths (const std::string &p_projectAssetsPath, const std::string &p_engineAssetsPath)
 
- Protected Member Functions inherited from OvCore::ResourceManagement::AResourceManager< OvAudio::Resources::Sound >
std::string GetRealPath (const std::string &p_path) const
 

Detailed Description

ResourceManager of sounds

Member Function Documentation

◆ CreateResource()

OvAudio::Resources::Sound * OvCore::ResourceManagement::SoundManager::CreateResource ( const std::string &  p_path)
overridevirtual

Create the resource identified by the given path

Parameters
p_path@project: Overload
Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

Implements OvCore::ResourceManagement::AResourceManager< OvAudio::Resources::Sound >.

◆ DestroyResource()

void OvCore::ResourceManagement::SoundManager::DestroyResource ( OvAudio::Resources::Sound p_resource)
overridevirtual

Destroy the given resource

Parameters
p_resource

Implements OvCore::ResourceManagement::AResourceManager< OvAudio::Resources::Sound >.


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