diff options
Diffstat (limited to 'gr-digital/python/digital/bindings')
7 files changed, 0 insertions, 183 deletions
diff --git a/gr-digital/python/digital/bindings/CMakeLists.txt b/gr-digital/python/digital/bindings/CMakeLists.txt index cf38af030d..a18fc0f0bc 100644 --- a/gr-digital/python/digital/bindings/CMakeLists.txt +++ b/gr-digital/python/digital/bindings/CMakeLists.txt @@ -83,9 +83,6 @@ list(APPEND digital_python_files protocol_formatter_bb_python.cc protocol_parser_b_python.cc scrambler_bb_python.cc - simple_correlator_python.cc - simple_framer_python.cc - simple_framer_sync_python.cc symbol_sync_cc_python.cc symbol_sync_ff_python.cc timing_error_detector_type_python.cc diff --git a/gr-digital/python/digital/bindings/docstrings/simple_correlator_pydoc_template.h b/gr-digital/python/digital/bindings/docstrings/simple_correlator_pydoc_template.h deleted file mode 100644 index 31ce13f096..0000000000 --- a/gr-digital/python/digital/bindings/docstrings/simple_correlator_pydoc_template.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ -#include "pydoc_macros.h" -#define D(...) DOC(gr, digital, __VA_ARGS__) -/* - This file contains placeholders for docstrings for the Python bindings. - Do not edit! These were automatically extracted during the binding process - and will be overwritten during the build process - */ - - -static const char* __doc_gr_digital_simple_correlator = R"doc()doc"; - - -static const char* __doc_gr_digital_simple_correlator_simple_correlator = R"doc()doc"; - - -static const char* __doc_gr_digital_simple_correlator_make = R"doc()doc"; diff --git a/gr-digital/python/digital/bindings/docstrings/simple_framer_pydoc_template.h b/gr-digital/python/digital/bindings/docstrings/simple_framer_pydoc_template.h deleted file mode 100644 index bd6f2f10c5..0000000000 --- a/gr-digital/python/digital/bindings/docstrings/simple_framer_pydoc_template.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ -#include "pydoc_macros.h" -#define D(...) DOC(gr, digital, __VA_ARGS__) -/* - This file contains placeholders for docstrings for the Python bindings. - Do not edit! These were automatically extracted during the binding process - and will be overwritten during the build process - */ - - -static const char* __doc_gr_digital_simple_framer = R"doc()doc"; - - -static const char* __doc_gr_digital_simple_framer_simple_framer = R"doc()doc"; - - -static const char* __doc_gr_digital_simple_framer_make = R"doc()doc"; diff --git a/gr-digital/python/digital/bindings/python_bindings.cc b/gr-digital/python/digital/bindings/python_bindings.cc index 0cf304cf95..2621412e6a 100644 --- a/gr-digital/python/digital/bindings/python_bindings.cc +++ b/gr-digital/python/digital/bindings/python_bindings.cc @@ -93,9 +93,6 @@ void bind_protocol_formatter_async(py::module&); void bind_protocol_formatter_bb(py::module&); void bind_protocol_parser_b(py::module&); void bind_scrambler_bb(py::module&); -void bind_simple_correlator(py::module&); -void bind_simple_framer(py::module&); -void bind_simple_framer_sync(py::module&); void bind_symbol_sync_cc(py::module&); void bind_symbol_sync_ff(py::module&); void bind_timing_error_detector_type(py::module&); @@ -198,9 +195,6 @@ PYBIND11_MODULE(digital_python, m) bind_protocol_formatter_bb(m); bind_protocol_parser_b(m); bind_scrambler_bb(m); - bind_simple_correlator(m); - bind_simple_framer(m); - bind_simple_framer_sync(m); bind_symbol_sync_cc(m); bind_symbol_sync_ff(m); bind_timing_error_detector_type(m); diff --git a/gr-digital/python/digital/bindings/simple_correlator_python.cc b/gr-digital/python/digital/bindings/simple_correlator_python.cc deleted file mode 100644 index 0accdb6e61..0000000000 --- a/gr-digital/python/digital/bindings/simple_correlator_python.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * 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 and can be manually edited */ -/* The following lines can be configured to regenerate this file during cmake */ -/* If manual edits are made, the following tags should be modified accordingly. */ -/* BINDTOOL_GEN_AUTOMATIC(0) */ -/* BINDTOOL_USE_PYGCCXML(0) */ -/* BINDTOOL_HEADER_FILE(simple_correlator.h) */ -/* BINDTOOL_HEADER_FILE_HASH(131b5ac5b9824450600ab24f8a1b108e) */ -/***********************************************************************************/ - -#include <pybind11/complex.h> -#include <pybind11/pybind11.h> -#include <pybind11/stl.h> - -namespace py = pybind11; - -#include <gnuradio/digital/simple_correlator.h> -// pydoc.h is automatically generated in the build directory -#include <simple_correlator_pydoc.h> - -void bind_simple_correlator(py::module& m) -{ - - using simple_correlator = ::gr::digital::simple_correlator; - - - py::class_<simple_correlator, - gr::block, - gr::basic_block, - std::shared_ptr<simple_correlator>>( - m, "simple_correlator", D(simple_correlator)) - - .def(py::init(&simple_correlator::make), - py::arg("payload_bytesize"), - D(simple_correlator, make)) - - - ; -} diff --git a/gr-digital/python/digital/bindings/simple_framer_python.cc b/gr-digital/python/digital/bindings/simple_framer_python.cc deleted file mode 100644 index 5c7f9bbf80..0000000000 --- a/gr-digital/python/digital/bindings/simple_framer_python.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 and can be manually edited */ -/* The following lines can be configured to regenerate this file during cmake */ -/* If manual edits are made, the following tags should be modified accordingly. */ -/* BINDTOOL_GEN_AUTOMATIC(0) */ -/* BINDTOOL_USE_PYGCCXML(0) */ -/* BINDTOOL_HEADER_FILE(simple_framer.h) */ -/* BINDTOOL_HEADER_FILE_HASH(61652087ff74cf54a99f8f906e2eb281) */ -/***********************************************************************************/ - -#include <pybind11/complex.h> -#include <pybind11/pybind11.h> -#include <pybind11/stl.h> - -namespace py = pybind11; - -#include <gnuradio/digital/simple_framer.h> -// pydoc.h is automatically generated in the build directory -#include <simple_framer_pydoc.h> - -void bind_simple_framer(py::module& m) -{ - - using simple_framer = ::gr::digital::simple_framer; - - - py::class_<simple_framer, gr::block, gr::basic_block, std::shared_ptr<simple_framer>>( - m, "simple_framer", D(simple_framer)) - - .def(py::init(&simple_framer::make), - py::arg("payload_bytesize"), - D(simple_framer, make)) - - - ; -} diff --git a/gr-digital/python/digital/bindings/simple_framer_sync_python.cc b/gr-digital/python/digital/bindings/simple_framer_sync_python.cc deleted file mode 100644 index 4e22f8e03c..0000000000 --- a/gr-digital/python/digital/bindings/simple_framer_sync_python.cc +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 and can be manually edited */ -/* The following lines can be configured to regenerate this file during cmake */ -/* If manual edits are made, the following tags should be modified accordingly. */ -/* BINDTOOL_GEN_AUTOMATIC(0) */ -/* BINDTOOL_USE_PYGCCXML(0) */ -/* BINDTOOL_HEADER_FILE(simple_framer_sync.h) */ -/* BINDTOOL_HEADER_FILE_HASH(1adbf6040f18f2e2884f8772902700a4) */ -/***********************************************************************************/ - -#include <pybind11/complex.h> -#include <pybind11/pybind11.h> -#include <pybind11/stl.h> - -namespace py = pybind11; - -#include <gnuradio/digital/simple_framer_sync.h> -// pydoc.h is automatically generated in the build directory -#include <simple_framer_sync_pydoc.h> - -void bind_simple_framer_sync(py::module& m) -{ - // TODO: Add the constexprs here -} |