|
gr-baz Package
|
square2 a stream of floats. More...
#include <baz_native_callback.h>

Public Member Functions | |
| ~baz_native_callback_x () | |
| void | set_size (int size) |
| void | set_target (baz_native_callback_target_sptr target) |
| void | set_threshold_enable (bool enable) |
| void | set_threshold_level (float threshold_level) |
| int | size () const |
| bool | threshold_enable () const |
| float | threshold_level () const |
| int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
Friends | |
| baz_native_callback_x_sptr | baz_make_native_callback_x (int size, baz_native_callback_target_sptr target, bool threshold_enable, float threshold_level) |
| Return a shared_ptr to a new instance of baz_native_callback_x. | |
square2 a stream of floats.
This uses the preferred technique: subclassing gr::sync_block.
| baz_native_callback_x::~baz_native_callback_x | ( | ) |
| void baz_native_callback_x::set_size | ( | int | size | ) |
| void baz_native_callback_x::set_target | ( | baz_native_callback_target_sptr | target | ) |
| void baz_native_callback_x::set_threshold_enable | ( | bool | enable | ) |
| void baz_native_callback_x::set_threshold_level | ( | float | threshold_level | ) |
|
inline |
|
inline |
|
inline |
| int baz_native_callback_x::work | ( | int | noutput_items, |
| gr_vector_const_void_star & | input_items, | ||
| gr_vector_void_star & | output_items | ||
| ) |
|
friend |
Return a shared_ptr to a new instance of baz_native_callback_x.
To avoid accidental use of raw pointers, baz_native_callback_x's constructor is private. howto_make_square2_ff is the public interface for creating new instances.