nn::fnd::ExpHeapTemplate::Allocator Class

Syntax

class Allocator : public nn::fnd::IAllocator

Description

Allocator class for the expanded heap.

Member Functions

Allocator Constructor that specifies the expanded heap and allocation options.
Initialize Initializes an uninitialized allocator.
GetHeap Returns the expanded heap that is set for an allocator.
V Allocate Allocates a memory region of the specified size and alignment.
V Free Frees a memory region.
GetGroupId Gets the group ID used during memory allocation.
SetGroupId Sets the group ID used during memory allocation.
GetAllocationMode Gets the mode to use for memory allocation.
SetAllocationMode Sets the mode to use for memory allocation.
GetUseMarginOfAlignment Specifies whether to reuse the gaps in memory that occur during alignment when allocating memory.
SetUseMarginOfAlignment Specifies whether to reuse the gaps in memory that occur during alignment.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL