rayl_gen.h
上传用户:jtjnyq9001
上传日期:2014-11-21
资源大小:3974k
文件大小:1k
- //
- // File = noise_gen.h
- //
- #ifndef _RAYL_GEN_H_
- #define _RAYL_GEN_H_
- #include "psmodel.h"
- #include "signal_T.h"
- template < class T>
- class RayleighNoiseGenerator : public PracSimModel
- {
- public:
- RayleighNoiseGenerator( char* instance_name,
- PracSimModel* outer_model,
- Signal<T>* noise_sig);
- ~RayleighNoiseGenerator(void);
- // void Setup(void);
- void Initialize(void);
- int Execute(void);
- private:
- int Proc_Block_Size;
- Signal<T> *Noise_Sig;
- int Seed;
- float Noise_Sigma;
- };
- #endif