The module class for module ALib CLI.
This is a strict singleton class. The only instance is found with the namespace variable alib::CLI.
Definition at line 18 of file clicamp.inl.
Public Method Index: | |
| CliCamp () | |
Public Method Index: inherited from alib::camp::Camp | |
| Camp (Camp &&)=delete | |
| Deleted move constructor. | |
| Camp (const Camp &)=delete | |
| Deleted copy constructor. | |
| Camp (const NCString &resourceCategory) | |
| virtual | ~Camp () |
| Virtual destructor to satisfy C++ abstract type rules. | |
| void | BootstrapResource (const NString &name, const String &data) |
| void | BootstrapSetConfig (const SharedConfiguration &pConfig) |
| void | BootstrapSetPhase (BootstrapPhases phase) |
| void | BootstrapSetResourcePool (const SPResourcePool &pResourcePool) |
| BootstrapPhases | GetBootstrapState () |
| SharedConfiguration & | GetConfig () |
| const String & | GetResource (const NString &name) |
| SPResourcePool & | GetResourcePool () |
| bool | IsBootstrapped () |
| void | operator= (Camp &&)=delete |
| Deleted move assignment. | |
| void | operator= (const Camp &)=delete |
| Deleted copy assignment. | |
| const String & | TryResource (const NString &name) |
Protected Method Index: | |
| virtual void | Bootstrap () override |
| Initializes this camp. | |
| virtual void | Shutdown (ShutdownPhases phase) override |
Additional Inherited Members | |
Public Type Index: inherited from alib::camp::Camp | |
| using | SPResourcePool = SharedPtr<resources::ResourcePool, MonoAllocator> |
Public Field Index: inherited from alib::camp::Camp | |
| NCString | ResourceCategory |
Protected Field Index: inherited from alib::camp::Camp | |
| int | bootstrapState = 0 |
| SharedConfiguration | config |
| SPResourcePool | resourcePool |
| alib::cli::CliCamp::CliCamp | ( | ) |
Constructor.
While this is public, it must not be invoked as this is a strict singleton type. (See notes in 2. Class Camp).
Definition at line 53 of file clicamp.cpp.
|
overrideprotectedvirtual |
Initializes this camp.
Implements alib::camp::Camp.
Definition at line 63 of file clicamp.cpp.
|
inlineoverrideprotectedvirtual |
Terminates this camp. (Nothing to do.)
| phase | The shutdown phase to perform. |
Implements alib::camp::Camp.
Definition at line 38 of file clicamp.inl.