7 #ifndef NAZARA_MEMORYMANAGER_HPP 8 #define NAZARA_MEMORYMANAGER_HPP 10 #include <Nazara/Prerequesites.hpp> 18 static void* Allocate(std::size_t size,
bool multi =
false,
const char* file =
nullptr,
unsigned int line = 0);
20 static void EnableAllocationFilling(
bool allocationFilling);
21 static void EnableAllocationLogging(
bool logAllocations);
23 static void Free(
void* pointer,
bool multi =
false);
25 static unsigned int GetAllocatedBlockCount();
26 static std::size_t GetAllocatedSize();
27 static unsigned int GetAllocationCount();
29 static bool IsAllocationFillingEnabled();
30 static bool IsAllocationLoggingEnabled();
32 static void NextFree(
const char* file,
unsigned int line);
38 static void Initialize();
39 static void TimeInfo(
char buffer[23]);
40 static void Uninitialize();
44 #endif // NAZARA_MEMORYMANAGER_HPP TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Core class that represents a manager for the memory.
Definition: MemoryManager.hpp:15