summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/freq_sink_c_impl.cc
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-12-20 16:46:46 -0500
committerTom Rondeau <trondeau@vt.edu>2012-12-20 16:46:46 -0500
commitc417edef7424691d32d835c778174ac3f1db7ad8 (patch)
treee1bf65fe5dfbe9039fcdded387c09f7e33f18fb6 /gr-qtgui/lib/freq_sink_c_impl.cc
parente98b2874a7051f0341a229f357f1efe9f87caffa (diff)
qtgui: added check_topology to check d_nconnections and actual connections.
Diffstat (limited to 'gr-qtgui/lib/freq_sink_c_impl.cc')
-rw-r--r--gr-qtgui/lib/freq_sink_c_impl.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-qtgui/lib/freq_sink_c_impl.cc b/gr-qtgui/lib/freq_sink_c_impl.cc
index e495dfcc25..e1e0084870 100644
--- a/gr-qtgui/lib/freq_sink_c_impl.cc
+++ b/gr-qtgui/lib/freq_sink_c_impl.cc
@@ -93,6 +93,12 @@ namespace gr {
fft::free(d_fbuf);
}
+ bool
+ freq_sink_c_impl::check_topology(int ninputs, int noutputs)
+ {
+ return ninputs == d_nconnections;
+ }
+
void
freq_sink_c_impl::forecast(int noutput_items, gr_vector_int &ninput_items_required)
{