diff options
author | Josh Blum | 2013-04-14 22:11:30 -0700 |
---|---|---|
committer | Josh Blum | 2013-04-14 22:11:30 -0700 |
commit | 563240c2b4efc26e6c4032b0d3d75fc5489b7f1f (patch) | |
tree | d0a7a206dcf34a927ebc831d4af583270bb27610 /gnuradio-core | |
parent | dbd4f93ee7d67a93bdf59a138dc8fc7df443a136 (diff) | |
download | gnuradio-563240c2b4efc26e6c4032b0d3d75fc5489b7f1f.tar.gz gnuradio-563240c2b4efc26e6c4032b0d3d75fc5489b7f1f.tar.bz2 gnuradio-563240c2b4efc26e6c4032b0d3d75fc5489b7f1f.zip |
gras: runtime.i export a few more calls from block
Diffstat (limited to 'gnuradio-core')
-rw-r--r-- | gnuradio-core/src/lib/runtime/runtime.i | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/runtime/runtime.i b/gnuradio-core/src/lib/runtime/runtime.i index 2da3f40a4..a172c151d 100644 --- a/gnuradio-core/src/lib/runtime/runtime.i +++ b/gnuradio-core/src/lib/runtime/runtime.i @@ -20,8 +20,15 @@ %ignore gri_agc_cc::reference(); %ignore gri_agc2_ff::reference(); %ignore gri_agc2_cc::reference(); + +//someone forgot about d_detail %ignore gr_block::d_setlock; +//dont export work overloads +%ignore general_work; +%ignore work; +%ignore forecast; + %{ #include <gras/block.hpp> @@ -78,6 +85,31 @@ struct gr_block : gras::Block { gr_io_signature_sptr input_signature(void) const; gr_io_signature_sptr output_signature(void) const; + + unsigned history () const; + + int output_multiple () const; + double relative_rate () const; + + bool start(); + bool stop(); + + 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(); + + // 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); }; struct gr_sync_block : gr_block{}; struct gr_sync_interpolator : gr_sync_block{}; |