ifw-daq
2.1.0-pre1
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>
54 DbInterface(
const std::string& prefix, rad::DbAdapter& runtime_db);
70 std::string
Get(
const std::string& key);
91 void Set(
const std::string& key,
const std::string& value);
98 rad::DbAdapter& m_runtime_db;
103 #endif // SERVER_DB_INTERFACE_HPP_
const std::string KEY_CONFIG_DPM_TIMEOUT_SEC
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
const std::string KEY_CONFIG_DB_PREFIX
void SetConfig(Config &cfg)
Set the application configuration information in the DB.
const std::string KEY_CONFIG_INSTRUMENT_ID
const std::string KEY_CONFIG_DPM_REQ_ENDPOINT
const std::string KEY_CONFIG_WORKSPACE
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
const std::string KEY_CONFIG_STALE_DAQ_ACQUIRING
DbInterface(const std::string &prefix, rad::DbAdapter &runtime_db)
Constructor.
const std::string KEY_CONFIG_DPM_PUB_ENDPOINT
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
const std::string KEY_CONFIG_STALE_DAQ_MERGING