summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/runtime/gr_block.i
diff options
context:
space:
mode:
authorTom Rondeau2012-06-04 19:56:36 -0400
committerTom Rondeau2012-06-04 19:56:36 -0400
commit5dafe3c0ea2f66e078781f35e8fd30c90abb673b (patch)
tree765b0bca73bd5ce5372d900e4d6f2634f8530152 /gnuradio-core/src/lib/runtime/gr_block.i
parentb629a998bdf0ff88af6f113bd605059ebd61efc8 (diff)
downloadgnuradio-5dafe3c0ea2f66e078781f35e8fd30c90abb673b.tar.gz
gnuradio-5dafe3c0ea2f66e078781f35e8fd30c90abb673b.tar.bz2
gnuradio-5dafe3c0ea2f66e078781f35e8fd30c90abb673b.zip
core: exported max_noutput_item methods from gr_block to Python.
Diffstat (limited to 'gnuradio-core/src/lib/runtime/gr_block.i')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_block.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_block.i b/gnuradio-core/src/lib/runtime/gr_block.i
index 4cc260bfe..e9341e8cb 100644
--- a/gnuradio-core/src/lib/runtime/gr_block.i
+++ b/gnuradio-core/src/lib/runtime/gr_block.i
@@ -52,6 +52,12 @@ class gr_block : public gr_basic_block {
uint64_t nitems_read(unsigned int which_input);
uint64_t nitems_written(unsigned int which_output);
+ // Methods to manage the block's max_noutput_items size.
+ int max_noutput_items();
+ void set_max_noutput_items(int m);
+ void unset_max_noutput_items();
+ bool is_set_max_noutput_items();
+
// internal use
gr_block_detail_sptr detail () const { return d_detail; }
void set_detail (gr_block_detail_sptr detail) { d_detail = detail; }