<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Barry: usbwrap.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_3e14c0bb4416cf979afc3165665fc916.html">src</a> </div> </div> <div class="contents"> <h1>usbwrap.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> USB API wrapper. <p> <p>Definition in file <a class="el" href="usbwrap_8h-source.html">usbwrap.h</a>.</p> <p> <code>#include "<a class="el" href="dll_8h-source.html">dll.h</a>"</code><br> <code>#include <usb.h></code><br> <code>#include <vector></code><br> <code>#include <map></code><br> <code>#include "<a class="el" href="error_8h-source.html">error.h</a>"</code><br> <p> <div class="dynheader"> Include dependency graph for usbwrap.h:</div> <div class="dynsection"> <p><center><img src="usbwrap_8h__incl.png" border="0" usemap="#usbwrap.h_map" alt=""></center> <map name="usbwrap.h_map"> <area shape="rect" href="dll_8h.html" title="Macros for handling DLL/library API visibility." alt="" coords="108,229,153,256"><area shape="rect" href="error_8h.html" title="Common exception classes for the Barry library." alt="" coords="248,80,304,107"><area shape="rect" href="pin_8h.html" title="class for device PIN notation" alt="" coords="185,155,233,181"></map> </div> <p> <div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dynsection"> <p><center><img src="usbwrap_8h__dep__incl.png" border="0" usemap="#usbwrap.hdep_map" alt=""></center> <map name="usbwrap.hdep_map"> <area shape="rect" href="barry_8h.html" title="Main header file for applications." alt="" coords="1221,528,1280,555"><area shape="rect" href="probe_8h.html" title="USB Blackberry detection routines." alt="" coords="520,155,584,181"><area shape="rect" href="controller_8h.html" title="High level BlackBerry API class." alt="" coords="712,229,795,256"><area shape="rect" href="m__desktop_8cc.html" title="Mode class for the Desktop mode." alt="" coords="281,453,385,480"><area shape="rect" href="m__javaloader_8cc.html" title="Mode class for the JavaLoader mode." alt="" coords="409,453,524,480"><area shape="rect" href="m__raw__channel_8cc.html" title="Mode class for a raw channel." alt="" coords="129,453,257,480"><area shape="rect" href="m__jvmdebug_8cc.html" title="Mode class for the JVMDebug mode." alt="" coords="953,453,1065,480"><area shape="rect" href="probe_8cc.html" title="USB Blackberry detection routines." alt="" coords="312,229,384,256"><area shape="rect" href="router_8h.html" title="Support classes for the pluggable socket routing system." alt="" coords="1179,80,1243,107"><area shape="rect" href="socket_8cc.html" title="Class wrapper to encapsulate the Blackberry USB logical socket." alt="" coords="1453,229,1531,256"><area shape="rect" href="router_8cc.html" title="Support classes for the pluggable socket routing system." alt="" coords="1352,155,1424,181"><area shape="rect" href="m__ipmodem_8h.html" title="Mode class for GPRS modem mode (using endpoints on modern devices)." alt="" coords="1605,229,1709,256"><area shape="rect" href="src_2platform_8h-source.html" title="platform.h" alt="" coords="308,155,388,181"><area shape="rect" href="usbwrap_8cc.html" title="USB API wrapper." alt="" coords="1549,80,1637,107"><area shape="rect" href="controller_8cc.html" title="High level Barry API class." alt="" coords="243,304,333,331"><area shape="rect" href="connector_8h-source.html" title="connector.h" alt="" coords="741,379,829,405"><area shape="rect" href="m__mode__base_8h.html" title="Base for mode classes." alt="" coords="813,304,931,331"><area shape="rect" href="connector_8cc-source.html" title="connector.cc" alt="" coords="832,453,928,480"><area shape="rect" href="m__ipmodem_8cc.html" title="Mode class for GPRS modem mode (using endpoints on modern devices)." alt="" coords="1219,304,1328,331"><area shape="rect" href="m__serial_8cc.html" title="Mode class for serial / GPRS modem mode." alt="" coords="1107,304,1195,331"><area shape="rect" href="m__desktop_8h.html" title="Mode class for the Desktop mode." alt="" coords="1203,379,1299,405"><area shape="rect" href="m__javaloader_8h.html" title="Mode class for the JavaLoader mode." alt="" coords="413,379,520,405"><area shape="rect" href="m__raw__channel_8h.html" title="Mode class for a raw channel." alt="" coords="595,379,717,405"><area shape="rect" href="m__jvmdebug_8h.html" title="Mode class for the JVMDebug mode." alt="" coords="1323,379,1429,405"><area shape="rect" href="m__mode__base_8cc.html" title="Base for mode classes." alt="" coords="904,379,1027,405"><area shape="rect" href="m__desktoptmpl_8h.html" title="Ease of use templates for the Desktop mode class." alt="" coords="1191,453,1311,480"><area shape="rect" href="packet_8cc.html" title="Low level protocol packet builder class." alt="" coords="1089,453,1167,480"><area shape="rect" href="bmp_8h.html" title="BMP conversion routines." alt="" coords="548,453,604,480"><area shape="rect" href="bmp_8cc.html" title="BMP conversion routines." alt="" coords="544,528,608,555"><area shape="rect" href="j__server_8h.html" title="Java Debug server classes." alt="" coords="1605,453,1683,480"><area shape="rect" href="j__server_8cc.html" title="Server protocol implementation." alt="" coords="1603,528,1685,555"><area shape="rect" href="socket_8h.html" title="Class wrapper to encapsulate the Blackberry USB logical socket." alt="" coords="1175,155,1247,181"><area shape="rect" href="m__serial_8h.html" title="Mode class for serial / GPRS modem mode." alt="" coords="1299,229,1379,256"></map> </div> <p> <a href="usbwrap_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html">Barry</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceUsb.html">Usb</a></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classUsb_1_1Error.html">Usb::Error</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Thrown on low level USB errors. <a href="classUsb_1_1Error.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Usb::Timeout</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Usb::Match</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Usb::Device</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Usb::Interface</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><b>Usb::EndpointPair</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Usb::EndpointDiscovery</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><b>Usb::InterfaceDesc</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Usb::InterfaceDiscovery</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><b>Usb::ConfigDesc</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Usb::ConfigDiscovery</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Usb::DeviceDiscovery</b></td></tr> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct usb_device * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceUsb.html#6d445b3f5ddb92da82207f62e7d9494f">Usb::DeviceIDType</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Typedefs used by the wrapper class, in the hope to make it easier to switch from libusb stable to devel and back. <a href="#6d445b3f5ddb92da82207f62e7d9494f"></a><br></td></tr> </table> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 1 17:50:52 2011 for Barry by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>