diff options
author | Josh Blum | 2010-09-21 17:12:47 -0700 |
---|---|---|
committer | Josh Blum | 2010-09-21 17:12:47 -0700 |
commit | 385eafd8559b90a027604dd5c0ab734bea54f6d8 (patch) | |
tree | 4c7ab6c93573f21edc343b36f6483cc620d1e2bc /gr-uhd/swig | |
parent | 5c7cf9723b4ddd5f5b004a6cbd8e02b7d1356623 (diff) | |
download | gnuradio-385eafd8559b90a027604dd5c0ab734bea54f6d8.tar.gz gnuradio-385eafd8559b90a027604dd5c0ab734bea54f6d8.tar.bz2 gnuradio-385eafd8559b90a027604dd5c0ab734bea54f6d8.zip |
uhd: added grc and swig wrappers for single usrp
Diffstat (limited to 'gr-uhd/swig')
-rw-r--r-- | gr-uhd/swig/uhd_swig.i | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i index 34e140887..d755dfeee 100644 --- a/gr-uhd/swig/uhd_swig.i +++ b/gr-uhd/swig/uhd_swig.i @@ -21,12 +21,20 @@ */ %include "gnuradio.i" +%include "std_string.i" +%include "std_vector.i" + +namespace std { + %template(StringVector) vector<string>; +} %{ #include <uhd_mimo_source.h> #include <uhd_mimo_sink.h> #include <uhd_simple_source.h> #include <uhd_simple_sink.h> +#include <uhd_single_usrp_source.h> +#include <uhd_single_usrp_sink.h> %} %include <uhd/config.hpp> @@ -47,3 +55,9 @@ GR_SWIG_BLOCK_MAGIC(uhd,simple_source) GR_SWIG_BLOCK_MAGIC(uhd,simple_sink) %include <uhd_simple_sink.h> + +GR_SWIG_BLOCK_MAGIC(uhd,single_usrp_source) +%include <uhd_single_usrp_source.h> + +GR_SWIG_BLOCK_MAGIC(uhd,single_usrp_sink) +%include <uhd_single_usrp_sink.h> |