|
Wwise SDK 2024.1.9
|
An object pool of N reusable objects with one allocation. [詳解]
#include <AkObjectPool.h>
クラス | |
| union | DataType |
公開型 | |
| using | ValueType = T |
| using | SizeType = AkUInt32 |
公開メンバ関数 | |
| ObjectPool ()=default | |
| ObjectPool (const ObjectPool &)=delete | |
| ObjectPool (ObjectPool &&)=delete | |
| ~ObjectPool () | |
| ObjectPool & | operator= (const ObjectPool &)=delete |
| ObjectPool & | operator= (ObjectPool &&)=delete |
| AKRESULT | Init (SizeType count) |
| void | Term () |
| AK_NODISCARD SizeType | Size () const |
| AK_NODISCARD SizeType | Capacity () const |
| AK_NODISCARD bool | IsFull () const |
| AK_NODISCARD bool | IsEmpty () const |
| AKRESULT | Deallocate (ValueType *data) |
| void | Clear () |
| AK_NODISCARD ValueType * | Allocate () |
| AK_NODISCARD ValueType * | AllocateZeroFilled () |
| Initialize memory before returning. [詳解] | |
静的公開変数類 | |
| static constexpr SizeType | kInvalidIndex = (SizeType)-1 |
フレンド | |
| struct | UnitTest::ObjectPoolHelper |
An object pool of N reusable objects with one allocation.
AkObjectPool.h の 58 行目に定義があります。