|
The OffsetFilter class returns values relative to value from the first call of the filter. E.g. this is useful for Forces which should be nulled at a specific moment. More...
#include <RobotAPI/libraries/core/observerfilters/OffsetFilter.h>
Public Member Functions | |
VariantBasePtr | calculate (const Ice::Current &=Ice::emptyCurrent) const override |
ParameterTypeList | getSupportedTypes (const Ice::Current &) const override |
OffsetFilter () | |
void | update (Ice::Long timestamp, const VariantBasePtr &value, const Ice::Current &c) override |
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... | |
Additional Inherited Members | |
Protected Attributes inherited from DatafieldFilter | |
TimeVariantBaseMap | dataHistory |
std::mutex | historyMutex |
The OffsetFilter class returns values relative to value from the first call of the filter. E.g. this is useful for Forces which should be nulled at a specific moment.
Definition at line 41 of file OffsetFilter.h.
OffsetFilter | ( | ) |
Definition at line 12 of file OffsetFilter.cpp.
|
override |
|
override |
Definition at line 84 of file OffsetFilter.cpp.
|
override |