CMS 3D CMS Logo

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