 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_BASE_LIBRARY_MEMORY_INTERFACE_H_
11 #define SDK_BASE_LIBRARY_MEMORY_INTERFACE_H_
32 SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API
SDKResult SDK_APICALLTYPE
36 #endif // SDK_BASE_LIBRARY_MEMORY_INTERFACE_H_
A list of SDK error/return results.
@ SDKAllocatorType_Default
ordinary new / delete are used.
Definition: memory_interface.h:22
SDKAllocatorType
Allocator types.
Definition: memory_interface.h:20
@ SDKAllocatorType_PrivateHeap
all memory operation goes to separate heap.
Definition: memory_interface.h:27
@ SDKAllocatorType_Buffer
optimized for short time w/o free allocation.
Definition: memory_interface.h:23
@ SDKAllocatorType_Buffer_MT
optimized for short time w/o free allocation, thread safe.
Definition: memory_interface.h:24
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
Memory allocator interface.
Definition: allocator_interface.h:26
Memory allocator interface.
SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE SDKCreateMemoryAllocator(SDKAllocatorType type, const SDKAny ¶meter, sdk::base::IMemoryAllocator **allocator)
Creates specified allocator.