baz_native_callback_x
gr::sync_block
baz_native_callback.h
int int baz_native_callback_x::d_size d_size baz_native_callback_x::d_size
baz_native_callback_target_sptr baz_native_callback_target_sptr baz_native_callback_x::d_target d_target baz_native_callback_x::d_target
bool bool baz_native_callback_x::d_threshold_enable d_threshold_enable baz_native_callback_x::d_threshold_enable
float float baz_native_callback_x::d_threshold_level d_threshold_level baz_native_callback_x::d_threshold_level
bool bool baz_native_callback_x::d_triggered d_triggered baz_native_callback_x::d_triggered
unsigned long unsigned long baz_native_callback_x::d_samples_processed d_samples_processed baz_native_callback_x::d_samples_processed
baz_native_callback_x_sptr baz_native_callback_x_sptr baz_make_native_callback_x (int size, baz_native_callback_target_sptr target, bool threshold_enable, float threshold_level) baz_make_native_callback_x baz_native_callback_x::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.

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.

baz_native_callback_x::baz_native_callback_x
(int size, baz_native_callback_target_sptr target, bool threshold_enable, float threshold_level)
baz_native_callback_x
baz_native_callback_x::baz_native_callback_x
int size
baz_native_callback_target_sptr target
bool threshold_enable
float threshold_level
baz_native_callback_x::~baz_native_callback_x
()
~baz_native_callback_x
baz_native_callback_x::~baz_native_callback_x
void void baz_native_callback_x::set_size (int size) set_size baz_native_callback_x::set_size int size
void void baz_native_callback_x::set_target (baz_native_callback_target_sptr target) set_target baz_native_callback_x::set_target baz_native_callback_target_sptr target
void void baz_native_callback_x::set_threshold_enable (bool enable) set_threshold_enable baz_native_callback_x::set_threshold_enable bool enable
void void baz_native_callback_x::set_threshold_level (float threshold_level) set_threshold_level baz_native_callback_x::set_threshold_level float threshold_level
int int baz_native_callback_x::size () const size baz_native_callback_x::size
bool bool baz_native_callback_x::threshold_enable () const threshold_enable baz_native_callback_x::threshold_enable
float float baz_native_callback_x::threshold_level () const threshold_level baz_native_callback_x::threshold_level
int int baz_native_callback_x::work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) work baz_native_callback_x::work int noutput_items gr_vector_const_void_star & input_items gr_vector_void_star & output_items

square2 a stream of floats.

This uses the preferred technique: subclassing gr::sync_block.

baz_native_callback_x
gr::sync_block
baz_native_callback_x
gr::sync_block
- baz_native_callback_x
  baz_make_native_callback_x
- baz_native_callback_x
  baz_native_callback_x
- baz_native_callback_x
  d_samples_processed
- baz_native_callback_x
  d_size
- baz_native_callback_x
  d_target
- baz_native_callback_x
  d_threshold_enable
- baz_native_callback_x
  d_threshold_level
- baz_native_callback_x
  d_triggered
- baz_native_callback_x
  set_size
- baz_native_callback_x
  set_target
- baz_native_callback_x
  set_threshold_enable
- baz_native_callback_x
  set_threshold_level
- baz_native_callback_x
  size
- baz_native_callback_x
  threshold_enable
- baz_native_callback_x
  threshold_level
- baz_native_callback_x
  work
- baz_native_callback_x
  ~baz_native_callback_x