menu
Wwise
arrow_drop_down
Strata
arrow_drop_down
Solutions
arrow_drop_down
Apprendre
arrow_drop_down
Communauté
arrow_drop_down
Documentation
arrow_drop_down
Aide
arrow_drop_down
2024.1.2.8726
2023.1.10.8659
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
Wwise SDK 2024.1.2
|
An object pool of N reusable objects with one allocation. More...
#include <AkObjectPool.h>
Classes | |
union | DataType |
Public Types | |
using | ValueType = T |
using | SizeType = AkUInt32 |
Public Member Functions | |
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. More... | |
Static Public Attributes | |
static constexpr SizeType | kInvalidIndex = (SizeType)-1 |
Friends | |
struct | UnitTest::ObjectPoolHelper |
An object pool of N reusable objects with one allocation.
Definition at line 58 of file AkObjectPool.h.
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'AideEnregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise