blob: 7715b05c07d66ef08baa2a716b196ab3649554cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//
// Copyright 2020 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include "block_controller_factory_python.hpp"
#include <uhd/rfnoc/switchboard_block_control.hpp>
using namespace uhd::rfnoc;
void export_switchboard_block_control(py::module& m)
{
py::class_<switchboard_block_control,
noc_block_base,
switchboard_block_control::sptr>(m, "switchboard_block_control")
.def(py::init(&block_controller_factory<switchboard_block_control>::make_from))
.def("connect", &switchboard_block_control::connect);
}
|