ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Classes | |
class | Manager |
Maintains the associativity of configuration attributes with metadata and value origin/priority. More... | |
struct | Metadata |
Immutable information about a configuration attribute. More... | |
struct | OriginInfo |
Mutable metadata about a configuration attribute that describes where a value comes from. More... | |
Enumerations | |
enum | Origin { Origin::Runtime = 0, Origin::CommandLine, Origin::Configuration, Origin::EnvironmentVariable, Origin::Default } |
Configuration origins in descending priority. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, Origin origin) |
Format Origin. More... | |
std::ostream & | operator<< (std::ostream &os, OriginInfo const &info) |
Format OriginInfo. More... | |
struct daq::config::Metadata |
Immutable information about a configuration attribute.
Definition at line 64 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 72 of file manager.hpp.
Class Members | ||
---|---|---|
string | description | May include additional information like which configuration file was used. |
Origin | origin |
|
strong |
Configuration origins in descending priority.
This is used to indicate from where a configuration parameter originates as well as its configuration priority. Higher or equal priority (lower number) replace lower or equal priority origins.
Definition at line 30 of file manager.hpp.
std::ostream & daq::config::operator<< | ( | std::ostream & | os, |
Origin | origin | ||
) |
Format Origin.
os | output stream. |
origin | Origin to format. |
Definition at line 16 of file manager.cpp.
std::ostream & daq::config::operator<< | ( | std::ostream & | os, |
OriginInfo const & | info | ||
) |
Format OriginInfo.
os | output stream. |
info | OriginInfo to format. |
Definition at line 40 of file manager.cpp.