summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_producer_python.cc
blob: d519247ea31f22b1b424a87f3a905e76ea500036 (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
/*
 * 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/messages/msg_producer.h>

void bind_messages_msg_producer(py::module& m)
{
    using msg_producer = gr::messages::msg_producer;


    py::class_<msg_producer, std::shared_ptr<msg_producer>>(m, "messages_msg_producer")

        .def("retrieve", &msg_producer::retrieve);
}