2013-01-30 22:00:18 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2018-10-13 16:56:59 +02:00
< meta name = "generator" content = "Doxygen 1.8.6" / >
2013-02-17 01:37:13 +01:00
< title > USB Host Shield 2.0: AddressPool Class Reference< / title >
2013-01-30 22:00:18 +01:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/search.js" > < / script >
2018-10-13 16:56:59 +02:00
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
2013-01-30 22:00:18 +01:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2013-02-05 22:39:56 +01:00
< link href = "imageStyle.css" rel = "stylesheet" type = "text/css" / >
2013-01-30 22:00:18 +01:00
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2018-10-13 16:56:59 +02:00
< td style = "padding-left: 0.5em;" >
2013-02-17 01:37:13 +01:00
< div id = "projectname" > USB Host Shield 2.0
2013-01-30 22:00:18 +01:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2018-10-13 16:56:59 +02:00
<!-- Generated by Doxygen 1.8.6 -->
2013-01-30 22:00:18 +01:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
2018-10-13 16:56:59 +02:00
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li class = "current" > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "annotated.html" > < span > Class  List< / span > < / a > < / li >
< li > < a href = "classes.html" > < span > Class  Index< / span > < / a > < / li >
< li > < a href = "inherits.html" > < span > Class  Hierarchy< / span > < / a > < / li >
< li > < a href = "functions.html" > < span > Class  Members< / span > < / a > < / li >
< / ul >
< / div >
2013-01-30 22:00:18 +01:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2018-10-13 16:56:59 +02:00
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Files< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Macros< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(9)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
2013-01-30 22:00:18 +01:00
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "class_address_pool-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > AddressPool Class Reference< span class = "mlabels" > < span class = "mlabel" > abstract< / span > < / span > < / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > < code > #include < < a class = "el" href = "address_8h_source.html" > address.h< / a > > < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for AddressPool:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_address_pool__inherit__graph.png" border = "0" usemap = "#_address_pool_inherit__map" alt = "Inheritance graph" / > < / div >
< map name = "_address_pool_inherit__map" id = "_address_pool_inherit__map" >
2018-10-13 23:09:56 +02:00
< area shape = "rect" id = "node2" href = "class_address_pool_impl.html" title = "AddressPoolImpl\< MAX\l_DEVICES_ALLOWED \>" alt = "" coords = "5,81,179,122" / > < area shape = "rect" id = "node3" href = "class_address_pool_impl.html" title = "AddressPoolImpl\< USB\l_NUMDEVICES \>" alt = "" coords = "203,81,364,122" / > < / map >
2013-01-30 22:00:18 +01:00
< center > < span class = "legend" > [< a href = "graph_legend.html" > legend< / a > ]< / span > < / center > < / div >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:aa92d7e8f0f515340ae2dc1679b627056" > < td class = "memItemLeft" align = "right" valign = "top" > virtual < a class = "el" href = "struct_usb_device.html" > UsbDevice< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056" > GetUsbDevicePtr< / a > (uint8_t addr)=0< / td > < / tr >
< tr class = "separator:aa92d7e8f0f515340ae2dc1679b627056" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a97df4ef42e50960ce2165f4cdb53e590" > < td class = "memItemLeft" align = "right" valign = "top" > virtual uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590" > AllocAddress< / a > (uint8_t parent, bool is_hub=false, uint8_t port=0)=0< / td > < / tr >
< tr class = "separator:a97df4ef42e50960ce2165f4cdb53e590" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a15fde13223dcb1da89305ad229763562" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_address_pool.html#a15fde13223dcb1da89305ad229763562" > FreeAddress< / a > (uint8_t addr)=0< / td > < / tr >
< tr class = "separator:a15fde13223dcb1da89305ad229763562" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
2013-02-05 20:02:12 +01:00
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "address_8h_source.html#l00090" > 90< / a > of file < a class = "el" href = "address_8h_source.html" > address.h< / a > .< / p >
2013-02-05 20:02:12 +01:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "aa92d7e8f0f515340ae2dc1679b627056" > < / a >
2013-02-17 01:37:13 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > virtual < a class = "el" href = "struct_usb_device.html" > UsbDevice< / a > * AddressPool::GetUsbDevicePtr < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > addr< / em > < / td > < td > )< / td >
2013-02-17 01:37:13 +01:00
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > pure virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Implemented in < a class = "el" href = "class_address_pool_impl.html#aa3e12dda249ef6acbb27592fc8fe1cba" > AddressPoolImpl< MAX_DEVICES_ALLOWED > < / a > , and < a class = "el" href = "class_address_pool_impl.html#aa3e12dda249ef6acbb27592fc8fe1cba" > AddressPoolImpl< USB_NUMDEVICES > < / a > .< / p >
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a97df4ef42e50960ce2165f4cdb53e590" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > virtual uint8_t AddressPool::AllocAddress < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > parent< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > is_hub< / em > = < code > false< / code > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > port< / em > = < code > 0< / code >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > pure virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Implemented in < a class = "el" href = "class_address_pool_impl.html#a14657183c73c631754b31bd0cc588c87" > AddressPoolImpl< MAX_DEVICES_ALLOWED > < / a > , and < a class = "el" href = "class_address_pool_impl.html#a14657183c73c631754b31bd0cc588c87" > AddressPoolImpl< USB_NUMDEVICES > < / a > .< / p >
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a15fde13223dcb1da89305ad229763562" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > virtual void AddressPool::FreeAddress < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > addr< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > pure virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Implemented in < a class = "el" href = "class_address_pool_impl.html#a3d59841faa336c359b0736ca45988ce5" > AddressPoolImpl< MAX_DEVICES_ALLOWED > < / a > , and < a class = "el" href = "class_address_pool_impl.html#a3d59841faa336c359b0736ca45988ce5" > AddressPoolImpl< USB_NUMDEVICES > < / a > .< / p >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following file:< ul >
2013-02-05 22:39:56 +01:00
< li > < a class = "el" href = "address_8h_source.html" > address.h< / a > < / li >
2013-01-30 22:00:18 +01:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2013-02-17 01:37:13 +01:00
Generated by   < a href = "http://www.doxygen.org/index.html" >
2013-01-30 22:00:18 +01:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2018-10-13 16:56:59 +02:00
< / a > 1.8.6
2013-01-30 22:00:18 +01:00
< / small > < / address >
< / body >
< / html >