Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
EventFilter
ResourceBroker
src
RawMsgBuf.cc
Go to the documentation of this file.
1
#include "
EventFilter/ResourceBroker/interface/RawMsgBuf.h
"
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
13
RawMsgBuf::~RawMsgBuf
() {
14
theRawCell_
->
~FUShmRawCell
();
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
type
Definition:
HCALResponse.h:21
evf::MsgBuf::ptr_
struct msgbuf * ptr_
Definition:
MsgBuf.h:24
RawMsgBuf.h
evf::MsgBuf
Definition:
MsgBuf.h:9
evf::RawMsgBuf::theRawCell_
FUShmRawCell * theRawCell_
Definition:
RawMsgBuf.h:46
evf::FUShmRawCell::~FUShmRawCell
~FUShmRawCell()
Definition:
FUShmRawCell.cc:62
evf::RawMsgBuf::RawMsgBuf
RawMsgBuf(unsigned int size, unsigned int type)
Definition:
RawMsgBuf.cc:8
evf::FUShmRawCell
Definition:
FUShmRawCell.h:10
evf::RawMsgBuf::initialise
void initialise(unsigned int rawCellSize)
Definition:
RawMsgBuf.cc:18
evf::RawMsgBuf::~RawMsgBuf
virtual ~RawMsgBuf()
Definition:
RawMsgBuf.cc:13
findQualityFiles.size
tuple size
Write out results.
Definition:
findQualityFiles.py:442
Generated for CMSSW Reference Manual by
1.8.5