rad  5.1.0
oldbInterface.hpp
Go to the documentation of this file.
1 
9 #ifndef EXCIISERVER_OLDB_INTERFACE_HPP
10 #define EXCIISERVER_OLDB_INTERFACE_HPP
11 
12 #include <rad/cii/oldbAdapter.hpp>
13 #include <rad/oldbInterface.hpp>
14 
15 #include <string>
16 #include <vector>
17 
18 namespace exciiserver {
19 
20 /*
21  * Monitor OLDB Attributes.
22  */
23 const std::string KEY_MON_TARGET_RA = "mon/target/ra";
24 const std::string KEY_MON_TARGET_DEC = "mon/target/dec";
25 const std::string KEY_MON_ACTUAL_RA = "mon/actual/ra";
26 const std::string KEY_MON_ACTUAL_DEC = "mon/actual/dec";
27 
28 class 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:43
Definition: oldbInterface.hpp:33
void GetControlState(std::string &value)
Definition: oldbInterface.cpp:33
OldbInterface(const OldbInterface &)=delete
OldbInterface & operator=(const OldbInterface &)=delete
Disable copy constructor.
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
void SetTargetRaDec(const float ra, const float dec)
Definition: oldbInterface.cpp:38
Definition: oldbInterface.hpp:34
Definition: actionMgr.cpp:25
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