nn::os::StackMemoryBlock Class

Header file: nn/os.h

Syntax

class StackMemoryBlock : public nn::os::MemoryBlockBase

Description

Class allocating stack memory from the heap in the specified region.

We do not recommend using this class because in there may be non-compatible changes in the next update. To allocate memory from the heap you have greater freedom of implementation by using the fnd library, so it is better to use that.

You must call InitializeMemoryBlock before using this class.

Member Functions

StackMemoryBlock Constructs an object.
Initialize Allocates memory.
~StackMemoryBlock Destroys an object.
Finalize Frees memory.
GetStackBottom Gets the ending address of the allocated memory region.
GetStackSize Gets the size of the allocated memory region.

Class Hierarchy

ADLFireWall::NonCopyable
  nn::fnd::IntrusiveLinkedList
    nn::os::MemoryBlockBase
      nn::os::StackMemoryBlock

Revision History

2010/01/07
Initial version.

CONFIDENTIAL