GNU Radio Manual and C++ API Reference  g36a1379
The Free & Open Software Radio Ecosystem
fosphor_formatter.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2023 Ettus Research, A National Instruments Brand
4  *
5  * This file is part of GNU Radio
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  */
9 
10 #ifndef INCLUDED_QTGUI_FOSPHOR_FORMATTER_H
11 #define INCLUDED_QTGUI_FOSPHOR_FORMATTER_H
12 
13 #include <gnuradio/hier_block2.h>
14 #include <gnuradio/qtgui/api.h>
15 
16 namespace gr {
17 namespace qtgui {
18 
19 /*!
20  * \brief Generic CPM modulator
21  * \ingroup modulators_blk
22  */
23 class QTGUI_API fosphor_formatter : virtual public hier_block2
24 {
25 public:
26  using sptr = std::shared_ptr<fosphor_formatter>;
27 
28  ~fosphor_formatter() override {}
29 
30  /*!
31  * Make formatter block for fosphor_display
32  *
33  */
34  static sptr make(int fft_size,
35  int num_bins,
36  int input_decim,
37  int waterfall_decim,
38  int histo_decim,
39  double scale,
40  double alpha,
41  double epsilon,
42  double trise,
43  double tdecay);
44 };
45 
46 } /* namespace qtgui */
47 } /* namespace gr */
48 
49 #endif /* INCLUDED_QTGUI_FOSPHOR_FORMATTER_H */
~fosphor_formatter() override
Definition: fosphor_formatter.h:28
std::shared_ptr< fosphor_formatter > sptr
Definition: fosphor_formatter.h:26
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29
Generic CPM modulator.
Definition: fosphor_formatter.h:23
Hierarchical container class for gr::block&#39;s and gr::hier_block2&#39;s.
Definition: hier_block2.h:33