|
API Documentation
|
|
|
PtrPool(UniquePtr< Allocator< T >> allocator=makeUnique< DefaultAllocator< T >>(), UniquePtr< Deallocator< T >> deallocator=makeUnique< DefaultDeallocator< T >>()) noexcept
unsigned long long getPoolSize() const
unsigned long long getFreeItemsCount() const
unsigned long long getFlyingItemsCount() const
Interface representing an allocator, supposed to allocate an object when requested.
Definition: Allocator.h:15
A utility default deallocator using a simple call to delete.
Definition: DefaultDeallocator.h:13
A utility default allocator allocating an object through a simple call to new.
Definition: DefaultAllocator.h:13
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
Interface used for deallocating memory.
Definition: Deallocator.h:13
void releaseObject(T *object)
A pool of objects, allocated in the heap and tracked by their pointers.
Definition: PtrPool.h:15
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7