summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/sink_c_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/lib/sink_c_impl.h')
-rw-r--r--gr-qtgui/lib/sink_c_impl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gr-qtgui/lib/sink_c_impl.h b/gr-qtgui/lib/sink_c_impl.h
index 18508d30aa..87ce7ad39e 100644
--- a/gr-qtgui/lib/sink_c_impl.h
+++ b/gr-qtgui/lib/sink_c_impl.h
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2008,2009,2011,2012 Free Software Foundation, Inc.
+ * Copyright 2008,2009,2011,2012,2014 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -67,8 +67,13 @@ namespace gr {
void windowreset();
void buildwindow();
void fftresize();
+ void check_clicked();
void fft(float *data_out, const gr_complex *data_in, int size);
+ // Handles message input port for setting new center frequency.
+ // The message is a PMT pair (intern('freq'), double(frequency)).
+ void handle_set_freq(pmt::pmt_t msg);
+
public:
sink_c_impl(int fftsize, int wintype,
double fc, double bw,
@@ -95,6 +100,7 @@ namespace gr {
void set_frequency_range(const double centerfreq,
const double bandwidth);
void set_fft_power_db(double min, double max);
+ void enable_rf_freq(bool en);
//void set_time_domain_axis(double min, double max);
//void set_constellation_axis(double xmin, double xmax,