adtf_file_library  0.13.2
adtf3_media_description_deserializer.h
Go to the documentation of this file.
1 
17 #ifndef ADTF_FILE_ADTF3_MEDIA_DESCRIPTION_DESERIALIZER
18 #define ADTF_FILE_ADTF3_MEDIA_DESCRIPTION_DESERIALIZER
19 
20 #include <memory>
23 
24 namespace adtf_file
25 {
26 
27 namespace adtf3
28 {
29 
38 {
39  public:
43  static constexpr const char* id = "media_description_sample_serialization.serialization.adtf.cid";
44 
45  public:
48 
49  public:
50  void setStreamType(const StreamType& type) override;
51  void deserialize(ReadSample& sample, InputStream& stream) override;
52 
53  private:
54  class Implementation;
55  std::unique_ptr<Implementation> _implementation;
56 };
57 
66 {
67  public:
71  static constexpr const char* id = "media_description_sample_serialization_ns.serialization.adtf.cid";
72 
73  public:
76 
77  public:
78  void setStreamType(const StreamType& type) override;
79  void deserialize(ReadSample& sample, InputStream& stream) override;
80 
81  private:
82  class Implementation;
83  std::unique_ptr<Implementation> _implementation;
84 };
85 
86 }
87 
88 }
89 
90 #endif
interface class for input streams
Definition: adtf_file_reader.h:46
Interface class for samples that are read from a Reader.
Definition: sample.h:72
Sample deserializer interface to deserialize a sample.
Definition: adtf_file_reader.h:141
Stream Type base class.
Definition: stream_item.h:43
DDL based Sample Deserializer implementation for ADTF 3 Samples with timestamps of nanoseconds resolu...
Definition: adtf3_media_description_deserializer.h:66
void deserialize(ReadSample &sample, InputStream &stream) override
Deserialize a sample from stream.
void setStreamType(const StreamType &type) override
StreamType infomation to initialize deserializer if needed.
DDL based Sample Deserializer implementation for ADTF 3 Samples with timestamps of microseconds resol...
Definition: adtf3_media_description_deserializer.h:38
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.
namespace for ADTF File library
Definition: adtf2_adtf_core_media_sample_deserializer.h:25

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