ADTF File Library
Loading...
Searching...
No Matches
standard_adtf_file_reader.h
Go to the documentation of this file.
1
16
17#ifndef ADTF_FILE_STANDARD_READER
18#define ADTF_FILE_STANDARD_READER
19
22
23namespace adtf_file
24{
25
29class StandardReader : public ADTFDatFileReader
30{
31public:
32 StandardReader() = delete;
33 StandardReader(const ADTFDatFileReader&) = delete;
37 StandardReader(StandardReader&&) = default;
41 ~StandardReader() = default;
47 [[deprecated("Use the default implementation ADTFDatFileReader directly")]]
48 StandardReader(const std::string& file_name,
49 const Configuration& configuration = {}) : ADTFDatFileReader(StandardTypeDeserializers(),
51 {
52 setConfiguration(configuration);
54 };
55};
56
57}
58
59#endif //_ADTF_FILE_STANDARD_READER_
ADTF File Reader to deserialze and read the content of a ADTF DAT File.
Definition adtf_file_reader.h:235
void open(const std::string &filename, std::shared_ptr< SampleFactory > sample_factory, std::shared_ptr< StreamTypeFactory > stream_type_factory) override
CTOR for a new Reader.
virtual void setConfiguration(const Configuration &configuration)
Definition configuration.h:466
StandardReader(const std::string &file_name, const Configuration &configuration={})
CTOR opens a ADTF DAT file with given configuration.
Definition standard_adtf_file_reader.h:48
~StandardReader()=default
DTOR.
StandardReader(StandardReader &&)=default
CTOR.
Default container with all SampleDeserializer factories provided by the ADTF File Library.
Definition standard_factories.h:60
Default container with all StreamTypeDeserializer provided by the ADTF File Library.
Definition standard_factories.h:77
template class for a sample factory to create sample with implementation type SAMPLE_CLASS
Definition reader.h:136
template class for a streamtype factory to create streamtypes with implementation type STREAM_TYPE_CL...
Definition reader.h:109
namespace for ADTF File library
Definition adtf2_adtf_core_media_sample_deserializer.h:25
std::unordered_map< std::string, PropertyValue > Configuration
Configuration class as set of key - property value pairs This configuration is used to adjust the rea...
Definition configuration.h:132