|
Classes
|
|
class |
KMemoryUsageCounter |
| |
Simple Memory Usage Counter. More...
|
|
class |
KMemoryAllocator |
| |
Simple Memory allocator. More...
|
|
class |
KMemoryReusePool |
| |
A pool of memory blocks of arbitrary size.
More...
|
|
struct |
KMemoryReusePool::KBlockHeader |
|
class |
KMemoryPool |
| |
class KMemory pool More...
|
Defines
|
|
#define |
KMEMORY_DEFAULTALIGNMENT 4 |
|
#define |
kMalloc(pSize) FbxSdkMalloc(
pSize ) |
| |
Allocation routines Standard allocation.
|
|
#define |
kRealloc(pOldMemBlock,
pNewSize) FbxSdkRealloc( pOldMemBlock, pNewSize
) |
|
#define |
kFree(pAllocatedMemBlock) FbxSdkFree(pAllocatedMemBlock) |
|
#define |
kMallocDbg(pSize,
blockType, filename,
linenumber) FbxSdkMalloc_Debug( pSize, blockType,
filename, linenumber ) |
| |
Allocation routines debug Standard
allocation.
|
|
#define |
kReallocDbg(pOldMemBlock,
pNewSize, blockType, filename,
linenumber) FbxSdkRealloc_Debug( pOldMemBlock,
pNewSize, blockType, filename, linenumber ) |
|
#define |
kFreeDbg(pAllocatedMemBlock,
blockType, filename,
linenumber) FbxSdkFree_Debug(pAllocatedMemBlock,
blockType) |
|
#define |
KMEMORY_DEFAULTALIGNMENT 4 |
Functions
|
|
KFBX_DLL void * |
kMallocAligned
(kSizeT pSize,
kUInt
pAlignment=KMEMORY_DEFAULTALIGNMENT) |
| |
Aligned memory allocation.
|
|
KFBX_DLL void * |
kReallocAligned
(void *pAlignedPtr, kSizeT pSize,
kUInt
pAlignment=KMEMORY_DEFAULTALIGNMENT) |
| |
Aligned memory reallocation.
|
|
KFBX_DLL void |
kFreeAligned
(void *pAlignedPtr) |
| |
Aligned memory deallocation.
|
|
KFBX_DLL void * |
kMallocAlignedDbg
(kSizeT pSize,
kUInt
pAlignment, int blockType,
const char *filename, int
linenumber) |
|
KFBX_DLL void * |
kReallocAlignedDbg
(void *pAlignedPtr, kSizeT pSize,
kUInt
pAlignment, int blockType,
const char *filename, int
linenumber) |
|
KFBX_DLL void |
kFreeAlignedDbg
(void *pAlignedPtr, int
blockType, const char *filename, int linenumber) |