|
seaTransport
1.0.0
Реализация Информационной системы "Морской транспорт"
|
Main system class. More...
#include <apparatus.h>
Public Member Functions | |
| apparatus () | |
| Construct a new apparatus object. | |
| ~apparatus () | |
| Destroy the apparatus object. | |
| auth_system * | get_auth_subsystem () |
| Get the auth subsystem object. More... | |
| object_system * | get_object_subsystem () |
| Get the object subsystem object. More... | |
| void | save () |
| Saves system data to disk. | |
| void | load () |
| Loads system data from disk. | |
Static Public Member Functions | |
| static bool | is_first_run () |
| Checks if it is first run. More... | |
| static void | generate_lock_file () |
| Generates lock file after initialization. | |
| static apparatus * | instance () |
| Get ther main system object. More... | |
| static void | init () |
| Initializes system on start. | |
| static void | shutdown () |
| Shuts system down in the end. | |
Main system class.
| auth_system * apparatus::get_auth_subsystem | ( | ) |
Get the auth subsystem object.
| object_system * apparatus::get_object_subsystem | ( | ) |
Get the object subsystem object.
|
static |
Get ther main system object.
|
static |
Checks if it is first run.