CbmRoot
Loading...
Searching...
No Matches
cbm::algo::rich::MicrosliceReader Class Reference

#include <UnpackMS.h>

Public Member Functions

void SetData (const uint8_t *data, size_t size)
 
const uint8_t * GetData ()
 
size_t GetSize ()
 
size_t GetOffset ()
 
size_t GetWordCounter ()
 
uint32_t GetCurWord ()
 
std::string GetWordAsHexString (uint32_t word)
 
uint32_t NextWord ()
 
bool IsNextPadding ()
 
bool IsLastSubSubEvent (uint32_t subSubEventSize)
 

Private Attributes

const uint8_t * fData = nullptr
 
size_t fSize = 0
 
size_t fOffset = 0
 
size_t fWordCounter = 0
 
uint32_t fCurWord = 0
 

Detailed Description

Definition at line 213 of file rich/UnpackMS.h.

Member Function Documentation

◆ GetCurWord()

uint32_t cbm::algo::rich::MicrosliceReader::GetCurWord ( )
inline

Definition at line 235 of file rich/UnpackMS.h.

References fCurWord.

◆ GetData()

const uint8_t * cbm::algo::rich::MicrosliceReader::GetData ( )
inline

Definition at line 231 of file rich/UnpackMS.h.

References fData.

◆ GetOffset()

size_t cbm::algo::rich::MicrosliceReader::GetOffset ( )
inline

Definition at line 233 of file rich/UnpackMS.h.

References fOffset.

Referenced by cbm::algo::rich::UnpackMS::operator()().

◆ GetSize()

size_t cbm::algo::rich::MicrosliceReader::GetSize ( )
inline

Definition at line 232 of file rich/UnpackMS.h.

References fSize.

Referenced by cbm::algo::rich::UnpackMS::operator()().

◆ GetWordAsHexString()

std::string cbm::algo::rich::MicrosliceReader::GetWordAsHexString ( uint32_t word)
inline

Definition at line 237 of file rich/UnpackMS.h.

◆ GetWordCounter()

size_t cbm::algo::rich::MicrosliceReader::GetWordCounter ( )
inline

Definition at line 234 of file rich/UnpackMS.h.

References fWordCounter.

◆ IsLastSubSubEvent()

bool cbm::algo::rich::MicrosliceReader::IsLastSubSubEvent ( uint32_t subSubEventSize)
inline

Definition at line 262 of file rich/UnpackMS.h.

References fData, and fOffset.

Referenced by cbm::algo::rich::UnpackMS::ProcessHubBlock().

◆ IsNextPadding()

bool cbm::algo::rich::MicrosliceReader::IsNextPadding ( )
inline

◆ NextWord()

◆ SetData()

void cbm::algo::rich::MicrosliceReader::SetData ( const uint8_t * data,
size_t size )
inline

Definition at line 222 of file rich/UnpackMS.h.

References fCurWord, fData, fOffset, fSize, fWordCounter, and size().

Referenced by cbm::algo::rich::UnpackMS::operator()().

Member Data Documentation

◆ fCurWord

uint32_t cbm::algo::rich::MicrosliceReader::fCurWord = 0
private

Definition at line 219 of file rich/UnpackMS.h.

Referenced by GetCurWord(), NextWord(), and SetData().

◆ fData

const uint8_t* cbm::algo::rich::MicrosliceReader::fData = nullptr
private

Definition at line 215 of file rich/UnpackMS.h.

Referenced by GetData(), IsLastSubSubEvent(), IsNextPadding(), NextWord(), and SetData().

◆ fOffset

size_t cbm::algo::rich::MicrosliceReader::fOffset = 0
private

Definition at line 217 of file rich/UnpackMS.h.

Referenced by GetOffset(), IsLastSubSubEvent(), IsNextPadding(), NextWord(), and SetData().

◆ fSize

size_t cbm::algo::rich::MicrosliceReader::fSize = 0
private

Definition at line 216 of file rich/UnpackMS.h.

Referenced by GetSize(), and SetData().

◆ fWordCounter

size_t cbm::algo::rich::MicrosliceReader::fWordCounter = 0
private

Definition at line 218 of file rich/UnpackMS.h.

Referenced by GetWordCounter(), NextWord(), and SetData().


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