GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
vco_f.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2005,2013 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  *
9  */
10 
11 #ifndef INCLUDED_GR_VCO_F_H
12 #define INCLUDED_GR_VCO_F_H
13 
14 #include <gnuradio/blocks/api.h>
15 #include <gnuradio/sync_block.h>
16 
17 namespace gr {
18 namespace blocks {
19 
20 /*!
21  * \brief VCO - Voltage controlled oscillator
22  * \ingroup modulators_blk
23  * \ingroup waveform_generators_blk
24  *
25  * \details
26  * input: float stream of control voltages; output: float oscillator output
27  */
28 class BLOCKS_API vco_f : virtual public sync_block
29 {
30 public:
31  // gr::blocks::vco_f::sptr
32  typedef std::shared_ptr<vco_f> sptr;
33 
34  /*!
35  * \brief VCO - Voltage controlled oscillator
36  *
37  * \param sampling_rate sampling rate (Hz)
38  * \param sensitivity units are radians/sec/volt
39  * \param amplitude output amplitude
40  */
41  static sptr make(double sampling_rate, double sensitivity, double amplitude);
42 };
43 
44 } /* namespace blocks */
45 } /* namespace gr */
46 
47 #endif /* INCLUDED_GR_VCO_F_H */
VCO - Voltage controlled oscillator.
Definition: vco_f.h:29
std::shared_ptr< vco_f > sptr
Definition: vco_f.h:32
static sptr make(double sampling_rate, double sensitivity, double amplitude)
VCO - Voltage controlled oscillator.
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29