12 #ifndef INCLUDED_BLOCKS_PLATEAU_DETECTOR_FB_H
13 #define INCLUDED_BLOCKS_PLATEAU_DETECTOR_FB_H
45 typedef std::shared_ptr<plateau_detector_fb>
sptr;
51 static sptr make(
int max_len,
float threshold = 0.9);
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Detects a plateau and marks the middle.
Definition: plateau_detector_fb.h:43
virtual void set_threshold(float threshold)=0
static sptr make(int max_len, float threshold=0.9)
virtual float threshold() const =0
std::shared_ptr< plateau_detector_fb > sptr
Definition: plateau_detector_fb.h:45
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29