 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_QTGUI_SINK_F_H
12 #define INCLUDED_QTGUI_SINK_F_H
20 #include <qapplication.h>
21 #include <qwt_symbol.h>
62 typedef std::shared_ptr<sink_f>
sptr;
78 static sptr make(
int fftsize,
82 const std::string& name,
87 QWidget* parent = NULL);
89 virtual void exec_() = 0;
90 virtual QWidget* qwidget() = 0;
93 virtual PyObject* pyqwidget() = 0;
95 virtual void* pyqwidget() = 0;
98 virtual void set_fft_size(
const int fftsize) = 0;
99 virtual int fft_size()
const = 0;
101 virtual void set_frequency_range(
const double centerfreq,
const double bandwidth) = 0;
102 virtual void set_fft_power_db(
double min,
double max) = 0;
103 virtual void enable_rf_freq(
bool en) = 0;
110 virtual void set_update_time(
double t) = 0;
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:18
A graphical sink to display freq, spec, and time.
Definition: sink_f.h:58
float min(float a, float b)
QApplication * d_qApplication
Definition: sink_f.h:112
std::shared_ptr< sink_f > sptr
Definition: sink_f.h:62
The abstract base class for all 'terminal' processing blocks.
Definition: block.h:59
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29