80 static void Init(
void);
93 template <
typename T, AutoAllocType e>
static T*
NewObject()
95 auto* pvObj = Allocate(e,
sizeof(T));
97 return new (pvObj) T();
118 static void* NewUserTypeAllocation(uint8_t eUserType_);
126 static void DestroyUserTypeAllocation(uint8_t eUserType_,
void* pvObj_);
134 static void* NewRawData(
size_t sSize_);
141 static void DestroyRawData(
void* pvData_);
void(*)(AutoAllocType eType_, void *pvObj_) AutoAllocFree_t
static void DestroyObject(T *pObj_)
void *(*)(AutoAllocType eType_, size_t sSize_) AutoAllocAllocator_t
Mark3 Kernel Configuration This file is used to configure the kernel for your specific application in...
The AutoAlloc class. This class provides an object-allocation interface for both kernel objects and u...
static AutoAllocFree_t m_pfFree
Funciton used to free objectss.
static AutoAllocAllocator_t m_pfAllocator
Function used to allocate objects.