4#ifndef TRAM_SDK_FRAMEWORK_SYSTEM_H
5#define TRAM_SDK_FRAMEWORK_SYSTEM_H
System
Definition: system.h:12
@ SYSTEM_LAST
Definition: system.h:22
@ SYSTEM_ASYNC
Definition: system.h:17
@ SYSTEM_RENDER
Definition: system.h:18
@ SYSTEM_PHYSICS
Definition: system.h:19
@ SYSTEM_GUI
Definition: system.h:16
@ SYSTEM_CORE
Definition: system.h:13
@ SYSTEM_UI
Definition: system.h:15
@ SYSTEM_MISC
Definition: system.h:21
@ SYSTEM_AUDIO
Definition: system.h:20
@ SYSTEM_PLATFORM
Definition: system.h:14
bool IsInitialized(uint32_t system)
Checks if a system is initialized.
Definition: system.cpp:65
void SetUpdated(uint32_t system, bool is_updated)
Sets the update status of a system.
Definition: system.cpp:74
void SetInitialized(uint32_t system, bool is_initialized)
Sets the initialization status of a system.
Definition: system.cpp:59
char const * GetName(uint32_t system)
Retrieves the full name of a system.
Definition: system.cpp:47
system_t GetSystemCount()
Returns the total count of registered systems.
Definition: system.cpp:89
uint32_t system_t
Definition: system.h:11
bool IsUpdated(uint32_t system)
Checks if a system is updated.
Definition: system.cpp:80
char const * GetShortName(uint32_t system)
Retrieves the short name of a system.
Definition: system.cpp:53
uint32_t Register(char const *name, char const *short_name)
Registers a new system.
Definition: system.cpp:33