Wwise SDK 2022.1.8
_ak_object_pool_8h_source
Version
menu_open
link
AkObjectPool.h
Go to the documentation of this file.
86 AKASSERT(!m_data && "ObjectPool is already initialized, call 'Term' before calling 'Init' again");
113 // Only assert when some object are still allocated and ValueType is not trivially destructible.
AKSOUNDENGINE_API void Free(AkMemPoolId in_poolId, void *in_pMemAddress)
AK_NODISCARD ValueType * AllocateZeroFilled()
Initialize memory before returning.
Definition: AkObjectPool.h:149
ObjectPool()=default
Definition: AkObjectPool.h:38
ObjectPool(ObjectPool &&)=delete
Definition: AkObjectPool.h:66
@ AK_InvalidParameter
Something is not within bounds, check the documentation of the function returning this code.
Definition: AkTypes.h:217
friend struct UnitTest::ObjectPoolHelper
Definition: AkObjectPool.h:206
ObjectPool(const ObjectPool &)=delete
AkForceInline void AkMemSet(void *pDest, AkInt32 iVal, AkUInt32 uSize)
Platform Independent Helper.
Definition: AkPlatformFuncs.h:410
ObjectPool & operator=(const ObjectPool &)=delete
ObjectPool & operator=(ObjectPool &&)=delete
An object pool of N reusable objects with one allocation.
Definition: AkObjectPool.h:59
Definition: AkObjectPool.h:46
Definition: AkArray.h:38
Was this page helpful?
Need Support?
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageTell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise