GNU Radio Manual and C++ API Reference
3.10.3.0
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
19
#include <
gnuradio/soapy/soapy_types.h
>
20
21
py::object
cast_string_to_arginfo_type
(
gr::soapy::argtype_t
argtype,
22
const
std::string& str);
23
24
struct
setting_info
{
25
std::string
value
;
26
gr::soapy::argtype_t
type
;
27
};
28
29
setting_info
cast_pyobject_to_arginfo_string
(py::object obj);
setting_info::type
gr::soapy::argtype_t type
Definition:
soapy_common.h:26
cast_pyobject_to_arginfo_string
setting_info cast_pyobject_to_arginfo_string(py::object obj)
setting_info
Definition:
soapy_common.h:24
setting_info::value
std::string value
Definition:
soapy_common.h:25
gr::soapy::argtype_t
SoapySDR::ArgInfo::Type argtype_t
Definition:
soapy_types.h:23
soapy_types.h
cast_string_to_arginfo_type
py::object cast_string_to_arginfo_type(gr::soapy::argtype_t argtype, const std::string &str)
gr-soapy
python
soapy
bindings
soapy_common.h
Generated by
1.8.17