rad 6.2.0
Loading...
Searching...
No Matches
config.hpp
Go to the documentation of this file.
1
9#ifndef EXCIISERVER_CONFIG_HPP
10#define EXCIISERVER_CONFIG_HPP
11
12#include <rad/config.hpp>
13
14namespace exciiserver {
15
19const std::string KEY_CONFIG_DDS_QOS_PROFILE = rad::KEY_CONFIG + "dds_qos_profile";
20
21
25const std::string CONFIG_DEFAULT_VERSION = std::string(VERSION);
26const std::string CONFIG_DEFAULT_MODNAME = "exciiserver";
27const std::string CONFIG_DEFAULT_PROCNAME = "exCiiServer";
28//const std::string CONFIG_DEFAULT_FILENAME = ""; // by default use hard-coded values
29const std::string CONFIG_DEFAULT_FILENAME = "config/exciiserver/config.yaml"; // by default use config file values
30const std::string CONFIG_DEFAULT_SCXML_FILENAME = "config/exciiserver/sm.xml";
31const std::string CONFIG_DEFAULT_SCXML_APPEND = "";
32const std::string CONFIG_DEFAULT_LOG_LEVEL = "INFO";
33const std::string CONFIG_DEFAULT_LOG_PROPERTIES = "config/exciiserver/log.properties";
34const std::string CONFIG_DEFAULT_REQ_ENDPOINT = "zpb.rr://127.0.0.1:12081/";
35const std::string CONFIG_DEFAULT_OLDB_URI_PREFIX = "cii.oldb:/elt/";
37const int CONFIG_DEFAULT_OLDB_ASYNC_PERIOD = 1000; // ms
39
40const std::string CONFIG_DEFAULT_DDS_QOS_PROFILE = "";
42
43
48class Config : public rad::Config {
49 public:
57 Config();
58
62 virtual ~Config();
63
64 Config(const Config&) = delete;
65 Config& operator=(const Config&) = delete;
66};
67
68} // namespace exciiserver
69
70#endif // EXCIISERVER_CONFIG_HPP
Config class header file.
Definition config.hpp:48
Config(const Config &)=delete
Config & operator=(const Config &)=delete
Disable copy constructor.
virtual ~Config()
Definition config.cpp:60
Config()
Definition config.cpp:16
Definition config.hpp:77
Definition actionMgr.cpp:26
const std::string CONFIG_DEFAULT_LOG_PROPERTIES
Definition config.hpp:33
const std::string CONFIG_DEFAULT_OLDB_URI_PREFIX
Definition config.hpp:35
const int CONFIG_DEFAULT_OLDB_CONN_TIMEOUT
Definition config.hpp:36
const std::string CONFIG_DEFAULT_REQ_ENDPOINT
Definition config.hpp:34
const bool CONFIG_DEFAULT_TRS_HEALTH_ENABLED
Definition config.hpp:38
const std::string CONFIG_DEFAULT_LOG_LEVEL
Definition config.hpp:32
const std::string CONFIG_DEFAULT_PROCNAME
Definition config.hpp:27
const std::string CONFIG_DEFAULT_FILENAME
Definition config.hpp:29
const std::string CONFIG_DEFAULT_SCXML_APPEND
Definition config.hpp:31
const std::string CONFIG_DEFAULT_SCXML_FILENAME
Definition config.hpp:30
const std::string CONFIG_DEFAULT_DDS_QOS_PROFILE
Definition config.hpp:40
const std::string CONFIG_DEFAULT_MODNAME
Definition config.hpp:26
const std::string CONFIG_DEFAULT_VERSION
Definition config.hpp:25
const std::string KEY_CONFIG_DDS_QOS_PROFILE
Definition config.hpp:19
const int CONFIG_DEFAULT_OLDB_ASYNC_PERIOD
Definition config.hpp:37
const std::string CONFIG_DEFAULT_DDS_QOS_PARTICIPANT
Definition config.hpp:41
const std::string KEY_CONFIG
Definition config.hpp:37