2021-03-23 12:43:48 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2013-01-30 22:00:18 +01:00
< 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" / >
2022-12-15 11:52:18 +01:00
< meta name = "generator" content = "Doxygen 1.9.1" / >
2020-11-18 20:17:17 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2013-02-17 01:37:13 +01:00
< title > USB Host Shield 2.0: AddressPoolImpl< MAX_DEVICES_ALLOWED > Class Template 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" / >
2019-08-31 18:18:58 +02:00
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
2013-01-30 22:00:18 +01:00
< script type = "text/javascript" src = "search/search.js" > < / script >
< 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;" >
2019-08-31 18:18:58 +02:00
< td id = "projectalign" 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 -->
2022-12-15 11:52:18 +01:00
<!-- Generated by Doxygen 1.9.1 -->
2013-01-30 22:00:18 +01:00
< script type = "text/javascript" >
2021-03-23 12:43:48 +01:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2022-12-15 11:52:18 +01:00
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
2021-03-23 12:43:48 +01:00
/* @license-end */
2013-01-30 22:00:18 +01:00
< / script >
2020-11-18 20:17:17 +01:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
2021-03-23 12:43:48 +01:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2020-11-18 20:17:17 +01:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2021-03-23 12:43:48 +01:00
/* @license-end */< / script >
2020-11-18 20:17:17 +01:00
< div id = "main-nav" > < / 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)">
2019-08-31 18:18:58 +02:00
< / 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_impl-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > AddressPoolImpl< MAX_DEVICES_ALLOWED > Class Template Reference< / 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 AddressPoolImpl< MAX_DEVICES_ALLOWED > :< / div >
< div class = "dyncontent" >
2022-12-15 11:52:18 +01:00
< div class = "center" > < img src = "class_address_pool_impl__inherit__graph.png" border = "0" usemap = "#a_address_pool_impl_3_01_m_a_x___d_e_v_i_c_e_s___a_l_l_o_w_e_d_01_4_inherit__map" alt = "Inheritance graph" / > < / div >
< map name = "a_address_pool_impl_3_01_m_a_x___d_e_v_i_c_e_s___a_l_l_o_w_e_d_01_4_inherit__map" id = "a_address_pool_impl_3_01_m_a_x___d_e_v_i_c_e_s___a_l_l_o_w_e_d_01_4_inherit__map" >
2021-03-23 12:43:48 +01:00
< area shape = "rect" title = " " alt = "" coords = "5,80,181,121" / >
< area shape = "rect" href = "class_address_pool.html" title = " " alt = "" coords = "42,5,145,32" / >
2019-08-31 18:18:58 +02:00
< / map >
2013-01-30 22:00:18 +01:00
< center > < span class = "legend" > [< a href = "graph_legend.html" > legend< / a > ]< / span > < / center > < / div >
< div class = "dynheader" >
Collaboration diagram for AddressPoolImpl< MAX_DEVICES_ALLOWED > :< / div >
< div class = "dyncontent" >
2022-12-15 11:52:18 +01:00
< div class = "center" > < img src = "class_address_pool_impl__coll__graph.png" border = "0" usemap = "#a_address_pool_impl_3_01_m_a_x___d_e_v_i_c_e_s___a_l_l_o_w_e_d_01_4_coll__map" alt = "Collaboration graph" / > < / div >
< map name = "a_address_pool_impl_3_01_m_a_x___d_e_v_i_c_e_s___a_l_l_o_w_e_d_01_4_coll__map" id = "a_address_pool_impl_3_01_m_a_x___d_e_v_i_c_e_s___a_l_l_o_w_e_d_01_4_coll__map" >
2021-03-23 12:43:48 +01:00
< area shape = "rect" title = " " alt = "" coords = "5,80,181,121" / >
< area shape = "rect" href = "class_address_pool.html" title = " " alt = "" coords = "42,5,145,32" / >
2019-08-31 18:18:58 +02:00
< / 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:aeaf73d809ebb97bb1015789b8dc31ffa" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_address_pool_impl.html#aeaf73d809ebb97bb1015789b8dc31ffa" > AddressPoolImpl< / a > ()< / td > < / tr >
< tr class = "separator:aeaf73d809ebb97bb1015789b8dc31ffa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa3e12dda249ef6acbb27592fc8fe1cba" > < 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_impl.html#aa3e12dda249ef6acbb27592fc8fe1cba" > GetUsbDevicePtr< / a > (uint8_t addr)< / td > < / tr >
< tr class = "separator:aa3e12dda249ef6acbb27592fc8fe1cba" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-08-31 18:18:58 +02:00
< tr class = "memitem:a09e6dc797f82543eba0879369116182e" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_address_pool_impl.html#a09e6dc797f82543eba0879369116182e" > ForEachUsbDevice< / a > (< a class = "el" href = "address_8h.html#ae95131d8d03796566b00a312faa8360a" > UsbDeviceHandleFunc< / a > pfunc)< / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "separator:a09e6dc797f82543eba0879369116182e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a14657183c73c631754b31bd0cc588c87" > < td class = "memItemLeft" align = "right" valign = "top" > virtual uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_address_pool_impl.html#a14657183c73c631754b31bd0cc588c87" > AllocAddress< / a > (uint8_t parent, bool is_hub=false, uint8_t port=0)< / td > < / tr >
< tr class = "separator:a14657183c73c631754b31bd0cc588c87" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3d59841faa336c359b0736ca45988ce5" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_address_pool_impl.html#a3d59841faa336c359b0736ca45988ce5" > FreeAddress< / a > (uint8_t addr)< / td > < / tr >
< tr class = "separator:a3d59841faa336c359b0736ca45988ce5" > < 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 >
2019-08-31 18:18:58 +02:00
< div class = "textblock" > < h3 > template< const uint8_t MAX_DEVICES_ALLOWED> < br / >
2013-02-05 20:02:12 +01:00
class AddressPoolImpl< MAX_DEVICES_ALLOWED > < / h3 >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "address_8h_source.html#l00103" > 103< / 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" > Constructor & Destructor Documentation< / h2 >
2020-11-18 20:17:17 +01:00
< a id = "aeaf73d809ebb97bb1015789b8dc31ffa" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aeaf73d809ebb97bb1015789b8dc31ffa" > ◆ < / a > < / span > AddressPoolImpl()< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< const uint8_t MAX_DEVICES_ALLOWED> < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "class_address_pool_impl.html" > AddressPoolImpl< / a > < MAX_DEVICES_ALLOWED > ::< a class = "el" href = "class_address_pool_impl.html" > AddressPoolImpl< / a > < / td >
< td > (< / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < / 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" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "address_8h_source.html#l00171" > 171< / a > of file < a class = "el" href = "address_8h_source.html" > address.h< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
2020-11-18 20:17:17 +01:00
< a id = "aa3e12dda249ef6acbb27592fc8fe1cba" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa3e12dda249ef6acbb27592fc8fe1cba" > ◆ < / a > < / span > GetUsbDevicePtr()< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< const uint8_t MAX_DEVICES_ALLOWED> < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > virtual < a class = "el" href = "struct_usb_device.html" > UsbDevice< / a > * < a class = "el" href = "class_address_pool_impl.html" > AddressPoolImpl< / a > < MAX_DEVICES_ALLOWED > ::GetUsbDevicePtr < / td >
2013-01-30 22:00:18 +01:00
< 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" > inline< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-17 01:37:13 +01:00
< p > Implements < a class = "el" href = "class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056" > AddressPool< / a > .< / p >
2013-01-30 22:00:18 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "address_8h_source.html#l00188" > 188< / a > of file < a class = "el" href = "address_8h_source.html" > address.h< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "a09e6dc797f82543eba0879369116182e" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a09e6dc797f82543eba0879369116182e" > ◆ < / a > < / span > ForEachUsbDevice()< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< const uint8_t MAX_DEVICES_ALLOWED> < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void < a class = "el" href = "class_address_pool_impl.html" > AddressPoolImpl< / a > < MAX_DEVICES_ALLOWED > ::ForEachUsbDevice < / td >
< td > (< / td >
2019-08-31 18:18:58 +02:00
< td class = "paramtype" > < a class = "el" href = "address_8h.html#ae95131d8d03796566b00a312faa8360a" > UsbDeviceHandleFunc< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > pfunc< / 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" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "address_8h_source.html#l00199" > 199< / a > of file < a class = "el" href = "address_8h_source.html" > address.h< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "a14657183c73c631754b31bd0cc588c87" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a14657183c73c631754b31bd0cc588c87" > ◆ < / a > < / span > AllocAddress()< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< const uint8_t MAX_DEVICES_ALLOWED> < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > virtual uint8_t < a class = "el" href = "class_address_pool_impl.html" > AddressPoolImpl< / a > < MAX_DEVICES_ALLOWED > ::AllocAddress < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
2013-02-17 01:37:13 +01:00
< 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 >
2013-01-30 22:00:18 +01:00
< td > < / td >
2013-02-17 01:37:13 +01:00
< td > )< / td >
< td > < / td > < td > < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-17 01:37:13 +01:00
< p > Implements < a class = "el" href = "class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590" > AddressPool< / a > .< / p >
2013-01-30 22:00:18 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "address_8h_source.html#l00210" > 210< / a > of file < a class = "el" href = "address_8h_source.html" > address.h< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "a3d59841faa336c359b0736ca45988ce5" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3d59841faa336c359b0736ca45988ce5" > ◆ < / a > < / span > FreeAddress()< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< const uint8_t MAX_DEVICES_ALLOWED> < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > virtual void < a class = "el" href = "class_address_pool_impl.html" > AddressPoolImpl< / a > < MAX_DEVICES_ALLOWED > ::FreeAddress < / td >
2013-01-30 22:00:18 +01:00
< 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" > inline< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-17 01:37:13 +01:00
< p > Implements < a class = "el" href = "class_address_pool.html#a15fde13223dcb1da89305ad229763562" > AddressPool< / a > .< / p >
2013-01-30 22:00:18 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "address_8h_source.html#l00262" > 262< / a > of file < a class = "el" href = "address_8h_source.html" > address.h< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / 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 >
2022-12-15 11:52:18 +01:00
Generated by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.9.1
2013-01-30 22:00:18 +01:00
< / small > < / address >
< / body >
< / html >