rad
5.1.0
|
#include <oldbInterface.hpp>
Public Member Functions | |
OldbInterface () | |
virtual | ~OldbInterface () |
virtual void | SetConfig (const rad::Config &cfg) override |
virtual void | SetTrsHealth (const std::string &health, const std::string &desc) |
![]() | |
OldbInterface (const std::string &prefix="") | |
const std::string & | GetPrefix () |
rad::cii::OldbAdapter & | GetOldbAdapter () |
void | SetPrefix (const std::string &prefix) |
template<typename T > | |
void | SetValue (const std::string &key, const T &value) |
template<typename T > | |
void | GetValue (const std::string &key, T &value) |
virtual void | SetControlState (const std::string &value) |
OldbInterface (const OldbInterface &)=delete | |
OldbInterface & | operator= (const OldbInterface &)=delete |
Disable copy constructor. More... | |
This class is a concrete implementation of the rad::OldbInterface that is used for unit testing the rad::app library.
rad::utest::OldbInterface::OldbInterface | ( | ) |
Constructor.
|
virtual |
Destructor.
Reimplemented from rad::OldbInterface.
|
overridevirtual |
Writes the configuration to the OLDB.
Reimplemented from rad::OldbInterface.
|
virtual |
This method writes the TRS health status to the OLDB.
value | TRS health status and description. |
Reimplemented from rad::OldbInterface.