diff options
author | Johnathan Corgan <jcorgan@corganenterprises.com> | 2009-09-20 19:32:30 -0700 |
---|---|---|
committer | Johnathan Corgan <jcorgan@corganenterprises.com> | 2009-09-20 19:32:30 -0700 |
commit | f8fcb642dabca11870886c53dfdff66c86774db0 (patch) | |
tree | 012cd20603f4e38f5e50b41f08eac578d1ec7480 /gr-noaa/swig | |
parent | 789435387ab3a886cd33304f4f47d60456765b70 (diff) |
Added skeleton HRPT decoder block
Diffstat (limited to 'gr-noaa/swig')
-rw-r--r-- | gr-noaa/swig/Makefile.am | 1 | ||||
-rw-r--r-- | gr-noaa/swig/noaa_hrpt_decoder.i | 32 | ||||
-rw-r--r-- | gr-noaa/swig/noaa_hrpt_deframer.i | 2 | ||||
-rw-r--r-- | gr-noaa/swig/noaa_swig.i | 2 |
4 files changed, 36 insertions, 1 deletions
diff --git a/gr-noaa/swig/Makefile.am b/gr-noaa/swig/Makefile.am index 98311eb7bf..cd7686e212 100644 --- a/gr-noaa/swig/Makefile.am +++ b/gr-noaa/swig/Makefile.am @@ -53,6 +53,7 @@ noaa_swig_python = \ # additional SWIG files to be installed noaa_swig_swiginclude_headers = \ noaa_swig.i \ + noaa_hrpt_decoder.i \ noaa_hrpt_deframer.i \ noaa_hrpt_pll_cf.i \ noaa_hrpt_sync_fb.i diff --git a/gr-noaa/swig/noaa_hrpt_decoder.i b/gr-noaa/swig/noaa_hrpt_decoder.i new file mode 100644 index 0000000000..ddf181c280 --- /dev/null +++ b/gr-noaa/swig/noaa_hrpt_decoder.i @@ -0,0 +1,32 @@ +/* -*- c++ -*- */ +/* + * Copyright 2009 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * GNU Radio is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3, or (at your option) + * any later version. + * + * GNU Radio is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Radio; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + */ + +GR_SWIG_BLOCK_MAGIC(noaa,hrpt_decoder) + +noaa_hrpt_decoder_sptr +noaa_make_hrpt_decoder(); + +class noaa_hrpt_decoder : public gr_sync_block +{ +private: + noaa_hrpt_decoder(); +}; diff --git a/gr-noaa/swig/noaa_hrpt_deframer.i b/gr-noaa/swig/noaa_hrpt_deframer.i index 73106d7262..6914b93e63 100644 --- a/gr-noaa/swig/noaa_hrpt_deframer.i +++ b/gr-noaa/swig/noaa_hrpt_deframer.i @@ -25,7 +25,7 @@ GR_SWIG_BLOCK_MAGIC(noaa,hrpt_deframer) noaa_hrpt_deframer_sptr noaa_make_hrpt_deframer(); -class noaa_hrpt_deframer : public gr_sync_block +class noaa_hrpt_deframer : public gr_block { private: noaa_hrpt_deframer(); diff --git a/gr-noaa/swig/noaa_swig.i b/gr-noaa/swig/noaa_swig.i index 44f2e47235..e6497bc468 100644 --- a/gr-noaa/swig/noaa_swig.i +++ b/gr-noaa/swig/noaa_swig.i @@ -23,11 +23,13 @@ %include "gnuradio.i" %{ +#include <noaa_hrpt_decoder.h> #include <noaa_hrpt_deframer.h> #include <noaa_hrpt_pll_cf.h> #include <noaa_hrpt_sync_fb.h> %} +%include "noaa_hrpt_decoder.i" %include "noaa_hrpt_deframer.i" %include "noaa_hrpt_pll_cf.i" %include "noaa_hrpt_sync_fb.i" |