summaryrefslogtreecommitdiff
path: root/gr-analog/lib/fastnoise_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/fastnoise_source_impl.h
parent78431dc6941e3acc67c858277dfe4a0ed583643c (diff)
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-analog/lib/fastnoise_source_impl.h')
-rw-r--r--gr-analog/lib/fastnoise_source_impl.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/gr-analog/lib/fastnoise_source_impl.h b/gr-analog/lib/fastnoise_source_impl.h
index f40d39d5f1..27dde50822 100644
--- a/gr-analog/lib/fastnoise_source_impl.h
+++ b/gr-analog/lib/fastnoise_source_impl.h
@@ -29,39 +29,39 @@
#include <vector>
namespace gr {
- namespace analog {
+namespace analog {
-template<class T>
- class fastnoise_source_impl : public fastnoise_source<T>
- {
- private:
- noise_type_t d_type;
- float d_ampl;
- gr::random d_rng;
- std::vector<T> d_samples;
- uint64_t d_state[2];
+template <class T>
+class fastnoise_source_impl : public fastnoise_source<T>
+{
+private:
+ noise_type_t d_type;
+ float d_ampl;
+ gr::random d_rng;
+ std::vector<T> d_samples;
+ uint64_t d_state[2];
- public:
- fastnoise_source_impl(noise_type_t type, float ampl, long seed, long samples);
- ~fastnoise_source_impl();
+public:
+ fastnoise_source_impl(noise_type_t type, float ampl, long seed, long samples);
+ ~fastnoise_source_impl();
- T sample();
- T sample_unbiased();
- const std::vector<T>& samples() const;
+ T sample();
+ T sample_unbiased();
+ const std::vector<T>& samples() const;
- void set_type(noise_type_t type);
- void set_amplitude(float ampl);
- void generate();
+ void set_type(noise_type_t type);
+ void set_amplitude(float ampl);
+ void generate();
- 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 /* FASTNOISE_SOURCE_IMPL_H */