#include <IndependentWebGUI.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) |
IndependentWebGUI (xdaq::Application *app) | |
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) |
void | setVersionString (std::string vers) |
void | updateExternalState (std::string newState) |
void | updateInternalState (std::string newState) |
virtual | ~IndependentWebGUI () |
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_ |
std::string | currentExternalStateName_ |
std::string | currentInternalStateName_ |
CounterVec_t | debugCounters_ |
ParamVec_t | debugParams_ |
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_ |
std::string | versionString_ |
Definition at line 28 of file IndependentWebGUI.h.
typedef xdata::UnsignedInteger32 evf::IndependentWebGUI::Counter_t |
Definition at line 34 of file IndependentWebGUI.h.
typedef std::vector<std::pair<std::string, Counter_t*> > evf::IndependentWebGUI::CounterVec_t |
Definition at line 36 of file IndependentWebGUI.h.
typedef const std::string evf::IndependentWebGUI::CString_t |
Definition at line 40 of file IndependentWebGUI.h.
Definition at line 38 of file IndependentWebGUI.h.
Definition at line 39 of file IndependentWebGUI.h.
typedef xdata::Serializable evf::IndependentWebGUI::Param_t |
Definition at line 33 of file IndependentWebGUI.h.
typedef std::vector<std::pair<std::string, Param_t*> > evf::IndependentWebGUI::ParamVec_t |
Definition at line 35 of file IndependentWebGUI.h.
typedef std::vector<std::pair<std::string, void*> > evf::IndependentWebGUI::UpdateVec_t |
Definition at line 37 of file IndependentWebGUI.h.
typedef xgi::exception::Exception evf::IndependentWebGUI::XgiException_t |
Definition at line 41 of file IndependentWebGUI.h.
IndependentWebGUI::IndependentWebGUI | ( | xdaq::Application * | app | ) |
Definition at line 33 of file IndependentWebGUI.cc.
References app_, appInfoSpace(), appInfoSpace_, css(), debugWebPage(), defaultWebPage(), instance, itemGroupListener_, largeAppIcon_, monInfoSpace(), monInfoSpace_, sourceId_, and urn_.
|
virtual |
Definition at line 83 of file IndependentWebGUI.cc.
|
private |
Definition at line 294 of file IndependentWebGUI.cc.
References countersAddedToParams_, debugCounters_, debugParams_, first, i, monitorCounters_, monitorParams_, edm::second(), standardCounters_, and standardParams_.
Referenced by exportParameters().
Definition at line 192 of file IndependentWebGUI.cc.
References countersAddedToParams_, debugCounters_, log_, and sourceId_.
Definition at line 159 of file IndependentWebGUI.cc.
References debugParams_, log_, and parametersExported_.
void IndependentWebGUI::addItemChangedListener | ( | CString_t & | name, |
xdata::ActionListener * | l | ||
) |
Definition at line 241 of file IndependentWebGUI.cc.
References appInfoSpace(), edm::hlt::Exception, isMonitorParam(), log_, monInfoSpace(), and parametersExported_.
Definition at line 181 of file IndependentWebGUI.cc.
References countersAddedToParams_, log_, monitorCounters_, and sourceId_.
Definition at line 148 of file IndependentWebGUI.cc.
References log_, monitorParams_, and parametersExported_.
|
private |
Definition at line 275 of file IndependentWebGUI.cc.
References alignCSCRings::e, edm::hlt::Exception, i, log_, mergeVDriftHistosByStation::name, and relativeConstraints::value.
Referenced by exportParameters().
Definition at line 170 of file IndependentWebGUI.cc.
References countersAddedToParams_, log_, sourceId_, and standardCounters_.
Definition at line 137 of file IndependentWebGUI.cc.
References log_, parametersExported_, and standardParams_.
|
inline |
Definition at line 69 of file IndependentWebGUI.h.
References appInfoSpace_.
Referenced by addItemChangedListener(), exportParameters(), IndependentWebGUI(), and updateParams().
void IndependentWebGUI::css | ( | Input_t * | in, |
Output_t * | out | ||
) | |||
throw | ( | XgiException_t | |
) |
Definition at line 130 of file IndependentWebGUI.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by IndependentWebGUI().
void IndependentWebGUI::debugWebPage | ( | Input_t * | in, |
Output_t * | out | ||
) | |||
throw | ( | XgiException_t | |
) |
Definition at line 113 of file IndependentWebGUI.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by IndependentWebGUI().
void IndependentWebGUI::defaultWebPage | ( | Input_t * | in, |
Output_t * | out | ||
) | |||
throw | ( | XgiException_t | |
) |
Definition at line 94 of file IndependentWebGUI.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by IndependentWebGUI().
void IndependentWebGUI::exportParameters | ( | ) |
Definition at line 203 of file IndependentWebGUI.cc.
References addCountersToParams(), addParamsToInfoSpace(), appInfoSpace(), countersAddedToParams_, debugParams_, monInfoSpace(), monitorParams_, parametersExported_, and standardParams_.
Definition at line 378 of file IndependentWebGUI.cc.
References a, b, currentExternalStateName_, currentInternalStateName_, hyperDAQIcon_, largeAppIcon_, AlCaHLTBitMon_ParallelJobs::p, smallAppIcon_, smallCtmIcon_, smallDbgIcon_, sourceId_, asciidump::table, urn_, BeamSplash_cfg::version, and versionString_.
void IndependentWebGUI::htmlTable | ( | Input_t * | in, |
Output_t * | out, | ||
CString_t & | title, | ||
const ParamVec_t & | params | ||
) |
Definition at line 338 of file IndependentWebGUI.cc.
References alignCSCRings::e, edm::hlt::Exception, first, i, and asciidump::table.
|
private |
Definition at line 318 of file IndependentWebGUI.cc.
References monitorParams_.
Referenced by addItemChangedListener().
|
inline |
Definition at line 72 of file IndependentWebGUI.h.
References monInfoSpace_.
Referenced by addItemChangedListener(), exportParameters(), IndependentWebGUI(), and evf::rb_statemachine::SharedResources::monitoring().
void IndependentWebGUI::resetCounters | ( | ) |
Definition at line 220 of file IndependentWebGUI.cc.
References debugCounters_, i, monitorCounters_, and standardCounters_.
Referenced by evf::rb_statemachine::SharedResources::reset().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 94 of file IndependentWebGUI.h.
References currentExternalStateName_.
Referenced by evf::rb_statemachine::SharedResources::updateGUIExternalState().
|
inline |
Definition at line 97 of file IndependentWebGUI.h.
References currentInternalStateName_.
Referenced by evf::rb_statemachine::SharedResources::updateGUIInternalState().
|
private |
Definition at line 328 of file IndependentWebGUI.cc.
References appInfoSpace(), and itemGroupListener_.
|
private |
Definition at line 118 of file IndependentWebGUI.h.
Referenced by IndependentWebGUI().
|
private |
Definition at line 125 of file IndependentWebGUI.h.
Referenced by appInfoSpace(), and IndependentWebGUI().
|
private |
Definition at line 138 of file IndependentWebGUI.h.
Referenced by addCountersToParams(), addDebugCounter(), addMonitorCounter(), addStandardCounter(), and exportParameters().
|
private |
Definition at line 119 of file IndependentWebGUI.h.
|
private |
Definition at line 146 of file IndependentWebGUI.h.
Referenced by htmlHeadline(), and updateExternalState().
|
private |
Definition at line 147 of file IndependentWebGUI.h.
Referenced by htmlHeadline(), and updateInternalState().
|
private |
Definition at line 135 of file IndependentWebGUI.h.
Referenced by addCountersToParams(), addDebugCounter(), and resetCounters().
|
private |
Definition at line 132 of file IndependentWebGUI.h.
Referenced by addCountersToParams(), addDebugParam(), and exportParameters().
|
private |
Definition at line 144 of file IndependentWebGUI.h.
Referenced by htmlHeadline(), and setHyperDAQIcon().
|
private |
Definition at line 128 of file IndependentWebGUI.h.
Referenced by IndependentWebGUI(), and updateParams().
|
private |
Definition at line 140 of file IndependentWebGUI.h.
Referenced by htmlHeadline(), IndependentWebGUI(), and setLargeAppIcon().
|
private |
Definition at line 120 of file IndependentWebGUI.h.
Referenced by addDebugCounter(), addDebugParam(), addItemChangedListener(), addMonitorCounter(), addMonitorParam(), addParamsToInfoSpace(), addStandardCounter(), and addStandardParam().
|
private |
Definition at line 126 of file IndependentWebGUI.h.
Referenced by IndependentWebGUI(), and monInfoSpace().
|
private |
Definition at line 134 of file IndependentWebGUI.h.
Referenced by addCountersToParams(), addMonitorCounter(), and resetCounters().
|
private |
Definition at line 131 of file IndependentWebGUI.h.
Referenced by addCountersToParams(), addMonitorParam(), exportParameters(), and isMonitorParam().
|
private |
Definition at line 137 of file IndependentWebGUI.h.
Referenced by addDebugParam(), addItemChangedListener(), addMonitorParam(), addStandardParam(), and exportParameters().
|
private |
Definition at line 141 of file IndependentWebGUI.h.
Referenced by htmlHeadline(), and setSmallAppIcon().
|
private |
Definition at line 143 of file IndependentWebGUI.h.
Referenced by htmlHeadline().
|
private |
Definition at line 142 of file IndependentWebGUI.h.
Referenced by htmlHeadline(), and setSmallDbgIcon().
|
private |
Definition at line 122 of file IndependentWebGUI.h.
Referenced by addDebugCounter(), addMonitorCounter(), addStandardCounter(), htmlHeadline(), and IndependentWebGUI().
|
private |
Definition at line 133 of file IndependentWebGUI.h.
Referenced by addCountersToParams(), addStandardCounter(), and resetCounters().
|
private |
Definition at line 130 of file IndependentWebGUI.h.
Referenced by addCountersToParams(), addStandardParam(), and exportParameters().
|
private |
Definition at line 123 of file IndependentWebGUI.h.
Referenced by htmlHead(), htmlHeadline(), and IndependentWebGUI().
|
private |
Definition at line 148 of file IndependentWebGUI.h.
Referenced by htmlHeadline(), and setVersionString().