GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
pccc_decoder_combined_blk.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2004,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#ifndef PCCC_DECODER_COMBINED_BLK_H
12#define PCCC_DECODER_COMBINED_BLK_H
13
14#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 IN_T, class OUT_T>
31{
32public:
33 typedef std::shared_ptr<pccc_decoder_combined_blk<IN_T, OUT_T>> sptr;
34
35 static sptr make(const fsm& FSMo,
36 int STo0,
37 int SToK,
38 const fsm& FSMi,
39 int STi0,
40 int STiK,
41 const interleaver& INTERLEAVER,
42 int blocklength,
43 int repetitions,
44 siso_type_t SISO_TYPE,
45 int D,
46 const std::vector<IN_T>& TABLE,
48 float scaling);
49
50 virtual fsm FSM1() const = 0;
51 virtual fsm FSM2() const = 0;
52 virtual int ST10() const = 0;
53 virtual int ST1K() const = 0;
54 virtual int ST20() const = 0;
55 virtual int ST2K() const = 0;
56 virtual interleaver INTERLEAVER() const = 0;
57 virtual int blocklength() const = 0;
58 virtual int repetitions() const = 0;
59 virtual int D() const = 0;
60 virtual std::vector<IN_T> TABLE() const = 0;
62 virtual siso_type_t SISO_TYPE() const = 0;
63 virtual float scaling() const = 0;
64 virtual void set_scaling(float scaling) = 0;
65};
66
73
74} /* namespace trellis */
75} /* namespace gr */
76
77#endif /* PCCC_DECODER_COMBINED_BLK_H */
#define D(...)
Definition: basic_block_pydoc_template.h:10
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_combined_blk.h:31
virtual std::vector< IN_T > TABLE() const =0
virtual int repetitions() const =0
virtual digital::trellis_metric_type_t METRIC_TYPE() 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, int D, const std::vector< IN_T > &TABLE, digital::trellis_metric_type_t METRIC_TYPE, float scaling)
std::shared_ptr< pccc_decoder_combined_blk< IN_T, OUT_T > > sptr
Definition: pccc_decoder_combined_blk.h:33
virtual float scaling() const =0
virtual interleaver INTERLEAVER() const =0
virtual siso_type_t SISO_TYPE() const =0
virtual void set_scaling(float scaling)=0
virtual int blocklength() const =0
#define TRELLIS_API
Definition: gr-trellis/include/gnuradio/trellis/api.h:18
trellis_metric_type_t
Definition: metric_type.h:17
pccc_decoder_combined_blk< float, std::uint8_t > pccc_decoder_combined_fb
Definition: pccc_decoder_combined_blk.h:67
pccc_decoder_combined_blk< float, std::int32_t > pccc_decoder_combined_fi
Definition: pccc_decoder_combined_blk.h:69
pccc_decoder_combined_blk< gr_complex, std::int32_t > pccc_decoder_combined_ci
Definition: pccc_decoder_combined_blk.h:72
siso_type_t
Definition: siso_type.h:17
pccc_decoder_combined_blk< float, std::int16_t > pccc_decoder_combined_fs
Definition: pccc_decoder_combined_blk.h:68
pccc_decoder_combined_blk< gr_complex, std::uint8_t > pccc_decoder_combined_cb
Definition: pccc_decoder_combined_blk.h:70
pccc_decoder_combined_blk< gr_complex, std::int16_t > pccc_decoder_combined_cs
Definition: pccc_decoder_combined_blk.h:71
GNU Radio logging wrapper.
Definition: basic_block.h:29