GenericFilter Class Reference
[Filters]

#include <GenericFilter.h>

Inheritance diagram for GenericFilter:

Inheritance graph
[legend]

List of all members.


Detailed Description

Base class for all value filters.

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.

Warning:
These classes are not well maintained, and may not all work properly.

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.

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

Generated on Sat Oct 4 21:30:28 2008 for Mace Library by  doxygen 1.5.5