24#ifndef INCLUDED_BLOCKS_PLATEAU_DETECTOR_FB_H
25#define INCLUDED_BLOCKS_PLATEAU_DETECTOR_FB_H
57 typedef boost::shared_ptr<plateau_detector_fb>
sptr;
63 static sptr make(
int max_len,
float threshold = 0.9);
The abstract base class for all 'terminal' processing blocks.
Definition: block.h:66
Detects a plateau and marks the middle.
Definition: plateau_detector_fb.h:55
virtual void set_threshold(float threshold)=0
static sptr make(int max_len, float threshold=0.9)
boost::shared_ptr< plateau_detector_fb > sptr
Definition: plateau_detector_fb.h:57
virtual float threshold() const =0
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
Include this header to use the message passing features.
Definition: basic_block.h:45