nn::nex::MemoryManager Class

Syntax

class MemoryManager : public nn::nex::RootObject

Description

Management class that allocates and deallocates memory.

The NEX library frequently performs dynamic memory allocation. By default, memory allocation is performed by using the standard malloc and free functions of the NEX library, but the memory manager can be replaced with SetBasicMemoryFunctions.

The application can determine whether to use a thread-safe or thread-unsafe memory manager as a replacement. There are several factors to consider when making this determination. See the SetBasicMemoryFunctions function.

typedef Definitions

MallocFunction The memory allocation function type.
FreeFunction The memory deallocation function type.

Member Functions

S SetBasicMemoryFunctions Sets the functions for allocating and deallocating memory to be used by the entire NEX library.

Class Hierarchy

nn::nex::RootObject
  nn::nex::MemoryManager

Revision History

2013/12/25
Deleted the nn::nex::MemoryManager::GetAllocationMonitoringLowerLimit, nn::nex::MemoryManager::SetAllocationMonitoringLowerLimit, and nn::nex::MemoryManager::PrintAllocationMonitoringResult functions.
2011/01/27
Initial version.

CONFIDENTIAL