MeVis/Foundation/Sources/MLMemoryManager/Include/mlMemoryAllocator.h File Reference

#include <cstddef>
#include "../mlMemoryManagerDllExport.h"

Go to the source code of this file.

Classes

class  MLMemoryAllocator
 The memory allocator used by the memory manager. More...

Typedefs

typedef void *(* MLAllocationCallback )(size_t size, void *userData)
 The callback function type for allocating memory of a certain size.
typedef void(* MLDeallocationCallback )(void *data, size_t size, void *userData)
 The callback function type for deallocating memory.


Typedef Documentation

typedef void*(* MLAllocationCallback)(size_t size, void *userData)

The callback function type for allocating memory of a certain size.

Parameters:
size The size of the data that should be allocated
userData The pointer to data which might be necessary for the memory allocation

Definition at line 21 of file mlMemoryAllocator.h.

typedef void(* MLDeallocationCallback)(void *data, size_t size, void *userData)

The callback function type for deallocating memory.

Parameters:
data The data that must be deleted
size The size of the data that must be deleted
userData The pointer to data which might be necessary for deallocating the memory

Definition at line 27 of file mlMemoryAllocator.h.


Generated on Sat Sep 3 18:37:43 2011 for MLReference by  doxygen 1.5.8