howto_interp_scrambler_cc.h

「howto_interp_scrambler_cc.h」の編集履歴(バックアップ)一覧はこちら

howto_interp_scrambler_cc.h」(2011/06/20 (月) 22:39:59) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

/* -*- c++ -*- */ /* * Copyright 2004 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. */ /* * WARNING: This file is automatically generated by generate_gr_fir_filter_XXX.py * Any changes made to this file will be overwritten. */ #ifndef INCLUDED_HOWTO_INTERP_SCRAMBLER_CC_H #define INCLUDED_HOWTO_INTERP_SCRAMBLER_CC_H #include <gr_sync_interpolator.h> #include "gri_float_lfsr.h" class howto_interp_scrambler_cc; typedef boost::shared_ptr<howto_interp_scrambler_cc> howto_interp_scrambler_cc_sptr; howto_interp_scrambler_cc_sptr howto_make_interp_scrambler_cc (unsigned interpolation, int mask, int seed, int len); /*! * Scramble an input stream using an LFSR. This block works on the LSB only * of the input data stream, i.e., on an "unpacked binary" stream, and * produces the same format on its output. * * \param mask Polynomial mask for LFSR * \param seed Initial shift register contents * \param len Shift register length * * \ingroup coding_blk */ class howto_interp_scrambler_cc : public gr_sync_interpolator { private: friend howto_interp_scrambler_cc_sptr howto_make_interp_scrambler_cc (unsigned interpolation, int mask, int seed, int len); gri_float_lfsr d_lfsr; howto_interp_scrambler_cc(unsigned interpolation, int mask, int seed, int len); public: //~howto_interp_scrambler_cc (); int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); }; #endif ----
/*! * Scramble an input stream using an LFSR. This block works on the LSB only * of the input data stream, i.e., on an "unpacked binary" stream, and * produces the same format on its output. * \interpolation 拡散符号の周期 * \param mask Polynomial mask for LFSR * \param seed Initial shift register contents * \param len Shift register length * * \ingroup coding_blk */ class howto_interp_scrambler_cc : public gr_sync_interpolator { private: friend howto_interp_scrambler_cc_sptr howto_make_interp_scrambler_cc (unsigned interpolation, int mask, int seed, int len); gri_float_lfsr d_lfsr; howto_interp_scrambler_cc(unsigned interpolation, int mask, int seed, int len); public: //~howto_interp_scrambler_cc (); int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); }; #endif ----

表示オプション

横に並べて表示:
変化行の前後のみ表示: