GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GrAtscBitTimingLoop3.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2002 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * GNU Radio is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3, or (at your option)
10  * any later version.
11  *
12  * GNU Radio is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with GNU Radio; see the file COPYING. If not, write to
19  * the Free Software Foundation, Inc., 51 Franklin Street,
20  * Boston, MA 02110-1301, USA.
21  */
22 
23 #ifndef _GRATSCBITTIMINGLOOP3_H_
24 #define _GRATSCBITTIMINGLOOP3_H_
25 
26 #include <cstdio>
27 #include <VrDecimatingSigProc.h>
31 
32 /*!
33  * \brief ATSC BitTimingLoop3
34  *
35  * This class accepts a single real input and produces two outputs,
36  * the raw symbol (float) and the tag (atsc_syminfo)
37  */
38 
39 class GrAtscBitTimingLoop3 : public VrDecimatingSigProc<float,float> {
40 
41  public:
42 
43  GrAtscBitTimingLoop3 (double ratio_of_rx_clock_to_symbol_freq);
44  virtual ~GrAtscBitTimingLoop3 () { };
45 
46  virtual const char *name () { return "GrAtscBitTimingLoop3"; }
47 
48  virtual int forecast (VrSampleRange output,
49  VrSampleRange inputs[]);
50 
51  virtual int work (VrSampleRange output, void *o[],
52  VrSampleRange inputs[], void *i[]);
53 
54  // debug (NOPs)
55  void set_mu (double a_mu) { }
56  void set_no_update (bool a_no_update) { }
57  void set_loop_filter_tap (double tap) { }
58  void set_timing_rate (double rate) { }
59 
60  protected:
61 
62  typedef float iType;
63  typedef float oDataType;
65 
68  VrSampleIndex d_next_input;
70 };
71 
72 #endif // _GRATSCBITTIMINGLOOP3_H_
void set_loop_filter_tap(double tap)
Definition: GrAtscBitTimingLoop3.h:57
atsci_sssr d_sssr
Definition: GrAtscBitTimingLoop3.h:66
ATSC BitTimingLoop3.
Definition: GrAtscBitTimingLoop3.h:39
void set_mu(double a_mu)
Definition: GrAtscBitTimingLoop3.h:55
ATSC Segment and Symbol Sync Recovery.
Definition: sssr_impl.h:132
double d_rx_clock_to_symbol_freq
Definition: GrAtscBitTimingLoop3.h:69
void set_no_update(bool a_no_update)
Definition: GrAtscBitTimingLoop3.h:56
float oDataType
Definition: GrAtscBitTimingLoop3.h:63
Definition: syminfo_impl.h:30
virtual int work(VrSampleRange output, void *o[], VrSampleRange inputs[], void *i[])
float iType
Definition: GrAtscBitTimingLoop3.h:62
virtual const char * name()
Definition: GrAtscBitTimingLoop3.h:46
interpolator control for segment and symbol sync recovery
Definition: sssr_impl.h:197
virtual ~GrAtscBitTimingLoop3()
Definition: GrAtscBitTimingLoop3.h:44
atsci_interpolator d_interp
Definition: GrAtscBitTimingLoop3.h:67
GrAtscBitTimingLoop3(double ratio_of_rx_clock_to_symbol_freq)
VrSampleIndex d_next_input
Definition: GrAtscBitTimingLoop3.h:68
void set_timing_rate(double rate)
Definition: GrAtscBitTimingLoop3.h:58
atsc::syminfo oTagType
Definition: GrAtscBitTimingLoop3.h:64
virtual int forecast(VrSampleRange output, VrSampleRange inputs[])