23 #ifndef INCLUDED_QTGUI_WATERFALL_SINK_C_H
24 #define INCLUDED_QTGUI_WATERFALL_SINK_C_H
32 #include <qapplication.h>
79 typedef boost::shared_ptr<waterfall_sink_c>
sptr;
93 static sptr make(
int size,
int wintype,
95 const std::string &name,
97 QWidget *parent=NULL);
99 virtual void exec_() = 0;
100 virtual QWidget* qwidget() = 0;
103 virtual PyObject* pyqwidget() = 0;
105 virtual void* pyqwidget() = 0;
108 virtual void clear_data() = 0;
110 virtual void set_fft_size(
const int fftsize) = 0;
111 virtual int fft_size()
const = 0;
112 virtual void set_time_per_fft(
const double t) = 0;
113 virtual void set_fft_average(
const float fftavg) = 0;
114 virtual float fft_average()
const = 0;
118 virtual void set_frequency_range(
const double centerfreq,
119 const double bandwidth) = 0;
120 virtual void set_intensity_range(
const double min,
121 const double max) = 0;
123 virtual void set_update_time(
double t) = 0;
124 virtual void set_title(
const std::string &title) = 0;
125 virtual void set_line_label(
int which,
const std::string &line) = 0;
126 virtual void set_line_alpha(
int which,
double alpha) = 0;
127 virtual void set_color_map(
int which,
const int color) = 0;
129 virtual std::string title() = 0;
130 virtual std::string line_label(
int which) = 0;
131 virtual double line_alpha(
int which) = 0;
132 virtual int color_map(
int which) = 0;
134 virtual void set_size(
int width,
int height) = 0;
136 virtual void auto_scale() = 0;
137 virtual double min_intensity(
int which) = 0;
138 virtual double max_intensity(
int which) = 0;
140 virtual void enable_menu(
bool en=
true) = 0;
141 virtual void enable_grid(
bool en=
true) = 0;
QApplication * d_qApplication
Definition: waterfall_sink_c.h:143
float min(float a, float b)
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:30
A graphical sink to display multiple signals on a waterfall (spectrogram) plot.
Definition: waterfall_sink_c.h:75
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
boost::shared_ptr< waterfall_sink_c > sptr
Definition: waterfall_sink_c.h:79
win_type
Definition: firdes.h:45