uncrustify libraries/Filter/Filter.h

This commit is contained in:
uncrustify 2012-08-16 23:22:11 -07:00 committed by Pat Hickey
parent 5948f825ba
commit 84847da218
1 changed files with 12 additions and 8 deletions

View File

@ -19,15 +19,19 @@
template <class T>
class Filter
{
public:
// constructor
Filter() {};
public:
// constructor
Filter() {
};
// apply - Add a new raw value to the filter, retrieve the filtered result
virtual T apply(T sample) { return sample; };
// reset - clear the filter
virtual void reset() {};
// apply - Add a new raw value to the filter, retrieve the filtered result
virtual T apply(T sample) {
return sample;
};
// reset - clear the filter
virtual void reset() {
};
};