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

3G开发

开发平台:

Visual C++

  1. //
  2. //  File = siganchr.h
  3. //
  4. #ifndef _SIGANCHR_H_
  5. #define _SIGANCHR_H_
  6. #include "signal_T.h"
  7. #include "psmodel.h"
  8. #include "typedefs.h"
  9. class SignalAnchor : public PracSimModel
  10. {
  11. public:
  12. SignalAnchor( char* instance_name,
  13.             PracSimModel* outer_model,
  14.             Signal< std::complex<float> > *signal, //space between > > is mandatory
  15.             double samp_rate,
  16.             int block_size );
  17. SignalAnchor( char* instance_name,
  18.             PracSimModel* outer_model,
  19.             Signal<float> *signal );
  20. SignalAnchor( char* instance_name,
  21.             PracSimModel* outer_model,
  22.             Signal< std::complex<float> > *signal );
  23. SignalAnchor( char* instance_name,
  24.             PracSimModel* outer_model,
  25.             Signal<float> *signal,
  26.             Signal<float> *signal_2,
  27.             double samp_rate,
  28.             int block_size );
  29. SignalAnchor( char* instance_name,
  30.             PracSimModel* outer_model,
  31.             Signal<float> *signal,
  32.             double samp_rate,
  33.             int block_size );
  34. SignalAnchor( char* instance_name,
  35.             PracSimModel* outer_model,
  36.             Signal<int> *signal,
  37.             double samp_rate,
  38.             int block_size );
  39. SignalAnchor( char* instance_name,
  40.             PracSimModel* outer_model,
  41.             Signal<bit_t> *signal,
  42.             double samp_rate,
  43.             int block_size );
  44. SignalAnchor( char* instance_name,
  45.                PracSimModel* outer_model,
  46.                Signal<bit_t>* bit_signal,
  47.                Signal<byte_t>* byte_signal );
  48. SignalAnchor( char* instance_name,
  49.             PracSimModel* outer_model,
  50.             Signal<bit_t>* bit_signal );
  51. SignalAnchor( char* instance_name,
  52.             PracSimModel* outer_model,
  53.             Signal<int> *signal,
  54.             Signal<int> *signal_2,
  55.             double samp_rate,
  56.             int block_size );
  57.   ~SignalAnchor(void);
  58.   void Initialize(void);
  59.   int Execute(void);
  60. private:
  61.   Signal< std::complex<float> >* Complex_Signal;
  62.   Signal<float>* Float_Signal;
  63.   Signal<float>* Float_Signal_2;
  64.   Signal<int>* Int_Signal;
  65.   Signal<bit_t>* Bit_Signal;
  66.   Signal<byte_t>* Byte_Signal;
  67.   Signal<int>* Int_Signal_2;
  68.   
  69. };
  70. #endif