ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
|
DPM Server specific configuration manager. More...
#include <configManager.hpp>
Public Member Functions | |
ConfigManager (log4cplus::Logger logger) | |
Configuration const & | GetConfig () const |
bool | ParseArguments (int argc, char *argv[]) |
Parse configuration from command line arguments. More... | |
void | LoadConfig () |
Load configuration file and update configuration. More... | |
template<class Func > | |
void | Visit (Func &&func) |
Visit all configuration parameters. More... | |
DPM Server specific configuration manager.
Main responsibilities:
Definition at line 28 of file configManager.hpp.
daq::dpm::ConfigManager::ConfigManager | ( | log4cplus::Logger | logger | ) |
Definition at line 26 of file configManager.cpp.
|
inline |
Definition at line 32 of file configManager.hpp.
void daq::dpm::ConfigManager::LoadConfig | ( | ) |
Load configuration file and update configuration.
Definition at line 162 of file configManager.cpp.
bool daq::dpm::ConfigManager::ParseArguments | ( | int | argc, |
char * | argv[] | ||
) |
Parse configuration from command line arguments.
[in] | argc | Number of command line options. |
[in] | argv | Pointer to the array of command line options. |
Definition at line 59 of file configManager.cpp.
|
inline |
Visit all configuration parameters.
Definition at line 52 of file configManager.hpp.