1 #include "otsdaq-components/SlowControlsInterfacePlugins/OtsSlowControlsInterface.h"
2 #include "otsdaq-core/Macros/SlowControlsPluginMacros.h"
6 OtsSlowControlsInterface::OtsSlowControlsInterface(
7 const std::string& interfaceUID,
8 const ConfigurationTree& theXDAQContextConfigTree,
9 const std::string& controlsConfigurationPath)
17 : SlowControlsVInterface(
18 interfaceUID, theXDAQContextConfigTree, controlsConfigurationPath)
22 OtsSlowControlsInterface::~OtsSlowControlsInterface() { destroy(); }
24 void OtsSlowControlsInterface::initialize() {}
26 void OtsSlowControlsInterface::destroy() {}
28 std::string OtsSlowControlsInterface::getList(std::string format)
33 return (std::string)
"list";
35 void OtsSlowControlsInterface::subscribe(std::string Name) {}
37 void OtsSlowControlsInterface::subscribeJSON(std::string List) {}
39 void OtsSlowControlsInterface::unsubscribe(std::string Name) {}
41 std::array<std::string, 4> OtsSlowControlsInterface::getCurrentValue(std::string Name)
43 return {
"a",
"b",
"c",
"d"};
46 std::array<std::string, 9> OtsSlowControlsInterface::getSettings(std::string Name)
48 return {
"a",
"b",
"c",
"d",
"e",
"f",
"g",
"h",
"i"};