summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/plateau_detector_fb_impl.h
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2018-02-08 13:50:04 -0500
committerMartin Braun <martin.braun@ettus.com>2018-02-14 21:04:55 -0800
commit573d4c89f9ef4151b76eec8487c71adf4bbeebb0 (patch)
treea7cc567d5bd80624f51ac269d415ffc4e67afc2f /gr-blocks/lib/plateau_detector_fb_impl.h
parentf783dd54a2a81bbd7a03b17e26a5563199c52015 (diff)
blocks: add threshold set and get to plateau detector
Also add the callback to the GRC block.
Diffstat (limited to 'gr-blocks/lib/plateau_detector_fb_impl.h')
-rw-r--r--gr-blocks/lib/plateau_detector_fb_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-blocks/lib/plateau_detector_fb_impl.h b/gr-blocks/lib/plateau_detector_fb_impl.h
index 906891d62b..1a99745104 100644
--- a/gr-blocks/lib/plateau_detector_fb_impl.h
+++ b/gr-blocks/lib/plateau_detector_fb_impl.h
@@ -44,6 +44,9 @@ class plateau_detector_fb_impl : public plateau_detector_fb
gr_vector_int &ninput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
+
+ virtual void set_threshold(float threshold);
+ virtual float threshold() const;
};
} // namespace blocks