summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/plateau_detector_fb_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/lib/plateau_detector_fb_impl.h')
-rw-r--r--gr-blocks/lib/plateau_detector_fb_impl.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gr-blocks/lib/plateau_detector_fb_impl.h b/gr-blocks/lib/plateau_detector_fb_impl.h
index 6497f0e838..906891d62b 100644
--- a/gr-blocks/lib/plateau_detector_fb_impl.h
+++ b/gr-blocks/lib/plateau_detector_fb_impl.h
@@ -38,9 +38,12 @@ class plateau_detector_fb_impl : public plateau_detector_fb
plateau_detector_fb_impl(int max_len, float threshold);
~plateau_detector_fb_impl();
- int work(int noutput_items,
- gr_vector_const_void_star &input_items,
- gr_vector_void_star &output_items);
+ void forecast(int noutput_items, gr_vector_int &ninput_items_required);
+
+ int general_work(int noutput_items,
+ gr_vector_int &ninput_items,
+ gr_vector_const_void_star &input_items,
+ gr_vector_void_star &output_items);
};
} // namespace blocks