rad 8.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
39const std::string CONFIG_DEFAULT_TRS_PROTOCOL = "";
40const std::string CONFIG_DEFAULT_TRS_SOCKET_PATH = "";
41
42const std::string CONFIG_DEFAULT_DDS_QOS_PROFILE = "";
44const std::string CONFIG_DEFAULT_DDS_QOS_INTERFACES = "";
45
46
51class Config : public rad::Config {
52 public:
60 Config();
61
65 virtual ~Config();
66
67 Config(const Config&) = delete;
68 Config& operator=(const Config&) = delete;
69};
70
71} // namespace exciiserver
72
73#endif // EXCIISERVER_CONFIG_HPP
Config class header file.
Config(const Config &)=delete
Config & operator=(const Config &)=delete
Disable copy constructor.
virtual ~Config()
Definition config.cpp:63
Config()
Definition config.cpp:16
Definition config.hpp:83
Definition actionMgr.cpp:26
const std::string CONFIG_DEFAULT_TRS_SOCKET_PATH
Definition config.hpp:40
const std::string CONFIG_DEFAULT_LOG_PROPERTIES
Definition config.hpp:33
const std::string CONFIG_DEFAULT_DDS_QOS_INTERFACES
Definition config.hpp:44
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 std::string CONFIG_DEFAULT_TRS_PROTOCOL
Definition config.hpp:39
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:42
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:43
const std::string KEY_CONFIG
Definition config.hpp:37