diff options
author | Josh Morman <jmorman@perspectalabs.com> | 2021-02-15 10:42:16 -0500 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2021-02-18 12:48:11 -0800 |
commit | 4e48bc34a30f6671197294c99a259f1fcbc0bf8f (patch) | |
tree | f50f060e31bb92181145c87f44e15961c3b9a434 /gnuradio-runtime/python/gnuradio | |
parent | 80d96134f29bd90eaa9df62989365d095bbfc302 (diff) |
pybind: remove forecast from python bindings
There is no scenario that a block or app should be calling forecast over
the python interface. This is only called by the scheduler, and for
python blocks would pass through the gateway interface.
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Diffstat (limited to 'gnuradio-runtime/python/gnuradio')
5 files changed, 0 insertions, 35 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/bindings/block_python.cc b/gnuradio-runtime/python/gnuradio/gr/bindings/block_python.cc index c180529028..78c5b03cfe 100644 --- a/gnuradio-runtime/python/gnuradio/gr/bindings/block_python.cc +++ b/gnuradio-runtime/python/gnuradio/gr/bindings/block_python.cc @@ -66,13 +66,6 @@ void bind_block(py::module& m) .def("fixed_rate", &block::fixed_rate, D(block, fixed_rate)) - .def("forecast", - &block::forecast, - py::arg("noutput_items"), - py::arg("ninput_items_required"), - D(block, forecast)) - - .def("general_work", &block::general_work, py::arg("noutput_items"), diff --git a/gnuradio-runtime/python/gnuradio/gr/bindings/sync_block_python.cc b/gnuradio-runtime/python/gnuradio/gr/bindings/sync_block_python.cc index 1b5f3c00be..7a8d81de5f 100644 --- a/gnuradio-runtime/python/gnuradio/gr/bindings/sync_block_python.cc +++ b/gnuradio-runtime/python/gnuradio/gr/bindings/sync_block_python.cc @@ -45,13 +45,6 @@ void bind_sync_block(py::module& m) D(sync_block, work)) - .def("forecast", - &sync_block::forecast, - py::arg("noutput_items"), - py::arg("ninput_items_required"), - D(sync_block, forecast)) - - .def("general_work", &sync_block::general_work, py::arg("noutput_items"), diff --git a/gnuradio-runtime/python/gnuradio/gr/bindings/sync_decimator_python.cc b/gnuradio-runtime/python/gnuradio/gr/bindings/sync_decimator_python.cc index 1eba9dfd7b..e9c940fbc9 100644 --- a/gnuradio-runtime/python/gnuradio/gr/bindings/sync_decimator_python.cc +++ b/gnuradio-runtime/python/gnuradio/gr/bindings/sync_decimator_python.cc @@ -49,13 +49,6 @@ void bind_sync_decimator(py::module& m) D(sync_decimator, set_decimation)) - .def("forecast", - &sync_decimator::forecast, - py::arg("noutput_items"), - py::arg("ninput_items_required"), - D(sync_decimator, forecast)) - - .def("general_work", &sync_decimator::general_work, py::arg("noutput_items"), diff --git a/gnuradio-runtime/python/gnuradio/gr/bindings/sync_interpolator_python.cc b/gnuradio-runtime/python/gnuradio/gr/bindings/sync_interpolator_python.cc index f3e7375920..6d115f7f35 100644 --- a/gnuradio-runtime/python/gnuradio/gr/bindings/sync_interpolator_python.cc +++ b/gnuradio-runtime/python/gnuradio/gr/bindings/sync_interpolator_python.cc @@ -52,13 +52,6 @@ void bind_sync_interpolator(py::module& m) D(sync_interpolator, set_interpolation)) - .def("forecast", - &sync_interpolator::forecast, - py::arg("noutput_items"), - py::arg("ninput_items_required"), - D(sync_interpolator, forecast)) - - .def("general_work", &sync_interpolator::general_work, py::arg("noutput_items"), diff --git a/gnuradio-runtime/python/gnuradio/gr/bindings/tagged_stream_block_python.cc b/gnuradio-runtime/python/gnuradio/gr/bindings/tagged_stream_block_python.cc index ba6a0ded02..c094486270 100644 --- a/gnuradio-runtime/python/gnuradio/gr/bindings/tagged_stream_block_python.cc +++ b/gnuradio-runtime/python/gnuradio/gr/bindings/tagged_stream_block_python.cc @@ -40,13 +40,6 @@ void bind_tagged_stream_block(py::module& m) m, "tagged_stream_block", D(tagged_stream_block)) - .def("forecast", - &tagged_stream_block::forecast, - py::arg("noutput_items"), - py::arg("ninput_items_required"), - D(tagged_stream_block, forecast)) - - .def("check_topology", &tagged_stream_block::check_topology, py::arg("ninputs"), |