9#ifndef {{cookiecutter.module_name|upper}}_DB_INTERFACE_HPP_
10#define {{cookiecutter.module_name|upper}}_DB_INTERFACE_HPP_
42 DbInterface(
const std::string& prefix, rad::DbAdapter& runtime_db);
47 virtual ~DbInterface();
52 std::string GetControlState();
58 std::string Get(
const std::string& key);
63 void SetControlState(
const std::string& value);
73 void SetConfig(Config& cfg);
79 void Set(
const std::string& key,
const std::string& value);
81 DbInterface(
const DbInterface&) =
delete;
82 DbInterface& operator=(
const DbInterface&) =
delete;
86 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_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_CONFIG_LOG_PROPERTIES
Definition dbInterface.hpp:29
const std::string KEY_CONFIG_LOG_LEVEL
Definition dbInterface.hpp:28