menu
 
Version
2016.2.6.6153

2024.1.3.8749

2023.1.11.8682

2022.1.18.8567

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_open

include/AK/Tools/Common/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...
class   CAkObject

Defines

#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)))

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

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