TestWhiteNoiseGen.h Example File
multimedia/spectrum/3rdparty/fftreal/TestWhiteNoiseGen.h
#if ! defined (TestWhiteNoiseGen_HEADER_INCLUDED)
#define TestWhiteNoiseGen_HEADER_INCLUDED
#if defined (_MSC_VER)
#pragma once
#pragma warning (4 : 4250) // "Inherits via dominance."
#endif
template <class DT>
class TestWhiteNoiseGen
{
public:
typedef DT DataType;
TestWhiteNoiseGen ();
virtual ~TestWhiteNoiseGen () {}
void generate (DataType data_ptr [], long len);
protected:
private:
typedef unsigned long StateType;
StateType _rand_state;
private:
TestWhiteNoiseGen (const TestWhiteNoiseGen &other);
TestWhiteNoiseGen &
operator = (const TestWhiteNoiseGen &other);
bool operator == (const TestWhiteNoiseGen &other);
bool operator != (const TestWhiteNoiseGen &other);
};
#include "TestWhiteNoiseGen.hpp"
#endif // TestWhiteNoiseGen_HEADER_INCLUDED