CMS 3D CMS Logo

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 >

List of all members.

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 &)
ConsumerWebPageHelperoperator= (ConsumerWebPageHelper const &)

Private Attributes

xdaq::ApplicationDescriptor * appDescriptor_

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]

Reimplemented from stor::WebPageHelper< WebPageHelper_t >.

Definition at line 104 of file ConsumerWebPageHelper.h.