diff options
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r-- | gnuradio-core/src/python/gnuradio/gr/top_block.py | 6 |
1 files changed, 6 insertions, 0 deletions
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) |