// // Programmer: Craig Stuart Sapp // Creation Date: Mon Apr 28 21:46:28 GMT-0800 1997 // Last Modified: Tue Apr 29 22:03:53 GMT-0800 1997 // Filename: ...sig/maint/code/Generator/UserIn/UserIn.cpp // Web Address: http://sig.sapp.org/src/sigSignal/UserIn.cpp // Documentation: http://sig.sapp.org/doc/classes/UserIn // Syntax: C++ // #include "UserIn.h" #ifndef OLDCPP #include using namespace std; #else #include #endif ////////////////////////////// // // UserIn::UserIn -- // UserIn::UserIn(void) { setName("UserIn"); outputValue = 0; brandname = GENERATOR; } ////////////////////////////// // // UserIn::~UserIn -- // UserIn::~UserIn() { } ////////////////////////////// // // UserIn::action -- // void UserIn::action(void) { cout << "Enter a sample: "; cin >> outputValue; } ////////////////////////////// // // UserIn::output -- // sampleType UserIn::output(int channel) { return outputValue; } // md5sum: f434c863f65eb2f234035fbeb005a329 UserIn.cpp [20050403]