diff options
Diffstat (limited to 'gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h')
-rw-r--r-- | gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h b/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h index 17a656949e..657bbae1cd 100644 --- a/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h +++ b/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h @@ -52,6 +52,21 @@ namespace gr { * would love to see them. Otherwise, to display multiple signals * here, it's probably best to sum the signals together and * connect that here. + * + * Message Ports: + * + * - freq (input): + * Receives a PMT pair: (intern("freq"), double(frequency). + * This is used to retune the center frequency of the + * display's x-axis. + * + * - freq (output): + * Produces a PMT pair with (intern("freq"), double(frequency). + * When a user double-clicks on the display, the frequency + * that the cursor is on is used to retune the x-axis scale + * to recenter onto the clicked frequency. A message + * containing the new frequency is also produced and can be + * used by other blocks to update their frequency setting. */ class QTGUI_API waterfall_sink_c : virtual public sync_block { @@ -87,7 +102,7 @@ namespace gr { #endif virtual void clear_data() = 0; - + virtual void set_fft_size(const int fftsize) = 0; virtual int fft_size() const = 0; virtual void set_fft_average(const float fftavg) = 0; |