1 #ifndef _ots_ControlsDashboardSupervisor_h_
2 #define _ots_ControlsDashboardSupervisor_h_
4 #include "otsdaq-core/CoreSupervisors/CoreSupervisorBase.h"
14 class ControlsVInterface;
15 class ConfigurationManager;
33 virtual void request (
const std::string& requestType, cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut,
const WebUsers::RequestUserInfo& userInfo)
override;
35 virtual void setSupervisorPropertyDefaults (
void)
override;
36 virtual void forceSupervisorPropertyValues (
void)
override;
39 void Poll (cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut, std::string UID) ;
40 void GetPVSettings (cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut, std::string pvList);
41 void GenerateUID (cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut, std::string pvlist);
42 void GetList (cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut) ;
43 void GetPages (cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut) ;
44 void loadPage (cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut, std::string page) ;
45 void Subscribe (cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut) ;
46 void Unsubscribe (cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut) ;
51 bool isDir (std::string dir );
52 void listFiles (std::string baseDir,
bool recursive, std::vector<std::string> * pages );
59 ControlsVInterface* interface_;
63 std::map<int, std::set<std::string>> pvDependencyLookupMap_;