Process consecutive values. Returns the central value of three consecutive values.

Files at this revision

API Documentation at this revision

Comitter:
Chi7Shi
Date:
Wed May 27 03:36:40 2020 +0000
Parent:
0:d8d565a9d473
Commit message:
Add function size() that returns the size of buffer.

Changed in this revision

SpikeRemoveFilter.h Show annotated file Show diff for this revision Revisions of this file
--- a/SpikeRemoveFilter.h	Mon Apr 20 15:28:40 2020 +0000
+++ b/SpikeRemoveFilter.h	Wed May 27 03:36:40 2020 +0000
@@ -24,6 +24,8 @@
     virtual ~SpikeRemoveFilter( void );
 
     T process( T x );
+    
+    static int size( void ) { return 3; }
 
 };