GNU Radio C++ API Reference: cpfsk_bc.h Source File

| GNU Radio C++ API Reference 3.10.12.0 The Free & Open Software Radio Ecosystem |

Loading...
Searching...
No Matches
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
15namespace gr {
16namespace 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{
26public:
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
Perform continuous phase 2-level frequency shift keying modulation on an input stream of unpacked bit...
Definition cpfsk_bc.h:25
gr::analog::cpfsk_bc::freq
virtual float freq()=0
gr::analog::cpfsk_bc::phase
virtual float phase()=0
gr::analog::cpfsk_bc::set_amplitude
virtual void set_amplitude(float amplitude)=0
gr::analog::cpfsk_bc::amplitude
virtual float amplitude()=0
gr::analog::cpfsk_bc::make
static sptr make(float k, float ampl, int samples_per_sym)
Make a CPFSK block.
gr::analog::cpfsk_bc::sptr
std::shared_ptr< cpfsk_bc > sptr
Definition cpfsk_bc.h:28
gr::sync_interpolator::sync_interpolator
sync_interpolator(void)
Definition sync_interpolator.h:31
api.h
ANALOG_API
#define ANALOG_API
Definition gr-analog/include/gnuradio/analog/api.h:18
gr::analog
Definition agc.h:19
gr
GNU Radio logging wrapper.
Definition basic_block.h:29
sync_interpolator.h