USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
UHD and USRP Manual
usb_control.hpp
Go to the documentation of this file.
1
//
2
// Copyright 2010-2014 Ettus Research LLC
3
// Copyright 2018 Ettus Research, a National Instruments Company
4
//
5
// SPDX-License-Identifier: GPL-3.0-or-later
6
//
7
8
#ifndef INCLUDED_UHD_TRANSPORT_USB_CONTROL_HPP
9
#define INCLUDED_UHD_TRANSPORT_USB_CONTROL_HPP
10
11
#include <
uhd/transport/usb_device_handle.hpp
>
12
#include <
uhd/utils/noncopyable.hpp
>
13
#include <boost/shared_ptr.hpp>
14
15
namespace
uhd
{
namespace
transport {
16
17
class
UHD_API
usb_control
:
uhd::noncopyable
18
{
19
public
:
20
typedef
boost::shared_ptr<usb_control>
sptr
;
21
22
virtual
~
usb_control
(
void
);
23
32
static
sptr
make(
usb_device_handle::sptr
handle,
const
int
interface);
33
52
virtual
int
submit(uint8_t request_type,
53
uint8_t request,
54
uint16_t value,
55
uint16_t index,
56
unsigned
char
* buff,
57
uint16_t length,
58
uint32_t timeout = 0) = 0;
59
};
60
61
}}
// namespace uhd::transport
62
63
#endif
/* INCLUDED_UHD_TRANSPORT_USB_CONTROL_HPP */
uhd::transport::usb_control
Definition:
usb_control.hpp:17
uhd::transport::usb_device_handle::sptr
boost::shared_ptr< usb_device_handle > sptr
Definition:
usb_device_handle.hpp:35
UHD_API
#define UHD_API
Definition:
config.h:68
noncopyable.hpp
uhd::transport::usb_control::sptr
boost::shared_ptr< usb_control > sptr
Definition:
usb_control.hpp:20
uhd
Definition:
build_info.hpp:13
usb_device_handle.hpp
uhd::noncopyable
boost::noncopyable noncopyable
Definition:
noncopyable.hpp:46
include
uhd
transport
usb_control.hpp
Generated by
1.8.16