diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2019-08-07 21:45:12 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-08-09 23:04:28 +0200 |
commit | f7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch) | |
tree | e09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gr-analog/lib/agc3_cc_impl.h | |
parent | 78431dc6941e3acc67c858277dfe4a0ed583643c (diff) |
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-analog/lib/agc3_cc_impl.h')
-rw-r--r-- | gr-analog/lib/agc3_cc_impl.h | 63 |
1 files changed, 33 insertions, 30 deletions
diff --git a/gr-analog/lib/agc3_cc_impl.h b/gr-analog/lib/agc3_cc_impl.h index a239370972..c328b37df5 100644 --- a/gr-analog/lib/agc3_cc_impl.h +++ b/gr-analog/lib/agc3_cc_impl.h @@ -26,42 +26,45 @@ #include <gnuradio/analog/agc3_cc.h> namespace gr { - namespace analog { +namespace analog { - class agc3_cc_impl : public agc3_cc - { - public: - agc3_cc_impl(float attack_rate = 1e-1, float decay_rate = 1e-2, - float reference = 1.0, float gain = 1.0, int iir_update_decim=1); - ~agc3_cc_impl(); +class agc3_cc_impl : public agc3_cc +{ +public: + agc3_cc_impl(float attack_rate = 1e-1, + float decay_rate = 1e-2, + float reference = 1.0, + float gain = 1.0, + int iir_update_decim = 1); + ~agc3_cc_impl(); - float attack_rate() const { return d_attack; } - float decay_rate() const { return d_decay; } - float reference() const { return d_reference; } - float gain() const { return d_gain; } - float max_gain() const { return d_max_gain; } + float attack_rate() const { return d_attack; } + float decay_rate() const { return d_decay; } + float reference() const { return d_reference; } + float gain() const { return d_gain; } + float max_gain() const { return d_max_gain; } - void set_attack_rate(float rate) { d_attack = rate; } - void set_decay_rate(float rate) { d_decay = rate; } - void set_reference(float reference) { d_reference = reference; } - void set_gain(float gain) { d_gain = gain; } - void set_max_gain(float max_gain) { d_max_gain = max_gain; } + void set_attack_rate(float rate) { d_attack = rate; } + void set_decay_rate(float rate) { d_decay = rate; } + void set_reference(float reference) { d_reference = reference; } + void set_gain(float gain) { d_gain = gain; } + void set_max_gain(float max_gain) { d_max_gain = max_gain; } - int work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); + int work(int noutput_items, + gr_vector_const_void_star& input_items, + gr_vector_void_star& output_items); - private: - float d_attack; - float d_decay; - float d_reference; - float d_gain; - float d_max_gain; - bool d_reset; - int d_iir_update_decim; - }; +private: + float d_attack; + float d_decay; + float d_reference; + float d_gain; + float d_max_gain; + bool d_reset; + int d_iir_update_decim; +}; - } /* namespace analog */ +} /* namespace analog */ } /* namespace gr */ #endif /* INCLUDED_ANALOG_AGC3_CC_IMPL_H */ |