28 #ifndef INCLUDED_BAZ_NON_BLOCKER_H 29 #define INCLUDED_BAZ_NON_BLOCKER_H 31 #include <gnuradio/sync_block.h> 47 typedef boost::shared_ptr<baz_non_blocker> baz_non_blocker_sptr;
76 bool d_blocking, d_blocking_forecasted;
81 int general_work (
int noutput_items, gr_vector_int &ninput_items,
82 gr_vector_const_void_star &input_items,
83 gr_vector_void_star &output_items);
85 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
87 void set_blocking(
bool enable =
true);
BAZ_API baz_non_blocker_sptr baz_make_non_blocker(int item_size, bool blocking=false)
Return a shared_ptr to a new instance of baz_non_blocker.
class BAZ_API baz_non_blocker
Definition: baz_non_blocker.h:34
square2 a stream of floats.This uses the preferred technique: subclassing gr::sync_block.
Definition: baz_non_blocker.h:64
#define BAZ_API
Definition: config.h:8