API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsMemory
Pagers
MemorySpaces
DefaultMemorySpaceAllocator.h
1
// DefaultMemorySpaceAllocator.h
3
//
5
7
8
#pragma once
9
11
12
// nkMemory
13
#include "MemorySpaceAllocator.h"
14
16
17
namespace
nkMemory
18
{
22
template
<
typename
T>
23
class
DefaultMemorySpaceAllocator
:
public
MemorySpaceAllocator
<T>
24
{
25
public :
26
27
// Implementation
33
virtual
UniquePtr<T>
allocate
(
unsigned
long
long
size)
override
;
34
} ;
35
}
nkMemory::DefaultMemorySpaceAllocator
A default memory space allocator, offering the most basic memory allocation method.
Definition:
DefaultMemorySpaceAllocator.h:24
nkMemory::UniquePtr
Smart pointer owning the object instance it encapsulates.
Definition:
UniquePtr.h:17
nkMemory::DefaultMemorySpaceAllocator::allocate
virtual UniquePtr< T > allocate(unsigned long long size) override
nkMemory::MemorySpaceAllocator
Defines the interface for a memory space allocator, to be used within the pagers.
Definition:
MemorySpaceAllocator.h:13
nkMemory
Encompasses all API of component NilkinsMemory.
Definition:
Allocator.h:7
Generated by
Doxygen
1.8.18