Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
nw4hbm::snd::detail::SoundInstanceManager< T > Class Template Reference

#include <SoundInstanceManager.h>

+ Collaboration diagram for nw4hbm::snd::detail::SoundInstanceManager< T >:

Public Member Functions

u32 Create (void *buffer, u32 size)
 
void Destroy (void *buffer, u32 size)
 
TAlloc (int priority)
 
void Free (T *sound)
 
u32 GetActiveCount () const
 
u32 GetFreeCount () const
 
TGetLowestPrioritySound ()
 
void InsertPriorityList (T *sound, int priority)
 
void RemovePriorityList (T *sound)
 
void SortPriorityList ()
 
void UpdatePriority (T *sound, int priority)
 

Private Types

typedef ut::LinkList< T, offsetof(T, mPriorityLink)> TPrioList
 

Private Attributes

MemoryPool< TmPool
 
TPrioList mPriorityList
 

Member Typedef Documentation

◆ TPrioList

template<typename T >
ut::LinkList<T, offsetof(T, mPriorityLink)> nw4hbm::snd::detail::SoundInstanceManager< T >::TPrioList
private

Member Function Documentation

◆ Alloc()

template<typename T >
T * nw4hbm::snd::detail::SoundInstanceManager< T >::Alloc ( int priority)
inline

◆ Create()

template<typename T >
u32 nw4hbm::snd::detail::SoundInstanceManager< T >::Create ( void * buffer,
u32 size )
inline

◆ Destroy()

template<typename T >
void nw4hbm::snd::detail::SoundInstanceManager< T >::Destroy ( void * buffer,
u32 size )
inline

◆ Free()

template<typename T >
void nw4hbm::snd::detail::SoundInstanceManager< T >::Free ( T * sound)
inline

◆ GetActiveCount()

template<typename T >
u32 nw4hbm::snd::detail::SoundInstanceManager< T >::GetActiveCount ( ) const
inline

◆ GetFreeCount()

template<typename T >
u32 nw4hbm::snd::detail::SoundInstanceManager< T >::GetFreeCount ( ) const
inline

◆ GetLowestPrioritySound()

template<typename T >
T * nw4hbm::snd::detail::SoundInstanceManager< T >::GetLowestPrioritySound ( )
inline

◆ InsertPriorityList()

template<typename T >
void nw4hbm::snd::detail::SoundInstanceManager< T >::InsertPriorityList ( T * sound,
int priority )
inline

◆ RemovePriorityList()

template<typename T >
void nw4hbm::snd::detail::SoundInstanceManager< T >::RemovePriorityList ( T * sound)
inline

◆ SortPriorityList()

template<typename T >
void nw4hbm::snd::detail::SoundInstanceManager< T >::SortPriorityList ( )
inline

◆ UpdatePriority()

template<typename T >
void nw4hbm::snd::detail::SoundInstanceManager< T >::UpdatePriority ( T * sound,
int priority )
inline

Member Data Documentation

◆ mPool

template<typename T >
MemoryPool<T> nw4hbm::snd::detail::SoundInstanceManager< T >::mPool
private

◆ mPriorityList

template<typename T >
TPrioList nw4hbm::snd::detail::SoundInstanceManager< T >::mPriorityList
private

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