BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
fles::MicrosliceView Class Reference

The MicrosliceView class provides read access to a microslice stored elsewhere. More...

#include <MicrosliceView.h>

Inheritance diagram for fles::MicrosliceView:
Collaboration diagram for fles::MicrosliceView:

Public Member Functions

 MicrosliceView (MicrosliceDescriptor &d, uint8_t *content)
 Construct microslice with given content.
 MicrosliceView (MicrosliceDescriptor &d, uint8_t *content)
 Construct microslice with given content.
Public Member Functions inherited from fles::Microslice
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.

Additional Inherited Members

Protected Member Functions inherited from fles::Microslice
 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 inherited from fles::Microslice
MicrosliceDescriptor * desc_ptr_
 Pointer to the microslice descriptor.
uint8_t * content_ptr_
 Pointer to the microslice data content.

Detailed Description

The data of the microslice (metadata and content) is not stored in the class, but elsewhere (e.g., in an already existing Timeslice object).

Definition at line 20 of file MicrosliceView.h.

Constructor & Destructor Documentation

◆ MicrosliceView() [1/2]

fles::MicrosliceView::MicrosliceView ( MicrosliceDescriptor & d,
uint8_t * content )

References fles::Microslice::content(), and d.

Here is the call graph for this function:

◆ MicrosliceView() [2/2]

fles::MicrosliceView::MicrosliceView ( MicrosliceDescriptor & d,
uint8_t * content )

References fles::Microslice::content(), and d.

Here is the call graph for this function:

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