Version

    Other Documentation

menu_open
Wwise SDK 2022.1.9
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 > AkAudioObject::ArrayCustomMetadata 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 198 of file IAkPluginMemAlloc.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell 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