|
ifw-daq
1.0.0
IFW Data Acquisition modules
|
Go to the documentation of this file.
9 #ifndef SERVER_DB_INTERFACE_HPP_
10 #define SERVER_DB_INTERFACE_HPP_
12 #include <rad/dbAdapter.hpp>
45 DbInterface(
const std::string& prefix, rad::DbAdapter& runtime_db);
61 std::string
Get(
const std::string& key);
82 void Set(
const std::string& key,
const std::string& value);
89 rad::DbAdapter& m_runtime_db;
94 #endif // SERVER_DB_INTERFACE_HPP_
const std::string KEY_CONFIG_REQ_ENDPOINT
const std::string KEY_CONFIG_DATAROOT
void Set(const std::string &key, const std::string &value)
virtual ~DbInterface()
Destructor.
std::string Get(const std::string &key)
const std::string KEY_CONFIG_FILENAME
This class is the interface to the in-memory DB.
const std::string KEY_CONFIG_PUB_ENDPOINT
void SetConfig(Config &cfg)
Set the application configuration information in the DB.
const std::string KEY_CONFIG_INSTRUMENT_ID
const std::string KEY_CONFIG_DB_ENDPOINT
DbInterface(const DbInterface &)=delete
const std::string KEY_CONTROL_STATE
const std::string KEY_CONFIG_LOG_LEVEL
void SetControlState(const std::string &value)
const std::string KEY_CONFIG_DB_TIMEOUT_SEC
DbInterface(const std::string &prefix, rad::DbAdapter &runtime_db)
Constructor.
std::string GetControlState()
DbInterface & operator=(const DbInterface &)=delete
Disable copy constructor.
const std::string KEY_CONFIG_LOG_PROPERTIES
This class provide access to the command line options and the configuration parameters stored in the ...
const std::string KEY_CONFIG_SM_SCXML