29 template<
typename TriggerFunctionImpl, tTimeStamp DEFAULT_PERIOD >
38 ADTF3_DEPRECATED(
"Class 'time_triggered_filter' is deprecated, as well as macro 'ADTF_TIME_TRIGGERED_FILTER'."
39 "Use class 'filter_with_trigger_function' or macros 'ADTF_TRIGGER_FUNCTION_FILTER' / 'ADTF_TRIGGER_FUNCTION_FILTER_PLUGIN' instead.")
50 tResult CreateDefaultTrigger(
const char* strFunctionName)
override
64 template<
typename FilterClass>
67 return oFilter.ConfigureTimerTrigger(oFilter.GetTriggerFunctionName(),
76 inline std::function<
tResult(cFilterWithTriggerFunction&)> timer_trigger(
tTimeStamp tmDefaultInterval)
78 return std::bind(detail::timer_trigger<cFilterWithTriggerFunction>, std::placeholders::_1, tmDefaultInterval);
86 inline std::function<
tResult(cFilterWithTriggerFunction&)> timer_trigger(
tTimeStamp tmDefaultInterval)
88 return std::bind(detail::timer_trigger<cFilterWithTriggerFunction>, std::placeholders::_1, tmDefaultInterval);
93 using ant::time_triggered_filter;
94 using hollow::timer_trigger;
108 #define ADTF_TIME_TRIGGERED_FILTER_NAME(_class_identifier_,\
110 _timetriggerfilterclass_,\
112 _time_period_micro_sec_,\
114 ADTF_TRIGGER_FUNCTION_FILTER(_class_identifier_,\
116 _timetriggerfilterclass_,\
118 adtf::filter::timer_trigger(_time_period_micro_sec_),\
132 #define ADTF_TIME_TRIGGERED_FILTER(_class_identifier_,\
133 _timetriggerfilterclass_,\
135 _time_period_micro_sec_) \
136 ADTF_TIME_TRIGGERED_FILTER_NAME(_class_identifier_,\
138 _timetriggerfilterclass_,\
140 _time_period_micro_sec_)
Copyright © Audi Electronics Venture GmbH.
tInt64 tTimeStamp
type definition for a time value.
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
#define RETURN_IF_FAILED(s)
Return if expression is failed, which requires the calling function's return type to be tResult.
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
A common result class usable as return value throughout.
tResult ConfigureTimerTrigger(const char *strRunnerName, tTimeStamp tmPeriod)
Creates an internal a internal trigger configuration for a timing trigger.
Simple Filter for Registering One Triggerfunction to a filter.
Namespace for the ADTF Base SDK.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.