9#ifndef {{cookiecutter.module_name|upper}}_DB_INTERFACE_HPP_
10#define {{cookiecutter.module_name|upper}}_DB_INTERFACE_HPP_
40 DbInterface(
const std::string& prefix, rad::DbAdapter& runtime_db);
41 virtual ~DbInterface();
43 std::string GetControlState();
44 std::string GetControlSubstate();
45 std::string GetControlStatus();
46 std::string Get(
const std::string& key);
48 void SetControlState(
const std::string& value);
49 void SetControlSubstate(
const std::string& value);
50 void SetControlStatus(
const std::string& value);
51 void SetControl(
const std::string& state,
const std::string& substate,
const std::string& status);
53 void SetConfig(Config& cfg);
55 void Set(
const std::string& key,
const std::string& value);
57 DbInterface(
const DbInterface&) =
delete;
58 DbInterface& operator= (
const DbInterface&) =
delete;
62 rad::DbAdapter& m_runtime_db;
DbAdapter class header file.
const std::string KEY_CONFIG_REQ_ENDPOINT
Definition dbInterface.hpp:23
const std::string KEY_CONFIG_FILENAME
Definition dbInterface.hpp:27
const std::string KEY_CONFIG_DB_ENDPOINT
Definition dbInterface.hpp:24
const std::string KEY_CONTROL_STATUS
Definition dbInterface.hpp:20
const std::string KEY_CONTROL_STATE
Definition dbInterface.hpp:18
const std::string KEY_CONFIG_DB_TIMEOUT_SEC
Definition dbInterface.hpp:25
const std::string KEY_CONFIG_SM_SCXML
Definition dbInterface.hpp:26
const std::string KEY_CONTROL_SIMULATION
Definition dbInterface.hpp:21
const std::string KEY_CONFIG_LOG_PROPERTIES
Definition dbInterface.hpp:29
const std::string KEY_CONTROL_SUBSTATE
Definition dbInterface.hpp:19
const std::string KEY_CONFIG_LOG_LEVEL
Definition dbInterface.hpp:28
const std::string KEY_CONFIG_SUB_ENDPOINT
Definition dbInterface.hpp:24