MatrixPercentileFilter Class Reference

#include <RobotAPI/libraries/core/observerfilters/MatrixFilters.h>

+ Inheritance diagram for MatrixPercentileFilter:

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.
 
 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.
 
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.
 

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
 

Constructor & Destructor Documentation

◆ MatrixPercentileFilter() [1/2]

◆ MatrixPercentileFilter() [2/2]

MatrixPercentileFilter ( float percentile)
inline

Member Function Documentation

◆ calculate()

VariantBasePtr calculate ( const Ice::Current & ) const
inlineoverride

◆ GetPercentile()

static float GetPercentile ( const std::vector< float > & sortedData,
float percentile )
inlinestatic

◆ getSupportedTypes()

ParameterTypeList getSupportedTypes ( const Ice::Current & ) const
inlineoverride

The documentation for this class was generated from the following file: