21.02
|
Memory manager interface to handle allocations of backing memory. More...
#include <IMemoryManager.h>
Public Member Functions | |
virtual | ~IMemoryManager ()=default |
Default virtual destructor. More... | |
virtual ILifetimeManager * | lifetime_manager ()=0 |
Returns the lifetime manager used by the memory manager. More... | |
virtual IPoolManager * | pool_manager ()=0 |
Returns the pool manager used by the memory manager. More... | |
virtual void | populate (IAllocator &allocator, size_t num_pools)=0 |
Populates the pool manager with the given number of pools. More... | |
virtual void | clear ()=0 |
Clears the pool manager. More... | |
Memory manager interface to handle allocations of backing memory.
Definition at line 39 of file IMemoryManager.h.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
Clears the pool manager.
Implemented in MemoryManagerOnDemand.
|
pure virtual |
Returns the lifetime manager used by the memory manager.
Implemented in MemoryManagerOnDemand.
|
pure virtual |
Returns the pool manager used by the memory manager.
Implemented in MemoryManagerOnDemand.
|
pure virtual |
Populates the pool manager with the given number of pools.
[in] | allocator | Allocator to use for the backing allocations |
[in] | num_pools | Number of pools to create |
Implemented in MemoryManagerOnDemand.