|
ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
|
daq::config::Manager and associated types. More...
#include <functional>#include <iosfwd>#include <optional>#include <string>#include <unordered_map>#include <config-ng/ciiConfigApi.hpp>#include <fmt/chrono.h>#include <fmt/format.h>#include <fmt/ostream.h>#include <log4cplus/logger.h>#include <log4cplus/loggingmacros.h>#include <rad/cii/oldbTypes.hpp>Go to the source code of this file.
Classes | |
| struct | daq::config::Metadata |
| Immutable information about a configuration attribute. More... | |
| struct | daq::config::Formatter< T > |
| Extension point to allow adaptations from non-formattable configurations types. More... | |
| struct | daq::config::Converter< T > |
| struct | daq::config::Converter< std::filesystem::path > |
| struct | daq::config::Converter< std::chrono::seconds > |
| struct | daq::config::Converter< std::chrono::hours > |
| struct | daq::config::OriginInfo |
| Mutable metadata about a configuration attribute that describes where a value comes from. More... | |
| class | daq::config::Manager |
| Maintains the associativity of configuration attributes with metadata and value origin/priority. More... | |
| struct | daq::config::Manager::CurrentValue< AttrType > |
| Describes current value. More... | |
| struct | daq::config::Manager::CiiValue |
| CII representation of real value. More... | |
Namespaces | |
| daq | |
| 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. More... | |
| std::ostream & | daq::config::operator<< (std::ostream &os, OriginInfo const &info) |
| Format OriginInfo. More... | |
| 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. More... | |
| 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. More... | |
daq::config::Manager and associated types.
Definition in file manager.hpp.
| struct daq::config::Metadata |
Immutable information about a configuration attribute.
Definition at line 70 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 116 of file manager.hpp.
| Class Members | ||
|---|---|---|
| string | description | May include additional information like which configuration file was used. |
| Origin | origin | |
| struct daq::config::Manager::CurrentValue |
Describes current value.
Definition at line 187 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 196 of file manager.hpp.
| Class Members | ||
|---|---|---|
| Metadata const & | metadata | |
| OriginInfo const & | origin | |
| OldbType | value | |