GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
vco_c.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 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_C_H
12
#define INCLUDED_GR_VCO_C_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: complex oscillator output
27
*/
28
class
BLOCKS_API
vco_c
:
virtual
public
sync_block
29
{
30
public
:
31
// gr::blocks::vco_c::sptr
32
typedef
std::shared_ptr<vco_c>
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_C_H */
api.h
BLOCKS_API
#define BLOCKS_API
Definition:
gr-blocks/include/gnuradio/blocks/api.h:18
gr::blocks::vco_c::sptr
std::shared_ptr< vco_c > sptr
Definition:
vco_c.h:32
gr::sync_block
synchronous 1:1 input to output with history
Definition:
sync_block.h:25
sync_block.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr::blocks::vco_c
VCO - Voltage controlled oscillator.
Definition:
vco_c.h:28
gr-blocks
include
gnuradio
blocks
vco_c.h
Generated by
1.8.17