#include <WebPageHelper.h>
Helper class to handle web page requests
Definition at line 31 of file WebPageHelper.h.
stor::WebPageHelper< T >::WebPageHelper | ( | xdaq::ApplicationDescriptor * | , |
const std::string & | cvsVersion, | ||
T * | callee, | ||
void(T::*)(XHTMLMaker &, XHTMLMaker::Node *) const | addHyperLinks | ||
) |
stor::WebPageHelper< T >::WebPageHelper | ( | WebPageHelper< T > const & | ) | [private] |
void stor::WebPageHelper< T >::addDOMforDQMEventStatistics | ( | XHTMLMaker & | maker, |
XHTMLMaker::Node * | parent, | ||
DQMEventMonitorCollection const & | |||
) | const [protected] |
Adds statistics for the DQM events to the parent DOM element
void stor::WebPageHelper< T >::addDOMforHyperLinks | ( | XHTMLMaker & | maker, |
XHTMLMaker::Node * | parent | ||
) | const [inline, protected] |
Adds the links for the other hyperdaq webpages
Reimplemented in smproxy::SMPSWebPageHelper, and stor::SMWebPageHelper.
Definition at line 72 of file WebPageHelper.h.
{ (callee_->*addHyperLinks_)(maker, parent); }
void stor::WebPageHelper< T >::addDOMforProcessedDQMEvents | ( | XHTMLMaker & | maker, |
XHTMLMaker::Node * | parent, | ||
DQMEventMonitorCollection const & | |||
) | const [protected] |
Adds DQM event processor statistics to the parent DOM element
void stor::WebPageHelper< T >::addDQMEventStats | ( | XHTMLMaker & | maker, |
XHTMLMaker::Node * | table, | ||
DQMEventMonitorCollection::DQMEventStats const & | , | ||
const MonitoredQuantity::DataSetType | |||
) | const [protected] |
Add statistics for processed DQM events
void stor::WebPageHelper< T >::addDurationToTableHead | ( | XHTMLMaker & | maker, |
XHTMLMaker::Node * | tableRow, | ||
const utils::Duration_t | |||
) | const [protected] |
Add header with integration duration
void stor::WebPageHelper< T >::addRowForDQMEventBandwidth | ( | XHTMLMaker & | maker, |
XHTMLMaker::Node * | table, | ||
DQMEventMonitorCollection::DQMEventStats const & | , | ||
const MonitoredQuantity::DataSetType | |||
) | const [protected] |
Add a table row for DQM event bandwidth
void stor::WebPageHelper< T >::addRowForDQMEventsProcessed | ( | XHTMLMaker & | maker, |
XHTMLMaker::Node * | table, | ||
DQMEventMonitorCollection::DQMEventStats const & | , | ||
const MonitoredQuantity::DataSetType | |||
) | const [protected] |
Add a table row for number of DQM events processed
void stor::WebPageHelper< T >::addRowForMaxDQMEventBandwidth | ( | XHTMLMaker & | maker, |
XHTMLMaker::Node * | table, | ||
DQMEventMonitorCollection::DQMEventStats const & | , | ||
const MonitoredQuantity::DataSetType | |||
) | const [protected] |
Add a table row for maximum fragment bandwidth
void stor::WebPageHelper< T >::addRowForMinDQMEventBandwidth | ( | XHTMLMaker & | maker, |
XHTMLMaker::Node * | table, | ||
DQMEventMonitorCollection::DQMEventStats const & | , | ||
const MonitoredQuantity::DataSetType | |||
) | const [protected] |
Add a table row for minimum fragment bandwidth
void stor::WebPageHelper< T >::addRowForTotalDQMEventVolume | ( | XHTMLMaker & | maker, |
XHTMLMaker::Node * | table, | ||
DQMEventMonitorCollection::DQMEventStats const & | , | ||
const MonitoredQuantity::DataSetType | |||
) | const [protected] |
Add a table row for total fragment volume received
std::string stor::WebPageHelper< T >::baseURL | ( | ) | const [protected] |
Get base url
XHTMLMaker::Node* stor::WebPageHelper< T >::createWebPageBody | ( | XHTMLMaker & | , |
const std::string & | pageTitle, | ||
const std::string & | externallyVisibleState, | ||
const std::string & | innerStateName, | ||
const std::string & | errorMsg | ||
) | const [protected] |
Returns the webpage body with the standard header as XHTML node
Referenced by stor::SMWebPageHelper::createWebPageBody().
void stor::WebPageHelper< T >::css | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) | [inline] |
WebPageHelper& stor::WebPageHelper< T >::operator= | ( | WebPageHelper< T > const & | ) | [private] |
void(T::* stor::WebPageHelper< T >::addHyperLinks_)(XHTMLMaker &, XHTMLMaker::Node *) const [private] |
Definition at line 191 of file WebPageHelper.h.
Referenced by stor::WebPageHelper< WebPageHelper_t >::addDOMforHyperLinks().
std::map<unsigned int, std::string> stor::WebPageHelper< T >::alarmColors_ [protected] |
Definition at line 180 of file WebPageHelper.h.
xdaq::ApplicationDescriptor* stor::WebPageHelper< T >::appDescriptor_ [protected] |
Reimplemented in stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >, stor::ConsumerWebPageHelper< SMPSWebPageHelper, EventQueueCollection, StatisticsReporter >, and stor::ConsumerWebPageHelper< SMWebPageHelper, EventQueueCollection, StatisticsReporter >.
Definition at line 172 of file WebPageHelper.h.
T* stor::WebPageHelper< T >::callee_ [private] |
Definition at line 190 of file WebPageHelper.h.
Referenced by stor::WebPageHelper< WebPageHelper_t >::addDOMforHyperLinks().
evf::Css stor::WebPageHelper< T >::css_ [private] |
Definition at line 188 of file WebPageHelper.h.
Referenced by stor::WebPageHelper< WebPageHelper_t >::css().
const std::string stor::WebPageHelper< T >::cvsVersion_ [private] |
Definition at line 189 of file WebPageHelper.h.
XHTMLMaker::AttrMap stor::WebPageHelper< T >::rowAttr_ [protected] |
Definition at line 175 of file WebPageHelper.h.
XHTMLMaker::AttrMap stor::WebPageHelper< T >::specialRowAttr_ [protected] |
Definition at line 178 of file WebPageHelper.h.
XHTMLMaker::AttrMap stor::WebPageHelper< T >::tableAttr_ [protected] |
Definition at line 174 of file WebPageHelper.h.
XHTMLMaker::AttrMap stor::WebPageHelper< T >::tableLabelAttr_ [protected] |
Definition at line 176 of file WebPageHelper.h.
XHTMLMaker::AttrMap stor::WebPageHelper< T >::tableValueAttr_ [protected] |
Definition at line 177 of file WebPageHelper.h.