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::vector<std::string> OtsSlowControlsInterface::getChannelList() {
return {}; }
31 std::string OtsSlowControlsInterface::getList(
const std::string& )
36 return (std::string)
"list";
38 void OtsSlowControlsInterface::subscribe(
const std::string& ) {}
40 void OtsSlowControlsInterface::subscribeJSON(
const std::string& ) {}
42 void OtsSlowControlsInterface::unsubscribe(
const std::string& ) {}
44 std::array<std::string, 4> OtsSlowControlsInterface::getCurrentValue(
47 return {
"a",
"b",
"c",
"d"};
50 std::vector<std::vector<std::string>> OtsSlowControlsInterface::getChannelHistory(
56 std::vector<std::vector<std::string>> OtsSlowControlsInterface::getLastAlarms(
62 std::vector<std::vector<std::string>> OtsSlowControlsInterface::getAlarmsLog(
68 std::array<std::string, 9> OtsSlowControlsInterface::getSettings(
const std::string& )
70 return {
"a",
"b",
"c",
"d",
"e",
"f",
"g",
"h",
"i"};
73 std::vector<std::vector<std::string>> OtsSlowControlsInterface::checkAlarmNotifications(