Skip to content

Struct dalia::PlaybackHandle

ClassList > dalia > PlaybackHandle

Handle used to manage playback instances. This handle will expire once the playback instance it is referencing stops.

  • #include <PlaybackControl.h>

Public Functions

Type Name
uint64_t GetRawId () const
bool IsValid () const
PlaybackHandle () = default
PlaybackHandle (uint64_t rawId)
bool operator!= (const PlaybackHandle & other) const
bool operator== (const PlaybackHandle & other) const

Public Functions Documentation

function GetRawId

inline uint64_t dalia::PlaybackHandle::GetRawId () const

Returns:

The underlying raw id of the handle.


function IsValid

inline bool dalia::PlaybackHandle::IsValid () const

Returns:

true if the handle has referenced an active playback instance at some point. Otherwise, false.


function PlaybackHandle [1/2]

dalia::PlaybackHandle::PlaybackHandle () = default

function PlaybackHandle [2/2]

inline explicit dalia::PlaybackHandle::PlaybackHandle (
    uint64_t rawId
) 

function operator!=

inline bool dalia::PlaybackHandle::operator!= (
    const PlaybackHandle & other
) const

function operator==

inline bool dalia::PlaybackHandle::operator== (
    const PlaybackHandle & other
) const


The documentation for this class was generated from the following file engine/include/dalia/audio/PlaybackControl.h