~ubuntu-branches/debian/sid/linpsk/sid

« back to all changes in this revision

Viewing changes to src/bpskdemodulator.h

  • Committer: Bazaar Package Importer
  • Author(s): Hamish Moffatt
  • Date: 2005-04-10 18:17:27 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050410181727-3l9dnfg0sp7bhk13
Tags: 0.8.1-1
* New upstream release 0.8.1
  * Modified upstream configure.in to support FHS-compliant Qt
    installation! (ie /usr/include/qt3, not /usr/lib/qt3/include) :-(
  * Re-autotools with autoconf2.59 and automake-1.9
* linpsk is no longer a Debian-native package (dsc/tar.gz)
* Now maintained by the debian-hams group
* Switch to debhelper 4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                          bpskdemodulator.h  -  description
 
3
                             -------------------
 
4
    begin                : Sat Jun 2 2001
 
5
    copyright            : (C) 2001 by Volker Schroer
 
6
    email                : dl1ksv@gmx.de
 
7
 ***************************************************************************/
 
8
 
 
9
/***************************************************************************
 
10
 *                                                                         *
 
11
 *   This program is free software; you can redistribute it and/or modify  *
 
12
 *   it under the terms of the GNU General Public License as published by  *
 
13
 *   the Free Software Foundation; either version 2 of the License, or     *
 
14
 *   (at your option) any later version.                                   *
 
15
 *   based on the work of Moe Wheatley, AE4JY                              *
 
16
 ***************************************************************************/
 
17
 
 
18
#ifndef BPSKDEMODULATOR_H
 
19
#define BPSKDEMODULATOR_H
 
20
 
 
21
#include <complex>
 
22
#include "cpskdemodulator.h"
 
23
 
 
24
 
 
25
/**Implementation of the BPSK Demodulator
 
26
  *@author Volker Schroer
 
27
  */
 
28
 
 
29
class BPskDemodulator : public CPskDemodulator  {
 
30
public: 
 
31
        BPskDemodulator();
 
32
        ~BPskDemodulator();
 
33
protected:      
 
34
/** Decodes a BPSK Symbol */
 
35
void DecodeSymbol( double);
 
36
 
 
37
void CalcQuality(double);
 
38
private:
 
39
        bool GetBPSKSymb();
 
40
  double ave1;
 
41
        double ave2;
 
42
 
 
43
};
 
44
 
 
45
#endif