CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMHttpSource.h
Go to the documentation of this file.
1 // $Id: DQMHttpSource.h,v 1.15 2012/10/31 17:09:27 wmtan Exp $
3 
4 #ifndef StorageManager_DQMHttpSource_h
5 #define StorageManager_DQMHttpSource_h
6 
15 
16 #include <boost/thread/mutex.hpp>
17 
18 #include <memory>
19 
20 
21 namespace edm
22 {
33  {
34  public:
36  (
37  const edm::ParameterSet&,
39  );
40  virtual ~DQMHttpSource() {};
41 
42  static void addEventToDQMBackend
43  (
44  DQMStore*,
45  const DQMEventMsgView&,
46  const bool overwrite
47  );
48 
49 
50  private:
51  EventAuxiliary const& eventAuxiliary() const {
52  return *eventAuxiliary_;
53  }
54  void setEventAuxiliary(std::unique_ptr<EventAuxiliary> aux) {
55  eventAuxiliary_ = std::move(aux);
56  }
57  virtual EventPrincipal* read(EventPrincipal& eventPrincipal);
58  virtual bool checkNextEvent();
59  void initializeDQMStore();
60 
61  std::unique_ptr<EventAuxiliary> eventAuxiliary_;
64 
66  };
67 
68 } // namespace edm
69 
70 #endif // StorageManager_DQMHttpSource_h
71 
72 
static void addEventToDQMBackend(DQMStore *, const DQMEventMsgView &, const bool overwrite)
static boost::mutex mutex
Definition: LHEProxy.cc:11
DQMHttpSource(const edm::ParameterSet &, const edm::InputSourceDescription &)
virtual bool checkNextEvent()
static boost::mutex mutex_
Definition: DQMHttpSource.h:65
stor::EventServerProxy< stor::DQMEventConsumerRegistrationInfo > dqmEventServerProxy_
Definition: DQMHttpSource.h:62
void setEventAuxiliary(std::unique_ptr< EventAuxiliary > aux)
Definition: DQMHttpSource.h:54
EventAuxiliary const & eventAuxiliary() const
Definition: DQMHttpSource.h:51
std::unique_ptr< EventAuxiliary > eventAuxiliary_
Definition: DQMHttpSource.h:61
DQMStore * dqmStore_
Definition: DQMHttpSource.h:63
virtual EventPrincipal * read(EventPrincipal &eventPrincipal)
virtual ~DQMHttpSource()
Definition: DQMHttpSource.h:40