|
Wwise SDK 2023.1.17
|
An object pool of N reusable objects with one allocation. 더 자세히 ...
#include <AkObjectPool.h>
클래스 | |
| union | DataType |
Public 타입 | |
| using | ValueType = T |
| using | SizeType = AkUInt32 |
Public 멤버 함수 | |
| 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. 더 자세히 ... | |
정적 Public 속성 | |
| static constexpr SizeType | kInvalidIndex = (SizeType)-1 |
Friends | |
| struct | UnitTest::ObjectPoolHelper |
An object pool of N reusable objects with one allocation.
AkObjectPool.h 파일의 58 번째 라인에서 정의되었습니다.
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요