ADTF  3.18.2
ADTF Streaming SDK

The ADTF Streaming SDK defines the ADTF Streaming Architecture.

The main header to include is:

#include <adtf_streaming3.h>

Introduction

The main focus of this package is to define a valid user application with the help of a Streaming Graph and/or one embedded Filter Graph.

The Streaming Graph as a Top-Level Graph as a top level graph will interconnect devices and other Streaming Services to one Filter Graph which manipulates, calculates, processes and visualizes data. The processing of the Filter Graph is configurable by Data Pipe and Trigger Pipe to configure and control the Data Streaming and the Runtime Behaviour.

Note
Please note that as of ADTF 3.8 and later, we are no longer advocating the use of Streaming Graphs but encourage you to use a Filter Graph instead. They allow for greater flexibility and reusability and can now provide all the required functionality (Streaming Services, etc.).

Dependency

The ADTF Streaming SDK depends on the ADTF Base SDK.

C++ Classes

Namespaces

adtf

Namespace for entire ADTF SDK.

adtf::streaming

Namespace for the ADTF Streaming SDK.

adtf::streaming::stream_image_format

Container namespace to predefine some common imageformats within ADTF - see also Generic Pixel Format.

adtf::streaming::testing
Namespace for all testing functionality provided within the ADTF Streaming SDK.

Main Classes and interfaces

IStreamMetaType

Defines access methods for a Stream Meta Type - see also Stream Type and Stream Meta Type for more information.

cStreamMetaType
Implements the default adtf::streaming::ant::IStreamMetaType interface.
IStreamType

Defines access methods for the interface of a Stream Type - see also Stream Type and Stream Meta Type for more information.

cStreamType

Default StreamType implementation.

stream_type

Generator template to implement a ant::IStreamType based on a Stream Meta Type - see Stream Type and Stream Meta Type.

stream_type_anonymous

Generator template to create an instance of a ant::IStreamType class for ant::stream_meta_type_anonymous ("adtf/anonymous").

stream_type_plain

Generator template to create an instance of a ant::IStreamType class for penguin::stream_meta_type_plain ("adtf/plaintype").

stream_type_string

Generator template to create an instance of a ant::IStreamType class for penguin::stream_meta_type_string ("adtf/string").

stream_type_audio

Generator template to create an instance of a ant::IStreamType class for ant::stream_meta_type_audio ("adtf/audio").

stream_type_image

Generator template to create an instance of a ant::IStreamType class for lucky::stream_meta_type_image ("adtf/image").

cSubStreamTypes
Helper class to create a stream type with multiple Substreams.
IFilter

The IFilter interfaces provides methods for controlling a filter.

cFilterBase
The cFilterBase class implements a basic filter that supports the ant::IFilter interfaces.
ISampleReader

Interface for sample reads that read from sample streams via input pins.

ISampleReaderQueue

Interface to create a sample reader buffer.

cSampleReader

The default Sample Reader will read the incomung Stream of a IInPin.

sample_reader

Reads and stores Samples within the given queue implementation INTERNAL_QUEUE.

cDynamicSampleReader

The cDynamicSampleReader will create a sample reader which will create a internal sample queue with unlimited size.

cSingleSampleReader
The cSingleSampleReader will create a sample reader which will create a internal sample queue with only one sample which holds the last received sample always.
ISampleWriter

Interface for sample writers that write to sample streams via output pins.

cSampleWriter

This base implementation of a sample writer is samples and types to the given pin set at adtf::streaming::flash::cSampleWriter::SetStreamerPin.

sample_writer
Specialized Sample Writer to write data of a given type DATA_TYPE (see Supported types for adtf_memory<T> for writing and reading Samples).

Streaming Architecture Basics

Addintional Infos