This is a strict singleton class representing module ALib Files.
The only instance is found with the namespace variable alib::files.
Definition at line 23 of file filescamp.inl.
Public Method Index: | |
| ALIB_DLL | FilesCamp () |
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 ALIB_DLL void | Bootstrap () override |
| Initializes this camp. | |
| virtual void | Shutdown (ShutdownPhases) override |
| Terminates this camp. (Nothing to do.) | |
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::files::FilesCamp::FilesCamp | ( | ) |
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 51 of file filescamp.cpp.
|
overrideprotectedvirtual |
Initializes this camp.
Implements alib::camp::Camp.
Definition at line 61 of file filescamp.cpp.
|
inlineoverrideprotectedvirtual |
Terminates this camp. (Nothing to do.)
Implements alib::camp::Camp.
Definition at line 38 of file filescamp.inl.