arrow_right Table of Contents

Other Documentation

Wwise SDK 2021.1.11
AkPluginArrayAllocator Class Reference

#include <IAkPluginMemAlloc.h>

Inheritance diagram for AkPluginArrayAllocator:
AkArray< AkInputMapSlot< KEY, USER_DATA >, const AkInputMapSlot< KEY, USER_DATA > &, AkPluginArrayAllocator > AkArray< CustomMetadata, const CustomMetadata &, AkPluginArrayAllocator > AkStringData< AkPluginArrayAllocator, char > AkMixerInputMap< KEY, USER_DATA > AkStringImpl< AkPluginArrayAllocator, char > AkString< AkPluginArrayAllocator, char >

Public Member Functions

AkForceInline  AkPluginArrayAllocator ()
AkForceInline void  Init (AK::IAkPluginMemAlloc *in_pAllocator)

Protected Member Functions

AkForceInline void *  Alloc (size_t in_uSize)
AkForceInline void *  ReAlloc (void *in_pCurrent, size_t in_uOldSize, size_t in_uNewSize)
AkForceInline void  Free (void *in_pAddress)
AkForceInline void  TransferMem (void *&io_pDest, AkPluginArrayAllocator &in_src, void *in_pSrc)
AkForceInline AK::IAkPluginMemAlloc GetAllocator ()

Detailed Description

Allocator for plugin-friendly arrays (see AkArray). Usage: Initialize the array with Init(AK::IAkPluginMemAlloc* in_pAllocator), passing it the memory allocator received from the host. Then use normally.

Definition at line 199 of file IAkPluginMemAlloc.h.