ADTF File Library
Loading...
Searching...
No Matches
adtf_file::adtf2::IndexedDataMediaSampleDeserializer Class Reference

SampleDeserializer for ADTF 2 MediaSamples with indexed data. More...

#include <adtf2_indexed_data_media_sample_deserializer.h>

Inheritance diagram for adtf_file::adtf2::IndexedDataMediaSampleDeserializer:
[legend]
Collaboration diagram for adtf_file::adtf2::IndexedDataMediaSampleDeserializer:
[legend]

Public Member Functions

void setStreamType (const StreamType &type) override
 StreamType infomation to initialize deserializer if needed.
 
void deserialize (ReadSample &sample, InputStream &stream) override
 Deserialize a sample from stream.
 

Static Public Attributes

static constexpr const char * id = "indexed_data_toolbox.indexed_data_media_sample.adtf2_support.serialization.adtf.cid"
 deserialzer id for IndexedDataMediaSampleDeserializer
 

Detailed Description

SampleDeserializer for ADTF 2 MediaSamples with indexed data.

Member Function Documentation

◆ deserialize()

void adtf_file::adtf2::IndexedDataMediaSampleDeserializer::deserialize ( ReadSample & sample,
InputStream & stream )
overridevirtual

Deserialize a sample from stream.

Parameters
samplethe sample to deserialize to
streamthe stream to read from

Implements adtf_file::SampleDeserializer.

◆ setStreamType()

void adtf_file::adtf2::IndexedDataMediaSampleDeserializer::setStreamType ( const StreamType & type)
overridevirtual

StreamType infomation to initialize deserializer if needed.

Parameters
type

Implements adtf_file::SampleDeserializer.


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