class MemoryManager : public nn::nex::RootObject
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.
MallocFunction | The memory allocation function type. | |
---|---|---|
FreeFunction | The memory deallocation function type. |
S | SetBasicMemoryFunctions | Sets the functions for allocating and deallocating memory to be used by the entire NEX library. |
---|
nn::nex::RootObject
nn::nex::MemoryManager
nn::nex::MemoryManager::GetAllocationMonitoringLowerLimit
, nn::nex::MemoryManager::SetAllocationMonitoringLowerLimit
, and nn::nex::MemoryManager::PrintAllocationMonitoringResult
functions. CONFIDENTIAL