|
|
virtual void | OnBaseSystemsStartup () |
| | This will be called to initialize the subsystems base components. Can be overridden to handle this event.
|
|
virtual void | OnCoreSystemsStartup () |
| | This will be called to initialize the subsystems core components. Can be overridden to handle this event.
|
|
virtual void | OnCoreSystemsShutdown () |
| | This will be called to shut down the subsystems core components. Can be overridden to handle this event.
|
|
virtual void | OnHighLevelSystemsStartup () |
| | This will be called to initialize the subsystems engine / rendering components. Can be overridden to handle this event.
|
|
virtual void | OnHighLevelSystemsShutdown () |
| | This will be called to shut down the subsystems engine / rendering components. Can be overridden to handle this event.
|
Base class for all subsystems.
xiiStartup will initialize and shut down all instances of this class, according to their dependencies etc. If you have a subsystem that is a non-static class, just derive from this base class and override the virtual functions as required. If you have a subsystem that is implemented in a purely static way (there is no class instance), just use the macros XII_BEGIN_SUBSYSTEM_DECLARATION, XII_END_SUBSYSTEM_DECLARATION etc. Those macros will create a wrapper object (derived from xiiSubSystem) to handle initialization.