SimpleAI
 All Classes Namespaces Files Functions Variables Typedefs Macros Groups Pages
Classes | Macros | Typedefs
MemoryAllocator.h File Reference
#include <memory>
Include dependency graph for MemoryAllocator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ai::_DefaultAllocator
 
class  ai::_MemObject< AllocatorClass >
 

Macros

#define AI_ALLOCATOR_CLASS   _DefaultAllocator
 define the macro AI_ALLOCATOR_CLASS with your own allocator implementation. just create a class with static functions for allocate and deallocate.
 

Typedefs

typedef _MemObject
< AI_ALLOCATOR_CLASS
ai::MemObject
 Every object that is derived from MemObject is allocated with the AI_ALLOCATOR_CLASS allocator.