aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-09-26 22:45:56 -0700
committerJosh Blum <josh@joshknows.com>2010-09-26 22:45:56 -0700
commit1180615fe2ee1e976aeb9139eb1378fb93befb0f (patch)
treec80f102d5f0d066407e1f9e72e8db5bb0fc8940d /host/lib/transport
parent017e7202468a8800335c05afd4a85cb52c6171e6 (diff)
downloaduhd-1180615fe2ee1e976aeb9139eb1378fb93befb0f.tar.gz
uhd-1180615fe2ee1e976aeb9139eb1378fb93befb0f.tar.bz2
uhd-1180615fe2ee1e976aeb9139eb1378fb93befb0f.zip
usb: added some documentation to wrapper base
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/libusb1_base.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/host/lib/transport/libusb1_base.hpp b/host/lib/transport/libusb1_base.hpp
index 47d078cde..64a1442d1 100644
--- a/host/lib/transport/libusb1_base.hpp
+++ b/host/lib/transport/libusb1_base.hpp
@@ -24,6 +24,13 @@
#include <uhd/transport/usb_device_handle.hpp>
#include <libusb-1.0/libusb.h>
+/***********************************************************************
+ * Libusb object oriented smart pointer wrappers:
+ * The following wrappers provide allocation and automatic deallocation
+ * for various libusb data types and handles. The construction routines
+ * also store tables of already allocated structures to avoid multiple
+ * occurrences of opened handles (for example).
+ **********************************************************************/
namespace uhd { namespace transport {
namespace libusb {