8 #include "../Errors.hpp"
9 #include "HAL/cpp/priority_mutex.h"
34 static void CreateResourceObject(
Resource **r, uint32_t elements);
35 uint32_t Allocate(
const char *resourceDesc);
36 uint32_t Allocate(uint32_t index,
const char *resourceDesc);
37 void Free(uint32_t index);
40 std::vector<bool> m_isAllocated;
The Resource class is a convenient way to track allocated resources.
Definition: Resource.hpp:27
Definition: priority_mutex.h:22