summaryrefslogtreecommitdiff
path: root/gr-fcd/swig/fcd_source_c.i
diff options
context:
space:
mode:
authorTom Rondeau2012-03-27 21:46:48 -0400
committerTom Rondeau2012-03-27 21:46:48 -0400
commit8bfb47dd8fb661039bdfdc475047e6f983f11270 (patch)
tree448402699fabea713d3f54b35e7733617d273ab3 /gr-fcd/swig/fcd_source_c.i
parentda09d2b000606b55f564bc6adaa945968d6c3e72 (diff)
parent79e341d9064b8e44c2d1900cb34ddb51deebb559 (diff)
downloadgnuradio-8bfb47dd8fb661039bdfdc475047e6f983f11270.tar.gz
gnuradio-8bfb47dd8fb661039bdfdc475047e6f983f11270.tar.bz2
gnuradio-8bfb47dd8fb661039bdfdc475047e6f983f11270.zip
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to 'gr-fcd/swig/fcd_source_c.i')
-rw-r--r--gr-fcd/swig/fcd_source_c.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/gr-fcd/swig/fcd_source_c.i b/gr-fcd/swig/fcd_source_c.i
new file mode 100644
index 000000000..3438ab74d
--- /dev/null
+++ b/gr-fcd/swig/fcd_source_c.i
@@ -0,0 +1,21 @@
+/*
+ * First arg is the package prefix.
+ * Second arg is the name of the class minus the prefix.
+ *
+ * This does some behind-the-scenes magic so we can
+ * access fcd_source_c from python as fcd.source_c
+ */
+GR_SWIG_BLOCK_MAGIC(fcd,source_c);
+
+fcd_source_c_sptr fcd_make_source_c (const std::string device_name = "");
+
+class fcd_source_c : public gr_hier_block2
+{
+public:
+ void set_freq(float freq);
+ void set_freq_khz(int freq);
+ void set_lna_gain(float gain);
+ void set_freq_corr(int ppm);
+ void set_dc_corr(double dci, double dcq);
+ void set_iq_corr(double gain, double phase);
+};