BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
BufferHolder Class Reference

#include <BufferHolder.h>

Public Member Functions

 BufferHolder ()
 
virtual ~BufferHolder ()
 
void reset ()
 
uint32_t nBuf () const
 
uint32_t bufSize (int i) const
 
uint32_t * operator() (int ibuf) const
 
void addBuffer (uint32_t *buffer, uint32_t size)
 
 BufferHolder ()
 
virtual ~BufferHolder ()
 
void reset ()
 
uint32_t nBuf () const
 
uint32_t bufSize (int i) const
 
uint32_t * operator() (int ibuf) const
 
void addBuffer (uint32_t *buffer, uint32_t size)
 

Detailed Description

Constructor & Destructor Documentation

◆ BufferHolder() [1/2]

BufferHolder::BufferHolder ( )
inline

Definition at line 10 of file Event/RawDataCnv/RawDataCnv-00-05-04/RawDataCnv/Util/BufferHolder.h.

10: m_nbuf(0) {}

◆ ~BufferHolder() [1/2]

virtual BufferHolder::~BufferHolder ( )
inlinevirtual

◆ BufferHolder() [2/2]

BufferHolder::BufferHolder ( )
inline

Definition at line 10 of file InstallArea/include/RawDataCnv/RawDataCnv/Util/BufferHolder.h.

10: m_nbuf(0) {}

◆ ~BufferHolder() [2/2]

virtual BufferHolder::~BufferHolder ( )
inlinevirtual

Member Function Documentation

◆ addBuffer() [1/2]

void BufferHolder::addBuffer ( uint32_t *  buffer,
uint32_t  size 
)

◆ addBuffer() [2/2]

void BufferHolder::addBuffer ( uint32_t *  buffer,
uint32_t  size 
)

◆ bufSize() [1/2]

◆ bufSize() [2/2]

uint32_t BufferHolder::bufSize ( int  i) const
inline

Definition at line 16 of file InstallArea/include/RawDataCnv/RawDataCnv/Util/BufferHolder.h.

16{ return m_bufSize[i]; }

◆ nBuf() [1/2]

◆ nBuf() [2/2]

uint32_t BufferHolder::nBuf ( ) const
inline

Definition at line 15 of file InstallArea/include/RawDataCnv/RawDataCnv/Util/BufferHolder.h.

15{ return m_nbuf; }

◆ operator()() [1/2]

uint32_t * BufferHolder::operator() ( int  ibuf) const

Definition at line 9 of file BufferHolder.cxx.

9 {
10 return m_buffer[ibuf];
11}

◆ operator()() [2/2]

uint32_t * BufferHolder::operator() ( int  ibuf) const

◆ reset() [1/2]

void BufferHolder::reset ( )

Definition at line 3 of file BufferHolder.cxx.

3 {
4 m_nbuf = 0;
5 m_buffer.clear();
6 m_bufSize.clear();
7}

Referenced by RAWEVENT::reset().

◆ reset() [2/2]

void BufferHolder::reset ( )

The documentation for this class was generated from the following files: