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. More...
 
 DatafieldFilter ()
 
 DatafieldFilter (DatafieldFilter const &filter)
 
const TimeVariantBaseMapgetDataHistory () 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
 

Detailed Description

Definition at line 129 of file MatrixFilters.h.

Constructor & Destructor Documentation

◆ MatrixPercentileFilter() [1/2]

Definition at line 134 of file MatrixFilters.h.

◆ MatrixPercentileFilter() [2/2]

MatrixPercentileFilter ( float  percentile)
inline

Definition at line 138 of file MatrixFilters.h.

Member Function Documentation

◆ calculate()

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

Definition at line 144 of file MatrixFilters.h.

+ Here is the call graph for this function:

◆ GetPercentile()

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

Definition at line 166 of file MatrixFilters.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSupportedTypes()

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

Definition at line 159 of file MatrixFilters.h.


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