aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/libusb1_base.hpp
Commit message (Collapse)AuthorAgeFilesLines
* host: Update code base using clang-tidyMartin Braun2021-03-041-1/+1
| | | | | | | | | The checks from the new clang-tidy file are applied to the source tree using: $ find . -name "*.cpp" | sort -u | xargs \ --max-procs 8 --max-args 1 clang-tidy --format-style=file \ --fix -p /path/to/compile_commands.json
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-1/+1
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* uhd: Replace usage of boost smart pointers with C++11 counterpartsMartin Braun2019-11-261-7/+7
| | | | | | | | | | | | | | | | | | | This removes the following Boost constructs: - boost::shared_ptr, boost::weak_ptr - boost::enable_shared_from_this - boost::static_pointer_cast, boost::dynamic_pointer_cast The appropriate includes were also removed. All C++11 versions of these require #include <memory>. Note that the stdlib and Boost versions have the exact same syntax, they only differ in the namespace (boost vs. std). The modifications were all done using sed, with the exception of boost::scoped_ptr, which was replaced by std::unique_ptr. References to boost::smart_ptr were also removed. boost::intrusive_ptr is not removed in this commit, since it does not have a 1:1 mapping to a C++11 construct.
* uhd: Replace all usage of boost::noncopyable with uhd::noncopyableMartin Braun2019-02-151-6/+6
| | | | | | This fixes the build errors that occur due to switching locations of noncopyable.hpp within Boost, and also allows us to remove boost::noncopyable in one fell swoop.
* lib: transport: apply clang-formatBrent Stapleton2019-01-181-106/+107
| | | | | | | | | | This is a continuation of 967be2a4. $ find host/lib/transport -iname *.hpp -o -iname *.cpp |\ xargs clang-format -i -style=file Skipping host/lib/transport/nirio/ because of build errors. $ git checkout host/lib/transport/nirio
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* usb: add virtual destructors where needed; make virtual destructors ↵Michael Dickens2016-08-011-6/+6
| | | | out-of-line from class definition to reduce number of vtables emitted (according to clang).
* UHD: libusb_strerror compatibility with older versions of libusbmichael-west2015-08-061-0/+23
|
* b200: Change init sequence to catch bad USB statesBalint Seeber2015-08-031-0/+4
| | | | | - Fixes USB hang issues on OS X - Uses usb_errors
* Added missing pure virtual destructors to base classesNicholas Corgan2014-09-011-1/+13
|
* usb: added timeout param and additional queriesJosh Blum2013-07-151-2/+2
|
* usb: use the proper libusb include (in path set by pkgconfig)Josh Blum2010-09-271-1/+1
|
* usb: added some documentation to wrapper baseJosh Blum2010-09-261-0/+7
|
* usb: work on libusb code to use a single context across all callsJosh Blum2010-09-251-57/+105
| | | | | | | | libusb allocation stuff had been moved inside of smart pointer classes to handle automatic cleanup the public device handle implementation now holds an actual libusb device inside of it needs testing - all platforms
* libusb: various minor code tweaksJosh Blum2010-09-231-3/+3
|
* EEPROM burning in UHD. Changed some USB device handle stuff. Added ↵Nick Foster2010-08-311-10/+0
| | | | usrp_init_eeprom.cpp. Hacked up the firmware makefile to behave and to generate .bin EEPROM images instead of IHX.
* usrp1: Additional comments on libusb transport implemenationThomas Tsou2010-08-281-0/+60
|
* usrp1: Cleanup libusb device handlingThomas Tsou2010-08-271-0/+2
| | | | | | | | This patch limits all libusb device enumeration operations to FSF (Vendor ID = 0xfffe) devices, which removes a lot of unncessary libusb output when debug mode is enabled. The reference counts held by the libusb device list are also reduced, which prevents holding references to unused devices.
* usrp1: Modifiy USB transport implementations to use new interfaceThomas Tsou2010-08-261-0/+42
Common libusb1 code is consolidated in the libusb base file.