#include <oldbInterface.hpp>
This class is a concrete implementation of the rad::OldbInterface that is used for unit testing the rad::app library. It avoids writing to the OLDB.
◆ OldbInterface()
rad::utest::OldbInterface::OldbInterface |
( |
const std::string & | prefix = "" | ) |
|
|
explicit |
◆ ~OldbInterface()
rad::utest::OldbInterface::~OldbInterface |
( |
| ) |
|
|
virtual |
◆ SetConfig()
void rad::utest::OldbInterface::SetConfig |
( |
const rad::Config & | cfg | ) |
|
|
overridevirtual |
◆ SetControlState()
void rad::utest::OldbInterface::SetControlState |
( |
const std::string & | value | ) |
|
|
overridevirtual |
This method writes the application State Machine state to the OLDB.
- Parameters
-
Reimplemented from rad::OldbInterface.
◆ SetTrsHealth()
void rad::utest::OldbInterface::SetTrsHealth |
( |
const std::string & | health, |
|
|
const std::string & | desc ) |
|
overridevirtual |
This method writes the TRS health status to the OLDB.
- Parameters
-
value | TRS health status and description. |
Reimplemented from rad::OldbInterface.
The documentation for this class was generated from the following files: