17 #ifndef ADTF_FILE_STANDARD_FACTORIES
18 #define ADTF_FILE_STANDARD_FACTORIES
81 add(std::make_shared<adtf3::StreamTypeDeserializer>());
82 add(std::make_shared<adtf2::AdtfCoreMediaTypeDeserializer>());
83 add(std::make_shared<adtf2::AdtfCoreMediaTypeVideoDeserializer>());
84 add(std::make_shared<adtf2::AdtfCoreMediaTypeAudioDeserializer>());
85 add(std::make_shared<adtf2::IndexedDataDescriptionMediaTypeDeserializer>());
100 add(std::make_shared<adtf3::StreamTypeSerializer>());
119 add(std::make_shared<adtf2::AdtfCoreMediaTypeSerializer>());
120 add(std::make_shared<adtf2::AdtfCoreMediaTypeVideoSerializer>());
121 add(std::make_shared<adtf2::AdtfCoreMediaTypeAudioSerializer>());
145 getObjects().push_back(std::make_shared<adtf3::StreamTypeDeserializer>());
146 getObjects().push_back(std::make_shared<adtf2::AdtfCoreMediaTypeDeserializer>());
147 getObjects().push_back(std::make_shared<adtf2::AdtfCoreMediaTypeVideoDeserializer>());
148 getObjects().push_back(std::make_shared<adtf2::AdtfCoreMediaTypeAudioDeserializer>());
149 getObjects().push_back(std::make_shared<adtf2::IndexedDataDescriptionMediaTypeDeserializer>());
151 getObjects().push_back(std::make_shared<adtf3::StreamTypeSerializer>());
152 getObjects().push_back(std::make_shared<adtf2::AdtfCoreMediaTypeSerializer>());
153 getObjects().push_back(std::make_shared<adtf2::AdtfCoreMediaTypeVideoSerializer>());
154 getObjects().push_back(std::make_shared<adtf2::AdtfCoreMediaTypeAudioSerializer>());
container class for SampleDeserializerFactory
Definition: adtf_file_reader.h:198
SampleDeserializerFactories & add(const std::shared_ptr< SampleDeserializerFactory > &factory)
Adds a deserializer factory implemention to the container.
Definition: adtf_file_reader.h:205
Container class for SampleSerializerFactory.
Definition: adtf_file_writer.h:233
void add(const std::shared_ptr< SampleSerializerFactory > &serializer_factory)
Adds a SampleSerializerFactory instance to the container.
Definition: adtf_file_writer.h:240
Default container with all SampleDeserializer factories provided by the ADTF File Library.
Definition: standard_factories.h:60
Default container with all SampleSerializer factories provided by the ADTF File Library.
Definition: standard_factories.h:44
Default container with all StreamTypeDeserializer provided by the ADTF File Library.
Definition: standard_factories.h:77
container class for StreamTypeDeserializers
Definition: adtf_file_reader.h:101
StreamTypeDeserializers & add(const std::shared_ptr< StreamTypeDeserializer > &deserializer)
Adds a deserializer implemention to the container.
Definition: adtf_file_reader.h:113
Container class for StreamTypeSerializer.
Definition: adtf_file_writer.h:107
void add(const std::shared_ptr< StreamTypeSerializer > &serializer)
Adds a StreamTypeSerializer instance to the container.
Definition: adtf_file_writer.h:114
Default container with all ADTF 2 StreamTypeSerializer provided by the ADTF File Library.
Definition: standard_factories.h:112
StandardTypeSerializers()
CTOR.
Definition: standard_factories.h:117
Default container with all ADTF 3 StreamTypeSerializer provided by the ADTF File Library.
Definition: standard_factories.h:96
default implementation template for a SampleDeserializerFactory creating
Definition: adtf_file_reader.h:180
default implementation template for SampleSerializerFactory to create an instance of the serialzer ty...
Definition: adtf_file_writer.h:216
namespace for ADTF File library
Definition: adtf2_adtf_core_media_sample_deserializer.h:25
Objects & getObjects()
Get the objects singleton of the library.
void add_standard_objects()
Adds all default implementation objects provided by the ADTF File Library.
Definition: standard_factories.h:130