Skip to content

Asset

template <typename Id>

Amplitude asset.

Detailed Description

This is the base class for all Amplitude assets. An Amplitude asset is an ``.json file with a specific format (definition) specified by the corresponding asset's flatbuffer schema.

Template parameters:

  • Id The type of the asset id.

Public Functions

Type Name
virtual Id GetId () const = 0
Returns the unique ID of this asset.
virtual const AmString & GetName () const = 0
Gets the name of this asset.
virtual ~Asset () = default
Destroys the asset and all related resources.

Public Functions Documentation

GetId

Returns the unique ID of this asset.

virtual Id Amplitude::Asset::GetId () const = 0

Returns:

The asset unique ID.

GetName

Gets the name of this asset.

virtual const AmString & Amplitude::Asset::GetName () const = 0

Returns:

The asset name.

~Asset

Destroys the asset and all related resources.

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

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