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.h31
1 files changed, 15 insertions, 16 deletions
diff --git a/gr-blocks/lib/plateau_detector_fb_impl.h b/gr-blocks/lib/plateau_detector_fb_impl.h
index 1a99745104..198f4083d3 100644
--- a/gr-blocks/lib/plateau_detector_fb_impl.h
+++ b/gr-blocks/lib/plateau_detector_fb_impl.h
@@ -26,31 +26,30 @@
#include <gnuradio/blocks/plateau_detector_fb.h>
namespace gr {
- namespace blocks {
+namespace blocks {
class plateau_detector_fb_impl : public plateau_detector_fb
{
- private:
- int d_max_len;
- float d_threshold;
+private:
+ int d_max_len;
+ float d_threshold;
- public:
- plateau_detector_fb_impl(int max_len, float threshold);
- ~plateau_detector_fb_impl();
+public:
+ plateau_detector_fb_impl(int max_len, float threshold);
+ ~plateau_detector_fb_impl();
- void forecast(int noutput_items, gr_vector_int &ninput_items_required);
+ 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);
+ int general_work(int noutput_items,
+ 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;
+ virtual void set_threshold(float threshold);
+ virtual float threshold() const;
};
- } // namespace blocks
+} // namespace blocks
} // namespace gr
#endif /* INCLUDED_BLOCKS_PLATEAU_DETECTOR_FB_IMPL_H */
-