Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
ResourceBroker
src
DQMMsgBuf.cc
Go to the documentation of this file.
1
/*
2
* Message Buffer for Message Queue
3
* - holds an entire FUShmDqmCell to transport
4
*
5
* Author: aspataru : aspataru@cern.ch
6
*/
7
8
#include "
EventFilter/ResourceBroker/interface/DQMMsgBuf.h
"
9
#include <iostream>
10
#include <cstdlib>
11
12
using namespace
evf;
13
14
DQMMsgBuf::DQMMsgBuf
(
unsigned
int
size
,
unsigned
int
type
) :
15
MsgBuf
(size, type), theDqmCell_(0) {
16
}
17
18
DQMMsgBuf::~DQMMsgBuf
() {
19
theDqmCell_
->
~FUShmDqmCell
();
20
//delete[] buf_;
21
}
22
23
void
DQMMsgBuf::initialise
(
unsigned
int
dqmCellSize) {
24
// construct the FUShmDqmCell at the buffer address
25
// the memory is allocated in the super constructor
26
theDqmCell_
=
new
(
ptr_
->mtext)
FUShmDqmCell
(dqmCellSize);
27
}
type
type
Definition:
HCALResponse.h:22
evf::FUShmDqmCell
Definition:
FUShmDqmCell.h:7
evf::MsgBuf::ptr_
struct msgbuf * ptr_
Definition:
MsgBuf.h:24
evf::MsgBuf
Definition:
MsgBuf.h:9
evf::DQMMsgBuf::DQMMsgBuf
DQMMsgBuf(unsigned int size, unsigned int type)
Definition:
DQMMsgBuf.cc:14
evf::DQMMsgBuf::theDqmCell_
FUShmDqmCell * theDqmCell_
Definition:
DQMMsgBuf.h:42
DQMMsgBuf.h
evf::FUShmDqmCell::~FUShmDqmCell
~FUShmDqmCell()
Definition:
FUShmDqmCell.cc:35
evf::DQMMsgBuf::~DQMMsgBuf
virtual ~DQMMsgBuf()
Definition:
DQMMsgBuf.cc:18
evf::DQMMsgBuf::initialise
void initialise(unsigned int dqmCellSize)
Definition:
DQMMsgBuf.cc:23
findQualityFiles.size
tuple size
Write out results.
Definition:
findQualityFiles.py:442
Generated for CMSSW Reference Manual by
1.8.5