baz_peak_detector
gr::block
baz_peak_detector.h
float float baz_peak_detector::d_min_diff d_min_diff baz_peak_detector::d_min_diff
int int baz_peak_detector::d_min_len d_min_len baz_peak_detector::d_min_len
int int baz_peak_detector::d_lockout d_lockout baz_peak_detector::d_lockout
float float baz_peak_detector::d_drop d_drop baz_peak_detector::d_drop
float float baz_peak_detector::d_alpha d_alpha baz_peak_detector::d_alpha
int int baz_peak_detector::d_look_ahead d_look_ahead baz_peak_detector::d_look_ahead
volatile bool volatile bool baz_peak_detector::d_threshold_set d_threshold_set baz_peak_detector::d_threshold_set
float float baz_peak_detector::d_threshold d_threshold baz_peak_detector::d_threshold
bool bool baz_peak_detector::d_byte_output d_byte_output baz_peak_detector::d_byte_output
bool bool baz_peak_detector::d_rising d_rising baz_peak_detector::d_rising
int int baz_peak_detector::d_rise_count d_rise_count baz_peak_detector::d_rise_count
int int baz_peak_detector::d_lockout_count d_lockout_count baz_peak_detector::d_lockout_count
float float baz_peak_detector::d_first d_first baz_peak_detector::d_first
float float baz_peak_detector::d_ave d_ave baz_peak_detector::d_ave
float float baz_peak_detector::d_peak d_peak baz_peak_detector::d_peak
int int baz_peak_detector::d_peak_idx d_peak_idx baz_peak_detector::d_peak_idx
int int baz_peak_detector::d_look_ahead_count d_look_ahead_count baz_peak_detector::d_look_ahead_count
int int baz_peak_detector::d_advance d_advance baz_peak_detector::d_advance
bool bool baz_peak_detector::d_verbose d_verbose baz_peak_detector::d_verbose
int64_t int64_t baz_peak_detector::d_last_peak_idx d_last_peak_idx baz_peak_detector::d_last_peak_idx
BAZ_API baz_peak_detector_sptr BAZ_API baz_peak_detector_sptr baz_make_peak_detector (float min_diff, int min_len, int lockout, float drop, float alpha, int look_ahead, bool byte_output, bool verbose) baz_make_peak_detector baz_peak_detector::baz_make_peak_detector float min_diff int min_len int lockout float drop float alpha int look_ahead bool byte_output bool verbose

Return a shared_ptr to a new instance of baz_peak_detector.

To avoid accidental use of raw pointers, baz_peak_detector's constructor is private. howto_make_square2_ff is the public interface for creating new instances.

baz_peak_detector::baz_peak_detector
(float min_diff, int min_len, int lockout, float drop, float alpha, int look_ahead, bool byte_output, bool verbose)
baz_peak_detector
baz_peak_detector::baz_peak_detector
float min_diff
int min_len
int lockout
float drop
float alpha
int look_ahead
bool byte_output
bool verbose
baz_peak_detector::~baz_peak_detector
()
~baz_peak_detector
baz_peak_detector::~baz_peak_detector
void void baz_peak_detector::set_threshold (float threshold) set_threshold baz_peak_detector::set_threshold float threshold
void void baz_peak_detector::unset_threshold () unset_threshold baz_peak_detector::unset_threshold
float float baz_peak_detector::threshold () const threshold baz_peak_detector::threshold
float float baz_peak_detector::threshold_set () const threshold_set baz_peak_detector::threshold_set
void void baz_peak_detector::forecast (int noutput_items, gr_vector_int &ninput_items_required) forecast baz_peak_detector::forecast int noutput_items gr_vector_int & ninput_items_required
int int baz_peak_detector::general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) general_work baz_peak_detector::general_work int noutput_items gr_vector_int & ninput_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_peak_detector
gr::block
baz_peak_detector
gr::block
- baz_peak_detector
  baz_make_peak_detector
- baz_peak_detector
  baz_peak_detector
- baz_peak_detector
  d_advance
- baz_peak_detector
  d_alpha
- baz_peak_detector
  d_ave
- baz_peak_detector
  d_byte_output
- baz_peak_detector
  d_drop
- baz_peak_detector
  d_first
- baz_peak_detector
  d_last_peak_idx
- baz_peak_detector
  d_lockout
- baz_peak_detector
  d_lockout_count
- baz_peak_detector
  d_look_ahead
- baz_peak_detector
  d_look_ahead_count
- baz_peak_detector
  d_min_diff
- baz_peak_detector
  d_min_len
- baz_peak_detector
  d_peak
- baz_peak_detector
  d_peak_idx
- baz_peak_detector
  d_rise_count
- baz_peak_detector
  d_rising
- baz_peak_detector
  d_threshold
- baz_peak_detector
  d_threshold_set
- baz_peak_detector
  d_verbose
- baz_peak_detector
  forecast
- baz_peak_detector
  general_work
- baz_peak_detector
  set_threshold
- baz_peak_detector
  threshold
- baz_peak_detector
  threshold_set
- baz_peak_detector
  unset_threshold
- baz_peak_detector
  ~baz_peak_detector