00001 // SPUC - Signal processing using C++ - A DSP library 00002 /* 00003 * This program is free software; you can redistribute it and/or modify 00004 * it under the terms of the GNU General Public License as published by 00005 * the Free Software Foundation; either version 2, or (at your option) 00006 * any later version. 00007 * 00008 * This program is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 * GNU General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU General Public License 00014 * along with this program; if not, write to the Free Software 00015 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00016 */ 00017 // $Id: base_demod.h,v 1.5 2005/09/16 17:00:44 spuc Exp $ // Base class 00018 #ifndef BASEDEMOD 00019 #define BASEDEMOD 00020 namespace SPUC { 00029 class base_demod { 00030 public: 00031 virtual complex<long> step(complex<double> x) { return(complex<long>(0,0)); } 00032 virtual bool sym_pulse() { return(0); }; 00033 virtual bool buffer_empty() { return(0); } 00034 virtual bool get_bits() { return(0); } 00035 virtual complex<double> get_taps(int j) { return(complex<double>(0.0,0.0)); } 00036 virtual int eq_size() { return(0); } 00037 bool data_ready; 00038 complex<double> sample_value; 00039 complex<double> symbol_value; 00040 char* vers; 00041 }; 00042 } 00043 #endif