nn::fnd::UnitHeapBase

nn::fnd::UnitHeapBase Class

Syntax

class UnitHeapBase :public nn::fnd::HeapBase

Description

Base class for working with the unit heap.

Instances of this class cannot be created directly.

Member Functions

S GetRequiredHeapSize Gets the minimum size of heap memory required to manage the specified number of blocks of the specified unit size and alignment.
protected V FreeV Frees memory blocks that have been allocated.
protected V GetStartAddress Returns the starting address of the memory region used by the calling heap.
protected V GetTotalSize Returns the size of the memory region used by the calling heap.
protected V Dump Dumps the content of the heap for debugging purposes.
protected V HasAddress Determines whether the specified address is located within a heap.

Class Hierarchy

nn::util::NonCopyable
  nn::fnd::IntrusiveLinkedList
    nn::fnd::HeapBase
      nn::fnd::UnitHeapBase

Revision History

2010/01/07
Initial version.

CONFIDENTIAL