Skip to content

Resource

An Amplitude resource in a FileSystem .

Inherited by the following classes: SparkyStudios::Audio::Amplitude::HRIRSphere, SparkyStudios::Audio::Amplitude::Sound

Detailed Description

This base class represents a resource (sound files, assets, etc.) in a FileSystem.

Public Functions

Type Name
virtual const AmOsString & GetPath () const = 0
Gets the path to the resource.
virtual void Load (std::shared_ptr< const FileSystem > loader) = 0
Loads the resource from the given FileSystem .
virtual ~Resource () = default
Default destructor.

Public Functions Documentation

GetPath

Gets the path to the resource.

virtual const AmOsString & Amplitude::Resource::GetPath () const = 0
Load

Loads the resource from the given FileSystem .

virtual void Amplitude::Resource::Load (
    std::shared_ptr< const FileSystem > loader
) = 0
~Resource

Default destructor.

virtual Amplitude::Resource::~Resource () = default

The documentation for this class was generated from the following file: include/SparkyStudios/Audio/Amplitude/IO/Resource.h