// // Programmer: Craig Stuart Sapp // Creation Date: Tue May 6 20:09:36 GMT-0800 1997 // Last Modified: Tue May 6 20:09:39 GMT-0800 1997 // Filename: ...sig/maint/code/Filter/Selector/Selector.cpp // Web Address: http://sig.sapp.org/src/sigSignal/Selector.cpp // Documentation: http://sig.sapp.org/doc/classes/Selector // Syntax: C++ // #include "Selector.h" #include ////////////////////////////// // // Selector::Selector -- // default value: aChannel = 0; // Selector::Selector(double aChannel) { setName("Selector"); setChannel(aChannel); brandname = FILTER; } ////////////////////////////// // // Selector::action -- // void Selector::action(void) { // do nothing } ////////////////////////////// // // Selector::getChannel -- // double Selector::getChannel(void) { return streamChannel; } ////////////////////////////// // // Selector::output -- // sampleType Selector::output(int channel) { return inputs.signal(0)->output(streamChannel); } ////////////////////////////// // // Selector::setChannel -- // void Selector::setChannel(double aChannel) { streamChannel = aChannel; } // md5sum: ea76434496e57541294a84f518a9950f Selector.cpp [20010708]