Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GrAtscSegSymSyncImpl.h

Go to the documentation of this file.
00001 /* -*- c++ -*- */
00002 /*
00003  * Copyright 2002 Free Software Foundation, Inc.
00004  * 
00005  * This file is part of GNU Radio
00006  * 
00007  * GNU Radio is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2, or (at your option)
00010  * any later version.
00011  * 
00012  * GNU Radio is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  * 
00017  * You should have received a copy of the GNU General Public License
00018  * along with GNU Radio; see the file COPYING.  If not, write to
00019  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00020  * Boston, MA 02111-1307, USA.
00021  */
00022 #ifndef _GRATSCSEGSYMSYNCIMPL_H_
00023 #define _GRATSCSEGSYMSYNCIMPL_H_
00024 
00025 #include <GrAtscSegSymSync.h>
00026 #include <atsc_sssr.h>
00027 
00028 
00038 class GrAtscSegSymSyncImpl : public GrAtscSegSymSync {
00039 
00040   atsc_sssr             d_sssr;
00041   atsc_interpolator     d_interp;
00042   VrSampleIndex         d_next_input;
00043   double                d_rx_clock_to_symbol_freq;      // nominal ratio
00044 
00045 public:
00046 
00047   // the standard methods...
00048   
00049   GrAtscSegSymSyncImpl (double nominal_ratio_of_rx_clock_to_symbol_freq);
00050   virtual ~GrAtscSegSymSyncImpl ();
00051 
00052   virtual const char *name () { return "GrAtscSegSymSyncImpl"; }
00053 
00054   virtual int forecast (VrSampleRange output,
00055                         VrSampleRange inputs[]);
00056 
00057   virtual int work (VrSampleRange output, void *o[],
00058                     VrSampleRange inputs[], void *i[]);
00059 
00060   void pre_initialize ();
00061   
00062 
00063   // reset on channel change
00064 
00065   virtual void reset ();
00066 
00067 };
00068 
00069 #endif /* _GRATSCSEGSYMSYNCIMPL_H_ */

Generated on Tue Mar 15 23:46:36 2005 for GNU Radio by  doxygen 1.4.0