gr-baz Package
|
square2 a stream of floats. More...
#include <baz_non_blocker.h>
Public Member Functions | |
~baz_non_blocker () | |
int | general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
void | forecast (int noutput_items, gr_vector_int &ninput_items_required) |
void | set_blocking (bool enable=true) |
Friends | |
BAZ_API baz_non_blocker_sptr | baz_make_non_blocker (int item_size, bool blocking) |
Return a shared_ptr to a new instance of baz_non_blocker. | |
square2 a stream of floats.
This uses the preferred technique: subclassing gr::sync_block.
baz_non_blocker::~baz_non_blocker | ( | ) |
void baz_non_blocker::forecast | ( | int | noutput_items, |
gr_vector_int & | ninput_items_required | ||
) |
int baz_non_blocker::general_work | ( | int | noutput_items, |
gr_vector_int & | ninput_items, | ||
gr_vector_const_void_star & | input_items, | ||
gr_vector_void_star & | output_items | ||
) |
void baz_non_blocker::set_blocking | ( | bool | enable = true | ) |
|
friend |
Return a shared_ptr to a new instance of baz_non_blocker.
To avoid accidental use of raw pointers, baz_non_blocker's constructor is private. howto_make_square2_ff is the public interface for creating new instances.