BmnRoot
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:
[legend]
Collaboration diagram for fles::MicrosliceView:
[legend]

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 MicrosliceDescriptordesc () 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 MicrosliceDescriptordesc () 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
MicrosliceDescriptordesc_ptr_
 Pointer to the microslice descriptor.
 
uint8_t * content_ptr_
 Pointer to the microslice data content.
 

Detailed Description

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

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 19 of file MicrosliceView.h.

Constructor & Destructor Documentation

◆ MicrosliceView() [1/2]

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

Construct microslice with given content.

◆ MicrosliceView() [2/2]

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

Construct microslice with given content.


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