diff options
author | steve <steve@romeo.(none)> | 2008-02-09 10:44:34 +0000 |
---|---|---|
committer | steve <steve@romeo.(none)> | 2008-02-09 10:44:34 +0000 |
commit | d6760ac7b1e7ae5afd66be1b9b2af31eeb7554e7 (patch) | |
tree | 867f793a438556aa9804d6fcb89ae7459913cff7 /gsm-tvoid/src/lib/gsm_burst_cf.h |
done
Diffstat (limited to 'gsm-tvoid/src/lib/gsm_burst_cf.h')
-rwxr-xr-x | gsm-tvoid/src/lib/gsm_burst_cf.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gsm-tvoid/src/lib/gsm_burst_cf.h b/gsm-tvoid/src/lib/gsm_burst_cf.h new file mode 100755 index 0000000..33f61f6 --- /dev/null +++ b/gsm-tvoid/src/lib/gsm_burst_cf.h @@ -0,0 +1,41 @@ +#ifndef INCLUDED_GSM_BURST_CF_H +#define INCLUDED_GSM_BURST_CF_H + +#include <gr_block.h> +#include <gsm_burst.h> + +class gsm_burst_cf; + +typedef boost::shared_ptr<gsm_burst_cf> gsm_burst_cf_sptr; + +gsm_burst_cf_sptr gsm_make_burst_cf(float); + +class gri_mmse_fir_interpolator_cc; + +class gsm_burst_cf : public gr_block, public gsm_burst +{ +private: + + friend gsm_burst_cf_sptr gsm_make_burst_cf(float); + gsm_burst_cf(float); + + //clocking parameters + float d_relative_sample_rate; + double d_sample_interval; + double d_clock_counter; + gr_complex d_last_sample; + + gri_mmse_fir_interpolator_cc *d_interp; //sub-sample interpolator from GR + +public: + ~gsm_burst_cf (); + + void forecast (int noutput_items, gr_vector_int &ninput_items_required); + + int general_work ( int noutput_items, + gr_vector_int &ninput_items, + gr_vector_const_void_star &input_items, + gr_vector_void_star &output_items); +}; + +#endif /* INCLUDED_GSM_BURST_CF_H */ |