 |
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_WATERFALL_SINK_F_H
12 #define INCLUDED_QTGUI_WATERFALL_SINK_F_H
21 #include <qapplication.h>
84 typedef std::shared_ptr<waterfall_sink_f>
sptr;
102 static sptr make(
int size,
106 const std::string& name,
107 int nconnections = 1,
108 QWidget* parent = NULL);
110 virtual void exec_() = 0;
111 virtual QWidget* qwidget() = 0;
114 virtual PyObject* pyqwidget() = 0;
116 virtual void* pyqwidget() = 0;
119 virtual void clear_data() = 0;
121 virtual void set_fft_size(
const int fftsize) = 0;
122 virtual int fft_size()
const = 0;
123 virtual void set_time_per_fft(
const double t) = 0;
124 virtual void set_fft_average(
const float fftavg) = 0;
125 virtual float fft_average()
const = 0;
129 virtual void set_frequency_range(
const double centerfreq,
const double bandwidth) = 0;
130 virtual void set_intensity_range(
const double min,
const double max) = 0;
132 virtual void set_update_time(
double t) = 0;
133 virtual void set_title(
const std::string& title) = 0;
134 virtual void set_time_title(
const std::string& title) = 0;
135 virtual void set_line_label(
unsigned int which,
const std::string& line) = 0;
136 virtual void set_line_alpha(
unsigned int which,
double alpha) = 0;
137 virtual void set_color_map(
unsigned int which,
const int color) = 0;
144 virtual void set_plot_pos_half(
bool half) = 0;
146 virtual std::string title() = 0;
147 virtual std::string line_label(
unsigned int which) = 0;
148 virtual double line_alpha(
unsigned int which) = 0;
149 virtual int color_map(
unsigned int which) = 0;
151 virtual void set_size(
int width,
int height) = 0;
153 virtual void auto_scale() = 0;
154 virtual double min_intensity(
unsigned int which) = 0;
155 virtual double max_intensity(
unsigned int which) = 0;
157 virtual void enable_menu(
bool en =
true) = 0;
158 virtual void enable_grid(
bool en =
true) = 0;
159 virtual void disable_legend() = 0;
160 virtual void enable_axis_labels(
bool en =
true) = 0;
win_type
Definition: window.h:25
QApplication * d_qApplication
Definition: waterfall_sink_f.h:162
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:18
float min(float a, float b)
synchronous 1:1 input to output with history
Definition: sync_block.h:25
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
std::shared_ptr< waterfall_sink_f > sptr
Definition: waterfall_sink_f.h:84
A graphical sink to display multiple signals on a waterfall (spectrogram) plot.
Definition: waterfall_sink_f.h:80