Table of Contents

Wwise SDK 2019.1.6
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  AkNew2(_ptr, _pool, _type, _what)   { _ptr = (_type *) AK::MemoryMgr::Malloc((_pool),sizeof(_type)); if ( _ptr ) AkPlacementNew( _ptr ) _what; }
 
#define  AkMalign(_pool, _size, _align)   (AK::MemoryMgr::Malign((_pool),_size,_align))
 
#define  AkNewAligned(_pool, _what, _align)   new((_pool),AkPoolNewKey(),(_align)) _what
 
#define  AkFree(_pool, _pvmem)   (AK::MemoryMgr::Free((_pool),(_pvmem)))
 
#define  AkFalign(_pool, _pvmem)   (AK::MemoryMgr::Falign((_pool),(_pvmem)))
 
#define  AkRealloc(_pool, _pvmem, _size)   (AK::MemoryMgr::Realloc((_pool), _pvmem, _size))
 

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)
 
template<class T >
AkForceInline void  AkDeleteAligned (AkMemPoolId in_PoolId, T *in_pObject)
 

Variables

AkMemPoolId  g_DefaultPoolId
 
AkMemPoolId  g_LEngineDefaultPoolId