adtf_file_library  0.13.2
adtf2_adtf_core_media_sample_deserializer.h
Go to the documentation of this file.
1 
17 #ifndef ADTF_FILE_ADTF2_ADTF_CORE_MEDIA_SAMPLE_FACTORY
18 #define ADTF_FILE_ADTF2_ADTF_CORE_MEDIA_SAMPLE_FACTORY
19 
20 #include <memory>
23 
24 namespace adtf_file
25 {
26 
27 namespace adtf2
28 {
29 
34 {
35  public:
39  static constexpr const char* id = "adtf.core.media_sample.adtf2_support.serialization.adtf.cid";
40 
41  public:
50 
51  public:
52  void setStreamType(const StreamType& type) override;
53  void deserialize(ReadSample& sample, InputStream& stream) override;
54 
55  private:
56  void deserializeData(ReadSample& sample, InputStream& stream, size_t buffer_size);
57 
58  private:
59  class Implementation;
60  std::unique_ptr<Implementation> _implementation;
61 };
62 
63 }
64 
65 }
66 
67 #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
SampleDeserializer for ADTF 2 Media Samples.
Definition: adtf2_adtf_core_media_sample_deserializer.h:34
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.
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