summaryrefslogtreecommitdiff
path: root/gr-analog/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gr-analog/lib')
-rw-r--r--gr-analog/lib/CMakeLists.txt1
-rw-r--r--gr-analog/lib/agc2_cc_impl.cc8
-rw-r--r--gr-analog/lib/agc2_cc_impl.h2
-rw-r--r--gr-analog/lib/agc2_ff_impl.cc8
-rw-r--r--gr-analog/lib/agc2_ff_impl.h2
-rw-r--r--gr-analog/lib/agc_cc_impl.cc8
-rw-r--r--gr-analog/lib/agc_cc_impl.h2
-rw-r--r--gr-analog/lib/agc_ff_impl.cc8
-rw-r--r--gr-analog/lib/agc_ff_impl.h2
-rw-r--r--gr-analog/lib/cpfsk_bc_impl.cc10
-rw-r--r--gr-analog/lib/cpfsk_bc_impl.h2
-rw-r--r--gr-analog/lib/cpm.cc2
-rw-r--r--gr-analog/lib/ctcss_squelch_ff_impl.cc6
-rw-r--r--gr-analog/lib/ctcss_squelch_ff_impl.h4
-rw-r--r--gr-analog/lib/dpll_bb_impl.cc8
-rw-r--r--gr-analog/lib/dpll_bb_impl.h2
-rw-r--r--gr-analog/lib/fastnoise_source_X_impl.cc.t8
-rw-r--r--gr-analog/lib/fastnoise_source_X_impl.h.t6
-rw-r--r--gr-analog/lib/feedforward_agc_cc_impl.cc8
-rw-r--r--gr-analog/lib/feedforward_agc_cc_impl.h2
-rw-r--r--gr-analog/lib/fmdet_cf_impl.cc10
-rw-r--r--gr-analog/lib/fmdet_cf_impl.h6
-rw-r--r--gr-analog/lib/frequency_modulator_fc_impl.cc14
-rw-r--r--gr-analog/lib/frequency_modulator_fc_impl.h2
-rw-r--r--gr-analog/lib/noise_source_X_impl.cc.t8
-rw-r--r--gr-analog/lib/noise_source_X_impl.h.t6
-rw-r--r--gr-analog/lib/phase_modulator_fc_impl.cc12
-rw-r--r--gr-analog/lib/phase_modulator_fc_impl.h2
-rw-r--r--gr-analog/lib/pll_carriertracking_cc_impl.cc16
-rw-r--r--gr-analog/lib/pll_carriertracking_cc_impl.h2
-rw-r--r--gr-analog/lib/pll_freqdet_cf_impl.cc12
-rw-r--r--gr-analog/lib/pll_freqdet_cf_impl.h2
-rw-r--r--gr-analog/lib/pll_refout_cc_impl.cc16
-rw-r--r--gr-analog/lib/pll_refout_cc_impl.h2
-rw-r--r--gr-analog/lib/probe_avg_mag_sqrd_c_impl.cc8
-rw-r--r--gr-analog/lib/probe_avg_mag_sqrd_c_impl.h4
-rw-r--r--gr-analog/lib/probe_avg_mag_sqrd_cf_impl.cc8
-rw-r--r--gr-analog/lib/probe_avg_mag_sqrd_cf_impl.h4
-rw-r--r--gr-analog/lib/probe_avg_mag_sqrd_f_impl.cc8
-rw-r--r--gr-analog/lib/probe_avg_mag_sqrd_f_impl.h4
-rw-r--r--gr-analog/lib/pwr_squelch_cc_impl.cc6
-rw-r--r--gr-analog/lib/pwr_squelch_cc_impl.h4
-rw-r--r--gr-analog/lib/pwr_squelch_ff_impl.cc6
-rw-r--r--gr-analog/lib/pwr_squelch_ff_impl.h4
-rw-r--r--gr-analog/lib/qa_analog.h2
-rw-r--r--gr-analog/lib/quadrature_demod_cf_impl.cc12
-rw-r--r--gr-analog/lib/quadrature_demod_cf_impl.h2
-rw-r--r--gr-analog/lib/rail_ff_impl.cc12
-rw-r--r--gr-analog/lib/rail_ff_impl.h2
-rw-r--r--gr-analog/lib/sig_source_X_impl.cc.t10
-rw-r--r--gr-analog/lib/sig_source_X_impl.h.t8
-rw-r--r--gr-analog/lib/simple_squelch_cc_impl.cc8
-rw-r--r--gr-analog/lib/simple_squelch_cc_impl.h4
-rw-r--r--gr-analog/lib/squelch_base_cc_impl.cc8
-rw-r--r--gr-analog/lib/squelch_base_cc_impl.h2
-rw-r--r--gr-analog/lib/squelch_base_ff_impl.cc8
-rw-r--r--gr-analog/lib/squelch_base_ff_impl.h2
-rw-r--r--gr-analog/lib/test_gr_analog.cc2
58 files changed, 174 insertions, 173 deletions
diff --git a/gr-analog/lib/CMakeLists.txt b/gr-analog/lib/CMakeLists.txt
index 5719eac7a5..ce10422487 100644
--- a/gr-analog/lib/CMakeLists.txt
+++ b/gr-analog/lib/CMakeLists.txt
@@ -158,6 +158,7 @@ ENDIF(MSVC)
list(APPEND analog_libs
volk
gnuradio-runtime
+ gnuradio-blocks
gnuradio-filter
${Boost_LIBRARIES}
)
diff --git a/gr-analog/lib/agc2_cc_impl.cc b/gr-analog/lib/agc2_cc_impl.cc
index 2ef18e5ab8..fbca18777b 100644
--- a/gr-analog/lib/agc2_cc_impl.cc
+++ b/gr-analog/lib/agc2_cc_impl.cc
@@ -25,7 +25,7 @@
#endif
#include "agc2_cc_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
namespace gr {
namespace analog {
@@ -43,9 +43,9 @@ namespace gr {
agc2_cc_impl::agc2_cc_impl(float attack_rate, float decay_rate,
float reference,
float gain, float max_gain)
- : gr_sync_block("agc2_cc",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(gr_complex))),
+ : sync_block("agc2_cc",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(gr_complex))),
kernel::agc2_cc(attack_rate, decay_rate,
reference, gain, max_gain)
{
diff --git a/gr-analog/lib/agc2_cc_impl.h b/gr-analog/lib/agc2_cc_impl.h
index 98afc668a0..9220501323 100644
--- a/gr-analog/lib/agc2_cc_impl.h
+++ b/gr-analog/lib/agc2_cc_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_AGC2_IMPL_CC_H
#define INCLUDED_ANALOG_AGC2_IMPL_CC_H
-#include <analog/agc2_cc.h>
+#include <gnuradio/analog/agc2_cc.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/agc2_ff_impl.cc b/gr-analog/lib/agc2_ff_impl.cc
index e0cdd6c44b..93a404c6df 100644
--- a/gr-analog/lib/agc2_ff_impl.cc
+++ b/gr-analog/lib/agc2_ff_impl.cc
@@ -25,7 +25,7 @@
#endif
#include "agc2_ff_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
namespace gr {
namespace analog {
@@ -48,9 +48,9 @@ namespace gr {
agc2_ff_impl::agc2_ff_impl(float attack_rate, float decay_rate,
float reference,
float gain, float max_gain)
- : gr_sync_block("agc2_ff",
- gr_make_io_signature(1, 1, sizeof(float)),
- gr_make_io_signature(1, 1, sizeof(float)))
+ : sync_block("agc2_ff",
+ io_signature::make(1, 1, sizeof(float)),
+ io_signature::make(1, 1, sizeof(float)))
, kernel::agc2_ff(attack_rate, decay_rate,
reference, gain, max_gain)
{
diff --git a/gr-analog/lib/agc2_ff_impl.h b/gr-analog/lib/agc2_ff_impl.h
index df33c8e446..8c068c4e34 100644
--- a/gr-analog/lib/agc2_ff_impl.h
+++ b/gr-analog/lib/agc2_ff_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_AGC2_FF_IMPL_H
#define INCLUDED_ANALOG_AGC2_FF_IMPL_H
-#include <analog/agc2_ff.h>
+#include <gnuradio/analog/agc2_ff.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/agc_cc_impl.cc b/gr-analog/lib/agc_cc_impl.cc
index 81e1f67f8d..04d70d5421 100644
--- a/gr-analog/lib/agc_cc_impl.cc
+++ b/gr-analog/lib/agc_cc_impl.cc
@@ -25,7 +25,7 @@
#endif
#include "agc_cc_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
namespace gr {
namespace analog {
@@ -40,9 +40,9 @@ namespace gr {
agc_cc_impl::agc_cc_impl(float rate, float reference,
float gain, float max_gain)
- : gr_sync_block("agc_cc",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(gr_complex))),
+ : sync_block("agc_cc",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(gr_complex))),
kernel::agc_cc(rate, reference, gain, max_gain)
{
}
diff --git a/gr-analog/lib/agc_cc_impl.h b/gr-analog/lib/agc_cc_impl.h
index 822f46ef27..fda154d021 100644
--- a/gr-analog/lib/agc_cc_impl.h
+++ b/gr-analog/lib/agc_cc_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_AGC_CC_IMPL_H
#define INCLUDED_ANALOG_AGC_CC_IMPL_H
-#include <analog/agc_cc.h>
+#include <gnuradio/analog/agc_cc.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/agc_ff_impl.cc b/gr-analog/lib/agc_ff_impl.cc
index a80b90c12d..1c29934361 100644
--- a/gr-analog/lib/agc_ff_impl.cc
+++ b/gr-analog/lib/agc_ff_impl.cc
@@ -25,7 +25,7 @@
#endif
#include "agc_ff_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
namespace gr {
namespace analog {
@@ -38,9 +38,9 @@ namespace gr {
}
agc_ff_impl::agc_ff_impl(float rate, float reference, float gain, float max_gain)
- : gr_sync_block("agc_ff",
- gr_make_io_signature(1, 1, sizeof(float)),
- gr_make_io_signature(1, 1, sizeof(float))),
+ : sync_block("agc_ff",
+ io_signature::make(1, 1, sizeof(float)),
+ io_signature::make(1, 1, sizeof(float))),
kernel::agc_ff(rate, reference, gain, max_gain)
{
}
diff --git a/gr-analog/lib/agc_ff_impl.h b/gr-analog/lib/agc_ff_impl.h
index e309cca1be..c67739b73e 100644
--- a/gr-analog/lib/agc_ff_impl.h
+++ b/gr-analog/lib/agc_ff_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_AGC_FF_IMPL_H
#define INCLUDED_ANALOG_AGC_FF_IMPL_H
-#include <analog/agc_ff.h>
+#include <gnuradio/analog/agc_ff.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/cpfsk_bc_impl.cc b/gr-analog/lib/cpfsk_bc_impl.cc
index 1b7f25f6cf..d529936608 100644
--- a/gr-analog/lib/cpfsk_bc_impl.cc
+++ b/gr-analog/lib/cpfsk_bc_impl.cc
@@ -23,8 +23,8 @@
#endif
#include "cpfsk_bc_impl.h"
-#include <gr_io_signature.h>
-#include <gr_expj.h>
+#include <gnuradio/io_signature.h>
+#include <gnuradio/expj.h>
namespace gr {
namespace analog {
@@ -39,9 +39,9 @@ namespace gr {
}
cpfsk_bc_impl::cpfsk_bc_impl(float k, float ampl, int samples_per_sym)
- : gr_sync_interpolator("cpfsk_bc",
- gr_make_io_signature(1, 1, sizeof(char)),
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
+ : sync_interpolator("cpfsk_bc",
+ io_signature::make(1, 1, sizeof(char)),
+ io_signature::make(1, 1, sizeof(gr_complex)),
samples_per_sym)
{
d_samples_per_sym = samples_per_sym;
diff --git a/gr-analog/lib/cpfsk_bc_impl.h b/gr-analog/lib/cpfsk_bc_impl.h
index 9f6ec2c7fe..c3ae0dc864 100644
--- a/gr-analog/lib/cpfsk_bc_impl.h
+++ b/gr-analog/lib/cpfsk_bc_impl.h
@@ -21,7 +21,7 @@
#ifndef INCLUDED_ANALOG_CPFSK_BC_IMPL_H
#define INCLUDED_ANALOG_CPFSK_BC_IMPL_H
-#include <analog/cpfsk_bc.h>
+#include <gnuradio/analog/cpfsk_bc.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/cpm.cc b/gr-analog/lib/cpm.cc
index 618475cec7..b61ee28816 100644
--- a/gr-analog/lib/cpm.cc
+++ b/gr-analog/lib/cpm.cc
@@ -26,7 +26,7 @@
#include <cmath>
#include <cfloat>
-#include <analog/cpm.h>
+#include <gnuradio/analog/cpm.h>
//gives us erf on compilers without it
#include <boost/math/special_functions/erf.hpp>
diff --git a/gr-analog/lib/ctcss_squelch_ff_impl.cc b/gr-analog/lib/ctcss_squelch_ff_impl.cc
index 60cd94fdb5..9a6f301ba0 100644
--- a/gr-analog/lib/ctcss_squelch_ff_impl.cc
+++ b/gr-analog/lib/ctcss_squelch_ff_impl.cc
@@ -57,9 +57,9 @@ namespace gr {
ctcss_squelch_ff_impl::ctcss_squelch_ff_impl(int rate, float freq, float level,
int len, int ramp, bool gate)
- : gr_block("ctcss_squelch_ff",
- gr_make_io_signature(1, 1, sizeof(float)),
- gr_make_io_signature(1, 1, sizeof(float))),
+ : block("ctcss_squelch_ff",
+ io_signature::make(1, 1, sizeof(float)),
+ io_signature::make(1, 1, sizeof(float))),
squelch_base_ff_impl("ctcss_squelch_ff", ramp, gate)
{
d_freq = freq;
diff --git a/gr-analog/lib/ctcss_squelch_ff_impl.h b/gr-analog/lib/ctcss_squelch_ff_impl.h
index 0827fbafe3..8954b213e2 100644
--- a/gr-analog/lib/ctcss_squelch_ff_impl.h
+++ b/gr-analog/lib/ctcss_squelch_ff_impl.h
@@ -23,9 +23,9 @@
#ifndef INCLUDED_ANALOG_CTCSS_SQUELCH_FF_IMPL_H
#define INCLUDED_ANALOG_CTCSS_SQUELCH_FF_IMPL_H
-#include <analog/ctcss_squelch_ff.h>
#include "squelch_base_ff_impl.h"
-#include <fft/goertzel.h>
+#include <gnuradio/analog/ctcss_squelch_ff.h>
+#include <gnuradio/fft/goertzel.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/dpll_bb_impl.cc b/gr-analog/lib/dpll_bb_impl.cc
index a199b66b4e..4ed0ce6925 100644
--- a/gr-analog/lib/dpll_bb_impl.cc
+++ b/gr-analog/lib/dpll_bb_impl.cc
@@ -25,7 +25,7 @@
#endif
#include "dpll_bb_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <cstdio>
namespace gr {
@@ -39,9 +39,9 @@ namespace gr {
}
dpll_bb_impl::dpll_bb_impl(float period, float gain)
- : gr_sync_block("dpll_bb",
- gr_make_io_signature(1, 1, sizeof(char)),
- gr_make_io_signature(1, 1, sizeof(char))),
+ : sync_block("dpll_bb",
+ io_signature::make(1, 1, sizeof(char)),
+ io_signature::make(1, 1, sizeof(char))),
d_restart(0), d_pulse_phase(0)
{
d_pulse_frequency = 1.0/period;
diff --git a/gr-analog/lib/dpll_bb_impl.h b/gr-analog/lib/dpll_bb_impl.h
index a1d8b77097..4caa498d70 100644
--- a/gr-analog/lib/dpll_bb_impl.h
+++ b/gr-analog/lib/dpll_bb_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_DPLL_BB_IMPL_H
#define INCLUDED_ANALOG_DPLL_BB_IMPL_H
-#include <analog/dpll_bb.h>
+#include <gnuradio/analog/dpll_bb.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/fastnoise_source_X_impl.cc.t b/gr-analog/lib/fastnoise_source_X_impl.cc.t
index 706ddbbf84..e6c7f13f34 100644
--- a/gr-analog/lib/fastnoise_source_X_impl.cc.t
+++ b/gr-analog/lib/fastnoise_source_X_impl.cc.t
@@ -27,7 +27,7 @@
#endif
#include "@IMPL_NAME@.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <stdexcept>
namespace gr {
@@ -41,9 +41,9 @@ namespace gr {
}
@IMPL_NAME@::@IMPL_NAME@(noise_type_t type, float ampl, long seed, long samples)
- : gr_sync_block("@BASE_NAME@",
- gr_make_io_signature(0, 0, 0),
- gr_make_io_signature(1, 1, sizeof(@TYPE@))),
+ : sync_block("@BASE_NAME@",
+ io_signature::make(0, 0, 0),
+ io_signature::make(1, 1, sizeof(@TYPE@))),
d_type(type),
d_ampl(ampl),
d_rng(seed)
diff --git a/gr-analog/lib/fastnoise_source_X_impl.h.t b/gr-analog/lib/fastnoise_source_X_impl.h.t
index 3c5dc106a2..ed342ec176 100644
--- a/gr-analog/lib/fastnoise_source_X_impl.h.t
+++ b/gr-analog/lib/fastnoise_source_X_impl.h.t
@@ -25,8 +25,8 @@
#ifndef @GUARD_NAME@
#define @GUARD_NAME@
-#include <analog/@BASE_NAME@.h>
-#include <gr_random.h>
+#include <gnuradio/analog/@BASE_NAME@.h>
+#include <gnuradio/random.h>
namespace gr {
namespace analog {
@@ -36,7 +36,7 @@ namespace gr {
private:
noise_type_t d_type;
float d_ampl;
- gr_random d_rng;
+ gr::random d_rng;
std::vector<@TYPE@> d_samples;
public:
diff --git a/gr-analog/lib/feedforward_agc_cc_impl.cc b/gr-analog/lib/feedforward_agc_cc_impl.cc
index 4796fdfc5b..94894d9bf1 100644
--- a/gr-analog/lib/feedforward_agc_cc_impl.cc
+++ b/gr-analog/lib/feedforward_agc_cc_impl.cc
@@ -25,7 +25,7 @@
#endif
#include "feedforward_agc_cc_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <stdexcept>
namespace gr {
@@ -39,9 +39,9 @@ namespace gr {
}
feedforward_agc_cc_impl::feedforward_agc_cc_impl(int nsamples, float reference)
- : gr_sync_block("feedforward_agc_cc",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(gr_complex))),
+ : sync_block("feedforward_agc_cc",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(gr_complex))),
d_nsamples(nsamples), d_reference(reference)
{
if(nsamples < 1)
diff --git a/gr-analog/lib/feedforward_agc_cc_impl.h b/gr-analog/lib/feedforward_agc_cc_impl.h
index 60c7acadaf..ebbfceb278 100644
--- a/gr-analog/lib/feedforward_agc_cc_impl.h
+++ b/gr-analog/lib/feedforward_agc_cc_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_FEEDFORWARD_AGC_CC_IMPL_H
#define INCLUDED_ANALOG_FEEDFORWARD_AGC_CC_IMPL_H
-#include <analog/feedforward_agc_cc.h>
+#include <gnuradio/analog/feedforward_agc_cc.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/fmdet_cf_impl.cc b/gr-analog/lib/fmdet_cf_impl.cc
index c92ea28896..2c48ff07e2 100644
--- a/gr-analog/lib/fmdet_cf_impl.cc
+++ b/gr-analog/lib/fmdet_cf_impl.cc
@@ -25,8 +25,8 @@
#endif
#include "fmdet_cf_impl.h"
-#include <gr_io_signature.h>
-#include <gr_math.h>
+#include <gnuradio/io_signature.h>
+#include <gnuradio/math.h>
namespace gr {
namespace analog {
@@ -43,9 +43,9 @@ namespace gr {
fmdet_cf_impl::fmdet_cf_impl(float samplerate, float freq_low,
float freq_high, float scl)
- : gr_sync_block("fmdet_cf",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(float))),
+ : sync_block("fmdet_cf",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(float))),
d_S1(0.1), d_S2(0.1),
d_S3(0.1), d_S4(0.1)
{
diff --git a/gr-analog/lib/fmdet_cf_impl.h b/gr-analog/lib/fmdet_cf_impl.h
index 01fce09dd2..921e20ec78 100644
--- a/gr-analog/lib/fmdet_cf_impl.h
+++ b/gr-analog/lib/fmdet_cf_impl.h
@@ -23,9 +23,9 @@
#ifndef INCLUDED_ANALOG_FMDET_CF_IMPL_H
#define INCLUDED_ANALOG_FMDET_CF_IMPL_H
-#include <analog/fmdet_cf.h>
-//#include <filter/fir_filter.h>
-#include <gr_sync_block.h>
+#include <gnuradio/analog/fmdet_cf.h>
+//#include <gnuradio/filter/fir_filter.h>
+#include <gnuradio/sync_block.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/frequency_modulator_fc_impl.cc b/gr-analog/lib/frequency_modulator_fc_impl.cc
index 2da7ee15f1..9fb741690b 100644
--- a/gr-analog/lib/frequency_modulator_fc_impl.cc
+++ b/gr-analog/lib/frequency_modulator_fc_impl.cc
@@ -25,8 +25,8 @@
#endif
#include "frequency_modulator_fc_impl.h"
-#include <gr_io_signature.h>
-#include <gr_fxpt.h>
+#include <gnuradio/io_signature.h>
+#include <gnuradio/fxpt.h>
#include <math.h>
#include <boost/math/special_functions/trunc.hpp>
@@ -41,9 +41,9 @@ namespace gr {
}
frequency_modulator_fc_impl::frequency_modulator_fc_impl(double sensitivity)
- : gr_sync_block("frequency_modulator_fc",
- gr_make_io_signature(1, 1, sizeof(float)),
- gr_make_io_signature(1, 1, sizeof(gr_complex))),
+ : sync_block("frequency_modulator_fc",
+ io_signature::make(1, 1, sizeof(float)),
+ io_signature::make(1, 1, sizeof(gr_complex))),
d_sensitivity(sensitivity), d_phase(0)
{
}
@@ -70,8 +70,8 @@ namespace gr {
float oi, oq;
- gr_int32 angle = gr_fxpt::float_to_fixed (d_phase);
- gr_fxpt::sincos(angle, &oq, &oi);
+ gr_int32 angle = gr::fxpt::float_to_fixed (d_phase);
+ gr::fxpt::sincos(angle, &oq, &oi);
out[i] = gr_complex(oi, oq);
}
diff --git a/gr-analog/lib/frequency_modulator_fc_impl.h b/gr-analog/lib/frequency_modulator_fc_impl.h
index 36512f5164..cdd3562e09 100644
--- a/gr-analog/lib/frequency_modulator_fc_impl.h
+++ b/gr-analog/lib/frequency_modulator_fc_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_FREQUENCY_MODULATOR_FC_IMPL_H
#define INCLUDED_ANALOG_FREQUENCY_MODULATOR_FC_IMPL_H
-#include <analog/frequency_modulator_fc.h>
+#include <gnuradio/analog/frequency_modulator_fc.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/noise_source_X_impl.cc.t b/gr-analog/lib/noise_source_X_impl.cc.t
index 7f371b2cfd..5d09647848 100644
--- a/gr-analog/lib/noise_source_X_impl.cc.t
+++ b/gr-analog/lib/noise_source_X_impl.cc.t
@@ -27,7 +27,7 @@
#endif
#include "@IMPL_NAME@.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <stdexcept>
namespace gr {
@@ -41,9 +41,9 @@ namespace gr {
}
@IMPL_NAME@::@IMPL_NAME@(noise_type_t type, float ampl, long seed)
- : gr_sync_block("@BASE_NAME@",
- gr_make_io_signature(0, 0, 0),
- gr_make_io_signature(1, 1, sizeof(@TYPE@))),
+ : sync_block("@BASE_NAME@",
+ io_signature::make(0, 0, 0),
+ io_signature::make(1, 1, sizeof(@TYPE@))),
d_type(type),
d_ampl(ampl),
d_rng(seed)
diff --git a/gr-analog/lib/noise_source_X_impl.h.t b/gr-analog/lib/noise_source_X_impl.h.t
index 3a0e8d6d7c..cd7a3e1636 100644
--- a/gr-analog/lib/noise_source_X_impl.h.t
+++ b/gr-analog/lib/noise_source_X_impl.h.t
@@ -25,8 +25,8 @@
#ifndef @GUARD_NAME@
#define @GUARD_NAME@
-#include <analog/@BASE_NAME@.h>
-#include <gr_random.h>
+#include <gnuradio/analog/@BASE_NAME@.h>
+#include <gnuradio/random.h>
namespace gr {
namespace analog {
@@ -35,7 +35,7 @@ namespace gr {
{
noise_type_t d_type;
float d_ampl;
- gr_random d_rng;
+ gr::random d_rng;
public:
@IMPL_NAME@(noise_type_t type, float ampl, long seed = 0);
diff --git a/gr-analog/lib/phase_modulator_fc_impl.cc b/gr-analog/lib/phase_modulator_fc_impl.cc
index 9e9e73f8ce..9dc010dd5b 100644
--- a/gr-analog/lib/phase_modulator_fc_impl.cc
+++ b/gr-analog/lib/phase_modulator_fc_impl.cc
@@ -25,8 +25,8 @@
#endif
#include "phase_modulator_fc_impl.h"
-#include <gr_io_signature.h>
-#include <gr_sincos.h>
+#include <gnuradio/io_signature.h>
+#include <gnuradio/sincos.h>
#include <math.h>
namespace gr {
@@ -40,9 +40,9 @@ namespace gr {
}
phase_modulator_fc_impl::phase_modulator_fc_impl(double sensitivity)
- : gr_sync_block("phase_modulator_fc",
- gr_make_io_signature(1, 1, sizeof(float)),
- gr_make_io_signature(1, 1, sizeof(gr_complex))),
+ : sync_block("phase_modulator_fc",
+ io_signature::make(1, 1, sizeof(float)),
+ io_signature::make(1, 1, sizeof(gr_complex))),
d_sensitivity(sensitivity), d_phase(0)
{
}
@@ -62,7 +62,7 @@ namespace gr {
for(int i = 0; i < noutput_items; i++) {
d_phase = d_sensitivity * in[i];
float oi, oq;
- gr_sincosf(d_phase, &oq, &oi);
+ gr::sincosf(d_phase, &oq, &oi);
out[i] = gr_complex(oi, oq);
}
diff --git a/gr-analog/lib/phase_modulator_fc_impl.h b/gr-analog/lib/phase_modulator_fc_impl.h
index ac10bc891f..8b7c1df053 100644
--- a/gr-analog/lib/phase_modulator_fc_impl.h
+++ b/gr-analog/lib/phase_modulator_fc_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_PHASE_MODULATOR_FC_IMPL_H
#define INCLUDED_ANALOG_PHASE_MODULATOR_FC_IMPL_H
-#include <analog/phase_modulator_fc.h>
+#include <gnuradio/analog/phase_modulator_fc.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/pll_carriertracking_cc_impl.cc b/gr-analog/lib/pll_carriertracking_cc_impl.cc
index 9213a5e681..0cc3f8b8ec 100644
--- a/gr-analog/lib/pll_carriertracking_cc_impl.cc
+++ b/gr-analog/lib/pll_carriertracking_cc_impl.cc
@@ -25,10 +25,10 @@
#endif
#include "pll_carriertracking_cc_impl.h"
-#include <gr_io_signature.h>
-#include <gr_sincos.h>
+#include <gnuradio/io_signature.h>
+#include <gnuradio/sincos.h>
#include <math.h>
-#include <gr_math.h>
+#include <gnuradio/math.h>
namespace gr {
namespace analog {
@@ -47,9 +47,9 @@ namespace gr {
pll_carriertracking_cc_impl::pll_carriertracking_cc_impl(float loop_bw,
float max_freq,
float min_freq)
- : gr_sync_block("pll_carriertracking_cc",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(gr_complex))),
+ : sync_block("pll_carriertracking_cc",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(gr_complex))),
blocks::control_loop(loop_bw, max_freq, min_freq),
d_locksig(0), d_lock_threshold(0), d_squelch_enable(false)
{
@@ -75,7 +75,7 @@ namespace gr {
{
float sample_phase;
// sample_phase = atan2(sample.imag(),sample.real());
- sample_phase = gr_fast_atan2f(sample.imag(),sample.real());
+ sample_phase = gr::fast_atan2f(sample.imag(),sample.real());
return mod_2pi(sample_phase-ref_phase);
}
@@ -109,7 +109,7 @@ namespace gr {
float t_imag, t_real;
for(int i = 0; i < noutput_items; i++) {
- gr_sincosf(d_phase, &t_imag, &t_real);
+ gr::sincosf(d_phase, &t_imag, &t_real);
optr[i] = iptr[i] * gr_complex(t_real, -t_imag);
error = phase_detector(iptr[i], d_phase);
diff --git a/gr-analog/lib/pll_carriertracking_cc_impl.h b/gr-analog/lib/pll_carriertracking_cc_impl.h
index c809736709..49259f996e 100644
--- a/gr-analog/lib/pll_carriertracking_cc_impl.h
+++ b/gr-analog/lib/pll_carriertracking_cc_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_PLL_CARRIERTRACKING_CC_IMPL_H
#define INCLUDED_ANALOG_PLL_CARRIERTRACKING_CC_IMPL_H
-#include <analog/pll_carriertracking_cc.h>
+#include <gnuradio/analog/pll_carriertracking_cc.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/pll_freqdet_cf_impl.cc b/gr-analog/lib/pll_freqdet_cf_impl.cc
index 9e55d9bedb..42caa0bfd5 100644
--- a/gr-analog/lib/pll_freqdet_cf_impl.cc
+++ b/gr-analog/lib/pll_freqdet_cf_impl.cc
@@ -25,9 +25,9 @@
#endif
#include "pll_freqdet_cf_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <math.h>
-#include <gr_math.h>
+#include <gnuradio/math.h>
namespace gr {
namespace analog {
@@ -44,9 +44,9 @@ namespace gr {
}
pll_freqdet_cf_impl::pll_freqdet_cf_impl(float loop_bw, float max_freq, float min_freq)
- : gr_sync_block("pll_freqdet_cf",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(float))),
+ : sync_block("pll_freqdet_cf",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(float))),
blocks::control_loop(loop_bw, max_freq, min_freq)
{
}
@@ -70,7 +70,7 @@ namespace gr {
pll_freqdet_cf_impl::phase_detector(gr_complex sample, float ref_phase)
{
float sample_phase;
- sample_phase = gr_fast_atan2f(sample.imag(), sample.real());
+ sample_phase = gr::fast_atan2f(sample.imag(), sample.real());
return mod_2pi(sample_phase - ref_phase);
}
diff --git a/gr-analog/lib/pll_freqdet_cf_impl.h b/gr-analog/lib/pll_freqdet_cf_impl.h
index 3170d819b6..646b0609c0 100644
--- a/gr-analog/lib/pll_freqdet_cf_impl.h
+++ b/gr-analog/lib/pll_freqdet_cf_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_PLL_FREQDET_CF_IMPL_H
#define INCLUDED_ANALOG_PLL_FREQDET_CF_IMPL_H
-#include <analog/pll_freqdet_cf.h>
+#include <gnuradio/analog/pll_freqdet_cf.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/pll_refout_cc_impl.cc b/gr-analog/lib/pll_refout_cc_impl.cc
index 3f0ccc7df5..157961318a 100644
--- a/gr-analog/lib/pll_refout_cc_impl.cc
+++ b/gr-analog/lib/pll_refout_cc_impl.cc
@@ -25,10 +25,10 @@
#endif
#include "pll_refout_cc_impl.h"
-#include <gr_io_signature.h>
-#include <gr_sincos.h>
+#include <gnuradio/io_signature.h>
+#include <gnuradio/sincos.h>
#include <math.h>
-#include <gr_math.h>
+#include <gnuradio/math.h>
namespace gr {
namespace analog {
@@ -45,9 +45,9 @@ namespace gr {
}
pll_refout_cc_impl::pll_refout_cc_impl(float loop_bw, float max_freq, float min_freq)
- : gr_sync_block("pll_refout_cc",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(gr_complex))),
+ : sync_block("pll_refout_cc",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(gr_complex))),
blocks::control_loop(loop_bw, max_freq, min_freq)
{
}
@@ -71,7 +71,7 @@ namespace gr {
pll_refout_cc_impl::phase_detector(gr_complex sample,float ref_phase)
{
float sample_phase;
- sample_phase = gr_fast_atan2f(sample.imag(),sample.real());
+ sample_phase = gr::fast_atan2f(sample.imag(),sample.real());
return mod_2pi(sample_phase-ref_phase);
}
@@ -88,7 +88,7 @@ namespace gr {
int size = noutput_items;
while(size-- > 0) {
- gr_sincosf(d_phase,&t_imag,&t_real);
+ gr::sincosf(d_phase,&t_imag,&t_real);
*optr++ = gr_complex(t_real,t_imag);
error = phase_detector(*iptr++,d_phase);
diff --git a/gr-analog/lib/pll_refout_cc_impl.h b/gr-analog/lib/pll_refout_cc_impl.h
index 1734b6e138..1a7e3d5066 100644
--- a/gr-analog/lib/pll_refout_cc_impl.h
+++ b/gr-analog/lib/pll_refout_cc_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_PLL_REFOUT_CC_IMPL_H
#define INCLUDED_ANALOG_PLL_REFOUT_CC_IMPL_H
-#include <analog/pll_refout_cc.h>
+#include <gnuradio/analog/pll_refout_cc.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/probe_avg_mag_sqrd_c_impl.cc b/gr-analog/lib/probe_avg_mag_sqrd_c_impl.cc
index 291809bb24..78e0c842ed 100644
--- a/gr-analog/lib/probe_avg_mag_sqrd_c_impl.cc
+++ b/gr-analog/lib/probe_avg_mag_sqrd_c_impl.cc
@@ -25,7 +25,7 @@
#endif
#include "probe_avg_mag_sqrd_c_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <cmath>
namespace gr {
@@ -39,9 +39,9 @@ namespace gr {
}
probe_avg_mag_sqrd_c_impl::probe_avg_mag_sqrd_c_impl(double threshold_db, double alpha)
- : gr_sync_block("probe_avg_mag_sqrd_c",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(0, 0, 0)),
+ : sync_block("probe_avg_mag_sqrd_c",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(0, 0, 0)),
d_unmuted(false), d_level(0), d_iir(alpha)
{
set_threshold(threshold_db);
diff --git a/gr-analog/lib/probe_avg_mag_sqrd_c_impl.h b/gr-analog/lib/probe_avg_mag_sqrd_c_impl.h
index 0a2685357a..cddb9a7234 100644
--- a/gr-analog/lib/probe_avg_mag_sqrd_c_impl.h
+++ b/gr-analog/lib/probe_avg_mag_sqrd_c_impl.h
@@ -23,8 +23,8 @@
#ifndef INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_C_IMPL_H
#define INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_C_IMPL_H
-#include <analog/probe_avg_mag_sqrd_c.h>
-#include <filter/single_pole_iir.h>
+#include <gnuradio/analog/probe_avg_mag_sqrd_c.h>
+#include <gnuradio/filter/single_pole_iir.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/probe_avg_mag_sqrd_cf_impl.cc b/gr-analog/lib/probe_avg_mag_sqrd_cf_impl.cc
index ceaf5dbf01..76d54880d4 100644
--- a/gr-analog/lib/probe_avg_mag_sqrd_cf_impl.cc
+++ b/gr-analog/lib/probe_avg_mag_sqrd_cf_impl.cc
@@ -25,7 +25,7 @@
#endif
#include "probe_avg_mag_sqrd_cf_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <cmath>
namespace gr {
@@ -39,9 +39,9 @@ namespace gr {
}
probe_avg_mag_sqrd_cf_impl::probe_avg_mag_sqrd_cf_impl(double threshold_db, double alpha)
- : gr_sync_block("probe_avg_mag_sqrd_cf",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(float))),
+ : sync_block("probe_avg_mag_sqrd_cf",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(float))),
d_unmuted(false), d_level(0), d_iir(alpha)
{
set_threshold(threshold_db);
diff --git a/gr-analog/lib/probe_avg_mag_sqrd_cf_impl.h b/gr-analog/lib/probe_avg_mag_sqrd_cf_impl.h
index 9cd8f8d4c3..359f7f8d53 100644
--- a/gr-analog/lib/probe_avg_mag_sqrd_cf_impl.h
+++ b/gr-analog/lib/probe_avg_mag_sqrd_cf_impl.h
@@ -23,8 +23,8 @@
#ifndef INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_CF_IMPL_H
#define INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_CF_IMPL_H
-#include <analog/probe_avg_mag_sqrd_cf.h>
-#include <filter/single_pole_iir.h>
+#include <gnuradio/analog/probe_avg_mag_sqrd_cf.h>
+#include <gnuradio/filter/single_pole_iir.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/probe_avg_mag_sqrd_f_impl.cc b/gr-analog/lib/probe_avg_mag_sqrd_f_impl.cc
index 4ac7ef06bd..505a24a5e9 100644
--- a/gr-analog/lib/probe_avg_mag_sqrd_f_impl.cc
+++ b/gr-analog/lib/probe_avg_mag_sqrd_f_impl.cc
@@ -25,7 +25,7 @@
#endif
#include "probe_avg_mag_sqrd_f_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <cmath>
namespace gr {
@@ -39,9 +39,9 @@ namespace gr {
}
probe_avg_mag_sqrd_f_impl::probe_avg_mag_sqrd_f_impl(double threshold_db, double alpha)
- : gr_sync_block("probe_avg_mag_sqrd_f",
- gr_make_io_signature(1, 1, sizeof(float)),
- gr_make_io_signature(0, 0, 0)),
+ : sync_block("probe_avg_mag_sqrd_f",
+ io_signature::make(1, 1, sizeof(float)),
+ io_signature::make(0, 0, 0)),
d_unmuted(false), d_level(0), d_iir(alpha)
{
set_threshold(threshold_db);
diff --git a/gr-analog/lib/probe_avg_mag_sqrd_f_impl.h b/gr-analog/lib/probe_avg_mag_sqrd_f_impl.h
index ba879763c2..bdccfc7b3a 100644
--- a/gr-analog/lib/probe_avg_mag_sqrd_f_impl.h
+++ b/gr-analog/lib/probe_avg_mag_sqrd_f_impl.h
@@ -23,8 +23,8 @@
#ifndef INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_F_IMPL_H
#define INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_F_IMPL_H
-#include <analog/probe_avg_mag_sqrd_f.h>
-#include <filter/single_pole_iir.h>
+#include <gnuradio/analog/probe_avg_mag_sqrd_f.h>
+#include <gnuradio/filter/single_pole_iir.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/pwr_squelch_cc_impl.cc b/gr-analog/lib/pwr_squelch_cc_impl.cc
index 1bfba6846f..44fd5dc668 100644
--- a/gr-analog/lib/pwr_squelch_cc_impl.cc
+++ b/gr-analog/lib/pwr_squelch_cc_impl.cc
@@ -39,9 +39,9 @@ namespace gr {
pwr_squelch_cc_impl::pwr_squelch_cc_impl(double threshold, double alpha,
int ramp, bool gate)
- : gr_block("pwr_squelch_cc",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(gr_complex))),
+ : block("pwr_squelch_cc",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(gr_complex))),
squelch_base_cc_impl("pwr_squelch_cc", ramp, gate),
d_iir(alpha)
{
diff --git a/gr-analog/lib/pwr_squelch_cc_impl.h b/gr-analog/lib/pwr_squelch_cc_impl.h
index 72df0f3d2d..1fd2bc8a71 100644
--- a/gr-analog/lib/pwr_squelch_cc_impl.h
+++ b/gr-analog/lib/pwr_squelch_cc_impl.h
@@ -23,9 +23,9 @@
#ifndef INCLUDED_ANALOG_PWR_SQUELCH_CC_IMPL_H
#define INCLUDED_ANALOG_PWR_SQUELCH_CC_IMPL_H
-#include <analog/pwr_squelch_cc.h>
+#include <gnuradio/analog/pwr_squelch_cc.h>
#include "squelch_base_cc_impl.h"
-#include <filter/single_pole_iir.h>
+#include <gnuradio/filter/single_pole_iir.h>
#include <cmath>
namespace gr {
diff --git a/gr-analog/lib/pwr_squelch_ff_impl.cc b/gr-analog/lib/pwr_squelch_ff_impl.cc
index c6bb6af903..812011bbb5 100644
--- a/gr-analog/lib/pwr_squelch_ff_impl.cc
+++ b/gr-analog/lib/pwr_squelch_ff_impl.cc
@@ -39,9 +39,9 @@ namespace gr {
pwr_squelch_ff_impl::pwr_squelch_ff_impl(double threshold, double alpha,
int ramp, bool gate)
- : gr_block("pwr_squelch_ff",
- gr_make_io_signature(1, 1, sizeof(float)),
- gr_make_io_signature(1, 1, sizeof(float))),
+ : block("pwr_squelch_ff",
+ io_signature::make(1, 1, sizeof(float)),
+ io_signature::make(1, 1, sizeof(float))),
squelch_base_ff_impl("pwr_squelch_ff", ramp, gate),
d_iir(alpha)
{
diff --git a/gr-analog/lib/pwr_squelch_ff_impl.h b/gr-analog/lib/pwr_squelch_ff_impl.h
index 96d959b4dd..022f97c16c 100644
--- a/gr-analog/lib/pwr_squelch_ff_impl.h
+++ b/gr-analog/lib/pwr_squelch_ff_impl.h
@@ -23,9 +23,9 @@
#ifndef INCLUDED_ANALOG_PWR_SQUELCH_FF_IMPL_H
#define INCLUDED_ANALOG_PWR_SQUELCH_FF_IMPL_H
-#include <analog/pwr_squelch_ff.h>
+#include <gnuradio/analog/pwr_squelch_ff.h>
#include "squelch_base_ff_impl.h"
-#include <filter/single_pole_iir.h>
+#include <gnuradio/filter/single_pole_iir.h>
#include <cmath>
namespace gr {
diff --git a/gr-analog/lib/qa_analog.h b/gr-analog/lib/qa_analog.h
index b66b62b5fe..cdb5c78b94 100644
--- a/gr-analog/lib/qa_analog.h
+++ b/gr-analog/lib/qa_analog.h
@@ -23,7 +23,7 @@
#ifndef _QA_GR_ANALOG_H_
#define _QA_GR_ANALOG_H_
-#include <attributes.h>
+#include <gnuradio/attributes.h>
#include <cppunit/TestSuite.h>
//! collect all the tests for the gr-analog directory
diff --git a/gr-analog/lib/quadrature_demod_cf_impl.cc b/gr-analog/lib/quadrature_demod_cf_impl.cc
index 9490ba6bed..583de4dba4 100644
--- a/gr-analog/lib/quadrature_demod_cf_impl.cc
+++ b/gr-analog/lib/quadrature_demod_cf_impl.cc
@@ -25,8 +25,8 @@
#endif
#include "quadrature_demod_cf_impl.h"
-#include <gr_io_signature.h>
-#include <gr_math.h>
+#include <gnuradio/io_signature.h>
+#include <gnuradio/math.h>
namespace gr {
namespace analog {
@@ -39,9 +39,9 @@ namespace gr {
}
quadrature_demod_cf_impl::quadrature_demod_cf_impl(float gain)
- : gr_sync_block("quadrature_demod_cf",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(float))),
+ : sync_block("quadrature_demod_cf",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(float))),
d_gain(gain)
{
set_history(2); // we need to look at the previous value
@@ -62,7 +62,7 @@ namespace gr {
for(int i = 0; i < noutput_items; i++) {
gr_complex product = in[i] * conj(in[i-1]);
- out[i] = d_gain * gr_fast_atan2f(imag(product), real(product));
+ out[i] = d_gain * gr::fast_atan2f(imag(product), real(product));
}
return noutput_items;
diff --git a/gr-analog/lib/quadrature_demod_cf_impl.h b/gr-analog/lib/quadrature_demod_cf_impl.h
index 72beb23316..2b505c3c55 100644
--- a/gr-analog/lib/quadrature_demod_cf_impl.h
+++ b/gr-analog/lib/quadrature_demod_cf_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_QUADRATURE_DEMOD_CF_IMPL_H
#define INCLUDED_ANALOG_QUADRATURE_DEMOD_CF_IMPL_H
-#include <analog/quadrature_demod_cf.h>
+#include <gnuradio/analog/quadrature_demod_cf.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/rail_ff_impl.cc b/gr-analog/lib/rail_ff_impl.cc
index 106c6353ae..a0e4f7cccd 100644
--- a/gr-analog/lib/rail_ff_impl.cc
+++ b/gr-analog/lib/rail_ff_impl.cc
@@ -25,8 +25,8 @@
#endif
#include "rail_ff_impl.h"
-#include <gr_io_signature.h>
-#include <gr_math.h>
+#include <gnuradio/io_signature.h>
+#include <gnuradio/math.h>
namespace gr {
namespace analog {
@@ -39,9 +39,9 @@ namespace gr {
}
rail_ff_impl::rail_ff_impl(float lo, float hi)
- : gr_sync_block("rail_ff",
- gr_make_io_signature(1, 1, sizeof(float)),
- gr_make_io_signature(1, 1, sizeof(float))),
+ : sync_block("rail_ff",
+ io_signature::make(1, 1, sizeof(float)),
+ io_signature::make(1, 1, sizeof(float))),
d_lo(lo), d_hi(hi)
{
set_clipping();
@@ -81,7 +81,7 @@ namespace gr {
float *out = (float*)output_items[0];
for(int i = 0; i < noutput_items; i++) {
- out[i] = d_mid + gr_branchless_clip(in[i] - d_mid, d_clip);
+ out[i] = d_mid + gr::branchless_clip(in[i] - d_mid, d_clip);
}
return noutput_items;
diff --git a/gr-analog/lib/rail_ff_impl.h b/gr-analog/lib/rail_ff_impl.h
index 436b10b412..3617d097d9 100644
--- a/gr-analog/lib/rail_ff_impl.h
+++ b/gr-analog/lib/rail_ff_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_ANALOG_RAIL_FF_IMPL_H
#define INCLUDED_ANALOG_RAIL_FF_IMPL_H
-#include <analog/rail_ff.h>
+#include <gnuradio/analog/rail_ff.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/sig_source_X_impl.cc.t b/gr-analog/lib/sig_source_X_impl.cc.t
index ad8b7e4b0c..c9e99f015a 100644
--- a/gr-analog/lib/sig_source_X_impl.cc.t
+++ b/gr-analog/lib/sig_source_X_impl.cc.t
@@ -28,10 +28,10 @@
#include "@IMPL_NAME@.h"
#include <algorithm>
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <stdexcept>
#include <algorithm>
-#include <gr_complex.h>
+#include <gnuradio/gr_complex.h>
namespace gr {
namespace analog {
@@ -46,9 +46,9 @@ namespace gr {
@IMPL_NAME@::@IMPL_NAME@(double sampling_freq, gr_waveform_t waveform,
double frequency, double ampl, @TYPE@ offset)
- : gr_sync_block("@BASE_NAME@",
- gr_make_io_signature(0, 0, 0),
- gr_make_io_signature(1, 1, sizeof(@TYPE@))),
+ : sync_block("@BASE_NAME@",
+ io_signature::make(0, 0, 0),
+ io_signature::make(1, 1, sizeof(@TYPE@))),
d_sampling_freq(sampling_freq), d_waveform(waveform),
d_frequency(frequency), d_ampl(ampl), d_offset(offset)
{
diff --git a/gr-analog/lib/sig_source_X_impl.h.t b/gr-analog/lib/sig_source_X_impl.h.t
index 50f1791270..930a810a67 100644
--- a/gr-analog/lib/sig_source_X_impl.h.t
+++ b/gr-analog/lib/sig_source_X_impl.h.t
@@ -25,9 +25,9 @@
#ifndef @GUARD_NAME@
#define @GUARD_NAME@
-#include <analog/@BASE_NAME@.h>
-#include <gr_sync_block.h>
-#include <gr_fxpt_nco.h>
+#include <gnuradio/analog/@BASE_NAME@.h>
+#include <gnuradio/sync_block.h>
+#include <gnuradio/fxpt_nco.h>
namespace gr {
namespace analog {
@@ -40,7 +40,7 @@ namespace gr {
double d_frequency;
double d_ampl;
@TYPE@ d_offset;
- gr_fxpt_nco d_nco;
+ gr::fxpt_nco d_nco;
public:
@IMPL_NAME@(double sampling_freq, gr_waveform_t waveform,
diff --git a/gr-analog/lib/simple_squelch_cc_impl.cc b/gr-analog/lib/simple_squelch_cc_impl.cc
index 02ccc535da..edaf8de9ce 100644
--- a/gr-analog/lib/simple_squelch_cc_impl.cc
+++ b/gr-analog/lib/simple_squelch_cc_impl.cc
@@ -25,7 +25,7 @@
#endif
#include "simple_squelch_cc_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <cmath>
namespace gr {
@@ -39,9 +39,9 @@ namespace gr {
}
simple_squelch_cc_impl::simple_squelch_cc_impl(double threshold_db, double alpha)
- : gr_sync_block("simple_squelch_cc",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(gr_complex))),
+ : sync_block("simple_squelch_cc",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(gr_complex))),
d_unmuted(false), d_iir(alpha)
{
set_threshold(threshold_db);
diff --git a/gr-analog/lib/simple_squelch_cc_impl.h b/gr-analog/lib/simple_squelch_cc_impl.h
index ba11de91e7..d1a923a296 100644
--- a/gr-analog/lib/simple_squelch_cc_impl.h
+++ b/gr-analog/lib/simple_squelch_cc_impl.h
@@ -23,8 +23,8 @@
#ifndef INCLUDED_ANALOG_SIMPLE_SQUELCH_CC_IMPL_H
#define INCLUDED_ANALOG_SIMPLE_SQUELCH_CC_IMPL_H
-#include <analog/simple_squelch_cc.h>
-#include <filter/single_pole_iir.h>
+#include <gnuradio/analog/simple_squelch_cc.h>
+#include <gnuradio/filter/single_pole_iir.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/squelch_base_cc_impl.cc b/gr-analog/lib/squelch_base_cc_impl.cc
index cba7b30dba..73be18349d 100644
--- a/gr-analog/lib/squelch_base_cc_impl.cc
+++ b/gr-analog/lib/squelch_base_cc_impl.cc
@@ -25,15 +25,15 @@
#endif
#include "squelch_base_cc_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
namespace gr {
namespace analog {
squelch_base_cc_impl::squelch_base_cc_impl(const char *name, int ramp, bool gate)
- : gr_block(name,
- gr_make_io_signature(1, 1, sizeof(float)),
- gr_make_io_signature(1, 1, sizeof(float)))
+ : block(name,
+ io_signature::make(1, 1, sizeof(float)),
+ io_signature::make(1, 1, sizeof(float)))
{
set_ramp(ramp);
set_gate(gate);
diff --git a/gr-analog/lib/squelch_base_cc_impl.h b/gr-analog/lib/squelch_base_cc_impl.h
index 19dccaa101..58802df91c 100644
--- a/gr-analog/lib/squelch_base_cc_impl.h
+++ b/gr-analog/lib/squelch_base_cc_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_GR_SQUELCH_BASE_CC_IMPL_H
#define INCLUDED_GR_SQUELCH_BASE_CC_IMPL_H
-#include <analog/squelch_base_cc.h>
+#include <gnuradio/analog/squelch_base_cc.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/squelch_base_ff_impl.cc b/gr-analog/lib/squelch_base_ff_impl.cc
index f9f07d36da..2fb0e64301 100644
--- a/gr-analog/lib/squelch_base_ff_impl.cc
+++ b/gr-analog/lib/squelch_base_ff_impl.cc
@@ -25,15 +25,15 @@
#endif
#include "squelch_base_ff_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
namespace gr {
namespace analog {
squelch_base_ff_impl::squelch_base_ff_impl(const char *name, int ramp, bool gate)
- : gr_block(name,
- gr_make_io_signature(1, 1, sizeof(float)),
- gr_make_io_signature(1, 1, sizeof(float)))
+ : block(name,
+ io_signature::make(1, 1, sizeof(float)),
+ io_signature::make(1, 1, sizeof(float)))
{
set_ramp(ramp);
set_gate(gate);
diff --git a/gr-analog/lib/squelch_base_ff_impl.h b/gr-analog/lib/squelch_base_ff_impl.h
index 22659be746..343dc5f610 100644
--- a/gr-analog/lib/squelch_base_ff_impl.h
+++ b/gr-analog/lib/squelch_base_ff_impl.h
@@ -23,7 +23,7 @@
#ifndef INCLUDED_GR_SQUELCH_BASE_FF_IMPL_H
#define INCLUDED_GR_SQUELCH_BASE_FF_IMPL_H
-#include <analog/squelch_base_ff.h>
+#include <gnuradio/analog/squelch_base_ff.h>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/test_gr_analog.cc b/gr-analog/lib/test_gr_analog.cc
index 95ee3aa8cb..e621f9d395 100644
--- a/gr-analog/lib/test_gr_analog.cc
+++ b/gr-analog/lib/test_gr_analog.cc
@@ -27,7 +27,7 @@
#include <cppunit/TextTestRunner.h>
#include <cppunit/XmlOutputter.h>
-#include <gr_unittests.h>
+#include <gnuradio/unittests.h>
#include "qa_analog.h"
#include <iostream>