// // Programmer: Craig Stuart Sapp // Creation Date: Sun May 18 17:47:39 GMT-0800 1997 // Last Modified: Sun May 18 17:47:42 GMT-0800 1997 // Filename: ...sig/maint/code/Filter/Downsample/Downsample.h // Web Address: http://sig.sapp.org/include/sigSignal/Downsample.h // Documentation: http://sig.sapp.org/doc/classes/Downsample // Syntax: C++ // #ifndef _DOWNSAMPLE_H_INCLUDED #define _DOWNSAMPLE_H_INCLUDED #include "Filter.h" class Downsample : public Filter { public: Downsample (int aPeriod); ~Downsample (); void action (void); int getPeriod (void); sampleType output (int index); void setPeriod (int aPeriod, int counter = -1); void tick (int newTickNumber); void trigger (int counter = 0); protected: int period; int periodCount; }; #endif /* _DOWNSAMPLE_H_INCLUDED */ // md5sum: 8d2efa730fd1ac8d5daafc400632d06b Downsample.h [20010708]