BOSS
7.0.4
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
Enumerations
d
e
g
h
p
r
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/BufferHolder.h
Go to the documentation of this file.
1
#ifndef RAWDATA_BUFFER_HOLDER_H
2
#define RAWDATA_BUFFER_HOLDER_H
3
4
#include <stdint.h>
5
#include <vector>
6
7
class
BufferHolder
8
{
9
public
:
10
BufferHolder
() : m_nbuf(0) {}
11
virtual
~BufferHolder
() {};
12
13
void
reset
();
14
15
uint32_t
nBuf
()
const
{
return
m_nbuf; }
16
uint32_t
bufSize
(
int
i)
const
{
return
m_bufSize[i]; }
17
uint32_t*
operator()
(
int
ibuf)
const
;
18
19
void
addBuffer
(uint32_t* buffer, uint32_t size);
20
21
private
:
22
std::vector<uint32_t*> m_buffer;
23
std::vector<uint32_t> m_bufSize;
24
uint32_t m_nbuf;
25
};
26
27
#endif
BufferHolder
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/BufferHolder.h:8
BufferHolder::addBuffer
void addBuffer(uint32_t *buffer, uint32_t size)
Definition:
BufferHolder.cxx:13
BufferHolder::nBuf
uint32_t nBuf() const
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/BufferHolder.h:15
BufferHolder::reset
void reset()
Definition:
BufferHolder.cxx:3
BufferHolder::operator()
uint32_t * operator()(int ibuf) const
Definition:
BufferHolder.cxx:9
BufferHolder::BufferHolder
BufferHolder()
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/BufferHolder.h:10
BufferHolder::bufSize
uint32_t bufSize(int i) const
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/BufferHolder.h:16
BufferHolder::~BufferHolder
virtual ~BufferHolder()
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/BufferHolder.h:11
source
Event
RawDataCnv
RawDataCnv-00-04-37
RawDataCnv
Util
BufferHolder.h
Generated by
1.9.6