GNU Radio 3.6.5 C++ API
|
00001 /* 00002 * Copyright 2006 Free Software Foundation, Inc. 00003 * 00004 * This file is part of GNU Radio 00005 * 00006 * GNU Radio is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 3, or (at your option) 00009 * any later version. 00010 * 00011 * GNU Radio is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with GNU Radio; see the file COPYING. If not, write to 00018 * the Free Software Foundation, Inc., 51 Franklin Street, 00019 * Boston, MA 02110-1301, USA. 00020 */ 00021 00022 #ifndef INCLUDED_PAGER_FLEX_DEINTERLEAVE_H 00023 #define INCLUDED_PAGER_FLEX_DEINTERLEAVE_H 00024 00025 #include <pager_api.h> 00026 #include <gr_sync_decimator.h> 00027 00028 class pager_flex_deinterleave; 00029 typedef boost::shared_ptr<pager_flex_deinterleave> pager_flex_deinterleave_sptr; 00030 00031 PAGER_API pager_flex_deinterleave_sptr pager_make_flex_deinterleave(); 00032 00033 /*! 00034 * \brief flex deinterleave description 00035 * \ingroup pager_blk 00036 */ 00037 class PAGER_API pager_flex_deinterleave : public gr_sync_decimator 00038 { 00039 private: 00040 // Constructors 00041 friend PAGER_API pager_flex_deinterleave_sptr pager_make_flex_deinterleave(); 00042 pager_flex_deinterleave(); 00043 00044 // One FLEX block of deinterleaved data 00045 gr_int32 d_codewords[8]; 00046 00047 public: 00048 00049 int work(int noutput_items, 00050 gr_vector_const_void_star &input_items, 00051 gr_vector_void_star &output_items); 00052 }; 00053 00054 #endif /* INCLUDED_PAGER_FLEX_DEINTERLEAVE_H */