GNU Radio 3.6.5.1 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
* \ingroup modulators_blk
40
*
41
* \details
42
* The input of this block are symbols from an M-ary alphabet
43
* +/-1, +/-3, ..., +/-(M-1). Usually, M = 2 and therefore, the
44
* valid inputs are +/-1.
45
* The modulator will silently accept any other inputs, though.
46
* The output is the phase-modulated signal.
47
*/
48
class
DIGITAL_API
digital_gmskmod_bc
:
public
digital_cpmmod_bc
49
{
50
friend
DIGITAL_API
digital_gmskmod_bc_sptr
digital_make_gmskmod_bc
(
unsigned
samples_per_sym,
51
double
bt,
unsigned
L);
52
/*!
53
* Build a GMSK modulator block.
54
*
55
* \param samples_per_sym Samples per symbol.
56
* \param bt The 3 dB time-bandwidth product.
57
* \param L The length of the phase duration in symbols. The Gaussian
58
* pulse is truncated after L symbols.
59
*/
60
digital_gmskmod_bc
(
unsigned
samples_per_sym,
61
double
bt,
unsigned
L);
62
};
63
64
#endif
/* INCLUDED_DIGITAL_GMSKMOD_BC_H */
65
gr-digital
include
digital_gmskmod_bc.h
Generated on Mon Aug 19 2013 15:37:30 for GNU Radio 3.6.5.1 C++ API by
1.8.1.2