GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
sccc_decoder_combined_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 #ifndef SCCC_DECODER_COMBINED_BLK_H
12 #define SCCC_DECODER_COMBINED_BLK_H
13 
14 #include <gnuradio/block.h>
15 #include <gnuradio/trellis/api.h>
17 #include <gnuradio/trellis/fsm.h>
20 #include <cstdint>
21 #include <vector>
22 
23 namespace gr {
24 namespace trellis {
25 
26 /*!
27  * \ingroup trellis_coding_blk
28  */
29 template <class IN_T, class OUT_T>
31 {
32 public:
33  typedef std::shared_ptr<sccc_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 FSMo() const = 0;
51  virtual fsm FSMi() const = 0;
52  virtual int STo0() const = 0;
53  virtual int SToK() const = 0;
54  virtual int STi0() const = 0;
55  virtual int STiK() 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 
65  virtual void set_scaling(float scaling) = 0;
66 };
67 
74 
75 } /* namespace trellis */
76 } /* namespace gr */
77 
78 #endif /* SCCC_DECODER_COMBINED_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: sccc_decoder_combined_blk.h:31
virtual interleaver INTERLEAVER() const =0
virtual float scaling() const =0
virtual std::vector< IN_T > TABLE() const =0
virtual int blocklength() const =0
virtual siso_type_t SISO_TYPE() const =0
virtual void set_scaling(float scaling)=0
std::shared_ptr< sccc_decoder_combined_blk< IN_T, OUT_T > > sptr
Definition: sccc_decoder_combined_blk.h:33
virtual digital::trellis_metric_type_t METRIC_TYPE() 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, int D, const std::vector< IN_T > &TABLE, digital::trellis_metric_type_t METRIC_TYPE, float scaling)
#define TRELLIS_API
Definition: gr-trellis/include/gnuradio/trellis/api.h:18
trellis_metric_type_t
Definition: metric_type.h:17
sccc_decoder_combined_blk< gr_complex, std::int16_t > sccc_decoder_combined_cs
Definition: sccc_decoder_combined_blk.h:72
sccc_decoder_combined_blk< float, std::int32_t > sccc_decoder_combined_fi
Definition: sccc_decoder_combined_blk.h:70
sccc_decoder_combined_blk< gr_complex, std::int32_t > sccc_decoder_combined_ci
Definition: sccc_decoder_combined_blk.h:73
sccc_decoder_combined_blk< gr_complex, std::uint8_t > sccc_decoder_combined_cb
Definition: sccc_decoder_combined_blk.h:71
siso_type_t
Definition: siso_type.h:17
sccc_decoder_combined_blk< float, std::int16_t > sccc_decoder_combined_fs
Definition: sccc_decoder_combined_blk.h:69
sccc_decoder_combined_blk< float, std::uint8_t > sccc_decoder_combined_fb
Definition: sccc_decoder_combined_blk.h:68
GNU Radio logging wrapper.
Definition: basic_block.h:29