NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::snd::detail::MemoryPool< T > Class Template Reference
Inheritance diagram for nw4r::snd::detail::MemoryPool< T >:
[legend]

Description

template<class T>
class nw4r::snd::detail::MemoryPool< T >

Definition at line 81 of file snd_InstancePool.h.

Public Member Functions

ulong Create (void *buffer, ulong size)
 
void Destroy (void *buffer, ulong size)
 
int Count () const
 
T * Alloc ()
 
void Free (T *obj)
 

Additional Inherited Members

- Private Member Functions inherited from nw4r::snd::detail::PoolImpl
ulong CreateImpl (void *buffer, ulong size, ulong objSize)
 
void DestroyImpl (void *buffer, ulong size)
 
int CountImpl () const
 
void * AllocImpl ()
 
void FreeImpl (void *ptr)
 

Member Function Documentation

◆ Create()

template<class T>
ulong nw4r::snd::detail::MemoryPool< T >::Create ( void * buffer,
ulong size )
inline

Definition at line 86 of file snd_InstancePool.h.

◆ Destroy()

template<class T>
void nw4r::snd::detail::MemoryPool< T >::Destroy ( void * buffer,
ulong size )
inline

Definition at line 92 of file snd_InstancePool.h.

◆ Count()

template<class T>
int nw4r::snd::detail::MemoryPool< T >::Count ( ) const
inline

Definition at line 94 of file snd_InstancePool.h.

◆ Alloc()

template<class T>
T * nw4r::snd::detail::MemoryPool< T >::Alloc ( )
inline

Definition at line 96 of file snd_InstancePool.h.

◆ Free()

template<class T>
void nw4r::snd::detail::MemoryPool< T >::Free ( T * obj)
inline

Definition at line 97 of file snd_InstancePool.h.