|
HLCC Documentation 2.2.0
|
#include <oldbInterface.hpp>
Public Member Functions | |
| OldbInterface (const std::string &prefix="") | |
| virtual | ~OldbInterface () |
| void | Init (Config &config) |
| void | SetConfig (const hlcc::telmon::Config &cfg) |
| void | SetControlState (const std::string &status) override |
| std::string | GetControlState () |
| void | SetConfig (const rad::Config &cfg) |
| void | UpdateHeartbeat () |
| OldbInterface (const OldbInterface &)=delete | |
| OldbInterface & | operator= (const OldbInterface &)=delete |
| Disable copy constructor. | |
This class is the interface to the CII OLDB.
| hlcc::telmon::OldbInterface::OldbInterface | ( | const std::string & | prefix = "" | ) |
Constructor.
| [in] | prefix | String used as prefix when building the keys. |
|
virtual |
Destructor
|
delete |
| std::string hlcc::telmon::OldbInterface::GetControlState | ( | ) |
Reads the current value of ready_for_handover flag on the Oldb
| void hlcc::telmon::OldbInterface::Init | ( | Config & | config | ) |
Creates an ObservablePublisher for pub/sub and OLDB publishing. Initializes OLDB datapoints (target_alt_az) and publishers (target_alt_az_publisher).
|
delete |
Disable copy constructor.
| void hlcc::telmon::OldbInterface::SetConfig | ( | const hlcc::telmon::Config & | cfg | ) |
| void hlcc::telmon::OldbInterface::SetConfig | ( | const rad::Config & | cfg | ) |
|
override |
| void hlcc::telmon::OldbInterface::UpdateHeartbeat | ( | ) |