Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: PacketVersionResolver Class Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('classarmnn_1_1profiling_1_1_packet_version_resolver.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-methods">Public Member Functions</a> | |
| 85 | <a href="classarmnn_1_1profiling_1_1_packet_version_resolver-members.html">List of all members</a> </div> |
| 86 | <div class="headertitle"> |
| 87 | <div class="title">PacketVersionResolver Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div> |
| 88 | </div><!--header--> |
| 89 | <div class="contents"> |
| 90 | |
| 91 | <p><code>#include <<a class="el" href="_packet_version_resolver_8hpp_source.html">PacketVersionResolver.hpp</a>></code></p> |
| 92 | <table class="memberdecls"> |
| 93 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 94 | Public Member Functions</h2></td></tr> |
| 95 | <tr class="memitem:ab0076d227b79d9853d4fc9c397edf07c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet_version_resolver.html#ab0076d227b79d9853d4fc9c397edf07c">PacketVersionResolver</a> ()=default</td></tr> |
| 96 | <tr class="separator:ab0076d227b79d9853d4fc9c397edf07c"><td class="memSeparator" colspan="2"> </td></tr> |
| 97 | <tr class="memitem:a765f059d90a38334dfdd678565390313"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet_version_resolver.html#a765f059d90a38334dfdd678565390313">~PacketVersionResolver</a> ()=default</td></tr> |
| 98 | <tr class="separator:a765f059d90a38334dfdd678565390313"><td class="memSeparator" colspan="2"> </td></tr> |
| 99 | <tr class="memitem:ac8ad466123304f923e64997ac096926a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_version.html">Version</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet_version_resolver.html#ac8ad466123304f923e64997ac096926a">ResolvePacketVersion</a> (uint32_t familyId, uint32_t packetId) const</td></tr> |
| 100 | <tr class="separator:ac8ad466123304f923e64997ac096926a"><td class="memSeparator" colspan="2"> </td></tr> |
| 101 | </table> |
| 102 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 103 | <div class="textblock"> |
| 104 | <p class="definition">Definition at line <a class="el" href="_packet_version_resolver_8hpp_source.html#l00036">36</a> of file <a class="el" href="_packet_version_resolver_8hpp_source.html">PacketVersionResolver.hpp</a>.</p> |
| 105 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 106 | <a id="ab0076d227b79d9853d4fc9c397edf07c"></a> |
| 107 | <h2 class="memtitle"><span class="permalink"><a href="#ab0076d227b79d9853d4fc9c397edf07c">◆ </a></span>PacketVersionResolver()</h2> |
| 108 | |
| 109 | <div class="memitem"> |
| 110 | <div class="memproto"> |
| 111 | <table class="mlabels"> |
| 112 | <tr> |
| 113 | <td class="mlabels-left"> |
| 114 | <table class="memname"> |
| 115 | <tr> |
| 116 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_packet_version_resolver.html">PacketVersionResolver</a> </td> |
| 117 | <td>(</td> |
| 118 | <td class="paramname"></td><td>)</td> |
| 119 | <td></td> |
| 120 | </tr> |
| 121 | </table> |
| 122 | </td> |
| 123 | <td class="mlabels-right"> |
| 124 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 125 | </tr> |
| 126 | </table> |
| 127 | </div><div class="memdoc"> |
| 128 | |
| 129 | </div> |
| 130 | </div> |
| 131 | <a id="a765f059d90a38334dfdd678565390313"></a> |
| 132 | <h2 class="memtitle"><span class="permalink"><a href="#a765f059d90a38334dfdd678565390313">◆ </a></span>~PacketVersionResolver()</h2> |
| 133 | |
| 134 | <div class="memitem"> |
| 135 | <div class="memproto"> |
| 136 | <table class="mlabels"> |
| 137 | <tr> |
| 138 | <td class="mlabels-left"> |
| 139 | <table class="memname"> |
| 140 | <tr> |
| 141 | <td class="memname">~<a class="el" href="classarmnn_1_1profiling_1_1_packet_version_resolver.html">PacketVersionResolver</a> </td> |
| 142 | <td>(</td> |
| 143 | <td class="paramname"></td><td>)</td> |
| 144 | <td></td> |
| 145 | </tr> |
| 146 | </table> |
| 147 | </td> |
| 148 | <td class="mlabels-right"> |
| 149 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 150 | </tr> |
| 151 | </table> |
| 152 | </div><div class="memdoc"> |
| 153 | |
| 154 | </div> |
| 155 | </div> |
| 156 | <h2 class="groupheader">Member Function Documentation</h2> |
| 157 | <a id="ac8ad466123304f923e64997ac096926a"></a> |
| 158 | <h2 class="memtitle"><span class="permalink"><a href="#ac8ad466123304f923e64997ac096926a">◆ </a></span>ResolvePacketVersion()</h2> |
| 159 | |
| 160 | <div class="memitem"> |
| 161 | <div class="memproto"> |
| 162 | <table class="memname"> |
| 163 | <tr> |
| 164 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_version.html">Version</a> ResolvePacketVersion </td> |
| 165 | <td>(</td> |
| 166 | <td class="paramtype">uint32_t </td> |
| 167 | <td class="paramname"><em>familyId</em>, </td> |
| 168 | </tr> |
| 169 | <tr> |
| 170 | <td class="paramkey"></td> |
| 171 | <td></td> |
| 172 | <td class="paramtype">uint32_t </td> |
| 173 | <td class="paramname"><em>packetId</em> </td> |
| 174 | </tr> |
| 175 | <tr> |
| 176 | <td></td> |
| 177 | <td>)</td> |
| 178 | <td></td><td> const</td> |
| 179 | </tr> |
| 180 | </table> |
| 181 | </div><div class="memdoc"> |
| 182 | |
| 183 | <p class="definition">Definition at line <a class="el" href="_packet_version_resolver_8cpp_source.html#l00055">55</a> of file <a class="el" href="_packet_version_resolver_8cpp_source.html">PacketVersionResolver.cpp</a>.</p> |
| 184 | |
| 185 | <p class="reference">Referenced by <a class="el" href="_backend_profiling_tests_8cpp_source.html#l00136">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_gatord_mock_main_8cpp_source.html#l00018">main()</a>, <a class="el" href="_command_handler_8cpp_source.html#l00034">CommandHandler::Stop()</a>, <a class="el" href="_gatord_mock_service_8cpp_source.html#l00214">GatordMockService::WaitCommand()</a>, and <a class="el" href="_file_only_profiling_connection_8cpp_source.html#l00112">FileOnlyProfilingConnection::WritePacket()</a>.</p> |
| 186 | <div class="fragment"><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  boost::ignore_unused(familyId, packetId);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">// NOTE: For now every packet specification is at version 1.0.0</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">return</span> Version(1, 0, 0);</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> }</div></div><!-- fragment --> |
| 187 | </div> |
| 188 | </div> |
| 189 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 190 | <li>src/profiling/<a class="el" href="_packet_version_resolver_8hpp_source.html">PacketVersionResolver.hpp</a></li> |
| 191 | <li>src/profiling/<a class="el" href="_packet_version_resolver_8cpp_source.html">PacketVersionResolver.cpp</a></li> |
| 192 | </ul> |
| 193 | </div><!-- contents --> |
| 194 | </div><!-- doc-content --> |
| 195 | <!-- start footer part --> |
| 196 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 197 | <ul> |
| 198 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="namespacearmnn_1_1profiling.html">profiling</a></li><li class="navelem"><a class="el" href="classarmnn_1_1profiling_1_1_packet_version_resolver.html">PacketVersionResolver</a></li> |
| 199 | <li class="footer">Generated on Fri Mar 13 2020 16:07:06 for ArmNN by |
| 200 | <a href="http://www.doxygen.org/index.html"> |
| 201 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 202 | </ul> |
| 203 | </div> |
| 204 | </body> |
| 205 | </html> |