Tramway SDK
Classes | Namespaces | Functions
system.cpp File Reference
#include <framework/system.h>
#include <framework/logging.h>
#include <config.h>
#include <cassert>
#include <cstring>

Classes

struct  tram::System::SystemInfo
 

Namespaces

namespace  tram::System
 System tracking.
 
namespace  tram
 Serialization, i.e.
 

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...
 
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...
 
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)
 
system_t tram::System::GetSystemCount ()
 Returns the total count of registered systems. More...