ADTF File Library
Loading...
Searching...
No Matches
adtf2_adtf_core_media_sample_deserializer.h
Go to the documentation of this file.
1
16
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
24namespace adtf_file
25{
26
27namespace 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:74
Sample deserializer interface to deserialize a sample.
Definition adtf_file_reader.h:141
Stream Type base class.
Definition stream_item.h:43
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 support of ADTF 2 files
Definition adtf2_adtf_core_media_sample_deserializer.h:28
namespace for ADTF File library
Definition adtf2_adtf_core_media_sample_deserializer.h:25