#include <WebGUI.h>
Public Types | |
typedef xdata::UnsignedInteger32 | Counter_t |
typedef std::vector< std::pair < std::string, Counter_t * > > | CounterVec_t |
typedef const std::string | CString_t |
typedef xgi::Input | Input_t |
typedef xgi::Output | Output_t |
typedef xdata::Serializable | Param_t |
typedef std::vector< std::pair < std::string, Param_t * > > | ParamVec_t |
typedef std::vector< std::pair < std::string, void * > > | UpdateVec_t |
typedef xgi::exception::Exception | XgiException_t |
Public Member Functions | |
void | addDebugCounter (CString_t &name, Counter_t *counter) |
void | addDebugParam (CString_t &name, Param_t *param) |
void | addItemChangedListener (CString_t &name, xdata::ActionListener *l) |
void | addMonitorCounter (CString_t &name, Counter_t *counter) |
void | addMonitorParam (CString_t &name, Param_t *param) |
void | addStandardCounter (CString_t &name, Counter_t *counter) |
void | addStandardParam (CString_t &name, Param_t *param) |
xdata::InfoSpace * | appInfoSpace () |
void | css (Input_t *in, Output_t *out) throw (XgiException_t) |
void | debugWebPage (Input_t *in, Output_t *out) throw (XgiException_t) |
void | defaultWebPage (Input_t *in, Output_t *out) throw (XgiException_t) |
void | exportParameters () |
void | htmlHead (Input_t *in, Output_t *out, CString_t &pageTitle) |
void | htmlHeadline (Input_t *in, Output_t *out) |
void | htmlTable (Input_t *in, Output_t *out, CString_t &title, const ParamVec_t ¶ms) |
xdata::InfoSpace * | monInfoSpace () |
void | resetCounters () |
void | setHyperDAQIcon (CString_t &icon) |
void | setLargeAppIcon (CString_t &icon) |
void | setSmallAppIcon (CString_t &icon) |
void | setSmallDbgIcon (CString_t &icon) |
WebGUI (xdaq::Application *app, StateMachine *fsm) | |
virtual | ~WebGUI () |
Private Member Functions | |
void | addCountersToParams () |
void | addParamsToInfoSpace (const ParamVec_t ¶ms, xdata::InfoSpace *infoSpace) |
bool | isMonitorParam (CString_t &name) |
void | updateParams () |
Private Attributes | |
xdaq::Application * | app_ |
xdata::InfoSpace * | appInfoSpace_ |
bool | countersAddedToParams_ |
Css | css_ |
CounterVec_t | debugCounters_ |
ParamVec_t | debugParams_ |
StateMachine * | fsm_ |
std::string | hyperDAQIcon_ |
xdata::ActionListener * | itemGroupListener_ |
std::string | largeAppIcon_ |
Logger | log_ |
xdata::InfoSpace * | monInfoSpace_ |
CounterVec_t | monitorCounters_ |
ParamVec_t | monitorParams_ |
bool | parametersExported_ |
std::string | smallAppIcon_ |
std::string | smallCtmIcon_ |
std::string | smallDbgIcon_ |
std::string | sourceId_ |
CounterVec_t | standardCounters_ |
ParamVec_t | standardParams_ |
std::string | urn_ |
typedef xdata::UnsignedInteger32 evf::WebGUI::Counter_t |
typedef std::vector<std::pair<std::string,Counter_t*> > evf::WebGUI::CounterVec_t |
typedef const std::string evf::WebGUI::CString_t |
typedef xgi::Input evf::WebGUI::Input_t |
typedef xgi::Output evf::WebGUI::Output_t |
typedef xdata::Serializable evf::WebGUI::Param_t |
typedef std::vector<std::pair<std::string,Param_t*> > evf::WebGUI::ParamVec_t |
typedef std::vector<std::pair<std::string,void*> > evf::WebGUI::UpdateVec_t |
typedef xgi::exception::Exception evf::WebGUI::XgiException_t |
WebGUI::WebGUI | ( | xdaq::Application * | app, |
StateMachine * | fsm | ||
) |
Definition at line 32 of file WebGUI.cc.
References app_, appInfoSpace(), appInfoSpace_, css(), debugWebPage(), defaultWebPage(), instance, itemGroupListener_, largeAppIcon_, monInfoSpace(), monInfoSpace_, sourceId_, and urn_.
|
private |
Definition at line 291 of file WebGUI.cc.
References countersAddedToParams_, debugCounters_, debugParams_, first, i, monitorCounters_, monitorParams_, edm::second(), standardCounters_, and standardParams_.
Referenced by exportParameters().
Definition at line 189 of file WebGUI.cc.
References countersAddedToParams_, debugCounters_, log_, and sourceId_.
void WebGUI::addItemChangedListener | ( | CString_t & | name, |
xdata::ActionListener * | l | ||
) |
Definition at line 238 of file WebGUI.cc.
References appInfoSpace(), edm::hlt::Exception, isMonitorParam(), log_, monInfoSpace(), and parametersExported_.
Referenced by evf::BU::exportParameters().
Definition at line 178 of file WebGUI.cc.
References countersAddedToParams_, log_, monitorCounters_, and sourceId_.
Referenced by evf::BU::exportParameters().
Definition at line 145 of file WebGUI.cc.
References log_, monitorParams_, and parametersExported_.
Referenced by evf::BU::exportParameters().
|
private |
Definition at line 272 of file WebGUI.cc.
References alignCSCRings::e, edm::hlt::Exception, i, log_, mergeVDriftHistosByStation::name, and relativeConstraints::value.
Referenced by exportParameters().
Definition at line 167 of file WebGUI.cc.
References countersAddedToParams_, log_, sourceId_, and standardCounters_.
Definition at line 134 of file WebGUI.cc.
References log_, parametersExported_, and standardParams_.
Referenced by evf::BU::exportParameters().
|
inline |
Definition at line 71 of file WebGUI.h.
References appInfoSpace_.
Referenced by addItemChangedListener(), exportParameters(), updateParams(), and WebGUI().
void WebGUI::css | ( | Input_t * | in, |
Output_t * | out | ||
) | |||
throw | ( | XgiException_t | |
) |
Definition at line 127 of file WebGUI.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by WebGUI().
void WebGUI::debugWebPage | ( | Input_t * | in, |
Output_t * | out | ||
) | |||
throw | ( | XgiException_t | |
) |
Definition at line 110 of file WebGUI.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by WebGUI().
void WebGUI::defaultWebPage | ( | Input_t * | in, |
Output_t * | out | ||
) | |||
throw | ( | XgiException_t | |
) |
Definition at line 91 of file WebGUI.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by WebGUI().
void WebGUI::exportParameters | ( | ) |
Definition at line 200 of file WebGUI.cc.
References addCountersToParams(), addParamsToInfoSpace(), appInfoSpace(), countersAddedToParams_, debugParams_, monInfoSpace(), monitorParams_, parametersExported_, and standardParams_.
Referenced by evf::BU::exportParameters().
Definition at line 375 of file WebGUI.cc.
References a, b, fsm_, hyperDAQIcon_, largeAppIcon_, smallAppIcon_, smallCtmIcon_, smallDbgIcon_, sourceId_, evf::StateMachine::stateName(), asciidump::table, and urn_.
void WebGUI::htmlTable | ( | Input_t * | in, |
Output_t * | out, | ||
CString_t & | title, | ||
const ParamVec_t & | params | ||
) |
Definition at line 335 of file WebGUI.cc.
References alignCSCRings::e, edm::hlt::Exception, first, i, and asciidump::table.
|
private |
Definition at line 315 of file WebGUI.cc.
References monitorParams_.
Referenced by addItemChangedListener().
|
inline |
Definition at line 72 of file WebGUI.h.
References monInfoSpace_.
Referenced by evf::BU::actionPerformed(), addItemChangedListener(), exportParameters(), evf::BU::monitoring(), and WebGUI().
void WebGUI::resetCounters | ( | ) |
Definition at line 217 of file WebGUI.cc.
References debugCounters_, i, monitorCounters_, and standardCounters_.
Referenced by evf::BU::reset().
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
Definition at line 109 of file WebGUI.h.
Referenced by appInfoSpace(), and WebGUI().
|
private |
Definition at line 122 of file WebGUI.h.
Referenced by addCountersToParams(), addDebugCounter(), addMonitorCounter(), addStandardCounter(), and exportParameters().
|
private |
Definition at line 119 of file WebGUI.h.
Referenced by addCountersToParams(), addDebugCounter(), and resetCounters().
|
private |
Definition at line 116 of file WebGUI.h.
Referenced by addCountersToParams(), addDebugParam(), and exportParameters().
|
private |
Definition at line 102 of file WebGUI.h.
Referenced by htmlHeadline().
|
private |
Definition at line 128 of file WebGUI.h.
Referenced by htmlHeadline(), and setHyperDAQIcon().
|
private |
Definition at line 112 of file WebGUI.h.
Referenced by updateParams(), and WebGUI().
|
private |
Definition at line 124 of file WebGUI.h.
Referenced by htmlHeadline(), setLargeAppIcon(), and WebGUI().
|
private |
Definition at line 104 of file WebGUI.h.
Referenced by addDebugCounter(), addDebugParam(), addItemChangedListener(), addMonitorCounter(), addMonitorParam(), addParamsToInfoSpace(), addStandardCounter(), and addStandardParam().
|
private |
Definition at line 110 of file WebGUI.h.
Referenced by monInfoSpace(), and WebGUI().
|
private |
Definition at line 118 of file WebGUI.h.
Referenced by addCountersToParams(), addMonitorCounter(), and resetCounters().
|
private |
Definition at line 115 of file WebGUI.h.
Referenced by addCountersToParams(), addMonitorParam(), exportParameters(), and isMonitorParam().
|
private |
Definition at line 121 of file WebGUI.h.
Referenced by addDebugParam(), addItemChangedListener(), addMonitorParam(), addStandardParam(), and exportParameters().
|
private |
Definition at line 125 of file WebGUI.h.
Referenced by htmlHeadline(), and setSmallAppIcon().
|
private |
Definition at line 127 of file WebGUI.h.
Referenced by htmlHeadline().
|
private |
Definition at line 126 of file WebGUI.h.
Referenced by htmlHeadline(), and setSmallDbgIcon().
|
private |
Definition at line 106 of file WebGUI.h.
Referenced by addDebugCounter(), addMonitorCounter(), addStandardCounter(), htmlHeadline(), and WebGUI().
|
private |
Definition at line 117 of file WebGUI.h.
Referenced by addCountersToParams(), addStandardCounter(), and resetCounters().
|
private |
Definition at line 114 of file WebGUI.h.
Referenced by addCountersToParams(), addStandardParam(), and exportParameters().
|
private |
Definition at line 107 of file WebGUI.h.
Referenced by htmlHead(), htmlHeadline(), and WebGUI().