The DatafieldFilter class is the base class for all filters and filter implementation should derive from this class.
More...
#include <ArmarXCore/observers/filters/DatafieldFilter.h>
The DatafieldFilter class is the base class for all filters and filter implementation should derive from this class.
For usage explanation see Filtering the data.
◆ DatafieldFilter() [1/2]
◆ DatafieldFilter() [2/2]
◆ checkTypeSupport()
| bool checkTypeSupport |
( |
VariantTypeId | variantType, |
|
|
const Ice::Current & | c = Ice::emptyCurrent ) const |
|
override |
Checks whether the given type is supported.
- Parameters
-
- Returns
◆ getDataHistory()
◆ getProperties()
| armarx::StringFloatDictionary getProperties |
( |
const Ice::Current & | c = Ice::emptyCurrent | ) |
const |
|
override |
◆ getValue()
| VariantBasePtr getValue |
( |
const Ice::Current & | c = Ice::emptyCurrent | ) |
const |
|
override |
Retrieves the current, filtered value.
Triggers calculates if if filtered value pointer is empty.
◆ setProperties()
| void setProperties |
( |
const armarx::StringFloatDictionary & | newValues, |
|
|
const Ice::Current & | c = Ice::emptyCurrent ) |
|
override |
◆ update()
| 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.
- Parameters
-
| timestamp | Timestamp at which the data value was taken. |
| value | The new data value. |
◆ dataHistory
◆ historyMutex
The documentation for this class was generated from the following files: