AJA NTV2 SDK  17.5.0.1242
NTV2 SDK 17.5.0.1242
memory.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MIT */
8 #ifndef AJA_MEMORY_H
9 #define AJA_MEMORY_H
10 
11 #include "ajabase/common/public.h"
12 
18 {
19 public:
20 
21  AJAMemory();
22  virtual ~AJAMemory();
23 
30  static void* Allocate(size_t size);
31 
37  static void Free(void* pMemory);
38 
46  static void* AllocateAligned(size_t size, size_t alignment);
47 
53  static void FreeAligned(void* pMemory);
54 
66  static void* AllocateShared(size_t* size, const char* pShareName, bool global = true);
67 
73  static void FreeShared(void* pMemory);
74 };
75 
76 #endif // AJA_MEMORY_H
AJA_EXPORT
#define AJA_EXPORT
Definition: export.h:34
AJAMemory
Definition: memory.h:17
public.h
Master header for the ajabase library.