diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2015-07-20 22:21:47 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2015-11-06 16:12:27 +0100 |
commit | 91b66420516948019a6f0b8fe34630d2e119da96 (patch) | |
tree | 7e17868b21a6befe1299bb07188707084b1eb97f /gnuradio-runtime/python | |
parent | 8737d63030ecaac05793900e71c6a14a05ff0e7a (diff) |
runtime: add accessors for in_sig and out_sig in python blocks
Diffstat (limited to 'gnuradio-runtime/python')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/gr/gateway.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/gateway.py b/gnuradio-runtime/python/gnuradio/gr/gateway.py index 2a27b8a9e0..2e46bca430 100644 --- a/gnuradio-runtime/python/gnuradio/gr/gateway.py +++ b/gnuradio-runtime/python/gnuradio/gr/gateway.py @@ -201,6 +201,13 @@ class gateway_block(object): # Save handler object in class so it's not garbage collected self.__msg_handlers[which_port] = handler + def in_sig(self): + return self.__in_sig + + def out_sig(self): + return self.__out_sig + + ######################################################################## # Wrappers for the user to inherit from ######################################################################## |