GNU Radio Manual and C++ API Reference 3.8.5.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
sccc_decoder_blk.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2004,2012,2018 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 3, 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., 51 Franklin Street,
20 * Boston, MA 02110-1301, USA.
21 */
22
23
24#ifndef SCCC_DECODER_BLK_H
25#define SCCC_DECODER_BLK_H
26
27#include <gnuradio/block.h>
32#include <cstdint>
33#include <vector>
34
35namespace gr {
36namespace trellis {
37
38/*!
39 * \ingroup trellis_coding_blk
40 */
41template <class T>
42class TRELLIS_API sccc_decoder_blk : virtual public block
43{
44public:
45 // gr::trellis::sccc_decoder_blk::sptr
46 typedef boost::shared_ptr<sccc_decoder_blk<T>> sptr;
47
48 static sptr make(const fsm& FSMo,
49 int STo0,
50 int SToK,
51 const fsm& FSMi,
52 int STi0,
53 int STiK,
54 const interleaver& INTERLEAVER,
55 int blocklength,
56 int repetitions,
57 siso_type_t SISO_TYPE);
58
59 virtual fsm FSMo() const = 0;
60 virtual fsm FSMi() const = 0;
61 virtual int STo0() const = 0;
62 virtual int SToK() const = 0;
63 virtual int STi0() const = 0;
64 virtual int STiK() const = 0;
65 virtual interleaver INTERLEAVER() const = 0;
66 virtual int blocklength() const = 0;
67 virtual int repetitions() const = 0;
68 virtual siso_type_t SISO_TYPE() const = 0;
69};
70
74} /* namespace trellis */
75} /* namespace gr */
76
77#endif /* SCCC_DECODER_BLK_H */
The abstract base class for all 'terminal' processing blocks.
Definition block.h:72
Finite State Machine Specification class.
Definition fsm.h:45
INTERLEAVER class.
Definition interleaver.h:38
Definition sccc_decoder_blk.h:43
virtual int STi0() const =0
virtual int STo0() const =0
virtual int blocklength() const =0
virtual fsm FSMo() const =0
virtual interleaver INTERLEAVER() const =0
virtual int repetitions() const =0
static sptr make(const fsm &FSMo, int STo0, int SToK, const fsm &FSMi, int STi0, int STiK, const interleaver &INTERLEAVER, int blocklength, int repetitions, siso_type_t SISO_TYPE)
boost::shared_ptr< sccc_decoder_blk< T > > sptr
Definition sccc_decoder_blk.h:46
virtual int STiK() const =0
virtual int SToK() const =0
virtual siso_type_t SISO_TYPE() const =0
virtual fsm FSMi() const =0
#define TRELLIS_API
Definition gr-trellis/include/gnuradio/trellis/api.h:30
sccc_decoder_blk< std::uint8_t > sccc_decoder_b
Definition sccc_decoder_blk.h:71
sccc_decoder_blk< std::int16_t > sccc_decoder_s
Definition sccc_decoder_blk.h:72
siso_type_t
Definition siso_type.h:29
sccc_decoder_blk< std::int32_t > sccc_decoder_i
Definition sccc_decoder_blk.h:73
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46