ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::cli::CliCamp Class Reference

Description:

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.

Inheritance diagram for alib::cli::CliCamp:
[legend]
Collaboration diagram for alib::cli::CliCamp:
[legend]

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 ()
 
SharedConfigurationGetConfig ()
 
const StringGetResource (const NString &name)
 
SPResourcePoolGetResourcePool ()
 
bool IsBootstrapped ()
 
void operator= (Camp &&)=delete
 Deleted move assignment.
 
void operator= (const Camp &)=delete
 Deleted copy assignment.
 
const StringTryResource (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
 

Constructor(s) / Destructor Details:

◆ CliCamp()

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.

Here is the call graph for this function:

Method Details:

◆ Bootstrap()

void alib::cli::CliCamp::Bootstrap ( )
overrideprotectedvirtual

Initializes this camp.

Implements alib::camp::Camp.

Definition at line 63 of file clicamp.cpp.

Here is the call graph for this function:

◆ Shutdown()

virtual void alib::cli::CliCamp::Shutdown ( ShutdownPhases phase)
inlineoverrideprotectedvirtual

Terminates this camp. (Nothing to do.)

Parameters
phaseThe shutdown phase to perform.

Implements alib::camp::Camp.

Definition at line 38 of file clicamp.inl.


The documentation for this class was generated from the following files: