Go to the documentation of this file.
9 #ifndef HELLOMAL_DB_INTERFACE_HPP_
10 #define HELLOMAL_DB_INTERFACE_HPP_
12 #include <rad/dbAdapter.hpp>
58 std::string
Get(
const std::string& key);
79 void Set(
const std::string& key,
const std::string& value);
91 #endif // HELLOMAL_DB_INTERFACE_HPP_
void SetControlState(const std::string &value)
Definition: dbInterface.cpp:44
const std::string KEY_CONFIG_DB_ENDPOINT
Definition: dbInterface.hpp:21
const std::string KEY_CONFIG_LOG_LEVEL
Definition: dbInterface.hpp:25
Definition: dbInterface.hpp:34
void SetConfig(Config &cfg)
Definition: dbInterface.cpp:49
std::string Get(const std::string &key)
Definition: dbInterface.cpp:39
const std::string KEY_CONFIG_DB_TIMEOUT_SEC
Definition: dbInterface.hpp:22
const std::string KEY_CONTROL_STATE
Definition: dbInterface.hpp:18
Definition: actionMgr.cpp:21
std::string GetControlState()
Definition: dbInterface.cpp:34
const std::string KEY_CONFIG_LOG_PROPERTIES
Definition: dbInterface.hpp:26
DbInterface & operator=(const DbInterface &)=delete
Disable copy constructor.
Definition: config.hpp:40
DbInterface(const std::string &prefix, rad::DbAdapter &runtime_db)
Definition: dbInterface.cpp:20
const std::string KEY_CONFIG_SM_SCXML
Definition: dbInterface.hpp:23
const std::string KEY_CONFIG_REQ_ENDPOINT
Definition: dbInterface.hpp:20
virtual ~DbInterface()
Definition: dbInterface.cpp:30
const std::string KEY_CONFIG_FILENAME
Definition: dbInterface.hpp:24
Definition: dbAdapter.hpp:29
DbInterface(const DbInterface &)=delete
void Set(const std::string &key, const std::string &value)
Definition: dbInterface.cpp:72