8 #include "xdaq/Application.h"
10 #include "toolbox/lang/Class.h"
12 #include "xdata/Serializable.h"
13 #include "xdata/UnsignedInteger32.h"
14 #include "xdata/InfoSpaceFactory.h"
16 #include "xgi/Method.h"
17 #include "xgi/Input.h"
18 #include "xgi/Output.h"
19 #include "xgi/exception/Exception.h"
27 class WebGUI :
public toolbox::lang::Class
35 typedef std::vector<std::pair<std::string,Param_t*> >
ParamVec_t;
36 typedef std::vector<std::pair<std::string,Counter_t*> >
CounterVec_t;
37 typedef std::vector<std::pair<std::string,void*> >
UpdateVec_t;
xdata::UnsignedInteger32 Counter_t
void setLargeAppIcon(CString_t &icon)
void addDebugCounter(CString_t &name, Counter_t *counter)
void htmlTable(Input_t *in, Output_t *out, CString_t &title, const ParamVec_t ¶ms)
CounterVec_t standardCounters_
void addStandardParam(CString_t &name, Param_t *param)
void addCountersToParams()
const std::string CString_t
xdata::Serializable Param_t
xgi::exception::Exception XgiException_t
void htmlHead(Input_t *in, Output_t *out, CString_t &pageTitle)
std::string smallAppIcon_
CounterVec_t monitorCounters_
bool countersAddedToParams_
std::vector< std::pair< std::string, Param_t * > > ParamVec_t
void setSmallAppIcon(CString_t &icon)
void addMonitorParam(CString_t &name, Param_t *param)
void addItemChangedListener(CString_t &name, xdata::ActionListener *l)
ParamVec_t standardParams_
void addDebugParam(CString_t &name, Param_t *param)
std::vector< std::pair< std::string, void * > > UpdateVec_t
xdata::InfoSpace * appInfoSpace_
WebGUI(xdaq::Application *app, StateMachine *fsm)
xdata::InfoSpace * monInfoSpace_
ParamVec_t monitorParams_
xdata::InfoSpace * appInfoSpace()
xdata::InfoSpace * monInfoSpace()
void htmlHeadline(Input_t *in, Output_t *out)
std::vector< std::pair< std::string, Counter_t * > > CounterVec_t
void debugWebPage(Input_t *in, Output_t *out)
void addParamsToInfoSpace(const ParamVec_t ¶ms, xdata::InfoSpace *infoSpace)
void addStandardCounter(CString_t &name, Counter_t *counter)
void addMonitorCounter(CString_t &name, Counter_t *counter)
void defaultWebPage(Input_t *in, Output_t *out)
void setHyperDAQIcon(CString_t &icon)
std::string largeAppIcon_
bool isMonitorParam(CString_t &name)
std::string smallCtmIcon_
CounterVec_t debugCounters_
std::string hyperDAQIcon_
xdata::ActionListener * itemGroupListener_
void setSmallDbgIcon(CString_t &icon)
std::string smallDbgIcon_
void css(Input_t *in, Output_t *out)