#include <ConsumerWebPageHelper.h>
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 ) | |
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 &) | |
ConsumerWebPageHelper & | operator= (ConsumerWebPageHelper const &) |
Private Attributes | |
xdaq::ApplicationDescriptor * | appDescriptor_ |
Helper class to handle consumer web page requests
Definition at line 33 of file ConsumerWebPageHelper.h.
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 | ||
) |
stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::ConsumerWebPageHelper | ( | ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t > const & | ) | [private] |
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.
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
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
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 |
Generates consumer statistics page
Referenced by stor::SMWebPageHelper::consumerStatistics(), and smproxy::SMPSWebPageHelper::consumerStatisticsWebPage().
ConsumerWebPageHelper& stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::operator= | ( | ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t > const & | ) | [private] |
xdaq::ApplicationDescriptor* stor::ConsumerWebPageHelper< WebPageHelper_t, EventQueueCollection_t, StatisticsReporter_t >::appDescriptor_ [private] |
Reimplemented from stor::WebPageHelper< WebPageHelper_t >.
Definition at line 104 of file ConsumerWebPageHelper.h.