00001 #ifndef _ots_OtsSlowControlsInterface_h
00002 #define _ots_OtsSlowControlsInterface_h
00003
00004 #include <array>
00005 #include <string>
00006
00007 #include "otsdaq-core/SlowControlsCore/SlowControlsVInterface.h"
00008 #include "otsdaq-core/NetworkUtilities/ReceiverSocket.h"
00009 using namespace ots;
00010
00011
00012 class OtsSlowControlsInterface : public SlowControlsVInterface
00013 {
00014 public:
00015 OtsSlowControlsInterface(const std::string& interfaceUID,
00016 const ConfigurationTree& theXDAQContextConfigTree,
00017 const std::string& controlsConfigurationPath);
00018 ~OtsSlowControlsInterface();
00019
00020 void initialize();
00021 void destroy();
00022
00023 std::string getList(std::string format);
00024 void subscribe(std::string Name);
00025 void subscribeJSON(std::string List);
00026 void unsubscribe(std::string Name);
00027 std::array<std::string, 4> getCurrentValue(std::string Name);
00028 std::array<std::string, 9> getSettings(std::string Name);
00029 };
00030
00031
00032
00033 #endif