37 DatafieldFilterBase(filter),
38 dataHistory(filter.dataHistory)
50 bool recalculate =
false;
55 if (
dataHistory.size() >= (
unsigned)windowFilterSize)
65 filteredValue = calculate();
84 auto types = getSupportedTypes();
86 if (std::find(types.begin(), types.end(), variantType) != types.end())
98 return StringFloatDictionary {{
"windowFilterSize", windowFilterSize},
99 {
"minSampleTimeDelta", minSampleTimeDelta}
105 auto it = newValues.find(
"windowFilterSize");
106 if (it != newValues.end())
108 windowFilterSize = it->second;
110 it = newValues.find(
"minSampleTimeDelta");
111 if (it != newValues.end())
113 minSampleTimeDelta = it->second;