13#ifndef HLCC_TELIF_ELTPK_CONFIG_HPP
14#define HLCC_TELIF_ELTPK_CONFIG_HPP
17#include <config-ng/ciiConfigApi.hpp>
18#include <rad/config.hpp>
29 : std::runtime_error(message)
51struct CiiConfigValueConverter<
hlcc::eltpk::LsvApp, CiiConfigInstanceNode> {
53 if (node.GetKind() != CiiConfigNodeKind::MAP || node.GetDataTypeName() !=
"LsvApp") {
54 std::cerr <<
"Conversion to LsvApp not possible" << std::endl;
57 target.
name = node[
"name"].As<std::string>();
58 target.
oldb = node[
"oldb"].As<std::string>();
59 target.
cmds = node[
"cmds"].As<std::string>();
64 if (node.GetKind() != elt::configng::CiiConfigNodeKind::MAP) {
67 node.Set(
"name", elt::configng::CiiConfigInstanceNode::From(source.
name));
68 node.Set(
"oldb", elt::configng::CiiConfigInstanceNode::From(source.
oldb));
69 node.Set(
"cmds", elt::configng::CiiConfigInstanceNode::From(source.
cmds));
ConfigError(const std::string &message)
Definition config.hpp:28
Config()
Definition config.cpp:22
Config(const Config &)=delete
virtual ~Config()
Definition config.cpp:77
Config & operator=(const Config &)=delete
Disable copy constructor.
Definition guideStarHelper.cpp:19
Definition actionMgr.cpp:31
const double CONFIG_DEFAULT_ALTAZ_AZ_LOWER_LIMIT_OP
Definition config.hpp:233
const std::string KEY_CONFIG_LSVS
Definition config.hpp:109
const std::string KEY_CONFIG_PUB_DDS_DOMAIN_ID_HLCC
Definition config.hpp:121
const std::string CONFIG_DEFAULT_FILENAME
Definition config.hpp:196
const std::vector< LsvApp > CONFIG_DEFAULT_LSVS
Definition config.hpp:213
const std::string CONFIG_DEFAULT_LLNETIO_DST_IP
Definition config.hpp:210
const uint32_t CONFIG_DEFAULT_PUB_DDS_DOMAIN_ID_CCS_INS
Definition config.hpp:225
const std::string KEY_CONFIG_PUB_DETERM_DEST6
Definition config.hpp:117
const std::string KEY_CONFIG_ALTAZ_ALT_UPPER_LIMIT_FCT
Definition config.hpp:131
const double CONFIG_DEFAULT_ALTAZ_AZ_LOWER_LIMIT_FCT
Definition config.hpp:237
const std::string CONFIG_DEFAULT_SCXML_APPEND
Definition config.hpp:198
const std::string KEY_CONFIG_PUB_DETERM_DEST2
Definition config.hpp:113
const double CONFIG_DEFAULT_PARAMS_AZ_SPEED_DEG_PER_S
Definition config.hpp:229
const std::string KEY_CONFIG_ALTAZ_ALT_UPPER_LIMIT_OP
Definition config.hpp:127
const std::vector< std::string > OLDB_CFG_KEYS_DOUBLE
Definition config.hpp:157
const std::string KEY_CONFIG_PUB_DETERM_DEST4
Definition config.hpp:115
const std::string KEY_CONFIG_SITE_INFO_ID
Definition config.hpp:138
const std::string KEY_CONFIG_ALTAZ_AZ_LOWER_LIMIT_FCT
Definition config.hpp:134
const std::string KEY_CONFIG_LLNETIO_DST_PORT
Definition config.hpp:108
const std::string CONFIG_DEFAULT_PUB_DETERM_DEST3
Definition config.hpp:217
const uint32_t CONFIG_DEFAULT_PUB_DDS_DOMAIN_ID_HLCC
Definition config.hpp:224
const std::string CONFIG_DEFAULT_SCXML_FILENAME
Definition config.hpp:197
const std::string KEY_CONFIG_PARAMS_AZ_SPEED_DEG_PER_S
Definition config.hpp:126
const bool CONFIG_DEFAULT_TRS_HEALTH_ENABLED
Definition config.hpp:205
const std::string CONFIG_DEFAULT_MODNAME
Definition config.hpp:194
const uint32_t CONFIG_DEFAULT_LLNETIO_DST_PORT
Definition config.hpp:209
const std::string CONFIG_DEFAULT_PUB_DETERM_DEST4
Definition config.hpp:218
const std::string KEY_CONFIG_DET_PUBLISH_MODE
Definition config.hpp:105
const std::string KEY_CONFIG_TRSHKS_CMDS
Definition config.hpp:110
const std::string KEY_CONFIG_PARAMS_TRACKING_ERROR
Definition config.hpp:124
const double CONFIG_DEFAULT_ALTAZ_ALT_LOWER_LIMIT_OP
Definition config.hpp:231
const char CONFIG_KEY_SEPARATOR_OLDB
Definition config.hpp:79
const std::string CONFIG_DEFAULT_PUB_DETERM_DEST6
Definition config.hpp:220
const std::vector< std::string > OLDB_CFG_KEYS_UINT32
Definition config.hpp:174
const std::string KEY_CONFIG_LLNETIO_SRC_IP
Definition config.hpp:106
const std::string CONFIG_DEFAULT_PUB_DETERM_NIC
Definition config.hpp:215
const std::string KEY_CONFIG_SITE_INFO_ELEVATION
Definition config.hpp:135
const std::string KEY_CONFIG_PARAMS_ALT_SPEED_DEG_PER_S
Definition config.hpp:125
const std::string KEY_CONFIG_PUB_DETERM_DEST5
Definition config.hpp:116
const std::string CONFIG_DEFAULT_VERSION
Definition config.hpp:193
const double CONFIG_DEFAULT_ALTAZ_ALT_UPPER_LIMIT_FCT
Definition config.hpp:234
const std::string CONFIG_DEFAULT_PUB_DDS_FILE
Definition config.hpp:223
const std::string KEY_CONFIG
Definition config.hpp:102
const double CONFIG_DEFAULT_ALTAZ_AZ_UPPER_LIMIT_OP
Definition config.hpp:232
const std::string KEY_CONFIG_ALTAZ_AZ_LOWER_LIMIT_OP
Definition config.hpp:130
const double CONFIG_DEFAULT_SITE_INFO_ELEVATION
Definition config.hpp:238
const std::string CONFIG_DEFAULT_LLNETIO_SRC_IP
Definition config.hpp:208
const double CONFIG_DEFAULT_PARAMS_TRACKING_ERROR
Definition config.hpp:227
const std::string KEY_CONFIG_PUB_DDS_FILE
Definition config.hpp:120
const double CONFIG_DEFAULT_SITE_INFO_LONGITUDE
Definition config.hpp:240
const std::string CONFIG_DEFAULT_PROCNAME
Definition config.hpp:195
const std::string CONFIG_DEFAULT_PUB_DDS_PROFILE
Definition config.hpp:221
const std::string KEY_CONFIG_PUB_DDS_DOMAIN_ID_GENERAL
Definition config.hpp:123
const std::string KEY_CONFIG_PUB_DDS_PROFILE
Definition config.hpp:118
const std::string CONFIG_DEFAULT_DET_PUBLISH_MODE
Definition config.hpp:207
const std::string CONFIG_DEFAULT_PUB_DETERM_DEST5
Definition config.hpp:219
const std::string CONFIG_DEFAULT_PUB_DETERM_DEST2
Definition config.hpp:216
const std::string CONFIG_DEFAULT_LOG_LEVEL
Definition config.hpp:199
const double CONFIG_DEFAULT_ALTAZ_ALT_UPPER_LIMIT_OP
Definition config.hpp:230
const double CONFIG_DEFAULT_PARAMS_ALT_SPEED_DEG_PER_S
Definition config.hpp:228
const std::string KEY_CONFIG_PUB_DETERM_DEST
Definition config.hpp:111
const int CONFIG_DEFAULT_OLDB_ASYNC_PERIOD
Definition config.hpp:204
const double CONFIG_DEFAULT_SITE_INFO_LATITUDE
Definition config.hpp:239
const std::string CONFIG_DEFAULT_PUB_DETERM_DEST
Definition config.hpp:214
const std::string CONFIG_DEFAULT_PUB_DDS_NIC
Definition config.hpp:222
const std::string KEY_CONFIG_ALTAZ_AZ_UPPER_LIMIT_OP
Definition config.hpp:129
const std::string KEY_CONFIG_SIMULATE_LSV_PFS
Definition config.hpp:104
const std::string CONFIG_DEFAULT_REQ_ENDPOINT
Definition config.hpp:201
const std::string KEY_CONFIG_PUB_DDS_DOMAIN_ID_CCS_INS
Definition config.hpp:122
const uint32_t CONFIG_DEFAULT_PUB_DDS_DOMAIN_ID_GENERAL
Definition config.hpp:226
const std::string KEY_CONFIG_LLNETIO_DST_IP
Definition config.hpp:107
const std::vector< std::string > OLDB_CFG_KEYS_STRING
Definition config.hpp:140
const int CONFIG_DEFAULT_OLDB_CONN_TIMEOUT
Definition config.hpp:203
const std::string KEY_CONFIG_ALTAZ_ALT_LOWER_LIMIT_OP
Definition config.hpp:128
const std::string KEY_CONFIG_PUB_DETERM_DEST3
Definition config.hpp:114
const std::string CONFIG_DEFAULT_OLDB_URI_PREFIX
Definition config.hpp:202
const bool CONFIG_DEFAULT_SIMULATE_LSV_MS
Definition config.hpp:211
const std::string KEY_CONFIG_ALTAZ_AZ_UPPER_LIMIT_FCT
Definition config.hpp:133
const bool CONFIG_DEFAULT_SIMULATE_LSV_PFS
Definition config.hpp:212
const double CONFIG_DEFAULT_ALTAZ_ALT_LOWER_LIMIT_FCT
Definition config.hpp:235
const std::string KEY_CONFIG_SIMULATE_LSV_MS
Definition config.hpp:103
const std::string KEY_CONFIG_SITE_INFO_LONGITUDE
Definition config.hpp:137
const std::string KEY_CONFIG_PUB_DETERM_NIC
Definition config.hpp:112
const std::string KEY_CONFIG_PUB_DDS_NIC
Definition config.hpp:119
const std::string CONFIG_DEFAULT_SITE_INFO_ID
Definition config.hpp:241
const double CONFIG_DEFAULT_ALTAZ_AZ_UPPER_LIMIT_FCT
Definition config.hpp:236
const std::vector< std::string > OLDB_CFG_KEYS_BOOL
Definition config.hpp:181
const std::string CONFIG_DEFAULT_LOG_PROPERTIES
Definition config.hpp:200
const std::string KEY_CONFIG_SITE_INFO_LATITUDE
Definition config.hpp:136
const std::string KEY_CONFIG_ALTAZ_ALT_LOWER_LIMIT_FCT
Definition config.hpp:132
Definition ccsinsoldb.hpp:10
static bool Decode(const CiiConfigInstanceNode &node, hlcc::eltpk::LsvApp &target)
Definition config.hpp:52
static bool Encode(CiiConfigInstanceNode &node, const hlcc::eltpk::LsvApp &source)
Definition config.hpp:63
std::string name
Definition config.hpp:37
std::string cmds
Definition config.hpp:39
std::string oldb
Definition config.hpp:38