CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MsgBuf.h
Go to the documentation of this file.
1 #ifndef EVENTFILTER_UTILITIES_MSG_BUF_H
2 #define EVENTFILTER_UTILITIES_MSG_BUF_H
3 
5 #include <string.h>
6 
7 namespace evf {
8 
9 class MsgBuf {
10 
11 public:
12  MsgBuf();
13  MsgBuf(unsigned int size, unsigned int type);
14  MsgBuf(const MsgBuf &b);
15 
16  MsgBuf &operator=(const MsgBuf &);
17  size_t msize();
18  virtual ~MsgBuf();
19  msgbuf* operator->();
20 
21 protected:
22  size_t msize_;
23  unsigned char *buf_;
24  struct msgbuf *ptr_;
25  friend class MasterQueue;
26  friend class SlaveQueue;
27 };
28 
29 }
30 
31 #endif
size_t msize_
Definition: MsgBuf.h:22
type
Definition: HCALResponse.h:22
size_t msize()
Definition: MsgBuf.cc:33
struct msgbuf * ptr_
Definition: MsgBuf.h:24
MsgBuf & operator=(const MsgBuf &)
Definition: MsgBuf.cc:26
MsgBuf()
Definition: MsgBuf.cc:5
unsigned char * buf_
Definition: MsgBuf.h:23
double b
Definition: hdecay.h:120
msgbuf * operator->()
Definition: MsgBuf.cc:39
tuple size
Write out results.
virtual ~MsgBuf()
Definition: MsgBuf.cc:36