Version

menu_open
Wwise SDK 2022.1.18
AkObject.h File Reference

Go to the source code of this file.

Classes

struct  AkPlacementNewKey
 Unique structure identifier for AkPlacementNew. More...
 
struct  AkPoolNewKey
 Unique structure identifier for AkNew. More...
 

Macros

#define AkPlacementNew(_memory)   ::new( _memory, AkPlacementNewKey() )
 
#define AkNew(_pool, _what)   new( ( _pool ), AkPoolNewKey() ) _what
 
#define AkAlloc(_pool, _size)   ( AK::MemoryMgr::Malloc( ( _pool ), _size ) )
 
#define AkMalign(_pool, _size, _align)   ( AK::MemoryMgr::Malign( ( _pool ), _size, _align ) )
 
#define AkNewAligned(_pool, _what, _align)   new( ( _pool ), AkPoolNewKey(), ( _align ) ) _what
 
#define AkRealloc(_pool, _pvmem, _size)   ( AK::MemoryMgr::Realloc( ( _pool ), _pvmem, _size ) )
 
#define AkReallocAligned(_pool, _pvmem, _size, _align)   ( AK::MemoryMgr::ReallocAligned( ( _pool ), _pvmem, _size, _align ) )
 
#define AkFree(_pool, _pvmem)   ( AK::MemoryMgr::Free( ( _pool ), ( _pvmem ) ) )
 

Functions

AkForceInline void * operator new (size_t, void *memory, const AkPlacementNewKey &) throw ()
 
AkForceInline void operator delete (void *, void *, const AkPlacementNewKey &) throw ()
 
AkForceInline void * operator new (size_t size, AkMemPoolId in_PoolId, const AkPoolNewKey &) throw ()
 
AkForceInline void * operator new (size_t size, AkMemPoolId in_PoolId, const AkPoolNewKey &, AkUInt32 in_align) throw ()
 
AkForceInline void operator delete (void *, AkMemPoolId, const AkPoolNewKey &) throw ()
 
AkForceInline void operator delete (void *, AkMemPoolId, const AkPoolNewKey &, AkUInt32) throw ()
 
template<class T >
AkForceInline void AkDelete (AkMemPoolId in_PoolId, T *in_pObject)
 

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