rad 6.2.0
Loading...
Searching...
No Matches
oldbInterface.hpp
Go to the documentation of this file.
1
9#ifndef EXCIISERVER_OLDB_INTERFACE_HPP
10#define EXCIISERVER_OLDB_INTERFACE_HPP
11
13#include <rad/oldbInterface.hpp>
14
15#include <string>
16#include <vector>
17
18namespace exciiserver {
19
20/*
21 * Monitor OLDB Attributes.
22 */
23const std::string KEY_MON_TARGET_RA = "mon/target/ra";
24const std::string KEY_MON_TARGET_DEC = "mon/target/dec";
25const std::string KEY_MON_ACTUAL_RA = "mon/actual/ra";
26const std::string KEY_MON_ACTUAL_DEC = "mon/actual/dec";
27
28class Config;
29
34 public:
40 OldbInterface(const std::string& prefix = "");
41
45 virtual ~OldbInterface();
46
47 void GetControlState(std::string& value);
48 void SetTargetRaDec(const float ra, const float dec);
49 void SetActualRaDec(const float ra, const float dec);
50
51 OldbInterface(const OldbInterface&) = delete;
53};
54
55} // namespace exciiserver
56
57#endif // EXCIISERVER_OLDB_INTERFACE_HPP
OldbInterface class header file.
OldbAdapter interface file.
Definition config.hpp:48
Definition oldbInterface.hpp:33
void GetControlState(std::string &value)
Definition oldbInterface.cpp:33
OldbInterface(const OldbInterface &)=delete
OldbInterface(const std::string &prefix="")
Definition oldbInterface.cpp:20
virtual ~OldbInterface()
Definition oldbInterface.cpp:28
void SetActualRaDec(const float ra, const float dec)
Definition oldbInterface.cpp:44
OldbInterface & operator=(const OldbInterface &)=delete
Disable copy constructor.
void SetTargetRaDec(const float ra, const float dec)
Definition oldbInterface.cpp:38
Definition oldbInterface.hpp:34
Definition actionMgr.cpp:26
const std::string KEY_MON_ACTUAL_DEC
Definition oldbInterface.hpp:26
const std::string KEY_MON_ACTUAL_RA
Definition oldbInterface.hpp:25
const std::string KEY_MON_TARGET_RA
Definition oldbInterface.hpp:23
const std::string KEY_MON_TARGET_DEC
Definition oldbInterface.hpp:24