Statistics
| Branch: | Tag: | Revision:

root / gr-digital / swig / digital_ofdm_frame_sink.i @ 53f1d5ec

History | View | Annotate | Download (1.5 kB)

1 43819f0f jcorgan
/* -*- c++ -*- */
2 43819f0f jcorgan
/*
3 60b3bd32 Tom Rondeau
 * Copyright 2007,2011 Free Software Foundation, Inc.
4 43819f0f jcorgan
 * 
5 43819f0f jcorgan
 * This file is part of GNU Radio
6 43819f0f jcorgan
 * 
7 43819f0f jcorgan
 * GNU Radio is free software; you can redistribute it and/or modify
8 43819f0f jcorgan
 * it under the terms of the GNU General Public License as published by
9 937b719d eb
 * the Free Software Foundation; either version 3, or (at your option)
10 43819f0f jcorgan
 * any later version.
11 43819f0f jcorgan
 * 
12 43819f0f jcorgan
 * GNU Radio is distributed in the hope that it will be useful,
13 43819f0f jcorgan
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 43819f0f jcorgan
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 43819f0f jcorgan
 * GNU General Public License for more details.
16 43819f0f jcorgan
 * 
17 43819f0f jcorgan
 * You should have received a copy of the GNU General Public License
18 43819f0f jcorgan
 * along with GNU Radio; see the file COPYING.  If not, write to
19 43819f0f jcorgan
 * the Free Software Foundation, Inc., 51 Franklin Street,
20 43819f0f jcorgan
 * Boston, MA 02110-1301, USA.
21 43819f0f jcorgan
 */
22 43819f0f jcorgan
23 60b3bd32 Tom Rondeau
GR_SWIG_BLOCK_MAGIC(digital,ofdm_frame_sink);
24 43819f0f jcorgan
25 60b3bd32 Tom Rondeau
digital_ofdm_frame_sink_sptr 
26 60b3bd32 Tom Rondeau
digital_make_ofdm_frame_sink(const std::vector<gr_complex> &sym_position, 
27 60b3bd32 Tom Rondeau
			     const std::vector<unsigned char> &sym_value_out,
28 60b3bd32 Tom Rondeau
			     gr_msg_queue_sptr target_queue, unsigned int occupied_tones,
29 60b3bd32 Tom Rondeau
			     float phase_gain=0.25, float freq_gain=0.25*0.25/4);
30 43819f0f jcorgan
31 60b3bd32 Tom Rondeau
class digital_ofdm_frame_sink : public gr_sync_block
32 43819f0f jcorgan
{
33 c7dbfcc7 trondeau
 protected:
34 60b3bd32 Tom Rondeau
  digital_ofdm_frame_sink(const std::vector<gr_complex> &sym_position, 
35 60b3bd32 Tom Rondeau
			  const std::vector<unsigned char> &sym_value_out,
36 60b3bd32 Tom Rondeau
			  gr_msg_queue_sptr target_queue, unsigned int occupied_tones,
37 60b3bd32 Tom Rondeau
			  float phase_gain, float freq_gain);
38 43819f0f jcorgan
39 c7dbfcc7 trondeau
 public:
40 60b3bd32 Tom Rondeau
  ~digital_ofdm_frame_sink();
41 43819f0f jcorgan
};