menu
 
Version
2021.1.14.8108

2024.1.6.8842

2023.1.14.8770

2022.1.19.8584

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

menu

Wwise SDK 2021.1.14
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.


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