11 #ifndef G3D_MemoryManager_h
12 #define G3D_MemoryManager_h
31 typedef shared_ptr<class MemoryManager>
Ref;
36 virtual void*
alloc(
size_t s);
41 virtual void free(
void* ptr);
62 typedef shared_ptr<class AlignedMemoryManager>
Ref;
65 virtual void*
alloc(
size_t s);
67 virtual void free(
void* ptr);
82 typedef shared_ptr<class MemoryManager>
Ref;
83 virtual void*
alloc(
size_t s);
84 virtual void free(
void* ptr);
virtual void * alloc(size_t s)
Definition: MemoryManager.cpp:46
static MemoryManager::Ref create()
Definition: MemoryManager.cpp:35
static AlignedMemoryManager::Ref create()
Definition: MemoryManager.cpp:61
virtual void free(void *ptr)
Definition: MemoryManager.cpp:25
Definition: MemoryManager.h:77
virtual void free(void *ptr)
Definition: MemoryManager.cpp:77
Definition: MemoryManager.h:55
shared_ptr< class MemoryManager > Ref
Definition: MemoryManager.h:31
virtual void * alloc(size_t s)
Definition: MemoryManager.cpp:20
Definition: MemoryManager.h:24
shared_ptr< class AlignedMemoryManager > Ref
Definition: MemoryManager.h:62
Definition: ReferenceCount.h:24
static CRTMemoryManager::Ref create()
Definition: MemoryManager.cpp:87
AlignedMemoryManager()
Definition: MemoryManager.cpp:43
CRTMemoryManager()
Definition: MemoryManager.cpp:69
virtual bool isThreadsafe() const
Definition: MemoryManager.cpp:30
virtual bool isThreadsafe() const
Definition: MemoryManager.cpp:56
shared_ptr< class MemoryManager > Ref
Definition: MemoryManager.h:82
virtual void free(void *ptr)
Definition: MemoryManager.cpp:51
virtual bool isThreadsafe() const
Definition: MemoryManager.cpp:82
virtual void * alloc(size_t s)
Definition: MemoryManager.cpp:72
MemoryManager()
Definition: MemoryManager.cpp:17