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: Packet 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.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-members.html">List of all members</a> </div> |
| 86 | <div class="headertitle"> |
| 87 | <div class="title">Packet Class Reference</div> </div> |
| 88 | </div><!--header--> |
| 89 | <div class="contents"> |
| 90 | |
| 91 | <p><code>#include <<a class="el" href="_packet_8hpp_source.html">Packet.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:a9056c84dc52a0e5a0604e9e1ff1068f4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a9056c84dc52a0e5a0604e9e1ff1068f4">Packet</a> ()</td></tr> |
| 96 | <tr class="separator:a9056c84dc52a0e5a0604e9e1ff1068f4"><td class="memSeparator" colspan="2"> </td></tr> |
| 97 | <tr class="memitem:a76722e029a4a31e0507a13ab38b0eb8b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a76722e029a4a31e0507a13ab38b0eb8b">Packet</a> (uint32_t header)</td></tr> |
| 98 | <tr class="separator:a76722e029a4a31e0507a13ab38b0eb8b"><td class="memSeparator" colspan="2"> </td></tr> |
| 99 | <tr class="memitem:a7697fd81c38399a069a401bdd20f234a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a7697fd81c38399a069a401bdd20f234a">Packet</a> (uint32_t header, uint32_t length, std::unique_ptr< unsigned char[]> &data)</td></tr> |
| 100 | <tr class="separator:a7697fd81c38399a069a401bdd20f234a"><td class="memSeparator" colspan="2"> </td></tr> |
| 101 | <tr class="memitem:a899d669702e871676dad234c182c565e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a899d669702e871676dad234c182c565e">Packet</a> (<a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> &&other)</td></tr> |
| 102 | <tr class="separator:a899d669702e871676dad234c182c565e"><td class="memSeparator" colspan="2"> </td></tr> |
| 103 | <tr class="memitem:ad957392aab64265762f231e3530d6b82"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#ad957392aab64265762f231e3530d6b82">~Packet</a> ()=default</td></tr> |
| 104 | <tr class="separator:ad957392aab64265762f231e3530d6b82"><td class="memSeparator" colspan="2"> </td></tr> |
| 105 | <tr class="memitem:aff0444357ca96c624ab275dfc4e63b73"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#aff0444357ca96c624ab275dfc4e63b73">Packet</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> &other)=delete</td></tr> |
| 106 | <tr class="separator:aff0444357ca96c624ab275dfc4e63b73"><td class="memSeparator" colspan="2"> </td></tr> |
| 107 | <tr class="memitem:a473865a46fabc5614debfe1dd2e6a2ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a473865a46fabc5614debfe1dd2e6a2ad">operator=</a> (const <a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> &)=delete</td></tr> |
| 108 | <tr class="separator:a473865a46fabc5614debfe1dd2e6a2ad"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | <tr class="memitem:ab6f1b2fd500924c1cd1d3fba38f42ab4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#ab6f1b2fd500924c1cd1d3fba38f42ab4">operator=</a> (<a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> &&)=default</td></tr> |
| 110 | <tr class="separator:ab6f1b2fd500924c1cd1d3fba38f42ab4"><td class="memSeparator" colspan="2"> </td></tr> |
| 111 | <tr class="memitem:a8d2f29efa0f5f3f920a11b17a7926251"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a8d2f29efa0f5f3f920a11b17a7926251">GetHeader</a> () const</td></tr> |
| 112 | <tr class="separator:a8d2f29efa0f5f3f920a11b17a7926251"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:ab232ac74b80987179d2b185a7a495fa6"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#ab232ac74b80987179d2b185a7a495fa6">GetPacketFamily</a> () const</td></tr> |
| 114 | <tr class="separator:ab232ac74b80987179d2b185a7a495fa6"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:a17b980d48f35a31c27a227e8ceae5402"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a17b980d48f35a31c27a227e8ceae5402">GetPacketId</a> () const</td></tr> |
| 116 | <tr class="separator:a17b980d48f35a31c27a227e8ceae5402"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:aa2a2cf6a0996f7964fc44fabbe489dea"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#aa2a2cf6a0996f7964fc44fabbe489dea">GetPacketClass</a> () const</td></tr> |
| 118 | <tr class="separator:aa2a2cf6a0996f7964fc44fabbe489dea"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:a4ca6e4988eadeca5465455067f42bbff"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a4ca6e4988eadeca5465455067f42bbff">GetPacketType</a> () const</td></tr> |
| 120 | <tr class="separator:a4ca6e4988eadeca5465455067f42bbff"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:a5a218fe9ea18741167670f1bc016b5cf"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a5a218fe9ea18741167670f1bc016b5cf">GetLength</a> () const</td></tr> |
| 122 | <tr class="separator:a5a218fe9ea18741167670f1bc016b5cf"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:ad6bf5cefcc3b6f7223c2cfafd8151d8f"><td class="memItemLeft" align="right" valign="top">const unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#ad6bf5cefcc3b6f7223c2cfafd8151d8f">GetData</a> () const</td></tr> |
| 124 | <tr class="separator:ad6bf5cefcc3b6f7223c2cfafd8151d8f"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a357657ded604ecb97b76251146f7ac75"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a357657ded604ecb97b76251146f7ac75">IsEmpty</a> ()</td></tr> |
| 126 | <tr class="separator:a357657ded604ecb97b76251146f7ac75"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | </table> |
| 128 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 129 | <div class="textblock"> |
| 130 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00018">18</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 131 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 132 | <a id="a9056c84dc52a0e5a0604e9e1ff1068f4"></a> |
| 133 | <h2 class="memtitle"><span class="permalink"><a href="#a9056c84dc52a0e5a0604e9e1ff1068f4">◆ </a></span>Packet() <span class="overload">[1/5]</span></h2> |
| 134 | |
| 135 | <div class="memitem"> |
| 136 | <div class="memproto"> |
| 137 | <table class="mlabels"> |
| 138 | <tr> |
| 139 | <td class="mlabels-left"> |
| 140 | <table class="memname"> |
| 141 | <tr> |
| 142 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> </td> |
| 143 | <td>(</td> |
| 144 | <td class="paramname"></td><td>)</td> |
| 145 | <td></td> |
| 146 | </tr> |
| 147 | </table> |
| 148 | </td> |
| 149 | <td class="mlabels-right"> |
| 150 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 151 | </tr> |
| 152 | </table> |
| 153 | </div><div class="memdoc"> |
| 154 | |
| 155 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00021">21</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 156 | |
| 157 | <p class="reference">Referenced by <a class="el" href="_packet_8hpp_source.html#l00050">Packet::Packet()</a>.</p> |
| 158 | <div class="fragment"><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  : m_Header(0)</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  , m_Length(0)</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  , m_Data(<span class="keyword">nullptr</span>)</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {}</div></div><!-- fragment --> |
| 159 | </div> |
| 160 | </div> |
| 161 | <a id="a76722e029a4a31e0507a13ab38b0eb8b"></a> |
| 162 | <h2 class="memtitle"><span class="permalink"><a href="#a76722e029a4a31e0507a13ab38b0eb8b">◆ </a></span>Packet() <span class="overload">[2/5]</span></h2> |
| 163 | |
| 164 | <div class="memitem"> |
| 165 | <div class="memproto"> |
| 166 | <table class="mlabels"> |
| 167 | <tr> |
| 168 | <td class="mlabels-left"> |
| 169 | <table class="memname"> |
| 170 | <tr> |
| 171 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> </td> |
| 172 | <td>(</td> |
| 173 | <td class="paramtype">uint32_t </td> |
| 174 | <td class="paramname"><em>header</em></td><td>)</td> |
| 175 | <td></td> |
| 176 | </tr> |
| 177 | </table> |
| 178 | </td> |
| 179 | <td class="mlabels-right"> |
| 180 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 181 | </tr> |
| 182 | </table> |
| 183 | </div><div class="memdoc"> |
| 184 | |
| 185 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00027">27</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 186 | <div class="fragment"><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  : m_Header(header)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  , m_Length(0)</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  , m_Data(<span class="keyword">nullptr</span>)</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  m_PacketId = ((header >> 16) & 1023);</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  m_PacketFamily = (header >> 26);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  }</div></div><!-- fragment --> |
| 187 | </div> |
| 188 | </div> |
| 189 | <a id="a7697fd81c38399a069a401bdd20f234a"></a> |
| 190 | <h2 class="memtitle"><span class="permalink"><a href="#a7697fd81c38399a069a401bdd20f234a">◆ </a></span>Packet() <span class="overload">[3/5]</span></h2> |
| 191 | |
| 192 | <div class="memitem"> |
| 193 | <div class="memproto"> |
| 194 | <table class="mlabels"> |
| 195 | <tr> |
| 196 | <td class="mlabels-left"> |
| 197 | <table class="memname"> |
| 198 | <tr> |
| 199 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> </td> |
| 200 | <td>(</td> |
| 201 | <td class="paramtype">uint32_t </td> |
| 202 | <td class="paramname"><em>header</em>, </td> |
| 203 | </tr> |
| 204 | <tr> |
| 205 | <td class="paramkey"></td> |
| 206 | <td></td> |
| 207 | <td class="paramtype">uint32_t </td> |
| 208 | <td class="paramname"><em>length</em>, </td> |
| 209 | </tr> |
| 210 | <tr> |
| 211 | <td class="paramkey"></td> |
| 212 | <td></td> |
| 213 | <td class="paramtype">std::unique_ptr< unsigned char[]> & </td> |
| 214 | <td class="paramname"><em>data</em> </td> |
| 215 | </tr> |
| 216 | <tr> |
| 217 | <td></td> |
| 218 | <td>)</td> |
| 219 | <td></td><td></td> |
| 220 | </tr> |
| 221 | </table> |
| 222 | </td> |
| 223 | <td class="mlabels-right"> |
| 224 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 225 | </tr> |
| 226 | </table> |
| 227 | </div><div class="memdoc"> |
| 228 | |
| 229 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00036">36</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 230 | <div class="fragment"><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  : m_Header(header)</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  , m_Length(length)</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  , m_Data(std::move(data))</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  m_PacketId = ((header >> 16) & 1023);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  m_PacketFamily = (header >> 26);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">if</span> (length == 0 && m_Data != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_invalid_argument_exception.html">armnn::InvalidArgumentException</a>(<span class="stringliteral">"Data should be null when length is zero"</span>);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  }</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  }</div><div class="ttc" id="classarmnn_1_1_invalid_argument_exception_html"><div class="ttname"><a href="classarmnn_1_1_invalid_argument_exception.html">armnn::InvalidArgumentException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00080">Exceptions.hpp:80</a></div></div> |
| 231 | </div><!-- fragment --> |
| 232 | </div> |
| 233 | </div> |
| 234 | <a id="a899d669702e871676dad234c182c565e"></a> |
| 235 | <h2 class="memtitle"><span class="permalink"><a href="#a899d669702e871676dad234c182c565e">◆ </a></span>Packet() <span class="overload">[4/5]</span></h2> |
| 236 | |
| 237 | <div class="memitem"> |
| 238 | <div class="memproto"> |
| 239 | <table class="mlabels"> |
| 240 | <tr> |
| 241 | <td class="mlabels-left"> |
| 242 | <table class="memname"> |
| 243 | <tr> |
| 244 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> </td> |
| 245 | <td>(</td> |
| 246 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> && </td> |
| 247 | <td class="paramname"><em>other</em></td><td>)</td> |
| 248 | <td></td> |
| 249 | </tr> |
| 250 | </table> |
| 251 | </td> |
| 252 | <td class="mlabels-right"> |
| 253 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 254 | </tr> |
| 255 | </table> |
| 256 | </div><div class="memdoc"> |
| 257 | |
| 258 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00050">50</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 259 | |
| 260 | <p class="reference">References <a class="el" href="classarmnn_1_1profiling_1_1_packet.html#a473865a46fabc5614debfe1dd2e6a2ad">Packet::operator=()</a>, <a class="el" href="_packet_8hpp_source.html#l00021">Packet::Packet()</a>, and <a class="el" href="classarmnn_1_1profiling_1_1_packet.html#ad957392aab64265762f231e3530d6b82">Packet::~Packet()</a>.</p> |
| 261 | <div class="fragment"><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  : m_Header(other.m_Header)</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  , m_PacketFamily(other.m_PacketFamily)</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  , m_PacketId(other.m_PacketId)</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  , m_Length(other.m_Length)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  , m_Data(std::move(other.m_Data))</div><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>  other.m_Header = 0;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  other.m_PacketFamily = 0;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  other.m_PacketId = 0;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  other.m_Length = 0;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div></div><!-- fragment --> |
| 262 | </div> |
| 263 | </div> |
| 264 | <a id="ad957392aab64265762f231e3530d6b82"></a> |
| 265 | <h2 class="memtitle"><span class="permalink"><a href="#ad957392aab64265762f231e3530d6b82">◆ </a></span>~Packet()</h2> |
| 266 | |
| 267 | <div class="memitem"> |
| 268 | <div class="memproto"> |
| 269 | <table class="mlabels"> |
| 270 | <tr> |
| 271 | <td class="mlabels-left"> |
| 272 | <table class="memname"> |
| 273 | <tr> |
| 274 | <td class="memname">~<a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> </td> |
| 275 | <td>(</td> |
| 276 | <td class="paramname"></td><td>)</td> |
| 277 | <td></td> |
| 278 | </tr> |
| 279 | </table> |
| 280 | </td> |
| 281 | <td class="mlabels-right"> |
| 282 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 283 | </tr> |
| 284 | </table> |
| 285 | </div><div class="memdoc"> |
| 286 | |
| 287 | <p class="reference">Referenced by <a class="el" href="_packet_8hpp_source.html#l00050">Packet::Packet()</a>.</p> |
| 288 | |
| 289 | </div> |
| 290 | </div> |
| 291 | <a id="aff0444357ca96c624ab275dfc4e63b73"></a> |
| 292 | <h2 class="memtitle"><span class="permalink"><a href="#aff0444357ca96c624ab275dfc4e63b73">◆ </a></span>Packet() <span class="overload">[5/5]</span></h2> |
| 293 | |
| 294 | <div class="memitem"> |
| 295 | <div class="memproto"> |
| 296 | <table class="mlabels"> |
| 297 | <tr> |
| 298 | <td class="mlabels-left"> |
| 299 | <table class="memname"> |
| 300 | <tr> |
| 301 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> </td> |
| 302 | <td>(</td> |
| 303 | <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> & </td> |
| 304 | <td class="paramname"><em>other</em></td><td>)</td> |
| 305 | <td></td> |
| 306 | </tr> |
| 307 | </table> |
| 308 | </td> |
| 309 | <td class="mlabels-right"> |
| 310 | <span class="mlabels"><span class="mlabel">delete</span></span> </td> |
| 311 | </tr> |
| 312 | </table> |
| 313 | </div><div class="memdoc"> |
| 314 | |
| 315 | </div> |
| 316 | </div> |
| 317 | <h2 class="groupheader">Member Function Documentation</h2> |
| 318 | <a id="ad6bf5cefcc3b6f7223c2cfafd8151d8f"></a> |
| 319 | <h2 class="memtitle"><span class="permalink"><a href="#ad6bf5cefcc3b6f7223c2cfafd8151d8f">◆ </a></span>GetData()</h2> |
| 320 | |
| 321 | <div class="memitem"> |
| 322 | <div class="memproto"> |
| 323 | <table class="mlabels"> |
| 324 | <tr> |
| 325 | <td class="mlabels-left"> |
| 326 | <table class="memname"> |
| 327 | <tr> |
| 328 | <td class="memname">const unsigned char* GetData </td> |
| 329 | <td>(</td> |
| 330 | <td class="paramname"></td><td>)</td> |
| 331 | <td> const</td> |
| 332 | </tr> |
| 333 | </table> |
| 334 | </td> |
| 335 | <td class="mlabels-right"> |
| 336 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 337 | </tr> |
| 338 | </table> |
| 339 | </div><div class="memdoc"> |
| 340 | |
| 341 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00075">75</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 342 | |
| 343 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00287">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_periodic_counter_selection_response_handler_8cpp_source.html#l00018">PeriodicCounterSelectionResponseHandler::operator()()</a>, <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.html#l00064">ProfilingConnectionDumpToFileDecorator::ReadPacket()</a>, and <a class="el" href="_stream_metadata_command_handler_8cpp_source.html#l00057">armnn::gatordmock::ReadString()</a>.</p> |
| 344 | <div class="fragment"><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> { <span class="keywordflow">return</span> m_Data.get(); }</div></div><!-- fragment --> |
| 345 | </div> |
| 346 | </div> |
| 347 | <a id="a8d2f29efa0f5f3f920a11b17a7926251"></a> |
| 348 | <h2 class="memtitle"><span class="permalink"><a href="#a8d2f29efa0f5f3f920a11b17a7926251">◆ </a></span>GetHeader()</h2> |
| 349 | |
| 350 | <div class="memitem"> |
| 351 | <div class="memproto"> |
| 352 | <table class="mlabels"> |
| 353 | <tr> |
| 354 | <td class="mlabels-left"> |
| 355 | <table class="memname"> |
| 356 | <tr> |
| 357 | <td class="memname">uint32_t GetHeader </td> |
| 358 | <td>(</td> |
| 359 | <td class="paramname"></td><td>)</td> |
| 360 | <td> const</td> |
| 361 | </tr> |
| 362 | </table> |
| 363 | </td> |
| 364 | <td class="mlabels-right"> |
| 365 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 366 | </tr> |
| 367 | </table> |
| 368 | </div><div class="memdoc"> |
| 369 | |
| 370 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00069">69</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 371 | |
| 372 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00287">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.html#l00064">ProfilingConnectionDumpToFileDecorator::ReadPacket()</a>.</p> |
| 373 | <div class="fragment"><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> { <span class="keywordflow">return</span> m_Header; }</div></div><!-- fragment --> |
| 374 | </div> |
| 375 | </div> |
| 376 | <a id="a5a218fe9ea18741167670f1bc016b5cf"></a> |
| 377 | <h2 class="memtitle"><span class="permalink"><a href="#a5a218fe9ea18741167670f1bc016b5cf">◆ </a></span>GetLength()</h2> |
| 378 | |
| 379 | <div class="memitem"> |
| 380 | <div class="memproto"> |
| 381 | <table class="mlabels"> |
| 382 | <tr> |
| 383 | <td class="mlabels-left"> |
| 384 | <table class="memname"> |
| 385 | <tr> |
| 386 | <td class="memname">uint32_t GetLength </td> |
| 387 | <td>(</td> |
| 388 | <td class="paramname"></td><td>)</td> |
| 389 | <td> const</td> |
| 390 | </tr> |
| 391 | </table> |
| 392 | </td> |
| 393 | <td class="mlabels-right"> |
| 394 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 395 | </tr> |
| 396 | </table> |
| 397 | </div><div class="memdoc"> |
| 398 | |
| 399 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00074">74</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 400 | |
| 401 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00287">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_periodic_counter_selection_response_handler_8cpp_source.html#l00018">PeriodicCounterSelectionResponseHandler::operator()()</a>, <a class="el" href="_profiling_connection_dump_to_file_decorator_8cpp_source.html#l00064">ProfilingConnectionDumpToFileDecorator::ReadPacket()</a>, <a class="el" href="_stream_metadata_command_handler_8cpp_source.html#l00057">armnn::gatordmock::ReadString()</a>, and <a class="el" href="_gatord_mock_service_8cpp_source.html#l00214">GatordMockService::WaitCommand()</a>.</p> |
| 402 | <div class="fragment"><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> { <span class="keywordflow">return</span> m_Length; }</div></div><!-- fragment --> |
| 403 | </div> |
| 404 | </div> |
| 405 | <a id="aa2a2cf6a0996f7964fc44fabbe489dea"></a> |
| 406 | <h2 class="memtitle"><span class="permalink"><a href="#aa2a2cf6a0996f7964fc44fabbe489dea">◆ </a></span>GetPacketClass()</h2> |
| 407 | |
| 408 | <div class="memitem"> |
| 409 | <div class="memproto"> |
| 410 | <table class="mlabels"> |
| 411 | <tr> |
| 412 | <td class="mlabels-left"> |
| 413 | <table class="memname"> |
| 414 | <tr> |
| 415 | <td class="memname">uint32_t GetPacketClass </td> |
| 416 | <td>(</td> |
| 417 | <td class="paramname"></td><td>)</td> |
| 418 | <td> const</td> |
| 419 | </tr> |
| 420 | </table> |
| 421 | </td> |
| 422 | <td class="mlabels-right"> |
| 423 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 424 | </tr> |
| 425 | </table> |
| 426 | </div><div class="memdoc"> |
| 427 | |
| 428 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00072">72</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 429 | |
| 430 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00287">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 431 | <div class="fragment"><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> { <span class="keywordflow">return</span> m_PacketId >> 3; }</div></div><!-- fragment --> |
| 432 | </div> |
| 433 | </div> |
| 434 | <a id="ab232ac74b80987179d2b185a7a495fa6"></a> |
| 435 | <h2 class="memtitle"><span class="permalink"><a href="#ab232ac74b80987179d2b185a7a495fa6">◆ </a></span>GetPacketFamily()</h2> |
| 436 | |
| 437 | <div class="memitem"> |
| 438 | <div class="memproto"> |
| 439 | <table class="mlabels"> |
| 440 | <tr> |
| 441 | <td class="mlabels-left"> |
| 442 | <table class="memname"> |
| 443 | <tr> |
| 444 | <td class="memname">uint32_t GetPacketFamily </td> |
| 445 | <td>(</td> |
| 446 | <td class="paramname"></td><td>)</td> |
| 447 | <td> const</td> |
| 448 | </tr> |
| 449 | </table> |
| 450 | </td> |
| 451 | <td class="mlabels-right"> |
| 452 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 453 | </tr> |
| 454 | </table> |
| 455 | </div><div class="memdoc"> |
| 456 | |
| 457 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00070">70</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 458 | |
| 459 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00287">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_per_job_counter_selection_command_handler_8cpp_source.html#l00016">PerJobCounterSelectionCommandHandler::operator()()</a>, <a class="el" href="_connection_acknowledged_command_handler_8cpp_source.html#l00018">ConnectionAcknowledgedCommandHandler::operator()()</a>, <a class="el" href="_request_counter_directory_command_handler_8cpp_source.html#l00016">RequestCounterDirectoryCommandHandler::operator()()</a>, <a class="el" href="_periodic_counter_selection_command_handler_8cpp_source.html#l00059">PeriodicCounterSelectionCommandHandler::operator()()</a>, <a class="el" href="_command_handler_8cpp_source.html#l00034">CommandHandler::Stop()</a>, and <a class="el" href="_gatord_mock_service_8cpp_source.html#l00214">GatordMockService::WaitCommand()</a>.</p> |
| 460 | <div class="fragment"><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> { <span class="keywordflow">return</span> m_PacketFamily; }</div></div><!-- fragment --> |
| 461 | </div> |
| 462 | </div> |
| 463 | <a id="a17b980d48f35a31c27a227e8ceae5402"></a> |
| 464 | <h2 class="memtitle"><span class="permalink"><a href="#a17b980d48f35a31c27a227e8ceae5402">◆ </a></span>GetPacketId()</h2> |
| 465 | |
| 466 | <div class="memitem"> |
| 467 | <div class="memproto"> |
| 468 | <table class="mlabels"> |
| 469 | <tr> |
| 470 | <td class="mlabels-left"> |
| 471 | <table class="memname"> |
| 472 | <tr> |
| 473 | <td class="memname">uint32_t GetPacketId </td> |
| 474 | <td>(</td> |
| 475 | <td class="paramname"></td><td>)</td> |
| 476 | <td> const</td> |
| 477 | </tr> |
| 478 | </table> |
| 479 | </td> |
| 480 | <td class="mlabels-right"> |
| 481 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 482 | </tr> |
| 483 | </table> |
| 484 | </div><div class="memdoc"> |
| 485 | |
| 486 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00071">71</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 487 | |
| 488 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00287">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_per_job_counter_selection_command_handler_8cpp_source.html#l00016">PerJobCounterSelectionCommandHandler::operator()()</a>, <a class="el" href="_connection_acknowledged_command_handler_8cpp_source.html#l00018">ConnectionAcknowledgedCommandHandler::operator()()</a>, <a class="el" href="_request_counter_directory_command_handler_8cpp_source.html#l00016">RequestCounterDirectoryCommandHandler::operator()()</a>, <a class="el" href="_periodic_counter_selection_command_handler_8cpp_source.html#l00059">PeriodicCounterSelectionCommandHandler::operator()()</a>, <a class="el" href="_command_handler_8cpp_source.html#l00034">CommandHandler::Stop()</a>, and <a class="el" href="_gatord_mock_service_8cpp_source.html#l00214">GatordMockService::WaitCommand()</a>.</p> |
| 489 | <div class="fragment"><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> { <span class="keywordflow">return</span> m_PacketId; }</div></div><!-- fragment --> |
| 490 | </div> |
| 491 | </div> |
| 492 | <a id="a4ca6e4988eadeca5465455067f42bbff"></a> |
| 493 | <h2 class="memtitle"><span class="permalink"><a href="#a4ca6e4988eadeca5465455067f42bbff">◆ </a></span>GetPacketType()</h2> |
| 494 | |
| 495 | <div class="memitem"> |
| 496 | <div class="memproto"> |
| 497 | <table class="mlabels"> |
| 498 | <tr> |
| 499 | <td class="mlabels-left"> |
| 500 | <table class="memname"> |
| 501 | <tr> |
| 502 | <td class="memname">uint32_t GetPacketType </td> |
| 503 | <td>(</td> |
| 504 | <td class="paramname"></td><td>)</td> |
| 505 | <td> const</td> |
| 506 | </tr> |
| 507 | </table> |
| 508 | </td> |
| 509 | <td class="mlabels-right"> |
| 510 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 511 | </tr> |
| 512 | </table> |
| 513 | </div><div class="memdoc"> |
| 514 | |
| 515 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00073">73</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 516 | |
| 517 | <p class="reference">Referenced by <a class="el" href="_profiling_tests_8cpp_source.html#l00287">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 518 | <div class="fragment"><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> { <span class="keywordflow">return</span> m_PacketId & 7; }</div></div><!-- fragment --> |
| 519 | </div> |
| 520 | </div> |
| 521 | <a id="a357657ded604ecb97b76251146f7ac75"></a> |
| 522 | <h2 class="memtitle"><span class="permalink"><a href="#a357657ded604ecb97b76251146f7ac75">◆ </a></span>IsEmpty()</h2> |
| 523 | |
| 524 | <div class="memitem"> |
| 525 | <div class="memproto"> |
| 526 | <table class="mlabels"> |
| 527 | <tr> |
| 528 | <td class="mlabels-left"> |
| 529 | <table class="memname"> |
| 530 | <tr> |
| 531 | <td class="memname">bool IsEmpty </td> |
| 532 | <td>(</td> |
| 533 | <td class="paramname"></td><td>)</td> |
| 534 | <td></td> |
| 535 | </tr> |
| 536 | </table> |
| 537 | </td> |
| 538 | <td class="mlabels-right"> |
| 539 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 540 | </tr> |
| 541 | </table> |
| 542 | </div><div class="memdoc"> |
| 543 | |
| 544 | <p class="definition">Definition at line <a class="el" href="_packet_8hpp_source.html#l00077">77</a> of file <a class="el" href="_packet_8hpp_source.html">Packet.hpp</a>.</p> |
| 545 | |
| 546 | <p class="reference">Referenced by <a class="el" href="_command_handler_8cpp_source.html#l00034">CommandHandler::Stop()</a>.</p> |
| 547 | <div class="fragment"><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> { <span class="keywordflow">return</span> m_Header == 0 && m_Length == 0; }</div></div><!-- fragment --> |
| 548 | </div> |
| 549 | </div> |
| 550 | <a id="a473865a46fabc5614debfe1dd2e6a2ad"></a> |
| 551 | <h2 class="memtitle"><span class="permalink"><a href="#a473865a46fabc5614debfe1dd2e6a2ad">◆ </a></span>operator=() <span class="overload">[1/2]</span></h2> |
| 552 | |
| 553 | <div class="memitem"> |
| 554 | <div class="memproto"> |
| 555 | <table class="mlabels"> |
| 556 | <tr> |
| 557 | <td class="mlabels-left"> |
| 558 | <table class="memname"> |
| 559 | <tr> |
| 560 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a>& operator= </td> |
| 561 | <td>(</td> |
| 562 | <td class="paramtype">const <a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> & </td> |
| 563 | <td class="paramname"></td><td>)</td> |
| 564 | <td></td> |
| 565 | </tr> |
| 566 | </table> |
| 567 | </td> |
| 568 | <td class="mlabels-right"> |
| 569 | <span class="mlabels"><span class="mlabel">delete</span></span> </td> |
| 570 | </tr> |
| 571 | </table> |
| 572 | </div><div class="memdoc"> |
| 573 | |
| 574 | <p class="reference">Referenced by <a class="el" href="_packet_8hpp_source.html#l00050">Packet::Packet()</a>.</p> |
| 575 | |
| 576 | </div> |
| 577 | </div> |
| 578 | <a id="ab6f1b2fd500924c1cd1d3fba38f42ab4"></a> |
| 579 | <h2 class="memtitle"><span class="permalink"><a href="#ab6f1b2fd500924c1cd1d3fba38f42ab4">◆ </a></span>operator=() <span class="overload">[2/2]</span></h2> |
| 580 | |
| 581 | <div class="memitem"> |
| 582 | <div class="memproto"> |
| 583 | <table class="mlabels"> |
| 584 | <tr> |
| 585 | <td class="mlabels-left"> |
| 586 | <table class="memname"> |
| 587 | <tr> |
| 588 | <td class="memname"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a>& operator= </td> |
| 589 | <td>(</td> |
| 590 | <td class="paramtype"><a class="el" href="classarmnn_1_1profiling_1_1_packet.html">Packet</a> && </td> |
| 591 | <td class="paramname"></td><td>)</td> |
| 592 | <td></td> |
| 593 | </tr> |
| 594 | </table> |
| 595 | </td> |
| 596 | <td class="mlabels-right"> |
| 597 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 598 | </tr> |
| 599 | </table> |
| 600 | </div><div class="memdoc"> |
| 601 | |
| 602 | </div> |
| 603 | </div> |
| 604 | <hr/>The documentation for this class was generated from the following file:<ul> |
| 605 | <li>src/profiling/<a class="el" href="_packet_8hpp_source.html">Packet.hpp</a></li> |
| 606 | </ul> |
| 607 | </div><!-- contents --> |
| 608 | </div><!-- doc-content --> |
| 609 | <!-- start footer part --> |
| 610 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 611 | <ul> |
| 612 | <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.html">Packet</a></li> |
| 613 | <li class="footer">Generated on Fri Mar 13 2020 16:07:06 for ArmNN by |
| 614 | <a href="http://www.doxygen.org/index.html"> |
| 615 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 616 | </ul> |
| 617 | </div> |
| 618 | </body> |
| 619 | </html> |