CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RawMsgBuf.cc
Go to the documentation of this file.
2 #include <iostream>
3 #include <cstdlib>
4 
5 using namespace evf;
6 
7 // create a raw message with the maximum message size
8 RawMsgBuf::RawMsgBuf(unsigned int size, unsigned int type) :
9  MsgBuf(size, type), theRawCell_(0) {
10 
11 }
12 
15  //delete[] buf_;
16 }
17 
18 void RawMsgBuf::initialise(unsigned int rawCellSize) {
19  // construct the FUShmRawCell at the buffer address
20  // the memory is allocated in the super constructor
21  theRawCell_ = new (ptr_->mtext) FUShmRawCell(rawCellSize);
22 
23 }
type
Definition: HCALResponse.h:21
struct msgbuf * ptr_
Definition: MsgBuf.h:24
FUShmRawCell * theRawCell_
Definition: RawMsgBuf.h:46
RawMsgBuf(unsigned int size, unsigned int type)
Definition: RawMsgBuf.cc:8
void initialise(unsigned int rawCellSize)
Definition: RawMsgBuf.cc:18
virtual ~RawMsgBuf()
Definition: RawMsgBuf.cc:13
tuple size
Write out results.