GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
cpfsk_bc.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2008,2012 Free Software Foundation, Inc.
4
*
5
* SPDX-License-Identifier: GPL-3.0-or-later
6
*
7
*/
8
9
#ifndef INCLUDED_ANALOG_CPFSK_BC_H
10
#define INCLUDED_ANALOG_CPFSK_BC_H
11
12
#include <
gnuradio/analog/api.h
>
13
#include <
gnuradio/sync_interpolator.h
>
14
15
namespace
gr
{
16
namespace
analog {
17
18
/*!
19
* \brief Perform continuous phase 2-level frequency shift keying modulation
20
* on an input stream of unpacked bits.
21
* \ingroup modulators_blk
22
* \ingroup deprecated_blk
23
*/
24
class
ANALOG_API
cpfsk_bc
:
virtual
public
sync_interpolator
25
{
26
public
:
27
// gr::analog::cpfsk_bc::sptr
28
typedef
std::shared_ptr<cpfsk_bc>
sptr
;
29
30
/*!
31
* \brief Make a CPFSK block.
32
*
33
* \param k modulation index
34
* \param ampl output amplitude
35
* \param samples_per_sym number of output samples per input bit
36
*/
37
static
sptr
make(
float
k,
float
ampl,
int
samples_per_sym);
38
39
virtual
void
set_amplitude(
float
amplitude) = 0;
40
virtual
float
amplitude() = 0;
41
virtual
float
freq() = 0;
42
virtual
float
phase() = 0;
43
};
44
45
}
/* namespace analog */
46
}
/* namespace gr */
47
48
#endif
/* INCLUDED_ANALOG_CPFSK_BC_H */
gr::analog::cpfsk_bc::sptr
std::shared_ptr< cpfsk_bc > sptr
Definition:
cpfsk_bc.h:28
ANALOG_API
#define ANALOG_API
Definition:
gr-analog/include/gnuradio/analog/api.h:18
gr::sync_interpolator
synchronous 1:N input to output with history
Definition:
sync_interpolator.h:25
sync_interpolator.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
api.h
gr::analog::cpfsk_bc
Perform continuous phase 2-level frequency shift keying modulation on an input stream of unpacked bit...
Definition:
cpfsk_bc.h:24
gr-analog
include
gnuradio
analog
cpfsk_bc.h
Generated by
1.8.17