ADTF  3.18.2
adtf::filter::riddler Namespace Reference

Namespace for all functionality of the ADTF Filter SDK provided since v3.17. More...

Classes

class  cRunnerFallback
 This class is used to provide a fallback kernel thread/timer for a runner of a streaming service. More...
 
class  cSubstreamHandling
 Utility class to handle substream routing within a filter. More...
 
class  substream_filter
 Helper class to implement a filter with a single input pin that processes substreams. More...
 

Typedefs

using cSubstreamFilter = substream_filter<>
 Helper typedef to use substream_filter with the default filter base class. More...
 

Detailed Description

Namespace for all functionality of the ADTF Filter SDK provided since v3.17.

Typedef Documentation

◆ cSubstreamFilter

Helper typedef to use substream_filter with the default filter base class.

Example usage

class cMyFilter: public adtf::filter::substream_filter<adtf::filter::cFilter>
{
public:
ADTF_CLASS_ID_NAME(cMyFilter, "my_filter.filter.example.cid", "My Filter");
cMyFilter()
{
AddSubstreamHandler("your.substream.name", [](const adtf::ucom::iobject_ptr<const adtf::streaming::ISample>& pSample)
{
LOG_INFO("received a sample on substream 'your.substream.name'");
});
}
};
Copyright © Audi Electronics Venture GmbH.
#define ADTF_CLASS_ID_NAME(_class, _strcid, _strclabel)
Common macro to enable correct treatment of class identifier AND Class Name by IClassInfo.
Definition: class_id.h:33
Helper class to implement a filter with a single input pin that processes substreams.
Base object pointer to realize binary compatible reference counting in interface methods.

Definition at line 205 of file substream_handling.h.