#include <GenericFilter.h>
This base filter just provides a last updated value. Every update replaces the current value, which can be returned by getValue. The basic comparison functions are implemented by comparing the value of the two filters.
Definition at line 63 of file GenericFilter.h.
Public Member Functions | |
virtual void | update (double size) |
To add a new value to the filter, you call update. What the filter does is up to the kind of filter it is. | |
virtual double | getValue () |
To get the value from the filter, use getValue(). | |
virtual int | operator< (const GenericFilter &incoming) |
filters are comparable | |
virtual int | operator> (const GenericFilter &incoming) |
filters are comparable | |
virtual int | operator== (const GenericFilter &incoming) |
filters are comparable | |
Protected Attributes | |
double | value |
This value is used for the generic getValue() and for comparing filters. It should be updated by subclasses. |