summaryrefslogtreecommitdiff
path: root/gr-qtgui/python/qtgui/bindings/trigger_mode_python.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/python/qtgui/bindings/trigger_mode_python.cc')
-rw-r--r--gr-qtgui/python/qtgui/bindings/trigger_mode_python.cc36
1 files changed, 36 insertions, 0 deletions
diff --git a/gr-qtgui/python/qtgui/bindings/trigger_mode_python.cc b/gr-qtgui/python/qtgui/bindings/trigger_mode_python.cc
new file mode 100644
index 0000000000..e53446bf13
--- /dev/null
+++ b/gr-qtgui/python/qtgui/bindings/trigger_mode_python.cc
@@ -0,0 +1,36 @@
+/*
+ * 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/qtgui/trigger_mode.h>
+// pydoc.h is automatically generated in the build directory
+#include <trigger_mode_pydoc.h>
+
+void bind_trigger_mode(py::module& m)
+{
+
+
+ py::enum_<::gr::qtgui::trigger_mode>(m, "trigger_mode")
+ .value("TRIG_MODE_FREE", ::gr::qtgui::TRIG_MODE_FREE) // 0
+ .value("TRIG_MODE_AUTO", ::gr::qtgui::TRIG_MODE_AUTO) // 1
+ .value("TRIG_MODE_NORM", ::gr::qtgui::TRIG_MODE_NORM) // 2
+ .value("TRIG_MODE_TAG", ::gr::qtgui::TRIG_MODE_TAG) // 3
+ .export_values();
+ py::enum_<::gr::qtgui::trigger_slope>(m, "trigger_slope")
+ .value("TRIG_SLOPE_POS", ::gr::qtgui::TRIG_SLOPE_POS) // 0
+ .value("TRIG_SLOPE_NEG", ::gr::qtgui::TRIG_SLOPE_NEG) // 1
+ .export_values();
+}