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

#include <InstancePool.h>

+ Inheritance diagram for nw4hbm::snd::detail::InstancePool< T >:
+ Collaboration diagram for nw4hbm::snd::detail::InstancePool< T >:

Public Member Functions

u32 Create (void *buffer, u32 size)
 
void Destroy (void *buffer, u32 size)
 
int Count () const
 
TAlloc ()
 
void Free (T *obj)
 

Additional Inherited Members

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

Member Function Documentation

◆ Alloc()

template<typename T >
T * nw4hbm::snd::detail::InstancePool< T >::Alloc ( )
inline

◆ Count()

template<typename T >
int nw4hbm::snd::detail::InstancePool< T >::Count ( ) const
inline

◆ Create()

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

◆ Destroy()

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

◆ Free()

template<typename T >
void nw4hbm::snd::detail::InstancePool< T >::Free ( T * obj)
inline

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