This camp holds resources for the predefined CLI functionality. It is recommended common practice to inject further (and missing) resources into this camp in an overloaded version of the method virtual void onBsPrepareConfig() .
Definition at line 13 of file appclicamp.inl.
Public Method Index: | |
| AppCliCamp () | |
| Constructor. Passes version number and resource name to the module class. | |
| Public Method Index: inherited from alib::camp::Camp | |
| void | BootstrapSetConfig (const SharedConfiguration &pConfig) |
| void | BootstrapSetPhase (BootstrapPhases phase) |
| void | BootstrapSetResourcePool (const SPResourcePool &pResourcePool) |
| BootstrapPhases | GetBootstrapState () |
| SharedConfiguration & | GetConfig () |
| bool | IsBootstrapped () |
| Public Method Index: inherited from alib::resources::ResourceHolder | |
| ResourceHolder (const NCString &resourceCategory=nullptr) | |
| ResourceHolder (SPResourcePool &pool, const NCString &resourceCategory) | |
| void | BootstrapResource (const NString &name, const String &data) |
| const String & | GetResource (const NString &name) |
| ResourcePool & | GetResourcePool () |
| SPResourcePool & | GetResourcePoolSP () |
| bool | HasPool () |
| void | Set (SPResourcePool &pool, const NCString &resourceCategory=nullptr) |
| const String & | TryResource (const NString &name) |
Protected Method Index: | |
| virtual void | Bootstrap () override |
| Initialization of the module. | |
| virtual void | Shutdown (alib::ShutdownPhases) override |
| Terminate this module. (Nothing to do.). | |
| Protected 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 | operator= (Camp &&)=delete |
| Deleted move assignment. | |
| void | operator= (const Camp &)=delete |
| Deleted copy assignment. | |
Additional Inherited Members | |
| Public Type Index: inherited from alib::resources::ResourceHolder | |
| using | SPResourcePool = SharedPtr<resources::ResourcePool, MonoAllocator> |
| Public Field Index: inherited from alib::resources::ResourceHolder | |
| NCString | ResourceCategory |
| Protected Field Index: inherited from alib::camp::Camp | |
| int | bootstrapState = 0 |
| SharedConfiguration | config |
| Protected Field Index: inherited from alib::resources::ResourceHolder | |
| SPResourcePool | resourcePool |
| Shared pointer to the resource pool. | |
|
inline |
Constructor. Passes version number and resource name to the module class.
Definition at line 16 of file appclicamp.inl.
|
overrideprotectedvirtual |
Initialization of the module.
Implements alib::camp::Camp.
Definition at line 39 of file appclicamp.cpp.
|
inlineoverrideprotectedvirtual |
Terminate this module. (Nothing to do.).
Implements alib::camp::Camp.
Definition at line 25 of file appclicamp.inl.