NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
Memory Management

Memory management. More...

Enumerations

enum  SDKAllocatorType { SDKAllocatorType_Default = 0x00, SDKAllocatorType_Buffer = 0x01, SDKAllocatorType_Buffer_MT = 0x02, SDKAllocatorType_PrivateHeap = 0x05 }
 Allocator types. More...
 

Functions

SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE SDKCreateMemoryAllocator (SDKAllocatorType type, const SDKAny &parameter, sdk::base::IMemoryAllocator **allocator)
 Creates specified allocator.
 

Detailed Description

Memory management.

Enumeration Type Documentation

◆ SDKAllocatorType

Allocator types.

Enumerator
SDKAllocatorType_Default 

ordinary new / delete are used.

SDKAllocatorType_Buffer 

optimized for short time w/o free allocation.

SDKAllocatorType_Buffer_MT 

optimized for short time w/o free allocation, thread safe.

SDKAllocatorType_PrivateHeap 

all memory operation goes to separate heap.