Tramway SDK
|
Classes | |
struct | SystemInfo |
Typedefs | |
typedef uint32_t | system_t |
Enumerations | |
enum | System : system_t { SYSTEM_CORE , SYSTEM_PLATFORM , SYSTEM_UI , SYSTEM_GUI , SYSTEM_ASYNC , SYSTEM_RENDER , SYSTEM_PHYSICS , SYSTEM_AUDIO , SYSTEM_MISC , SYSTEM_LAST } |
Functions | |
uint32_t | Register (char const *name, char const *short_name) |
Registers a new system. More... | |
char const * | GetName (uint32_t system) |
Retrieves the full name of a system. More... | |
char const * | GetShortName (uint32_t system) |
Retrieves the short name of a system. More... | |
void | SetInitialized (uint32_t system, bool is_initialized) |
Sets the initialization status of a system. More... | |
bool | IsInitialized (uint32_t system) |
Checks if a system is initialized. More... | |
void | SetUpdated (uint32_t system, bool is_updated) |
Sets the update status of a system. More... | |
bool | IsUpdated (uint32_t system) |
Checks if a system is updated. More... | |
system_t | GetSystemCount () |
Returns the total count of registered systems. More... | |
typedef uint32_t tram::System::system_t |
enum tram::System::System : system_t |
char const * tram::System::GetName | ( | uint32_t | system | ) |
Retrieves the full name of a system.
char const * tram::System::GetShortName | ( | uint32_t | system | ) |
Retrieves the short name of a system.
uint32_t tram::System::GetSystemCount | ( | ) |
Returns the total count of registered systems.
bool tram::System::IsInitialized | ( | uint32_t | system | ) |
Checks if a system is initialized.
bool tram::System::IsUpdated | ( | uint32_t | system | ) |
Checks if a system is updated.
system_t tram::System::Register | ( | char const * | name, |
char const * | short_name | ||
) |
Registers a new system.
name | Full name of the system. |
short_name | Name of the system that will be displayed in log messages. |
void tram::System::SetInitialized | ( | uint32_t | system, |
bool | is_initialized | ||
) |
Sets the initialization status of a system.
void tram::System::SetUpdated | ( | uint32_t | system, |
bool | is_updated | ||
) |
Sets the update status of a system.