|
#include <RobotAPI/libraries/core/observerfilters/MatrixFilters.h>
Public Member Functions | |
VariantBasePtr | calculate (const Ice::Current &) const override |
ParameterTypeList | getSupportedTypes (const Ice::Current &) const override |
MatrixPercentileFilter () | |
MatrixPercentileFilter (float percentile) | |
Public Member Functions inherited from DatafieldFilter | |
bool | checkTypeSupport (VariantTypeId variantType, const Ice::Current &c=Ice::emptyCurrent) const override |
Checks whether the given type is supported. More... | |
DatafieldFilter () | |
DatafieldFilter (DatafieldFilter const &filter) | |
const TimeVariantBaseMap & | getDataHistory () const |
armarx::StringFloatDictionary | getProperties (const Ice::Current &c=Ice::emptyCurrent) const override |
VariantBasePtr | getValue (const Ice::Current &c=Ice::emptyCurrent) const override |
Retrieves the current, filtered value. More... | |
void | setProperties (const armarx::StringFloatDictionary &newValues, const Ice::Current &c=Ice::emptyCurrent) override |
void | update (Ice::Long timestamp, const VariantBasePtr &value, const Ice::Current &c=Ice::emptyCurrent) override |
Adds the given value to the data map, erases old values if maximum size was reached, and calculates the new filtered value. More... | |
Static Public Member Functions | |
static float | GetPercentile (const std::vector< float > &sortedData, float percentile) |
Additional Inherited Members | |
Protected Attributes inherited from DatafieldFilter | |
TimeVariantBaseMap | dataHistory |
std::mutex | historyMutex |
Definition at line 129 of file MatrixFilters.h.
|
inline |
Definition at line 134 of file MatrixFilters.h.
|
inline |
Definition at line 138 of file MatrixFilters.h.
|
inlineoverride |
|
inlinestatic |
Definition at line 166 of file MatrixFilters.h.
|
inlineoverride |
Definition at line 159 of file MatrixFilters.h.