// // Programmer: Craig Stuart Sapp // Creation Date: Wed Jun 11 22:18:18 GMT-0800 1997 // Last Modified: Wed Jun 11 22:18:21 GMT-0800 1997 // Filename: ...sig/maint/code/Filter/RandomDist/RandomDist.cpp // Web Address: http://sig.sapp.org/src/sigSignal/RandomDist.cpp // Documentation: http://sig.sapp.org/doc/classes/RandomDist // Syntax: C++ // #include "RandomDist.h" #include ////////////////////////////// // // RandomDist::RandomDist -- // RandomDist::RandomDist(void) : Distribution() { setName("RandomDist"); outputValue = 0; brandname = FILTER; doUniform(-1.0, 1.0); } ////////////////////////////// // // RandomDist::~RandomDist -- // RandomDist::~RandomDist() { } ////////////////////////////// // // RandomDist::action -- // void RandomDist::action(void) { outputValue = value(); } ////////////////////////////// // // RandomDist::output -- // sampleType RandomDist::output(int channel) { return outputValue; } // md5sum: 60e6eab6c5e4b7b22e9d75ff25336ee9 RandomDist.cpp [20010708]