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

Config class header file. More...

#include <yaml-cpp/yaml.h>
#include <string>

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::CONFIG_DEFAULT_PROCNAME = "ocm"
 Default application configuration values. More...
 
const std::string server::CONFIG_DEFAULT_FILENAME = "config/ocmServer/config.yaml"
 
const std::string server::CONFIG_DEFAULT_SCXML_FILENAME = "config/ocmServer/sm.xml"
 
const std::string server::CONFIG_DEFAULT_LOGLEVEL = "INFO"
 
const std::string server::CONFIG_DEFAULT_LOG_PROPERTIES = "server/log.properties"
 
const std::string server::CONFIG_DEFAULT_DB_ENDPOINT = "127.0.0.1:6379"
 
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_ENVVAR_DBHOST = "DB_HOST"
 Application configuration environment variables. More...
 
const std::string server::CONFIG_ENVVAR_OUT_PATH = "DATAROOT"
 

Detailed Description

Config class header file.

Author

Definition in file config.hpp.