uhd/host/lib/property_tree_python.hpp
Martin Braun 7ee106187e python: Add access to the property_tree from Python
Example:
>>> usrp = uhd.usrp.multi_usrp("")
>>> tree = usrp.get_tree()
>>> print(tree.access_int("/name").get())
2020-10-16 14:58:15 -05:00

11 lines
212 B
C++

//
// Copyright 2020 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <pybind11/pybind11.h>
void export_property_tree(pybind11::module& m);