1 #include "otsdaq-components/SlowControlsInterfacePlugins/OtsSlowControlsInterface.h"
2 #include "otsdaq/Macros/SlowControlsPluginMacros.h"
6 OtsSlowControlsInterface::OtsSlowControlsInterface(
7 const std::string& pluginType,
8 const std::string& interfaceUID,
9 const ConfigurationTree& theXDAQContextConfigTree,
10 const std::string& controlsConfigurationPath)
18 : SlowControlsVInterface(
19 pluginType, interfaceUID, theXDAQContextConfigTree, controlsConfigurationPath)
23 OtsSlowControlsInterface::~OtsSlowControlsInterface() { destroy(); }
25 void OtsSlowControlsInterface::initialize() {}
27 void OtsSlowControlsInterface::destroy() {}
29 std::string OtsSlowControlsInterface::getList(std::string format)
34 return (std::string)
"list";
36 void OtsSlowControlsInterface::subscribe(std::string Name) {}
38 void OtsSlowControlsInterface::subscribeJSON(std::string List) {}
40 void OtsSlowControlsInterface::unsubscribe(std::string Name) {}
42 std::array<std::string, 4> OtsSlowControlsInterface::getCurrentValue(std::string Name)
44 return {
"a",
"b",
"c",
"d"};
47 std::array<std::string, 9> OtsSlowControlsInterface::getSettings(std::string Name)
49 return {
"a",
"b",
"c",
"d",
"e",
"f",
"g",
"h",
"i"};