GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
goertzel_fc.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2006,2011,2012 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_FFT_GOERTZEL_FC_H
12
#define INCLUDED_FFT_GOERTZEL_FC_H
13
14
#include <
gnuradio/fft/api.h
>
15
#include <
gnuradio/sync_decimator.h
>
16
17
namespace
gr
{
18
namespace
fft {
19
20
/*!
21
* \brief Goertzel single-bin DFT calculation.
22
* \ingroup fourier_analysis_blk
23
*/
24
class
FFT_API
goertzel_fc
:
virtual
public
sync_decimator
25
{
26
public
:
27
// gr::fft::goertzel_fc::sptr
28
typedef
std::shared_ptr<goertzel_fc>
sptr
;
29
30
static
sptr
make(
int
rate,
int
len,
float
freq);
31
32
virtual
void
set_freq(
float
freq) = 0;
33
34
virtual
void
set_rate(
int
rate) = 0;
35
36
virtual
float
freq()
const
= 0;
37
38
virtual
int
rate()
const
= 0;
39
};
40
41
}
/* namespace fft */
42
}
/* namespace gr */
43
44
#endif
/* INCLUDED_FFT_GOERTZEL_FC_H */
FFT_API
#define FFT_API
Definition:
gr-fft/include/gnuradio/fft/api.h:18
gr::sync_decimator
synchronous N:1 input to output with history
Definition:
sync_decimator.h:25
gr::fft::goertzel_fc::sptr
std::shared_ptr< goertzel_fc > sptr
Definition:
goertzel_fc.h:28
api.h
sync_decimator.h
gr::fft::goertzel_fc
Goertzel single-bin DFT calculation.
Definition:
goertzel_fc.h:24
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr-fft
include
gnuradio
fft
goertzel_fc.h
Generated by
1.8.17