/*
 * Copyright 2023 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(dsa_stats.h)                                        */
/* BINDTOOL_HEADER_FILE_HASH(8da1b50a0f17925344f8411764cbfa3c)                     */
/***********************************************************************************/

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

namespace py = pybind11;

#include <gnuradio/cdc/dsa_stats.h>
// pydoc.h is automatically generated in the build directory
#include <dsa_stats_pydoc.h>

void bind_dsa_stats(py::module& m)
{

    using dsa_stats    = ::gr::cdc::dsa_stats;


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

        .def(py::init(&dsa_stats::make),
           py::arg("period") = 1,
           py::arg("primary") = true,
           py::arg("tput_offered") = 0.,
           D(dsa_stats,make)
        )
        




        
        .def("reset_stats",&dsa_stats::reset_stats,       
            py::arg("reset"),
            D(dsa_stats,reset_stats)
        )


        
        .def("set_tput_offered",&dsa_stats::set_tput_offered,       
            py::arg("tput_offered"),
            D(dsa_stats,set_tput_offered)
        )


        
        .def("get_tput_offered",&dsa_stats::get_tput_offered,       
            D(dsa_stats,get_tput_offered)
        )

        ;




}