|
Tramway SDK v0.1.1
|
#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | tram |
| Serialization, i.e. | |
| namespace | tram::System |
| System tracking. | |
Typedefs | |
| typedef uint32_t | tram::System::system_t |
Enumerations | |
| enum | tram::System::System : system_t { tram::System::INVALID , tram::System::CORE , tram::System::PLATFORM , tram::System::UI , tram::System::GUI , tram::System::ASYNC , tram::System::RENDER , tram::System::PHYSICS , tram::System::AUDIO , tram::System::MISC , tram::System::SYSTEM_LAST } |
| enum | tram::System::SystemState { tram::System::YEET , tram::System::INIT , tram::System::READY } |
Functions | |
| uint32_t | tram::System::Register (char const *name, char const *short_name) |
| Registers a new system. More... | |
| system_t | tram::System::Find (char const *name) |
| Registers a registered system. More... | |
| void | tram::System::SetInitialized (uint32_t system, bool is_initialized) |
| Sets the initialization status of a system. More... | |
| bool | tram::System::IsInitialized (uint32_t system) |
| Checks if a system is initialized. More... | |
| void | tram::System::SetState (system_t system, SystemState state) |
| Sets the state of a system. More... | |
| void | tram::System::AssertDependency (system_t system) |
| char const * | tram::System::GetName (uint32_t system) |
| Retrieves the full name of a system. More... | |
| char const * | tram::System::GetShortName (uint32_t system) |
| Retrieves the short name of a system. More... | |
| system_t | tram::System::GetSystemCount () |
| Returns the total count of registered systems. More... | |