|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
The Microslice class provides read access to the data of a microslice. More...
#include <Microslice.h>
Public Member Functions | |
| virtual | ~Microslice ()=0 |
| const MicrosliceDescriptor & | desc () const |
| Retrieve microslice descriptor reference. | |
| const uint8_t * | content () const |
| Retrieve a pointer to the microslice data. | |
| uint32_t | compute_crc () const |
| Compute CRC-32 checksum of microslice data content. | |
| bool | check_crc () const |
| Compare computed CRC-32 checksum to value in header. | |
| virtual | ~Microslice ()=0 |
| const MicrosliceDescriptor & | desc () const |
| Retrieve microslice descriptor reference. | |
| const uint8_t * | content () const |
| Retrieve a pointer to the microslice data. | |
| uint32_t | compute_crc () const |
| Compute CRC-32 checksum of microslice data content. | |
| bool | check_crc () const |
| Compare computed CRC-32 checksum to value in header. | |
Protected Member Functions | |
| Microslice ()=default | |
| Microslice (MicrosliceDescriptor *desc_ptr, uint8_t *content_ptr) | |
| Construct microslice with given content. | |
| Microslice ()=default | |
| Microslice (MicrosliceDescriptor *desc_ptr, uint8_t *content_ptr) | |
| Construct microslice with given content. | |
Protected Attributes | |
| MicrosliceDescriptor * | desc_ptr_ |
| Pointer to the microslice descriptor. | |
| uint8_t * | content_ptr_ |
| Pointer to the microslice data content. | |
Friends | |
| class | StorableMicroslice |
This class is an abstract base class for all classes providing access to the descriptor and data contents of a single microslice.
Definition at line 24 of file Microslice.h.
|
pure virtual |
|
protecteddefault |
Referenced by fles::StorableMicroslice::StorableMicroslice(), fles::StorableMicroslice::boost::serialization::access, and fles::StorableMicroslice::initialize_crc().
|
inlineprotected |
Definition at line 45 of file Microslice.h.
References content_ptr_, and desc_ptr_.
|
pure virtual |
|
protecteddefault |
|
inlineprotected |
Definition at line 45 of file Microslice.h.
References content_ptr_, and desc_ptr_.
| bool fles::Microslice::check_crc | ( | ) | const |
| bool fles::Microslice::check_crc | ( | ) | const |
| uint32_t fles::Microslice::compute_crc | ( | ) | const |
| uint32_t fles::Microslice::compute_crc | ( | ) | const |
|
inline |
Definition at line 33 of file Microslice.h.
References content_ptr_.
Referenced by fles::MicrosliceView::MicrosliceView().
|
inline |
Definition at line 33 of file Microslice.h.
References content_ptr_.
|
inline |
Definition at line 30 of file Microslice.h.
References desc_ptr_.
|
inline |
Definition at line 30 of file Microslice.h.
References desc_ptr_.
|
friend |
Definition at line 49 of file Microslice.h.
References StorableMicroslice.
Referenced by StorableMicroslice.
|
protected |
Definition at line 55 of file Microslice.h.
Referenced by Microslice(), content(), fles::StorableMicroslice::content(), and fles::StorableMicroslice::init_pointers().
|
protected |
Definition at line 52 of file Microslice.h.
Referenced by Microslice(), desc(), fles::StorableMicroslice::desc(), and fles::StorableMicroslice::init_pointers().