ADTF  3.18.2
triggered_filter.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Classes

class  triggered_filter< TriggerFunctionImpl >
 Simple Filter for Registering One Triggerfunction to a filter. More...
 
class  cFilterWithTriggerFunction
 
class  filter_with_trigger_function< TriggerFunctionImpl >
 Simple Filter for Registering One Triggerfunction to a filter. More...
 
class  filter_with_trigger_function< TriggerFunctionImpl, FilterClass >
 
class  cFilterWithTriggerFunction
 

Namespaces

 adtf
 Namespace for entire ADTF SDK.
 
 adtf::filter
 Namespace for the ADTF Filter SDK.
 
 adtf::filter::ant
 Namespace for all functionality of the ADTF Filter SDK provided since v3.0.
 
 adtf::filter::devil
 Namespace for all functionality of the ADTF Filter SDK provided since v3.3.
 
 adtf::filter::flash
 Namespace for all functionality of the ADTF Filter SDK provided since v3.5.
 
 adtf::filter::hollow
 Namespace for all functionality of the ADTF Filter SDK provided since v3.7.
 

Macros

#define ADTF_TRIGGER_FUNCTION_FILTER(_class_identifier_, _class_name_, _triggerfilterclass_, _triggerfunction_, _trigger_configurator_, ...)
 Macro to generate a filter body for a filter with a trigger function. More...
 
#define ADTF_TRIGGER_FUNCTION_FILTER_PLUGIN(_class_identifier_, _class_name_, _triggerfunction_, _trigger_configurator_, ...)
 This macro defines a filter with a given trigger function and exposes it via a plugin class factory. More...
 

Typedefs

template<typename TriggerFunctionImpl , typename FilterClass = cFilterWithTriggerFunction>
using filter_with_trigger_function = flash::filter_with_trigger_function< TriggerFunctionImpl, cFilterWithTriggerFunction >
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file triggered_filter.h.

Macro Definition Documentation

◆ ADTF_TRIGGER_FUNCTION_FILTER

#define ADTF_TRIGGER_FUNCTION_FILTER (   _class_identifier_,
  _class_name_,
  _triggerfilterclass_,
  _triggerfunction_,
  _trigger_configurator_,
  ... 
)
Value:
class _triggerfilterclass_ : public adtf::filter::filter_with_trigger_function<_triggerfunction_> \
{ \
public:\
ADTF_CLASS_ID_NAME(_triggerfilterclass_, _class_identifier_, _class_name_); \
__VA_ARGS__;\
public: \
_triggerfilterclass_():\
filter_type(_trigger_configurator_)\
{\
}\
}

Macro to generate a filter body for a filter with a trigger function.

This macro uses the adtf::filter::devil::filter_with_trigger_function template.

Parameters
[in]_class_identifier_class identifier to set a id for the class factory: i.e. "example.mydatafilter.adtf"
[in]_class_name_class name i.e. to describe the filter "My Data Filter Example"
[in]_triggerfilterclass_class/decltype of the filter to create
[in]_triggerfunction_class/decpltype for the trigger function.
[in]_trigger_configurator_the trigger configuration function.
[in]...additional class member definitions, see ADTF_CLASS_DEPENDENCIES.

Definition at line 294 of file triggered_filter.h.

◆ ADTF_TRIGGER_FUNCTION_FILTER_PLUGIN

#define ADTF_TRIGGER_FUNCTION_FILTER_PLUGIN (   _class_identifier_,
  _class_name_,
  _triggerfunction_,
  _trigger_configurator_,
  ... 
)
Value:
ADTF_TRIGGER_FUNCTION_FILTER(_class_identifier_,\
_class_name_,\
_triggerfunction_##Filter,\
_triggerfunction_,\
_trigger_configurator_,\
__VA_ARGS__);\
ADTF_PLUGIN(_class_name_ " Plugin",\
_triggerfunction_##Filter)
#define ADTF_TRIGGER_FUNCTION_FILTER(_class_identifier_, _class_name_, _triggerfilterclass_, _triggerfunction_, _trigger_configurator_,...)
Macro to generate a filter body for a filter with a trigger function.

This macro defines a filter with a given trigger function and exposes it via a plugin class factory.

Parameters
[in]_class_identifier_class identifier to set a id for the class factory: i.e. "example.mydatafilter.adtf"
[in]_class_name_class name i.e. to describe the filter "My Data Filter Example"
[in]_triggerfunction_class/decpltype for the trigger function.
[in]_trigger_configurator_the trigger configuration function.

Definition at line 319 of file triggered_filter.h.