![]() |
VRS
A file format for sensor data.
|
Specialized version of ContentBlockReader to handle data that could not be handled by another better suited ContentBlockReader. It's the fallback handler. More...
#include <ContentBlockReader.h>
Public Member Functions | |
UnsupportedBlockReader (const RecordFormat &recordFormat, size_t blockIndex) | |
bool | readBlock (const CurrentRecord &, RecordFormatStreamPlayer &) override |
![]() | |
virtual | ~ContentBlockReader () |
Virtual destructor, since this is an abstract class. | |
Additional Inherited Members | |
![]() | |
static unique_ptr< ContentBlockReader > | build (const RecordFormat &recordFormat, size_t blockIndex, unique_ptr< DataLayout > &&blockLayout) |
![]() | |
ContentBlockReader (const RecordFormat &recordFormat, size_t blockIndex) | |
bool | findNextContentBlockSpec (const CurrentRecord &record, RecordFormatStreamPlayer &player) |
size_t | findContentBlockSize (const CurrentRecord &record, RecordFormatStreamPlayer &player) |
uint32_t | findAudioSampleCount (const CurrentRecord &record, RecordFormatStreamPlayer &player) |
![]() | |
const RecordFormat & | recordFormat_ |
const size_t | blockIndex_ |
unique_ptr< datalayout_conventions::NextContentBlockSpec > | contentBlockSpec_ |
Specialized version of ContentBlockReader to handle data that could not be handled by another better suited ContentBlockReader. It's the fallback handler.
|
overridevirtual |
Method called by RecordFormatStreamPlayer when a content block needs to be read. To be implemented by each specialized ContentBlockReader class, which can then interpret the data of the format it expects.
Implements vrs::ContentBlockReader.