From d6760ac7b1e7ae5afd66be1b9b2af31eeb7554e7 Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 9 Feb 2008 10:44:34 +0000 Subject: done --- gsm-tvoid/src/lib/gsm_burst_cf.h | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 gsm-tvoid/src/lib/gsm_burst_cf.h (limited to 'gsm-tvoid/src/lib/gsm_burst_cf.h') 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 +#include + +class gsm_burst_cf; + +typedef boost::shared_ptr 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 */ -- cgit v1.2.3