GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
pccc_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 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11
12#ifndef PCCC_DECODER_BLK_H
13#define PCCC_DECODER_BLK_H
14
15#include <gnuradio/block.h>
20#include <cstdint>
21#include <vector>
22
23namespace gr {
24namespace trellis {
25
26/*!
27 * \ingroup trellis_coding_blk
28 */
29template <class T>
30class TRELLIS_API pccc_decoder_blk : virtual public block
31{
32public:
33 // gr::trellis::pccc_decoder_blk::sptr
34 typedef std::shared_ptr<pccc_decoder_blk<T>> sptr;
35
36 static sptr make(const fsm& FSM1,
37 int ST10,
38 int ST1K,
39 const fsm& FSM2,
40 int ST20,
41 int ST2K,
42 const interleaver& INTERLEAVER,
43 int blocklength,
44 int repetitions,
45 siso_type_t SISO_TYPE);
46
47 virtual fsm FSM1() const = 0;
48 virtual fsm FSM2() const = 0;
49 virtual int ST10() const = 0;
50 virtual int ST1K() const = 0;
51 virtual int ST20() const = 0;
52 virtual int ST2K() const = 0;
53 virtual interleaver INTERLEAVER() const = 0;
54 virtual int blocklength() const = 0;
55 virtual int repetitions() const = 0;
56 virtual siso_type_t SISO_TYPE() const = 0;
57};
58
62} /* namespace trellis */
63} /* namespace gr */
64
65#endif /* PCCC_DECODER_BLK_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Finite State Machine Specification class.
Definition: fsm.h:33
INTERLEAVER class.
Definition: interleaver.h:26
Definition: pccc_decoder_blk.h:31
virtual int ST10() const =0
virtual int blocklength() const =0
virtual fsm FSM2() const =0
virtual int ST20() const =0
virtual int ST1K() const =0
static sptr make(const fsm &FSM1, int ST10, int ST1K, const fsm &FSM2, int ST20, int ST2K, const interleaver &INTERLEAVER, int blocklength, int repetitions, siso_type_t SISO_TYPE)
virtual int ST2K() const =0
virtual siso_type_t SISO_TYPE() const =0
std::shared_ptr< pccc_decoder_blk< T > > sptr
Definition: pccc_decoder_blk.h:34
virtual int repetitions() const =0
virtual fsm FSM1() const =0
virtual interleaver INTERLEAVER() const =0
#define TRELLIS_API
Definition: gr-trellis/include/gnuradio/trellis/api.h:18
pccc_decoder_blk< std::int32_t > pccc_decoder_i
Definition: pccc_decoder_blk.h:61
pccc_decoder_blk< std::uint8_t > pccc_decoder_b
Definition: pccc_decoder_blk.h:59
siso_type_t
Definition: siso_type.h:17
pccc_decoder_blk< std::int16_t > pccc_decoder_s
Definition: pccc_decoder_blk.h:60
GNU Radio logging wrapper.
Definition: basic_block.h:29