nn::os::MemoryBlock Class

Header file: nn/os.h

Syntax

class MemoryBlock : public nn::os::MemoryBlockBase

Description

Class allocating memory from the specified region in the heap.

We do not recommend using this class because 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

MemoryBlock Constructs an object.
Initialize Allocates memory.
~MemoryBlock Destroys an object.
Finalize Frees memory.
SetReadOnly Sets the read-only attribute.

Class Hierarchy

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

Revision History

2010/01/07
Initial version.

CONFIDENTIAL