Tramway SDK
Namespaces | Typedefs | Enumerations | Functions
system.h File Reference
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  tram
 
namespace  tram::System
 

Typedefs

typedef uint32_t tram::System::system_t
 

Enumerations

enum  tram::System::System : system_t {
  tram::System::SYSTEM_CORE , tram::System::SYSTEM_PLATFORM , tram::System::SYSTEM_UI , tram::System::SYSTEM_GUI ,
  tram::System::SYSTEM_ASYNC , tram::System::SYSTEM_RENDER , tram::System::SYSTEM_PHYSICS , tram::System::SYSTEM_AUDIO ,
  tram::System::SYSTEM_MISC , tram::System::SYSTEM_LAST
}
 

Functions

uint32_t tram::System::Register (char const *name, char const *short_name)
 Registers a new 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::SetUpdated (uint32_t system, bool is_updated)
 Sets the update status of a system. More...
 
bool tram::System::IsUpdated (uint32_t system)
 Checks if a system is updated. More...
 
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...