Browse Source

uncrustify libraries/Filter/Filter.h

master
uncrustify 13 years ago committed by Pat Hickey
parent
commit
84847da218
  1. 22
      libraries/Filter/Filter.h

22
libraries/Filter/Filter.h

@ -19,15 +19,19 @@ @@ -19,15 +19,19 @@
template <class T>
class 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() {};
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() {
};
};

Loading…
Cancel
Save