GNU Radio C++ API
digital_gmskmod_bc.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2010 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 INCLUDED_DIGITAL_GMSKMOD_BC_H
24
#define INCLUDED_DIGITAL_GMSKMOD_BC_H
25
26
#include <
digital_api.h
>
27
#include <
digital_cpmmod_bc.h
>
28
29
class
digital_gmskmod_bc
;
30
typedef
boost::shared_ptr<digital_gmskmod_bc>
digital_gmskmod_bc_sptr
;
31
32
33
DIGITAL_API
digital_gmskmod_bc_sptr
34
digital_make_gmskmod_bc
(
unsigned
samples_per_sym=2,
35
double
bt=0.3,
unsigned
L=4);
36
37
/*!
38
* \brief GMSK modulator
39
*
40
* \ingroup modulation_blk
41
* \ingroup digital
42
*
43
* \param samples_per_sym Samples per symbol.
44
* \param bt The 3 dB time-bandwidth product.
45
* \param L The length of the phase duration in symbols. The Gaussian
46
* pulse is truncated after L symbols.
47
*
48
* The input of this block are symbols from an M-ary alphabet
49
* +/-1, +/-3, ..., +/-(M-1). Usually, M = 2 and therefore, the
50
* valid inputs are +/-1.
51
* The modulator will silently accept any other inputs, though.
52
* The output is the phase-modulated signal.
53
*/
54
class
DIGITAL_API
digital_gmskmod_bc
:
public
digital_cpmmod_bc
55
{
56
friend
DIGITAL_API
digital_gmskmod_bc_sptr
digital_make_gmskmod_bc
(
unsigned
samples_per_sym,
57
double
bt,
unsigned
L);
58
digital_gmskmod_bc
(
unsigned
samples_per_sym,
59
double
bt,
unsigned
L);
60
};
61
62
#endif
/* INCLUDED_DIGITAL_GMSKMOD_BC_H */
63
gr-digital
include
digital_gmskmod_bc.h
Generated on Thu Jul 12 2012 00:06:22 for GNU Radio C++ API by
1.8.1.1