|
HDK
|
#include <UT_SubSystem.h>
Inheritance diagram for UT_ISubSystem:Public Types | |
| enum | Type { UT_SUBSYSTEM, NET_SUBSYSTEM, LM_SUBSYSTEM, COP_SUBSYSTEM, MAX_SUBSYSTEMS } |
Public Member Functions | |
| UT_NON_COPYABLE (UT_ISubSystem) | |
| virtual | ~UT_ISubSystem ()=default |
| virtual Type | type () const =0 |
| The type of the subsystem. More... | |
Static Public Member Functions | |
| template<typename SubSystemT > | |
| static bool | registerSubSystem (SubSystemT &subsys) |
Protected Member Functions | |
| UT_ISubSystem ()=default | |
| virtual void | initialize_ ()=0 |
| Initialize this subsystem. More... | |
| virtual void | shutdown_ ()=0 |
| Shutdown this subsystem. More... | |
Friends | |
| class | ut_SubSystemRegistry |
All subsystems should derive from this interface. Each subsystem then defines how to initialize and shutdown its components. All components of a subsystem should be lazy initialized.
Definition at line 34 of file UT_SubSystem.h.
| enum UT_ISubSystem::Type |
| Enumerator | |
|---|---|
| UT_SUBSYSTEM | |
| NET_SUBSYSTEM | |
| LM_SUBSYSTEM | |
| COP_SUBSYSTEM | |
| MAX_SUBSYSTEMS | |
Definition at line 37 of file UT_SubSystem.h.
|
virtualdefault |
|
protecteddefault |
|
protectedpure virtual |
Initialize this subsystem.
Implemented in UT_SubSystem.
|
inlinestatic |
Definition at line 54 of file UT_SubSystem.h.
|
protectedpure virtual |
Shutdown this subsystem.
Implemented in UT_SubSystem.
|
pure virtual |
The type of the subsystem.
| UT_ISubSystem::UT_NON_COPYABLE | ( | UT_ISubSystem | ) |
|
friend |
Definition at line 70 of file UT_SubSystem.h.