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.
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.
Definition at line 45 of file DatafieldFilter.h.
◆ 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
Definition at line 82 of file DatafieldFilter.cpp.
◆ 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.
Definition at line 70 of file DatafieldFilter.cpp.
◆ 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. |
Definition at line 44 of file DatafieldFilter.cpp.
◆ dataHistory
◆ historyMutex
The documentation for this class was generated from the following files: