GNU Radio C++ API Reference
3.10.12.0
The Free & Open Software Radio Ecosystem
Loading...
Searching...
No Matches
uhd_types.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2020 Free Software Foundation, Inc.
4
*
5
* This file is part of GNU Radio
6
*
7
* SPDX-License-Identifier: GPL-3.0-or-later
8
*
9
*/
10
11
/* Wrappers for UHD types that exposed in the API of gr-uhd blocks */
12
#ifndef INCLUDED_GR_UHD_TYPES_H
13
#define INCLUDED_GR_UHD_TYPES_H
14
15
#include <uhd/stream.hpp>
16
#include <uhd/types/filters.hpp>
17
#include <uhd/types/ranges.hpp>
18
#include <uhd/types/sensors.hpp>
19
#include <uhd/types/stream_cmd.hpp>
20
#include <uhd/types/tune_request.hpp>
21
#include <uhd/types/tune_result.hpp>
22
#include <uhd/types/wb_iface.hpp>
23
24
namespace
gr
{
25
namespace
uhd {
26
27
// typedef device_addr_t ::uhd::device_addr_t
28
class
stream_args_t
:
public
::uhd::stream_args_t
29
{
30
31
public
:
32
stream_args_t
(
const
std::string& cpu =
""
,
33
const
std::string& otw =
""
,
34
const ::uhd::device_addr_t& args = ::uhd::device_addr_t(),
35
const
std::vector<size_t> channels = std::vector<size_t>())
36
: ::uhd::
stream_args_t
(cpu, otw)
37
{
38
this->args = args;
39
this->channels = channels;
40
}
41
};
42
}
// namespace uhd
43
}
// namespace gr
44
45
46
#endif
gr::uhd::stream_args_t
Definition
uhd_types.h:29
gr::uhd::stream_args_t::stream_args_t
stream_args_t(const std::string &cpu="", const std::string &otw="", const ::uhd::device_addr_t &args=::uhd::device_addr_t(), const std::vector< size_t > channels=std::vector< size_t >())
Definition
uhd_types.h:32
gr
GNU Radio logging wrapper.
Definition
basic_block.h:29
gr-uhd
include
gnuradio
uhd
uhd_types.h
Generated by
1.9.8