otsdaq  v2_05_02_indev
CodeEditorSupervisor.h
1 #ifndef _ots_CodeEditorSupervisor_h_
2 #define _ots_CodeEditorSupervisor_h_
3 
4 #include "otsdaq/CodeEditor/CodeEditor.h"
5 #include "otsdaq/CoreSupervisors/CoreSupervisorBase.h"
6 
7 namespace ots
8 {
9 // CodeEditorSupervisor
10 // This class handles the Code Editor interface
12 {
13  public:
14  XDAQ_INSTANTIATOR();
15 
16  CodeEditorSupervisor(xdaq::ApplicationStub* s);
17  virtual ~CodeEditorSupervisor(void);
18 
19  // CorePropertySupervisorBase override functions
20  virtual void defaultPage(xgi::Input* in, xgi::Output* out) override;
21  virtual void request(const std::string& requestType, cgicc::Cgicc& cgiIn, HttpXmlDocument& xmlOut, const WebUsers::RequestUserInfo& userInfo) override;
22 
23  virtual void setSupervisorPropertyDefaults(void) override; // override to control supervisor specific defaults
24  virtual void forceSupervisorPropertyValues(void) override; // override to force
25  // supervisor property
26  // values (and ignore user
27  // settings)
28  private:
29  CodeEditor codeEditor_;
30 };
31 
32 } // namespace ots
33 
34 #endif