ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Classes | Namespaces | Variables
config.hpp File Reference

Config class header file. More...

#include <chrono>
#include <optional>
#include <string>
#include <rad/config.hpp>
#include <daq/config/manager.hpp>
#include <daq/dpmClient.hpp>

Go to the source code of this file.

Classes

class  server::Config
 This class provide access to the command line options and the configuration parameters stored in the configuration file. More...
 

Namespaces

 server
 

Variables

const std::string server::KEY_CONFIG_PUB_ENDPOINT = rad::KEY_CONFIG + "pub_endpoint"
 Rad configuration keys. More...
 
const std::string server::KEY_CONFIG_INSTRUMENT_ID = rad::KEY_CONFIG + "instrument_id"
 
const std::string server::KEY_CONFIG_DATAROOT = rad::KEY_CONFIG + "dataroot"
 
const std::string server::KEY_CONFIG_WORKSPACE = rad::KEY_CONFIG + "daq/workspace"
 
const std::string server::KEY_CONFIG_STALE_DAQ_ACQUIRING = rad::KEY_CONFIG + "daq/stale_acquiring_hours"
 
const std::string server::KEY_CONFIG_STALE_DAQ_MERGING = rad::KEY_CONFIG + "daq/stale_merging_hours"
 
const std::string server::KEY_CONFIG_DPM_REQ_ENDPOINT = rad::KEY_CONFIG + "dpm/req_endpoint"
 
const std::string server::KEY_CONFIG_DPM_PUB_ENDPOINT = rad::KEY_CONFIG + "dpm/pub_endpoint"
 
const std::string server::KEY_CONFIG_DPM_TIMEOUT_SEC = rad::KEY_CONFIG + "dpm/timeout_sec"
 
const std::string server::CONFIG_DEFAULT_PROCNAME = "ocm"
 Default application configuration values. More...
 
const std::string server::CONFIG_DEFAULT_FILENAME = "config/daqOcmServer/config.yaml"
 
const std::string server::CONFIG_DEFAULT_WORKSPACE = "ocm"
 
const std::string server::CONFIG_DEFAULT_SCXML_FILENAME = "config/daqOcmServer/sm.xml"
 
const std::string server::CONFIG_DEFAULT_LOG_LEVEL = "WARN"
 
const int server::CONFIG_DEFAULT_DB_TIMEOUT_SEC = 2
 
const std::string server::CONFIG_DEFAULT_REQ_ENDPOINT = "zpb.rr://127.0.0.1:12081/"
 
const std::string server::CONFIG_DEFAULT_PUB_ENDPOINT = "zpb.ps://127.0.0.1:12082/"
 
const std::string server::CONFIG_DEFAULT_OLDB_URI_PREFIX = "cii.oldb:/elt"
 
const int server::CONFIG_DEFAULT_OLDB_CONN_TIMEOUT = 2
 
const std::string server::CONFIG_ENVVAR_OUT_PATH = "DATAROOT"
 Application configuration environment variables. More...
 

Detailed Description

Config class header file.

Author

Definition in file config.hpp.