CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t > Class Template Reference

#include <ConsumerWebPageHelper.h>

Inheritance diagram for stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >:
stor::WebPageHelper< WebPageHelper_t >

Public Member Functions

void consumerStatistics (xgi::Output *, const std::string &externallyVisibleState, const std::string &innerStateName, const std::string &errorMsg, boost::shared_ptr< StatisticsReporter_t >, RegistrationCollectionPtr, boost::shared_ptr< EventQueueCollection_t >, DQMEventQueueCollectionPtr) const
 
 ConsumerWebPageHelper (xdaq::ApplicationDescriptor *appDesc, const std::string &cvsVersion, WebPageHelper_t *webPageHelper, void(WebPageHelper_t::*addHyperLinks)(XHTMLMaker &, XHTMLMaker::Node *) const )
 
- Public Member Functions inherited from stor::WebPageHelper< WebPageHelper_t >
void css (xgi::Input *in, xgi::Output *out)
 
 WebPageHelper (xdaq::ApplicationDescriptor *, const std::string &cvsVersion, WebPageHelper_t *callee, void(WebPageHelper_t::*addHyperLinks)(XHTMLMaker &, XHTMLMaker::Node *) const )
 

Private Member Functions

bool addDOMforConsumerName (stor::XHTMLMaker &maker, stor::XHTMLMaker::Node *tableRow, const std::string &consumerName) const
 
void addDOMforDQMEventConsumers (XHTMLMaker &maker, XHTMLMaker::Node *parent, RegistrationCollectionPtr, DQMEventQueueCollectionPtr, const DQMConsumerMonitorCollection &) const
 
void addDOMforEventConsumers (XHTMLMaker &maker, XHTMLMaker::Node *parent, RegistrationCollectionPtr, boost::shared_ptr< EventQueueCollection_t >, const EventConsumerMonitorCollection &) const
 
 ConsumerWebPageHelper (ConsumerWebPageHelper const &)
 
ConsumerWebPageHelperoperator= (ConsumerWebPageHelper const &)
 

Private Attributes

xdaq::ApplicationDescriptor * appDescriptor_
 

Additional Inherited Members

- Protected Member Functions inherited from stor::WebPageHelper< WebPageHelper_t >
void addDOMforDQMEventStatistics (XHTMLMaker &maker, XHTMLMaker::Node *parent, DQMEventMonitorCollection const &) const
 
void addDOMforHyperLinks (XHTMLMaker &maker, XHTMLMaker::Node *parent) const
 
void addDOMforProcessedDQMEvents (XHTMLMaker &maker, XHTMLMaker::Node *parent, DQMEventMonitorCollection const &) const
 
void addDQMEventStats (XHTMLMaker &maker, XHTMLMaker::Node *table, DQMEventMonitorCollection::DQMEventStats const &, const MonitoredQuantity::DataSetType) const
 
void addDurationToTableHead (XHTMLMaker &maker, XHTMLMaker::Node *tableRow, const utils::Duration_t) const
 
void addRowForDQMEventBandwidth (XHTMLMaker &maker, XHTMLMaker::Node *table, DQMEventMonitorCollection::DQMEventStats const &, const MonitoredQuantity::DataSetType) const
 
void addRowForDQMEventsProcessed (XHTMLMaker &maker, XHTMLMaker::Node *table, DQMEventMonitorCollection::DQMEventStats const &, const MonitoredQuantity::DataSetType) const
 
void addRowForMaxDQMEventBandwidth (XHTMLMaker &maker, XHTMLMaker::Node *table, DQMEventMonitorCollection::DQMEventStats const &, const MonitoredQuantity::DataSetType) const
 
void addRowForMinDQMEventBandwidth (XHTMLMaker &maker, XHTMLMaker::Node *table, DQMEventMonitorCollection::DQMEventStats const &, const MonitoredQuantity::DataSetType) const
 
void addRowForTotalDQMEventVolume (XHTMLMaker &maker, XHTMLMaker::Node *table, DQMEventMonitorCollection::DQMEventStats const &, const MonitoredQuantity::DataSetType) const
 
std::string baseURL () const
 
XHTMLMaker::NodecreateWebPageBody (XHTMLMaker &, const std::string &pageTitle, const std::string &externallyVisibleState, const std::string &innerStateName, const std::string &errorMsg) const
 
- Protected Attributes inherited from stor::WebPageHelper< WebPageHelper_t >
std::map< unsigned int,
std::string > 
alarmColors_
 
xdaq::ApplicationDescriptor * appDescriptor_
 
XHTMLMaker::AttrMap rowAttr_
 
XHTMLMaker::AttrMap specialRowAttr_
 
XHTMLMaker::AttrMap tableAttr_
 
XHTMLMaker::AttrMap tableLabelAttr_
 
XHTMLMaker::AttrMap tableValueAttr_
 

Detailed Description

template<typename WebPageHelper_t, typename EventQueueCollection_t, typename StatisticsReporter_t>
class stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >

Helper class to handle consumer web page requests

Author:
mommsen
Revision:
1.2
Date:
2011/03/07 15:31:31

Definition at line 33 of file ConsumerWebPageHelper.h.

Constructor & Destructor Documentation

template<typename WebPageHelper_t, typename EventQueueCollection_t, typename StatisticsReporter_t>
stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::ConsumerWebPageHelper ( xdaq::ApplicationDescriptor *  appDesc,
const std::string &  cvsVersion,
WebPageHelper_t *  webPageHelper,
void(WebPageHelper_t::*)(XHTMLMaker &, XHTMLMaker::Node *) const  addHyperLinks 
)
template<typename WebPageHelper_t, typename EventQueueCollection_t, typename StatisticsReporter_t>
stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::ConsumerWebPageHelper ( ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t > const &  )
private

Member Function Documentation

template<typename WebPageHelper_t, typename EventQueueCollection_t, typename StatisticsReporter_t>
bool stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::addDOMforConsumerName ( stor::XHTMLMaker maker,
stor::XHTMLMaker::Node tableRow,
const std::string &  consumerName 
) const
private

Add table cell with consumer name. If the consumer is a proxy server, a hyperlink to it will be added. Returns true if the consumer is a proxy server.

template<typename WebPageHelper_t, typename EventQueueCollection_t, typename StatisticsReporter_t>
void stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::addDOMforDQMEventConsumers ( XHTMLMaker maker,
XHTMLMaker::Node parent,
RegistrationCollectionPtr  ,
DQMEventQueueCollectionPtr  ,
const DQMConsumerMonitorCollection  
) const
private

Adds statistics for DQM event consumers

template<typename WebPageHelper_t, typename EventQueueCollection_t, typename StatisticsReporter_t>
void stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::addDOMforEventConsumers ( XHTMLMaker maker,
XHTMLMaker::Node parent,
RegistrationCollectionPtr  ,
boost::shared_ptr< EventQueueCollection_t >  ,
const EventConsumerMonitorCollection  
) const
private

Adds statistics for event consumers

template<typename WebPageHelper_t, typename EventQueueCollection_t, typename StatisticsReporter_t>
void stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::consumerStatistics ( xgi::Output ,
const std::string &  externallyVisibleState,
const std::string &  innerStateName,
const std::string &  errorMsg,
boost::shared_ptr< StatisticsReporter_t >  ,
RegistrationCollectionPtr  ,
boost::shared_ptr< EventQueueCollection_t >  ,
DQMEventQueueCollectionPtr   
) const
template<typename WebPageHelper_t, typename EventQueueCollection_t, typename StatisticsReporter_t>
ConsumerWebPageHelper& stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::operator= ( ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t > const &  )
private

Member Data Documentation

template<typename WebPageHelper_t, typename EventQueueCollection_t, typename StatisticsReporter_t>
xdaq::ApplicationDescriptor* stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::appDescriptor_
private

Definition at line 104 of file ConsumerWebPageHelper.h.