// // Programmer: Craig Stuart Sapp // Creation Date: Sat Jun 7 08:47:36 GMT-0800 1997 // Last Modified: Sat Jun 7 08:47:39 GMT-0800 1997 // Filename: ...sig/maint/code/Filter/UnitDelay/UnitDelay.cpp // Web Address: http://sig.sapp.org/src/sigSignal/UnitDelay.cpp // Documentation: http://sig.sapp.org/doc/classes/UnitDelay // Syntax: C++ // #include "UnitDelay.h" #include ////////////////////////////// // // UnitDelay::UnitDelay -- // UnitDelay::UnitDelay(void) { setName("UnitDelay"); outputValue = 0; currentValue = 0; brandname = FILTER; } ////////////////////////////// // // UnitDelay::~UnitDelay -- // UnitDelay::~UnitDelay() { } ////////////////////////////// // // UnitDelay::action -- // void UnitDelay::action(void) { outputValue = currentValue; currentValue = inputs[0]; } ////////////////////////////// // // UnitDelay::output -- // sampleType UnitDelay::output(int channel) { return outputValue; } // md5sum: b062a896c24e24f32904bc433b4aca67 UnitDelay.cpp [20010708]