MatrixCumulativeFrequencyFilter Class Reference

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

+ Inheritance diagram for MatrixCumulativeFrequencyFilter:

Public Member Functions

VariantBasePtr calculate (const Ice::Current &) const override
 
ParameterTypeList getSupportedTypes (const Ice::Current &) const override
 
 MatrixCumulativeFrequencyFilter ()
 
 MatrixCumulativeFrequencyFilter (float min, float max, int bins)
 
- 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 std::vector< int > Calculate (const std::vector< float > &sortedData, float min, float max, int bins)
 

Additional Inherited Members

- Protected Attributes inherited from DatafieldFilter
TimeVariantBaseMap dataHistory
 
std::mutex historyMutex
 

Detailed Description

Definition at line 236 of file MatrixFilters.h.

Constructor & Destructor Documentation

◆ MatrixCumulativeFrequencyFilter() [1/2]

Definition at line 241 of file MatrixFilters.h.

◆ MatrixCumulativeFrequencyFilter() [2/2]

MatrixCumulativeFrequencyFilter ( float  min,
float  max,
int  bins 
)
inline

Definition at line 245 of file MatrixFilters.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ calculate()

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

Definition at line 252 of file MatrixFilters.h.

+ Here is the call graph for this function:

◆ Calculate()

static std::vector<int> Calculate ( const std::vector< float > &  sortedData,
float  min,
float  max,
int  bins 
)
inlinestatic

Definition at line 281 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 275 of file MatrixFilters.h.


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