diff options
author | Josh Blum | 2009-10-06 22:28:09 -0700 |
---|---|---|
committer | Josh Blum | 2009-10-06 22:28:09 -0700 |
commit | 645ab0cfa4ab46e057ab4df74066ab434ad5b90a (patch) | |
tree | 089cf1fb07aa17eefe37556ace82f11503d156e8 /gr-wxgui/src/python/fftsink_gl.py | |
parent | 69d09a30b38567c3ae33a227a3959aee43c721a7 (diff) | |
download | gnuradio-645ab0cfa4ab46e057ab4df74066ab434ad5b90a.tar.gz gnuradio-645ab0cfa4ab46e057ab4df74066ab434ad5b90a.tar.bz2 gnuradio-645ab0cfa4ab46e057ab4df74066ab434ad5b90a.zip |
work on a special connect function that registers a callback
Diffstat (limited to 'gr-wxgui/src/python/fftsink_gl.py')
-rw-r--r-- | gr-wxgui/src/python/fftsink_gl.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-wxgui/src/python/fftsink_gl.py b/gr-wxgui/src/python/fftsink_gl.py index 3f0a93fc8..4edb11b4a 100644 --- a/gr-wxgui/src/python/fftsink_gl.py +++ b/gr-wxgui/src/python/fftsink_gl.py @@ -73,8 +73,6 @@ class _fft_sink_base(gr.hier_block2): ) msgq = gr.msg_queue(2) sink = gr.message_sink(gr.sizeof_float*fft_size, msgq, True) - #connect - self.connect(self, fft, sink) #controller self.controller = pubsub() self.controller.subscribe(AVERAGE_KEY, fft.set_average) @@ -106,6 +104,9 @@ class _fft_sink_base(gr.hier_block2): common.register_access_methods(self, self.win) setattr(self.win, 'set_baseband_freq', getattr(self, 'set_baseband_freq')) #BACKWARDS setattr(self.win, 'set_peak_hold', getattr(self, 'set_peak_hold')) #BACKWARDS + #connect + common.special_connect(self, fft, hb=self, win=self.win, size=self._item_size) + self.connect(fft, sink) class fft_sink_f(_fft_sink_base): _fft_chain = blks2.logpwrfft_f |