8#ifndef HPP_ALIB_LANG_CAMP
9#define HPP_ALIB_LANG_CAMP 1
11#if !defined(HPP_ALIB_STRINGS_CSTRING)
82 #if !defined(ALIB_DOX)
108 #if ALIB_CONFIGURATION
175 "Destructing a non-terminated camp. "
199 #if ALIB_CONFIGURATION
222 "This camp already has a configuration object set.\n"
223 "A custom configuration must be set prior to camp initialization.")
257 "This camp already has a resource pool object set.\n"
258 "A custom resource pool must be set prior to camp initialization.")
void BootstrapSetResourcePool(lang::resources::ResourcePool *pool)
void operator=(Camp &&)=delete
resources::ResourcePool & GetResourcePool()
void operator=(const Camp &)=delete
void BootstrapResource(const NString &name, const String &data)
void BootstrapSetConfig(config::Configuration *pConfig)
virtual void shutdown(ShutdownPhases phase)=0
const String & TryResource(const NString &name)
NCString ResourceCategory
lang::resources::ResourcePool * resourcePool
Camp(const NCString &resourceCategory)
virtual void bootstrap(BootstrapPhases phase)=0
config::Configuration & GetConfig()
config::Configuration * config
const String & GetResource(const NString &name)
Camp(const Camp &)=delete
#define ALIB_ASSERT_MODULE(modulename)
#define ALIB_ASSERT_WARNING(cond,...)
@ Destruct
The main phase of termination that destructs everything.
@ PrepareConfig
Initializes up to the creation of a field config .
@ Final
The final initialization phase.
config::Configuration Configuration
Type alias in namespace alib.
ALIB_WARNINGS_RESTORE void Bootstrap(int alibVersion, int alibRevision, TCompilationFlags compilationFlags)
lang::resources::ResourcePool ResourcePool
Type alias in namespace alib.