GNU Radio Manual and C++ API Reference  v3.9.2.0-89-gb7c7001e
The Free & Open Software Radio Ecosystem
soapy_common.h
Go to the documentation of this file.
1 /*
2  * Copyright 2021 Free Software Foundation, Inc.
3  *
4  * This file is part of GNU Radio
5  *
6  * SPDX-License-Identifier: GPL-3.0-or-later
7  *
8  */
9 
10 #pragma once
11 
12 #include <pybind11/complex.h>
13 #include <pybind11/operators.h>
14 #include <pybind11/pybind11.h>
15 #include <pybind11/stl.h>
16 
17 namespace py = pybind11;
18 
20 
22  const std::string& str);
23 
24 struct setting_info {
25  std::string value;
27 };
28 
SoapySDR::ArgInfo::Type argtype_t
Definition: soapy_types.h:23
py::object cast_string_to_arginfo_type(gr::soapy::argtype_t argtype, const std::string &str)
setting_info cast_pyobject_to_arginfo_string(py::object obj)
Definition: soapy_common.h:24
gr::soapy::argtype_t type
Definition: soapy_common.h:26
std::string value
Definition: soapy_common.h:25