From d50661511c78e489fdf54584c31639945fdd37f8 Mon Sep 17 00:00:00 2001 From: jcorgan Date: Mon, 22 Oct 2007 17:13:50 +0000 Subject: Add methods in shim to allow derived class override in Python git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6669 221aa14e-8319-0410-a670-987f0aec2ac5 --- gnuradio-core/src/python/gnuradio/gr/top_block.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnuradio-core/src') diff --git a/gnuradio-core/src/python/gnuradio/gr/top_block.py b/gnuradio-core/src/python/gnuradio/gr/top_block.py index 8bd4052c9..8f5754d65 100644 --- a/gnuradio-core/src/python/gnuradio/gr/top_block.py +++ b/gnuradio-core/src/python/gnuradio/gr/top_block.py @@ -41,6 +41,12 @@ class top_block(object): def __getattr__(self, name): return getattr(self._tb, name) + def start(self): + self._tb.start() + + def stop(self): + self._tb.stop() + def run(self): top_block_run_unlocked(self._tb) -- cgit