summaryrefslogtreecommitdiff
path: root/gr-trellis/python/trellis/bindings/siso_combined_f_python.cc
blob: 284c35747c6b72d222b7794f04717ab49323a97c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/*
 * Copyright 2020 Free Software Foundation, Inc.
 *
 * This file is part of GNU Radio
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *
 */

/* This file is automatically generated using bindtool */

#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

namespace py = pybind11;

#include <gnuradio/trellis/siso_combined_f.h>
// pydoc.h is automatically generated in the build directory
#include <siso_combined_f_pydoc.h>

void bind_siso_combined_f(py::module& m)
{

    using siso_combined_f = ::gr::trellis::siso_combined_f;


    py::class_<siso_combined_f,
               gr::block,
               gr::basic_block,
               std::shared_ptr<siso_combined_f>>(m, "siso_combined_f", D(siso_combined_f))

        .def(py::init(&siso_combined_f::make),
             py::arg("FSM"),
             py::arg("K"),
             py::arg("S0"),
             py::arg("SK"),
             py::arg("POSTI"),
             py::arg("POSTO"),
             py::arg("d_SISO_TYPE"),
             py::arg("D"),
             py::arg("TABLE"),
             py::arg("TYPE"),
             D(siso_combined_f, make))


        .def("FSM", &siso_combined_f::FSM, D(siso_combined_f, FSM))


        .def("K", &siso_combined_f::K, D(siso_combined_f, K))


        .def("S0", &siso_combined_f::S0, D(siso_combined_f, S0))


        .def("SK", &siso_combined_f::SK, D(siso_combined_f, SK))


        .def("POSTI", &siso_combined_f::POSTI, D(siso_combined_f, POSTI))


        .def("POSTO", &siso_combined_f::POSTO, D(siso_combined_f, POSTO))


        .def("SISO_TYPE", &siso_combined_f::SISO_TYPE, D(siso_combined_f, SISO_TYPE))


        .def("D", &siso_combined_f::D, D(siso_combined_f, D))


        .def("TABLE", &siso_combined_f::TABLE, D(siso_combined_f, TABLE))


        .def("TYPE", &siso_combined_f::TYPE, D(siso_combined_f, TYPE))


        .def("set_FSM",
             &siso_combined_f::set_FSM,
             py::arg("FSM"),
             D(siso_combined_f, set_FSM))


        .def("set_K", &siso_combined_f::set_K, py::arg("K"), D(siso_combined_f, set_K))


        .def(
            "set_S0", &siso_combined_f::set_S0, py::arg("S0"), D(siso_combined_f, set_S0))


        .def(
            "set_SK", &siso_combined_f::set_SK, py::arg("SK"), D(siso_combined_f, set_SK))


        .def("set_POSTI",
             &siso_combined_f::set_POSTI,
             py::arg("POSTI"),
             D(siso_combined_f, set_POSTI))


        .def("set_POSTO",
             &siso_combined_f::set_POSTO,
             py::arg("POSTO"),
             D(siso_combined_f, set_POSTO))


        .def("set_SISO_TYPE",
             &siso_combined_f::set_SISO_TYPE,
             py::arg("type"),
             D(siso_combined_f, set_SISO_TYPE))


        .def("set_D", &siso_combined_f::set_D, py::arg("D"), D(siso_combined_f, set_D))


        .def("set_TABLE",
             &siso_combined_f::set_TABLE,
             py::arg("table"),
             D(siso_combined_f, set_TABLE))


        .def("set_TYPE",
             &siso_combined_f::set_TYPE,
             py::arg("type"),
             D(siso_combined_f, set_TYPE))

        ;
}