diff options
author | Tom Rondeau | 2012-11-22 10:42:03 -0500 |
---|---|---|
committer | Tom Rondeau | 2012-11-22 10:42:03 -0500 |
commit | 83e1adf6f3efee641a994a9f4bb8dc2f827c873b (patch) | |
tree | 51b2d9962f3375318d88ac9b65fa1c4fc622a2e1 /gnuradio-core/src/lib/runtime/gr_block.i | |
parent | 20de05ea85ee09c7462fbddfe680eb1a87996dc7 (diff) | |
download | gnuradio-83e1adf6f3efee641a994a9f4bb8dc2f827c873b.tar.gz gnuradio-83e1adf6f3efee641a994a9f4bb8dc2f827c873b.tar.bz2 gnuradio-83e1adf6f3efee641a994a9f4bb8dc2f827c873b.zip |
runtime: moved setting of min/max buffer sizes from gr_basic_block to gr_block.
Diffstat (limited to 'gnuradio-core/src/lib/runtime/gr_block.i')
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_block.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_block.i b/gnuradio-core/src/lib/runtime/gr_block.i index e9341e8cb..db6c1d04a 100644 --- a/gnuradio-core/src/lib/runtime/gr_block.i +++ b/gnuradio-core/src/lib/runtime/gr_block.i @@ -58,6 +58,14 @@ class gr_block : public gr_basic_block { void unset_max_noutput_items(); bool is_set_max_noutput_items(); + // Methods to manage block's min/max buffer sizes. + long max_output_buffer(int i); + void set_max_output_buffer(long max_output_buffer); + void set_max_output_buffer(int port, long max_output_buffer); + long min_output_buffer(int i); + void set_min_output_buffer(long min_output_buffer); + void set_min_output_buffer(int port, long min_output_buffer); + // internal use gr_block_detail_sptr detail () const { return d_detail; } void set_detail (gr_block_detail_sptr detail) { d_detail = detail; } |