GNU Radio Manual and C++ API Reference  3.9.1.0
The Free & Open Software Radio Ecosystem
siso_f.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2004,2012 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 INCLUDED_TRELLIS_SISO_F_H
12 #define INCLUDED_TRELLIS_SISO_F_H
13 
14 #include <gnuradio/block.h>
15 #include <gnuradio/trellis/api.h>
17 #include <gnuradio/trellis/fsm.h>
19 
20 namespace gr {
21 namespace trellis {
22 
23 /*!
24  * \ingroup trellis_coding_blk
25  */
26 class TRELLIS_API siso_f : virtual public block
27 {
28 public:
29  // gr::trellis::siso_f::sptr
30  typedef std::shared_ptr<siso_f> sptr;
31 
32  static sptr make(const fsm& FSM,
33  int K,
34  int S0,
35  int SK,
36  bool POSTI,
37  bool POSTO,
38  siso_type_t d_SISO_TYPE);
39 
40  virtual fsm FSM() const = 0;
41  virtual int K() const = 0;
42  virtual int S0() const = 0;
43  virtual int SK() const = 0;
44  virtual bool POSTI() const = 0;
45  virtual bool POSTO() const = 0;
46  virtual siso_type_t SISO_TYPE() const = 0;
47 
48  virtual void set_FSM(const fsm& FSM) = 0;
49  virtual void set_K(int K) = 0;
50  virtual void set_S0(int S0) = 0;
51  virtual void set_SK(int SK) = 0;
52  virtual void set_POSTI(bool posti) = 0;
53  virtual void set_POSTO(bool posto) = 0;
54  virtual void set_SISO_TYPE(trellis::siso_type_t type) = 0;
55 };
56 
57 } /* namespace trellis */
58 } /* namespace gr */
59 
60 #endif /* INCLUDED_TRELLIS_SISO_F_H */
block.h
gr::trellis::siso_f
Definition: siso_f.h:26
gr::trellis::fsm
Finite State Machine Specification class.
Definition: fsm.h:32
gr::trellis::siso_f::sptr
std::shared_ptr< siso_f > sptr
Definition: siso_f.h:30
siso_type.h
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition: block.h:59
fsm.h
api.h
TRELLIS_API
#define TRELLIS_API
Definition: gr-trellis/include/gnuradio/trellis/api.h:18
core_algorithms.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
gr::trellis::siso_type_t
siso_type_t
Definition: siso_type.h:17