square2 a stream of floats.This uses the preferred technique: subclassing gr::sync_block.
More...
#include <baz_peak_detector.h>
square2 a stream of floats.
This uses the preferred technique: subclassing gr::sync_block.
◆ ~baz_peak_detector()
| baz_peak_detector::~baz_peak_detector |
( |
| ) |
|
◆ forecast()
| void baz_peak_detector::forecast |
( |
int |
noutput_items, |
|
|
gr_vector_int & |
ninput_items_required |
|
) |
| |
◆ general_work()
| 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 |
|
) |
| |
◆ set_threshold()
| void baz_peak_detector::set_threshold |
( |
float |
threshold | ) |
|
◆ threshold()
| float baz_peak_detector::threshold |
( |
| ) |
const |
|
inline |
◆ threshold_set()
| float baz_peak_detector::threshold_set |
( |
| ) |
const |
|
inline |
◆ unset_threshold()
| void baz_peak_detector::unset_threshold |
( |
| ) |
|
◆ baz_make_peak_detector
| 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 |
|
) |
| |
|
friend |
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.
The documentation for this class was generated from the following file: