API Documentation
|
#include <MemoryManager.h>
Static Public Member Functions | |
template<class t_type , class t_buffer_type > | |
static void | Allocate (t_buffer_type &buffer, t_index_type start, t_index_type size) |
template<class t_type , class t_buffer_type > | |
static void | AllocateElement (t_buffer_type &buffer, t_index_type index, const t_type &object) |
template<class t_type , class t_buffer_type > | |
static void | AllocateElement (t_buffer_type &buffer, t_index_type index, t_type &&object) |
template<class t_type , class t_buffer_type > | |
static void | AllocateElement (t_buffer_type &buffer, t_index_type start, t_index_type size, const t_type &object) |
template<class t_type , class t_buffer_type > | |
static void | AllocateElement (t_buffer_type &buffer, t_index_type start, t_index_type size, t_type &object) |
template<class t_type , class t_buffer_type > | |
static void | Deallocate (t_buffer_type &buffer, t_index_type start, t_index_type size) |
static constexpr bool | isPrimitive () |
Class: ObjectAllocator
An object allocator.
Author: Tyler Parke
Date: 2017-11-19
|
inlinestatic |
Allocates.
Author: Tyler Parke
Date: 2017-11-19
Parameters: buffer - [in,out] The buffer. start - The start. size - The size.
|
inlinestatic |
Allocate element.
Author: Tyler Parke
Date: 2017-11-19
Parameters: buffer - [in,out] The buffer. index - Zero-based index of the. object - The object.
|
inlinestatic |
|
inlinestatic |
Allocate element.
Author: Tyler Parke
Date: 2017-11-19
Parameters: buffer - [in,out] The buffer. start - The start. size - The size. object - The object.
|
inlinestatic |
|
inlinestatic |
Deallocates.
Author: Tyler Parke
Date: 2017-11-19
Parameters: buffer - [in,out] The buffer. start - The start. size - The size.
|
inlinestaticconstexpr |
Query if this object is primitive.
Author: Tyler Parke
Date: 2017-11-19