Lumiera  0.pre.03
»edit your freedom«
config-facade.h File Reference

Go to the source code of this file.

Description

The lumiera::Config wrapper class addresses two issues.

First, it registers startup and shutdown hooks to bring up the config system as early as possible. Later, on application main initialisation, the global config interface is opened and wrapped for convenient access from C++ code.

Note
This was created as part of a first draft towards an application wide configuration system. Later (around 2012) it became clear that we can not judge the requirements for such a system yet, so we deferred the topic altogether. Meanwhile, this facade is sporadically used to mark the necessity to retrieve some "parametrisation values".
Warning
as a preliminary solution, the original configuration system draft was detached and replaced by an ini file solution based on lib Boost.
Todo:
there ought to be an external Interface for the Config subsystem. But the full-blown Config system isn't implemented yet anyway
See also
config.h
lumiera::AppState
main.cpp

Definition in file config-facade.h.

#include "lib/depend.hpp"
#include "lib/symbol.hpp"
#include <string>

Classes

class  Config
 C++ wrapper for convenient access to the Lumiera config system. More...
 

Namespaces

 lumiera
 Lumiera public interface.