Go to the documentation of this file.
9 #ifndef HELLO_DB_INTERFACE_HPP_
10 #define HELLO_DB_INTERFACE_HPP_
12 #include <rad/dbAdapter.hpp>
46 std::string
Get(
const std::string& key);
51 void SetControl(
const std::string& state,
const std::string& substate,
const std::string& status);
55 void Set(
const std::string& key,
const std::string& value);
67 #endif // HELLO_DB_INTERFACE_HPP_
std::string GetControlState()
Definition: dbInterface.cpp:46
void SetControlStatus(const std::string &value)
Definition: dbInterface.cpp:95
const std::string KEY_CONFIG_REQ_ENDPOINT
Definition: dbInterface.hpp:23
const std::string KEY_CONTROL_STATUS
Definition: dbInterface.hpp:20
void SetControlState(const std::string &value)
Definition: dbInterface.cpp:79
void SetConfig(Config &cfg)
Definition: dbInterface.cpp:130
const std::string KEY_CONTROL_SUBSTATE
Definition: dbInterface.hpp:19
void Set(const std::string &key, const std::string &value)
Definition: dbInterface.cpp:158
std::string GetControlStatus()
Definition: dbInterface.cpp:62
Definition: config.hpp:47
const std::string KEY_CONTROL_STATE
Definition: dbInterface.hpp:18
std::string GetControlSubstate()
Definition: dbInterface.cpp:54
const std::string KEY_CONTROL_SIMULATION
Definition: dbInterface.hpp:21
Definition: actionMgr.cpp:21
DbInterface(const std::string &prefix, rad::DbAdapter &runtime_db)
Definition: dbInterface.cpp:25
Definition: dbInterface.hpp:38
std::string Get(const std::string &key)
Definition: dbInterface.cpp:71
void SetControl(const std::string &state, const std::string &substate, const std::string &status)
Definition: dbInterface.cpp:107
const std::string KEY_CONFIG_LOG_PROPERTIES
Definition: dbInterface.hpp:30
const std::string KEY_CONFIG_DB_ENDPOINT
Definition: dbInterface.hpp:25
const std::string KEY_CONFIG_DB_TIMEOUT_SEC
Definition: dbInterface.hpp:26
const std::string KEY_CONFIG_FILENAME
Definition: dbInterface.hpp:28
const std::string KEY_CONFIG_SM_SCXML
Definition: dbInterface.hpp:27
void SetControlSubstate(const std::string &value)
Definition: dbInterface.cpp:87
const std::string KEY_CONFIG_SUB_ENDPOINT
Definition: dbInterface.hpp:24
virtual ~DbInterface()
Definition: dbInterface.cpp:39
const std::string KEY_CONFIG_LOG_LEVEL
Definition: dbInterface.hpp:29
Definition: dbAdapter.hpp:29
DbInterface(const DbInterface &)=delete
DbInterface & operator=(const DbInterface &)=delete
Disable copy constructor.