Public Member Functions | |
virtual size_t | GetAllocationSize () const =0 |
Returns the size of the allocated blocks. | |
virtual void * | Allocate ()=0 |
Allocate a block of memory. | |
virtual void | Free (void *pMem)=0 |
Release a block of memory back to the allocator for reuse. | |
virtual | ~IAllocateFixedSizedMemory () |
virtual ~IAllocateFixedSizedMemory | ( | ) | [virtual] |
virtual size_t GetAllocationSize | ( | ) | const [pure virtual] |
virtual void* Allocate | ( | ) | [pure virtual] |
virtual void Free | ( | void * | pMem | ) | [pure virtual] |
Release a block of memory back to the allocator for reuse.
Implemented in CSimpleFixedSizedMemoryAllocator.