Signed-off-by: Kefu Chai <kchai@redhat.com>
#include "common/config_obs_mgr.h"
#include "common/Mutex.h"
+// @c ConfigProxy is a facade of multiple config related classes. it exposes
+// the legacy settings with arrow operator, and the new-style config with its
+// member methods.
class ConfigProxy {
/**
* The current values of all settings described by the schema
#include "log/SubsystemMap.h"
#include "msg/msg_types.h"
+// @c ConfigValues keeps track of mappings from the config names to their values,
+// debug logging settings, and some other "unnamed" settings, like entity name of
+// the daemon.
class ConfigValues {
using values_t = std::map<std::string, map<int32_t,Option::value_t>>;
values_t values;