CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMEventMsg.h
Go to the documentation of this file.
1 // $Id: DQMEventMsg.h,v 1.2 2011/03/07 15:41:54 mommsen Exp $
3 
4 #ifndef EventFilter_SMProxyServer_DQMEventMsg_h
5 #define EventFilter_SMProxyServer_DQMEventMsg_h
6 
10 
11 #include <boost/shared_ptr.hpp>
12 #include <vector>
13 
14 namespace smproxy {
15 
26  {
27  public:
28 
29  DQMEventMsg();
31 
36 
41 
45  const stor::DQMKey& dqmKey() const;
46 
50  size_t memoryUsed() const;
51 
55  unsigned long totalDataSize() const;
56 
60  unsigned char* dataLocation() const;
61 
65  bool empty() const;
66 
70  bool faulty() const;
71 
72 
73  private:
74  typedef std::vector<unsigned char> DQMEventMsgBuffer;
75  boost::shared_ptr<DQMEventMsgBuffer> buf_;
76  bool faulty_;
77 
80  };
81 
82 } // namespace smproxy
83 
84 #endif // EventFilter_SMProxyServer_DQMEventMsg_h
85 
86 
87 
88 // emacs configuration
89 // Local Variables: -
90 // mode: c++ -
91 // c-basic-offset: 2 -
92 // indent-tabs-mode: nil -
93 // End: -
const stor::QueueIDs & getDQMEventConsumerTags() const
Definition: DQMEventMsg.cc:36
const stor::DQMKey & dqmKey() const
Definition: DQMEventMsg.cc:42
size_t memoryUsed() const
Definition: DQMEventMsg.cc:48
void tagForDQMEventConsumers(const stor::QueueIDs &)
Definition: DQMEventMsg.cc:30
std::vector< QueueID > QueueIDs
Definition: QueueID.h:80
boost::shared_ptr< DQMEventMsgBuffer > buf_
Definition: DQMEventMsg.h:75
bool empty() const
Definition: DQMEventMsg.cc:66
std::vector< unsigned char > DQMEventMsgBuffer
Definition: DQMEventMsg.h:74
unsigned char * dataLocation() const
Definition: DQMEventMsg.cc:60
bool faulty() const
Definition: DQMEventMsg.cc:72
unsigned long totalDataSize() const
Definition: DQMEventMsg.cc:54
stor::DQMKey dqmKey_
Definition: DQMEventMsg.h:79
stor::QueueIDs queueIDs_
Definition: DQMEventMsg.h:78