<!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: router.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>router.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> Support classes for the pluggable socket routing system. <p> <p>Definition in file <a class="el" href="router_8h-source.html">router.h</a>.</p> <p> <code>#include "<a class="el" href="dll_8h-source.html">dll.h</a>"</code><br> <code>#include <stdint.h></code><br> <code>#include <map></code><br> <code>#include <tr1/memory></code><br> <code>#include <stdexcept></code><br> <code>#include <pthread.h></code><br> <code>#include "<a class="el" href="dataqueue_8h-source.html">dataqueue.h</a>"</code><br> <code>#include "<a class="el" href="error_8h-source.html">error.h</a>"</code><br> <code>#include "<a class="el" href="usbwrap_8h-source.html">usbwrap.h</a>"</code><br> <p> <div class="dynheader"> Include dependency graph for router.h:</div> <div class="dynsection"> <p><center><img src="router_8h__incl.png" border="0" usemap="#router.h_map" alt=""></center> <map name="router.h_map"> <area shape="rect" href="dll_8h.html" title="Macros for handling DLL/library API visibility." alt="" coords="553,304,599,331"><area shape="rect" href="dataqueue_8h.html" title="FIFO queue of Data objects." alt="" coords="84,80,175,107"><area shape="rect" href="error_8h.html" title="Common exception classes for the Barry library." alt="" coords="347,155,403,181"><area shape="rect" href="usbwrap_8h.html" title="USB API wrapper." alt="" coords="477,80,557,107"><area shape="rect" href="pin_8h.html" title="class for device PIN notation" alt="" coords="428,229,476,256"></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="router_8h__dep__incl.png" border="0" usemap="#router.hdep_map" alt=""></center> <map name="router.hdep_map"> <area shape="rect" href="socket_8h.html" title="Class wrapper to encapsulate the Blackberry USB logical socket." alt="" coords="855,80,927,107"><area shape="rect" href="barry_8h.html" title="Main header file for applications." alt="" coords="557,453,616,480"><area shape="rect" href="connector_8cc-source.html" title="connector.cc" alt="" coords="1277,379,1373,405"><area shape="rect" href="router_8cc.html" title="Support classes for the pluggable socket routing system." alt="" coords="1549,80,1621,107"><area shape="rect" href="controller_8h.html" title="High level BlackBerry API class." alt="" coords="799,155,881,181"><area shape="rect" href="m__desktop_8h.html" title="Mode class for the Desktop mode." alt="" coords="1064,304,1160,331"><area shape="rect" href="m__javaloader_8h.html" title="Mode class for the JavaLoader mode." alt="" coords="629,304,736,331"><area shape="rect" href="m__raw__channel_8h.html" title="Mode class for a raw channel." alt="" coords="483,304,605,331"><area shape="rect" href="m__jvmdebug_8h.html" title="Mode class for the JVMDebug mode." alt="" coords="291,304,397,331"><area shape="rect" href="m__serial_8h.html" title="Mode class for serial / GPRS modem mode." alt="" coords="1340,155,1420,181"><area shape="rect" href="probe_8cc.html" title="USB Blackberry detection routines." alt="" coords="905,155,977,181"><area shape="rect" href="socket_8cc.html" title="Class wrapper to encapsulate the Blackberry USB logical socket." alt="" coords="1001,155,1079,181"><area shape="rect" href="m__mode__base_8h.html" title="Base for mode classes." alt="" coords="781,229,899,256"><area shape="rect" href="m__desktop_8cc.html" title="Mode class for the Desktop mode." alt="" coords="853,379,957,405"><area shape="rect" href="m__javaloader_8cc.html" title="Mode class for the JavaLoader mode." alt="" coords="715,379,829,405"><area shape="rect" href="m__raw__channel_8cc.html" title="Mode class for a raw channel." alt="" coords="381,379,509,405"><area shape="rect" href="m__jvmdebug_8cc.html" title="Mode class for the JVMDebug mode." alt="" coords="93,379,205,405"><area shape="rect" href="controller_8cc.html" title="High level Barry API class." alt="" coords="533,229,624,256"><area shape="rect" href="m__ipmodem_8cc.html" title="Mode class for GPRS modem mode (using endpoints on modern devices)." alt="" coords="648,229,757,256"><area shape="rect" href="m__serial_8cc.html" title="Mode class for serial / GPRS modem mode." alt="" coords="1336,229,1424,256"><area shape="rect" href="m__mode__base_8cc.html" title="Base for mode classes." alt="" coords="776,304,899,331"><area shape="rect" href="m__desktoptmpl_8h.html" title="Ease of use templates for the Desktop mode class." alt="" coords="1083,379,1203,405"><area shape="rect" href="packet_8cc.html" title="Low level protocol packet builder class." alt="" coords="981,379,1059,405"><area shape="rect" href="bmp_8h.html" title="BMP conversion routines." alt="" coords="635,379,691,405"><area shape="rect" href="bmp_8cc.html" title="BMP conversion routines." alt="" coords="640,453,704,480"><area shape="rect" href="j__server_8h.html" title="Java Debug server classes." alt="" coords="229,379,307,405"><area shape="rect" href="j__server_8cc.html" title="Server protocol implementation." alt="" coords="227,453,309,480"></map> </div> <p> <a href="router_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 colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Barry::SocketRoutingQueue</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Barry::SocketRoutingQueue::SocketDataHandler</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Barry::SocketRoutingQueue::SimpleSocketDataHandler< T ></b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><b>Barry::SocketRoutingQueue::QueueEntry</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1DataHandle.html">Barry::DataHandle</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">std::auto_ptr like class that handles pointers to Data, but instead of freeing them completely, the Data objects are turned to the SocketRoutingQueue from whence they came. <a href="classBarry_1_1DataHandle.html#_details">More...</a><br></td></tr> </table> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 1 17:50:50 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>