summaryrefslogtreecommitdiff
path: root/gr-analog/lib/noise_source_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-analog/lib/noise_source_impl.h
parent78431dc6941e3acc67c858277dfe4a0ed583643c (diff)
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-analog/lib/noise_source_impl.h')
-rw-r--r--gr-analog/lib/noise_source_impl.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/gr-analog/lib/noise_source_impl.h b/gr-analog/lib/noise_source_impl.h
index ddef4f25e9..8c102c33e7 100644
--- a/gr-analog/lib/noise_source_impl.h
+++ b/gr-analog/lib/noise_source_impl.h
@@ -28,31 +28,31 @@
#include <gnuradio/random.h>
namespace gr {
- namespace analog {
+namespace analog {
-template<class T>
- class noise_source_impl : public noise_source<T>
- {
- noise_type_t d_type;
- float d_ampl;
- gr::random d_rng;
+template <class T>
+class noise_source_impl : public noise_source<T>
+{
+ noise_type_t d_type;
+ float d_ampl;
+ gr::random d_rng;
- public:
- noise_source_impl(noise_type_t type, float ampl, long seed = 0);
- ~noise_source_impl();
+public:
+ noise_source_impl(noise_type_t type, float ampl, long seed = 0);
+ ~noise_source_impl();
- void set_type(noise_type_t type);
- void set_amplitude(float ampl);
+ void set_type(noise_type_t type);
+ void set_amplitude(float ampl);
- noise_type_t type() const { return d_type; }
- float amplitude() const { return d_ampl; }
+ noise_type_t type() const { return d_type; }
+ float amplitude() const { return d_ampl; }
- 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 filter */
+} // namespace analog
} /* namespace gr */
#endif /* NOISE_SOURCE_IMPL_H */