adtf_file_library
0.13.1
|
namespace for ADTF DAT Processing library. More...
Classes | |
class | Demultiplexer |
class | MultiFileReader |
Abstract base class for a multi reader. To use this class you need to override MultiFileReader::getFactories. More... | |
class | OffsetReaderWrapper |
class | Multiplexer |
class | Processor |
class | SingleStreamProcessor |
class | ProcessorFactory |
class | ProcessorFactoryImplementation |
class | ProcessorFactories |
class | ReferencedFilesReader |
Reader implementation to read multiple files and its referenced files extension. More... | |
class | TimeExtensionReader |
Proxy Reader that allows you to provide samples after the orignal reader has signal EOF. More... | |
Typedefs | |
template<typename ElementsType > | |
using | element_callback = std::function< void(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &)> |
Callback type for member elements. | |
using | MultiFileReaderFactory = adtf_file::ReaderFactoryImplementation< MultiFileReader > |
Default reader factory implementation for the MultiFileReader. | |
using | ReferencedFilesReaderFactory = adtf_file::ReaderFactoryImplementation< ReferencedFilesReader > |
Default reader factory implementation for the ReferencedFilesReader. | |
using | TimeExtensionReaderFactory = adtf_file::ReaderFactoryImplementation< TimeExtensionReader > |
Default reader factory implementation for the MultiFileReader. | |
Functions | |
std::tuple< std::string, std::string, bool > | getMediaDescriptionFromStreamType (const std::shared_ptr< const adtf_file::StreamType > &stream_type) |
std::shared_ptr< adtf_file::StreamType > | createAdtfDefaultStreamType (const std::string &struct_name, const std::string &struct_definition, bool is_serialized=false) |
std::tuple< ddl::codec::CodecFactory, bool > | createDDLCodecFactoryFromStreamType (const std::shared_ptr< const adtf_file::StreamType > &stream_type) |
template<typename ElementsType > | |
void | for_each_leaf_element (ElementsType &elements, const element_callback< ElementsType > &callback) |
Iterates ALL leaf elements within ALL array elements. More... | |
namespace for ADTF DAT Processing library.
The ADTF DAT Processing package will provide interfaces to export and process data (with adtfdat_processing::Processor) from/to a adtf_file::Stream of an .adtfdat file.
|
inline |
Creates an adft/default stream type.
[in] | struct_name | The name of the ddl struct. |
[in] | struct_definition | The definition of the ddl struct. |
[in] | is_serialized | If data is serialized or not. |
|
inline |
creates a ddl codec factory from the given stream type
[in] | stream_type | The stream type. |
void adtfdat_processing::for_each_leaf_element | ( | ElementsType & | elements, |
const element_callback< ElementsType > & | callback | ||
) |
Iterates ALL leaf elements within ALL array elements.
Usage:
ElementsType | The type of elements. |
elements | The elements |
callback | The function to call per leaf element |
|
inline |
retrieves the media description from the given stream type
[in] | stream_type | The stream type. |