1 #ifndef _ots_ControlsDashboardSupervisor_h_
2 #define _ots_ControlsDashboardSupervisor_h_
4 #include "otsdaq-core/CoreSupervisors/CoreSupervisorBase.h"
11 class SlowControlsVInterface;
12 class ConfigurationManager;
28 virtual void request(
const std::string& requestType,
30 HttpXmlDocument& xmlOut,
31 const WebUsers::RequestUserInfo& userInfo)
override;
32 virtual void handleRequest(
const std::string Command,
33 HttpXmlDocument& xmlOut,
35 const std::string& username);
37 virtual void setSupervisorPropertyDefaults(
void)
override;
38 virtual void forceSupervisorPropertyValues(
void)
override;
43 void Poll(cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut, std::string UID);
44 void GetPVSettings(cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut, std::string pvList);
45 void GenerateUID(cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut, std::string pvlist);
46 void GetList(cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut);
47 void GetPages(cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut);
48 void loadPage(cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut, std::string page);
49 void SavePage(cgicc::Cgicc& cgiIn,
50 HttpXmlDocument& xmlOut,
53 void Subscribe(cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut);
54 void Unsubscribe(cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut);
57 bool isDir(std::string dir);
58 void listFiles(std::string baseDir,
bool recursive, std::vector<std::string>* pages);
68 std::map<int, std::set<std::string>> pvDependencyLookupMap_;
72 SlowControlsVInterface* interface_;
73 std::mutex pluginBusyMutex_;