summaryrefslogtreecommitdiff
path: root/gr-fft/lib/ctrlport_probe_psd_impl.h
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2019-08-07 21:45:12 +0200
committerMarcus Müller <marcus@hostalia.de>2019-08-09 23:04:28 +0200
commitf7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch)
treee09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gr-fft/lib/ctrlport_probe_psd_impl.h
parent78431dc6941e3acc67c858277dfe4a0ed583643c (diff)
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-fft/lib/ctrlport_probe_psd_impl.h')
-rw-r--r--gr-fft/lib/ctrlport_probe_psd_impl.h51
1 files changed, 25 insertions, 26 deletions
diff --git a/gr-fft/lib/ctrlport_probe_psd_impl.h b/gr-fft/lib/ctrlport_probe_psd_impl.h
index c8277a4022..58b1f10414 100644
--- a/gr-fft/lib/ctrlport_probe_psd_impl.h
+++ b/gr-fft/lib/ctrlport_probe_psd_impl.h
@@ -29,41 +29,40 @@
#include <gnuradio/fft/fft.h>
namespace gr {
- namespace fft {
+namespace fft {
- class ctrlport_probe_psd_impl : public ctrlport_probe_psd
- {
- private:
- std::string d_id;
- std::string d_desc;
- size_t d_len;
- boost::shared_mutex mutex_buffer;
- mutable boost::mutex mutex_notify;
- boost::condition_variable condition_buffer_ready;
+class ctrlport_probe_psd_impl : public ctrlport_probe_psd
+{
+private:
+ std::string d_id;
+ std::string d_desc;
+ size_t d_len;
+ boost::shared_mutex mutex_buffer;
+ mutable boost::mutex mutex_notify;
+ boost::condition_variable condition_buffer_ready;
- std::vector<gr_complex> d_buffer;
- gr::fft::fft_complex d_fft;
+ std::vector<gr_complex> d_buffer;
+ gr::fft::fft_complex d_fft;
- public:
- ctrlport_probe_psd_impl(const std::string &id, const std::string &desc, int len);
- ~ctrlport_probe_psd_impl();
+public:
+ ctrlport_probe_psd_impl(const std::string& id, const std::string& desc, int len);
+ ~ctrlport_probe_psd_impl();
- void setup_rpc();
+ void setup_rpc();
- void forecast(int noutput_items, gr_vector_int &ninput_items_required);
+ void forecast(int noutput_items, gr_vector_int& ninput_items_required);
- std::vector<gr_complex> get();
+ std::vector<gr_complex> get();
- void set_length(int len);
- int length() const;
+ void set_length(int len);
+ int length() 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 fft
} /* namespace gr */
#endif /* INCLUDED_CTRLPORT_PROBE_PSD_IMPL_H */
-