ADTF File Library
Loading...
Searching...
No Matches
adtf2_adtf_core_media_sample_serializer.h
Go to the documentation of this file.
1
16
17#ifndef ADTF_FILE_ADTF2_ADTF_CORE_MEDIA_SAMPLE_SERIALIZER
18#define ADTF_FILE_ADTF2_ADTF_CORE_MEDIA_SAMPLE_SERIALIZER
19
20#include <memory>
22
23namespace adtf_file
24{
25
26namespace adtf2
27{
28
33{
34 public:
38 static constexpr const char* id = "adtf.core.media_sample.adtf2_support.serialization.adtf.cid";
39
40 public:
49
50 public:
51 std::string getId() const override;
52 void setStreamType(const StreamType& stream_type) override;
53 void serialize(const WriteSample& sample, OutputStream& stream) override;
54
55 private:
56 class Implementation;
57 std::unique_ptr<Implementation> _implementation;
58};
59
60
61}
62}
63
64#endif
Interface class for an output stream.
Definition adtf_file_writer.h:39
Interface class for a sample serializer. Usually the implementaion has a serialization state dependin...
Definition adtf_file_writer.h:171
Stream Type base class.
Definition stream_item.h:43
Interface class for samples that are written.
Definition sample.h:116
std::string getId() const override
Get the Id of the sample serializer.
void serialize(const WriteSample &sample, OutputStream &stream) override
Serializes the sample into the given stream. These samples usually are described by the previous set ...
void setStreamType(const StreamType &stream_type) override
Set the Stream Type and the serialization state of the serializer.
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