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-trellis/lib/siso_f_impl.h | |
parent | 78431dc6941e3acc67c858277dfe4a0ed583643c (diff) |
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-trellis/lib/siso_f_impl.h')
-rw-r--r-- | gr-trellis/lib/siso_f_impl.h | 86 |
1 files changed, 44 insertions, 42 deletions
diff --git a/gr-trellis/lib/siso_f_impl.h b/gr-trellis/lib/siso_f_impl.h index f92616bf0a..92ac211bcf 100644 --- a/gr-trellis/lib/siso_f_impl.h +++ b/gr-trellis/lib/siso_f_impl.h @@ -30,55 +30,57 @@ #include <gnuradio/trellis/siso_f.h> namespace gr { - namespace trellis { +namespace trellis { - class siso_f_impl : public siso_f - { - private: - fsm d_FSM; - int d_K; - int d_S0; - int d_SK; - bool d_POSTI; - bool d_POSTO; - siso_type_t d_SISO_TYPE; - void recalculate(); - //std::vector<float> d_alpha; - //std::vector<float> d_beta; +class siso_f_impl : public siso_f +{ +private: + fsm d_FSM; + int d_K; + int d_S0; + int d_SK; + bool d_POSTI; + bool d_POSTO; + siso_type_t d_SISO_TYPE; + void recalculate(); + // std::vector<float> d_alpha; + // std::vector<float> d_beta; - public: - siso_f_impl(const fsm &FSM, int K, - int S0, int SK, - bool POSTI, bool POSTO, - siso_type_t d_SISO_TYPE); - ~siso_f_impl(); +public: + siso_f_impl(const fsm& FSM, + int K, + int S0, + int SK, + bool POSTI, + bool POSTO, + siso_type_t d_SISO_TYPE); + ~siso_f_impl(); - fsm FSM() const { return d_FSM; } - int K() const { return d_K; } - int S0() const { return d_S0; } - int SK() const { return d_SK; } - bool POSTI() const { return d_POSTI; } - bool POSTO() const { return d_POSTO; } - siso_type_t SISO_TYPE() const { return d_SISO_TYPE; } + fsm FSM() const { return d_FSM; } + int K() const { return d_K; } + int S0() const { return d_S0; } + int SK() const { return d_SK; } + bool POSTI() const { return d_POSTI; } + bool POSTO() const { return d_POSTO; } + siso_type_t SISO_TYPE() const { return d_SISO_TYPE; } - void set_FSM(const fsm &FSM); - void set_K(int K); - void set_S0(int S0); - void set_SK(int SK); - void set_POSTI(bool POSTI); - void set_POSTO(bool POSTO); - void set_SISO_TYPE(trellis::siso_type_t type); + void set_FSM(const fsm& FSM); + void set_K(int K); + void set_S0(int S0); + void set_SK(int SK); + void set_POSTI(bool POSTI); + void set_POSTO(bool POSTO); + void set_SISO_TYPE(trellis::siso_type_t type); - 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); +}; - } /* namespace trellis */ +} /* namespace trellis */ } /* namespace gr */ #endif /* INCLUDED_TRELLIS_SISO_F_IMPL_H */ |