adtf_file_library  0.13.2
Public Member Functions | Static Public Attributes | List of all members
adtf_file::adtf3::MediaDescriptionDeserializerNs Class Reference

DDL based Sample Deserializer implementation for ADTF 3 Samples with timestamps of nanoseconds resolution. This deserializer deserializes the DDL described values of the sample content from the input stream into the sample data buffer adtf_file::ReadSample::beginBufferWrite. More...

#include <adtf3_media_description_deserializer.h>

Inheritance diagram for adtf_file::adtf3::MediaDescriptionDeserializerNs:
[legend]
Collaboration diagram for adtf_file::adtf3::MediaDescriptionDeserializerNs:
[legend]

Public Member Functions

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

Static Public Attributes

static constexpr const char * id = "media_description_sample_serialization_ns.serialization.adtf.cid"
 identifier for MediaDescriptionSerializerNs and MediaDescriptionDeserializerNs
 

Detailed Description

DDL based Sample Deserializer implementation for ADTF 3 Samples with timestamps of nanoseconds resolution. This deserializer deserializes the DDL described values of the sample content from the input stream into the sample data buffer adtf_file::ReadSample::beginBufferWrite.

Remarks
The sample content must be described via set adtf_file::PropertyStreamType with the properties:
  • md_struct name of the struct type used for sample content
  • md_definitions DDL description containing a complete struct definition for md_struct used as sample content

Member Function Documentation

◆ deserialize()

void adtf_file::adtf3::MediaDescriptionDeserializerNs::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::adtf3::MediaDescriptionDeserializerNs::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:

Copyright © CARIAD SE.
Generated on Mon Jun 10 2024 by doxygen 1.9.1
GIT Commit Hash: eb3af397a6b49ad6fcad9a60d8277d909b458b48