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-blocks/lib/throttle_impl.h | |
parent | 78431dc6941e3acc67c858277dfe4a0ed583643c (diff) |
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-blocks/lib/throttle_impl.h')
-rw-r--r-- | gr-blocks/lib/throttle_impl.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/gr-blocks/lib/throttle_impl.h b/gr-blocks/lib/throttle_impl.h index 6afacbba5d..9fbff3664f 100644 --- a/gr-blocks/lib/throttle_impl.h +++ b/gr-blocks/lib/throttle_impl.h @@ -26,35 +26,35 @@ #include <gnuradio/blocks/throttle.h> namespace gr { - namespace blocks { +namespace blocks { - class throttle_impl : public throttle - { - private: - boost::system_time d_start; - size_t d_itemsize; - uint64_t d_total_samples; - double d_samps_per_tick, d_samps_per_us; - bool d_ignore_tags; +class throttle_impl : public throttle +{ +private: + boost::system_time d_start; + size_t d_itemsize; + uint64_t d_total_samples; + double d_samps_per_tick, d_samps_per_us; + bool d_ignore_tags; - public: - throttle_impl(size_t itemsize, double samples_per_sec, bool ignore_tags=true); - ~throttle_impl(); +public: + throttle_impl(size_t itemsize, double samples_per_sec, bool ignore_tags = true); + ~throttle_impl(); - // Overloading gr::block::start to reset timer - bool start(); + // Overloading gr::block::start to reset timer + bool start(); - void setup_rpc(); + void setup_rpc(); - void set_sample_rate(double rate); - double sample_rate() const; + void set_sample_rate(double rate); + double sample_rate() const; - 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); +}; - } /* namespace blocks */ +} /* namespace blocks */ } /* namespace gr */ #endif /* INCLUDED_GR_THROTTLE_IMPL_H */ |