CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ConsumerWebPageHelper.h
Go to the documentation of this file.
1 // $Id: ConsumerWebPageHelper.h,v 1.2 2011/03/07 15:31:31 mommsen Exp $
3 
4 #ifndef EventFilter_StorageManager_ConsumerWebPageHelper_h
5 #define EventFilter_StorageManager_ConsumerWebPageHelper_h
6 
7 #include "xdaq/ApplicationDescriptor.h"
8 #include "xgi/Output.h"
9 
18 
19 #include <boost/function.hpp>
20 
21 namespace stor
22 {
23 
32  template<typename WebPageHelper_t, typename EventQueueCollection_t, typename StatisticsReporter_t>
33  class ConsumerWebPageHelper : public WebPageHelper<WebPageHelper_t>
34  {
35  public:
36 
38  (
39  xdaq::ApplicationDescriptor* appDesc,
40  const std::string& cvsVersion,
41  WebPageHelper_t* webPageHelper,
42  void (WebPageHelper_t::*addHyperLinks)(XHTMLMaker&, XHTMLMaker::Node*) const
43  );
44 
49  (
50  xgi::Output*,
51  const std::string& externallyVisibleState,
52  const std::string& innerStateName,
53  const std::string& errorMsg,
54  boost::shared_ptr<StatisticsReporter_t>,
56  boost::shared_ptr<EventQueueCollection_t>,
58  ) const;
59 
60 
61  private:
62 
67  (
71  boost::shared_ptr<EventQueueCollection_t>,
73  ) const;
74 
79  (
80  XHTMLMaker& maker,
81  XHTMLMaker::Node* parent,
85  ) const;
86 
93  (
94  stor::XHTMLMaker& maker,
95  stor::XHTMLMaker::Node* tableRow,
96  const std::string& consumerName
97  ) const;
98 
99 
100  //Prevent copying of the ConsumerWebPageHelper
103 
104  xdaq::ApplicationDescriptor* appDescriptor_;
105 
106  };
107 
108 } // namespace stor
109 
110 #endif // EventFilter_StorageManager_ConsumerWebPageHelper_h
111 
112 
list parent
Definition: dbtoconf.py:74
bool addDOMforConsumerName(stor::XHTMLMaker &maker, stor::XHTMLMaker::Node *tableRow, const std::string &consumerName) const
boost::shared_ptr< RegistrationCollection > RegistrationCollectionPtr
boost::shared_ptr< DQMEventQueueCollection > DQMEventQueueCollectionPtr
void addDOMforEventConsumers(XHTMLMaker &maker, XHTMLMaker::Node *parent, RegistrationCollectionPtr, boost::shared_ptr< EventQueueCollection_t >, const EventConsumerMonitorCollection &) const
ConsumerWebPageHelper(xdaq::ApplicationDescriptor *appDesc, const std::string &cvsVersion, WebPageHelper_t *webPageHelper, void(WebPageHelper_t::*addHyperLinks)(XHTMLMaker &, XHTMLMaker::Node *) const )
xdaq::ApplicationDescriptor * appDescriptor_
ConsumerWebPageHelper & operator=(ConsumerWebPageHelper const &)
#define Output(cl)
Definition: vmac.h:193
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
xercesc::DOMElement Node
Definition: XHTMLMaker.h:35
void addDOMforDQMEventConsumers(XHTMLMaker &maker, XHTMLMaker::Node *parent, RegistrationCollectionPtr, DQMEventQueueCollectionPtr, const DQMConsumerMonitorCollection &) const