From 5dafe3c0ea2f66e078781f35e8fd30c90abb673b Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Mon, 4 Jun 2012 19:56:36 -0400 Subject: core: exported max_noutput_item methods from gr_block to Python. --- gnuradio-core/src/lib/runtime/gr_block.i | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnuradio-core/src/lib/runtime/gr_block.i') 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; } -- cgit