GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
dpll_bb.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2007,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_ANALOG_DPLL_BB_H
12
#define INCLUDED_ANALOG_DPLL_BB_H
13
14
#include <
gnuradio/analog/api.h
>
15
#include <
gnuradio/sync_block.h
>
16
17
namespace
gr
{
18
namespace
analog {
19
20
/*!
21
* \brief Detect the peak of a signal
22
* \ingroup peak_detectors_blk
23
*
24
* \details
25
* If a peak is detected, this block outputs a 1,
26
* or it outputs 0's.
27
*/
28
class
ANALOG_API
dpll_bb
:
virtual
public
sync_block
29
{
30
public
:
31
// gr::analog::dpll_bb::sptr
32
typedef
std::shared_ptr<dpll_bb>
sptr
;
33
34
static
sptr
make(
float
period,
float
gain);
35
36
virtual
void
set_gain(
float
gain) = 0;
37
virtual
void
set_decision_threshold(
float
thresh) = 0;
38
39
virtual
float
gain()
const
= 0;
40
virtual
float
freq()
const
= 0;
41
virtual
float
phase()
const
= 0;
42
virtual
float
decision_threshold()
const
= 0;
43
};
44
45
}
/* namespace analog */
46
}
/* namespace gr */
47
48
#endif
/* INCLUDED_ANALOG_DPLL_BB_H */
ANALOG_API
#define ANALOG_API
Definition:
gr-analog/include/gnuradio/analog/api.h:18
gr::analog::dpll_bb::sptr
std::shared_ptr< dpll_bb > sptr
Definition:
dpll_bb.h:32
gr::sync_block
synchronous 1:1 input to output with history
Definition:
sync_block.h:25
sync_block.h
gr::analog::dpll_bb
Detect the peak of a signal.
Definition:
dpll_bb.h:28
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
api.h
gr-analog
include
gnuradio
analog
dpll_bb.h
Generated by
1.8.17