Merged anastas/wip changes r3156:3218 into trunk.
[debian/gnuradio] / gr-trellis / src / lib / trellis_viterbi_combined_i.i
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2004 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * GNU Radio is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * GNU Radio is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with GNU Radio; see the file COPYING.  If not, write to
19  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */
22
23 // WARNING: this file is machine generated.  Edits will be over written
24
25 GR_SWIG_BLOCK_MAGIC(trellis,viterbi_combined_i);
26
27 trellis_viterbi_combined_i_sptr trellis_make_viterbi_combined_i (
28     const fsm &FSM,
29     const int D,
30     const std::vector<float> &TABLE,
31     const int K,
32     const int S0,
33     const int SK,
34     const trellis_metric_type_t TYPE);
35
36
37 class trellis_viterbi_combined_i : public gr_block
38 {
39 private:
40   trellis_viterbi_combined_i (
41     const fsm &FSM,
42     const int D,
43     const std::vector<float> &TABLE,
44     const int K,
45     const int S0,
46     const int SK,
47     const trellis_metric_type_t TYPE);
48
49 public:
50     fsm FSM () const { return d_FSM; }
51     int D () const { return d_D; }
52     std::vector<float> TABLE () const { return d_TABLE; }
53     int K () const { return d_K; }
54     int S0 () const { return d_S0; }
55     int SK () const { return d_SK; }
56     trellis_metric_type_t TYPE () const { return d_TYPE; }
57     //std::vector<short> trace () const { return d_trace; }
58 };