|
ifw-daq 3.1.0
IFW Data Acquisition modules
|
daq::config::Manager and associated types. More...
#include <functional>#include <iosfwd>#include <optional>#include <string>#include <unordered_map>#include <boost/algorithm/string/join.hpp>#include <config-ng/ciiConfigApi.hpp>#include <fmt/chrono.h>#include <fmt/format.h>#include <fmt/ostream.h>#include <fmt/ranges.h>#include <log4cplus/logger.h>#include <log4cplus/loggingmacros.h>#include <rad/cii/oldbTypes.hpp>Go to the source code of this file.
Namespaces | |
| namespace | daq |
| namespace | daq::config |
Enumerations | |
| enum class | daq::config::Origin { daq::config::Runtime = 0 , daq::config::CommandLine , daq::config::Configuration , daq::config::EnvironmentVariable , daq::config::Default } |
| Configuration origins in descending priority. More... | |
Functions | |
| std::ostream & | daq::config::operator<< (std::ostream &os, Origin origin) |
| Format Origin. | |
| std::ostream & | daq::config::operator<< (std::ostream &os, OriginInfo const &info) |
| Format OriginInfo. | |
| std::optional< std::reference_wrapper< elt::configng::CiiConfigInstanceNode const > > | daq::config::GetParam (std::string const &selector, elt::configng::CiiConfigInstanceNode const &node) |
Performs lookup of parameters in the form root/node/leaf relative to the provided node. | |
| template<class T > | |
| std::optional< T > | daq::config::GetParamAs (std::string const &query, elt::configng::CiiConfigInstanceNode const &node) |
Performs lookup of parameters in the form root/node/leaf relative to the provided node. | |
daq::config::Manager and associated types.
Definition in file manager.hpp.
| struct daq::config::Metadata |
Immutable information about a configuration attribute.
Definition at line 73 of file manager.hpp.
| Class Members | ||
|---|---|---|
| string | canonical_name | |
| string | description | |
| struct daq::config::OriginInfo |
Mutable metadata about a configuration attribute that describes where a value comes from.
Definition at line 129 of file manager.hpp.
| Class Members | ||
|---|---|---|
| string | description = "" | May include additional information like which configuration file was used. |
| Origin | origin = Origin::Default | |
| struct daq::config::Manager::CurrentValue |
Describes current value.
Definition at line 200 of file manager.hpp.
| Class Members | ||
|---|---|---|
| Metadata const & | metadata | |
| OriginInfo const & | origin | |
| AttrType const & | value | |
| struct daq::config::Manager::CiiValue |
CII representation of real value.
Definition at line 209 of file manager.hpp.
| Class Members | ||
|---|---|---|
| Metadata const & | metadata | |
| OriginInfo const & | origin | |
| OldbType | value | |