qam_symbtowave.h
上传用户:jtjnyq9001
上传日期:2014-11-21
资源大小:3974k
文件大小:1k
源码类别:

3G开发

开发平台:

Visual C++

  1. //
  2. //  File = qam_symbtowave.h
  3. //
  4. #ifndef _QAM_SYMBTOWAVE_H_
  5. #define _QAM_SYMBTOWAVE_H_
  6. #include "signal_T.h"
  7. #include "psmodel.h"
  8. class QamSymbsToQuadWaves : public PracSimModel
  9. {
  10. public:
  11.   QamSymbsToQuadWaves(  char* instance_nam,
  12.                   PracSimModel* outer_model,
  13.                   Signal<byte_t>* in_symb_seq,
  14.                   Signal<float>* i_out_sig,
  15.                   Signal<float>* q_out_sig,
  16.                   Signal<bit_t>* symb_clock_out );
  17.   ~QamSymbsToQuadWaves(void);
  18.   void Initialize(void);
  19.   int Execute(void);
  20. private:
  21.   int In_Block_Size;
  22.   int Out_Block_Size;
  23.   int Bits_Per_Symb;
  24.   int Num_Symb_Rows;
  25.   int Samps_Per_Symb;
  26.   double Symb_Duration;
  27.   float *I_Compon;
  28.   float *Q_Compon;
  29.   Signal<byte_t> *In_Symb_Seq;
  30.   Signal<float> *I_Out_Sig;
  31.   Signal<float> *Q_Out_Sig;
  32.   Signal<bit_t> *Symb_Clock_Out;
  33.   Signal< std::complex<float> > *Cmpx_Out_Sig;  
  34. };
  35. #endif