rad  5.1.0
Public Member Functions | List of all members
rad::utest::OldbInterface Class Reference

#include <oldbInterface.hpp>

Inheritance diagram for rad::utest::OldbInterface:
rad::OldbInterface

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)
 
- Public Member Functions inherited from rad::OldbInterface
 OldbInterface (const std::string &prefix="")
 
const std::string & GetPrefix ()
 
rad::cii::OldbAdapterGetOldbAdapter ()
 
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
 
OldbInterfaceoperator= (const OldbInterface &)=delete
 Disable copy constructor. More...
 

Detailed Description

This class is a concrete implementation of the rad::OldbInterface that is used for unit testing the rad::app library.

Constructor & Destructor Documentation

◆ OldbInterface()

rad::utest::OldbInterface::OldbInterface ( )

Constructor.

◆ ~OldbInterface()

rad::utest::OldbInterface::~OldbInterface ( )
virtual

Destructor.

Reimplemented from rad::OldbInterface.

Member Function Documentation

◆ SetConfig()

void rad::utest::OldbInterface::SetConfig ( const rad::Config cfg)
overridevirtual

Writes the configuration to the OLDB.

Reimplemented from rad::OldbInterface.

◆ SetTrsHealth()

void rad::utest::OldbInterface::SetTrsHealth ( const std::string &  health,
const std::string &  desc 
)
virtual

This method writes the TRS health status to the OLDB.

Parameters
valueTRS health status and description.

Reimplemented from rad::OldbInterface.


The documentation for this class was generated from the following files: