Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

classtesting_1_1internal_1_1_thread_local.html 14 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  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.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>uTL: testing::internal::ThreadLocal&lt; T &gt; Class Template 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. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  18. $(document).ready(initResizable);
  19. /* @license-end */</script>
  20. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  21. <script type="text/javascript" src="search/searchdata.js"></script>
  22. <script type="text/javascript" src="search/search.js"></script>
  23. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  24. </head>
  25. <body>
  26. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  27. <div id="titlearea">
  28. <table cellspacing="0" cellpadding="0">
  29. <tbody>
  30. <tr style="height: 56px;">
  31. <td id="projectalign" style="padding-left: 0.5em;">
  32. <div id="projectname">uTL
  33. </div>
  34. <div id="projectbrief">micro Template library</div>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. <!-- end header part -->
  41. <!-- Generated by Doxygen 1.8.14 -->
  42. <script type="text/javascript">
  43. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  44. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  45. /* @license-end */
  46. </script>
  47. <script type="text/javascript" src="menudata.js"></script>
  48. <script type="text/javascript" src="menu.js"></script>
  49. <script type="text/javascript">
  50. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  51. $(function() {
  52. initMenu('',true,false,'search.php','Search');
  53. $(document).ready(function() { init_search(); });
  54. });
  55. /* @license-end */</script>
  56. <div id="main-nav"></div>
  57. </div><!-- top -->
  58. <div id="side-nav" class="ui-resizable side-nav-resizable">
  59. <div id="nav-tree">
  60. <div id="nav-tree-contents">
  61. <div id="nav-sync" class="sync"></div>
  62. </div>
  63. </div>
  64. <div id="splitbar" style="-moz-user-select:none;"
  65. class="ui-resizable-handle">
  66. </div>
  67. </div>
  68. <script type="text/javascript">
  69. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  70. $(document).ready(function(){initNavTree('classtesting_1_1internal_1_1_thread_local.html','');});
  71. /* @license-end */
  72. </script>
  73. <div id="doc-content">
  74. <!-- window showing the filter options -->
  75. <div id="MSearchSelectWindow"
  76. onmouseover="return searchBox.OnSearchSelectShow()"
  77. onmouseout="return searchBox.OnSearchSelectHide()"
  78. onkeydown="return searchBox.OnSearchSelectKey(event)">
  79. </div>
  80. <!-- iframe showing the search results (closed by default) -->
  81. <div id="MSearchResultsWindow">
  82. <iframe src="javascript:void(0)" frameborder="0"
  83. name="MSearchResults" id="MSearchResults">
  84. </iframe>
  85. </div>
  86. <div class="header">
  87. <div class="summary">
  88. <a href="#pub-methods">Public Member Functions</a> &#124;
  89. <a href="classtesting_1_1internal_1_1_thread_local-members.html">List of all members</a> </div>
  90. <div class="headertitle">
  91. <div class="title">testing::internal::ThreadLocal&lt; T &gt; Class Template Reference</div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <p><code>#include &lt;<a class="el" href="gtest_8h_source.html">gtest.h</a>&gt;</code></p>
  95. <table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  97. Public Member Functions</h2></td></tr>
  98. <tr class="memitem:a106f3a3ad15d08f95f9887105d2a1af5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_thread_local.html#a106f3a3ad15d08f95f9887105d2a1af5">ThreadLocal</a> ()</td></tr>
  99. <tr class="separator:a106f3a3ad15d08f95f9887105d2a1af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a85610bdfdbc93a4c56215e0aad7da870"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_thread_local.html#a85610bdfdbc93a4c56215e0aad7da870">ThreadLocal</a> (const T &amp;value)</td></tr>
  101. <tr class="separator:a85610bdfdbc93a4c56215e0aad7da870"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:a882f57fed4b074de83693c0c0fe62858"><td class="memItemLeft" align="right" valign="top">T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_thread_local.html#a882f57fed4b074de83693c0c0fe62858">pointer</a> ()</td></tr>
  103. <tr class="separator:a882f57fed4b074de83693c0c0fe62858"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:a57e45bb60e3cd94abb04fa449e9f0367"><td class="memItemLeft" align="right" valign="top">const T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_thread_local.html#a57e45bb60e3cd94abb04fa449e9f0367">pointer</a> () const</td></tr>
  105. <tr class="separator:a57e45bb60e3cd94abb04fa449e9f0367"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:ac56aeb97991824979bf192c63d1466f8"><td class="memItemLeft" align="right" valign="top">const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_thread_local.html#ac56aeb97991824979bf192c63d1466f8">get</a> () const</td></tr>
  107. <tr class="separator:ac56aeb97991824979bf192c63d1466f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:ab5ebc7ba07426cef7167afa2a7707eb4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_thread_local.html#ab5ebc7ba07426cef7167afa2a7707eb4">set</a> (const T &amp;value)</td></tr>
  109. <tr class="separator:ab5ebc7ba07426cef7167afa2a7707eb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. </table>
  111. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  112. <div class="textblock"><h3>template&lt;typename T&gt;<br />
  113. class testing::internal::ThreadLocal&lt; T &gt;</h3>
  114. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02165">2165</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  115. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  116. <a id="a106f3a3ad15d08f95f9887105d2a1af5"></a>
  117. <h2 class="memtitle"><span class="permalink"><a href="#a106f3a3ad15d08f95f9887105d2a1af5">&#9670;&nbsp;</a></span>ThreadLocal() <span class="overload">[1/2]</span></h2>
  118. <div class="memitem">
  119. <div class="memproto">
  120. <div class="memtemplate">
  121. template&lt;typename T &gt; </div>
  122. <table class="mlabels">
  123. <tr>
  124. <td class="mlabels-left">
  125. <table class="memname">
  126. <tr>
  127. <td class="memname"><a class="el" href="classtesting_1_1internal_1_1_thread_local.html">testing::internal::ThreadLocal</a>&lt; T &gt;::<a class="el" href="classtesting_1_1internal_1_1_thread_local.html">ThreadLocal</a> </td>
  128. <td>(</td>
  129. <td class="paramname"></td><td>)</td>
  130. <td></td>
  131. </tr>
  132. </table>
  133. </td>
  134. <td class="mlabels-right">
  135. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  136. </tr>
  137. </table>
  138. </div><div class="memdoc">
  139. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02167">2167</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  140. </div>
  141. </div>
  142. <a id="a85610bdfdbc93a4c56215e0aad7da870"></a>
  143. <h2 class="memtitle"><span class="permalink"><a href="#a85610bdfdbc93a4c56215e0aad7da870">&#9670;&nbsp;</a></span>ThreadLocal() <span class="overload">[2/2]</span></h2>
  144. <div class="memitem">
  145. <div class="memproto">
  146. <div class="memtemplate">
  147. template&lt;typename T &gt; </div>
  148. <table class="mlabels">
  149. <tr>
  150. <td class="mlabels-left">
  151. <table class="memname">
  152. <tr>
  153. <td class="memname"><a class="el" href="classtesting_1_1internal_1_1_thread_local.html">testing::internal::ThreadLocal</a>&lt; T &gt;::<a class="el" href="classtesting_1_1internal_1_1_thread_local.html">ThreadLocal</a> </td>
  154. <td>(</td>
  155. <td class="paramtype">const T &amp;&#160;</td>
  156. <td class="paramname"><em>value</em></td><td>)</td>
  157. <td></td>
  158. </tr>
  159. </table>
  160. </td>
  161. <td class="mlabels-right">
  162. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
  163. </tr>
  164. </table>
  165. </div><div class="memdoc">
  166. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02168">2168</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  167. </div>
  168. </div>
  169. <h2 class="groupheader">Member Function Documentation</h2>
  170. <a id="ac56aeb97991824979bf192c63d1466f8"></a>
  171. <h2 class="memtitle"><span class="permalink"><a href="#ac56aeb97991824979bf192c63d1466f8">&#9670;&nbsp;</a></span>get()</h2>
  172. <div class="memitem">
  173. <div class="memproto">
  174. <div class="memtemplate">
  175. template&lt;typename T &gt; </div>
  176. <table class="mlabels">
  177. <tr>
  178. <td class="mlabels-left">
  179. <table class="memname">
  180. <tr>
  181. <td class="memname">const T&amp; <a class="el" href="classtesting_1_1internal_1_1_thread_local.html">testing::internal::ThreadLocal</a>&lt; T &gt;::get </td>
  182. <td>(</td>
  183. <td class="paramname"></td><td>)</td>
  184. <td> const</td>
  185. </tr>
  186. </table>
  187. </td>
  188. <td class="mlabels-right">
  189. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  190. </tr>
  191. </table>
  192. </div><div class="memdoc">
  193. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02171">2171</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  194. </div>
  195. </div>
  196. <a id="a882f57fed4b074de83693c0c0fe62858"></a>
  197. <h2 class="memtitle"><span class="permalink"><a href="#a882f57fed4b074de83693c0c0fe62858">&#9670;&nbsp;</a></span>pointer() <span class="overload">[1/2]</span></h2>
  198. <div class="memitem">
  199. <div class="memproto">
  200. <div class="memtemplate">
  201. template&lt;typename T &gt; </div>
  202. <table class="mlabels">
  203. <tr>
  204. <td class="mlabels-left">
  205. <table class="memname">
  206. <tr>
  207. <td class="memname">T* <a class="el" href="classtesting_1_1internal_1_1_thread_local.html">testing::internal::ThreadLocal</a>&lt; T &gt;::pointer </td>
  208. <td>(</td>
  209. <td class="paramname"></td><td>)</td>
  210. <td></td>
  211. </tr>
  212. </table>
  213. </td>
  214. <td class="mlabels-right">
  215. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  216. </tr>
  217. </table>
  218. </div><div class="memdoc">
  219. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02169">2169</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  220. </div>
  221. </div>
  222. <a id="a57e45bb60e3cd94abb04fa449e9f0367"></a>
  223. <h2 class="memtitle"><span class="permalink"><a href="#a57e45bb60e3cd94abb04fa449e9f0367">&#9670;&nbsp;</a></span>pointer() <span class="overload">[2/2]</span></h2>
  224. <div class="memitem">
  225. <div class="memproto">
  226. <div class="memtemplate">
  227. template&lt;typename T &gt; </div>
  228. <table class="mlabels">
  229. <tr>
  230. <td class="mlabels-left">
  231. <table class="memname">
  232. <tr>
  233. <td class="memname">const T* <a class="el" href="classtesting_1_1internal_1_1_thread_local.html">testing::internal::ThreadLocal</a>&lt; T &gt;::pointer </td>
  234. <td>(</td>
  235. <td class="paramname"></td><td>)</td>
  236. <td> const</td>
  237. </tr>
  238. </table>
  239. </td>
  240. <td class="mlabels-right">
  241. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  242. </tr>
  243. </table>
  244. </div><div class="memdoc">
  245. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02170">2170</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  246. </div>
  247. </div>
  248. <a id="ab5ebc7ba07426cef7167afa2a7707eb4"></a>
  249. <h2 class="memtitle"><span class="permalink"><a href="#ab5ebc7ba07426cef7167afa2a7707eb4">&#9670;&nbsp;</a></span>set()</h2>
  250. <div class="memitem">
  251. <div class="memproto">
  252. <div class="memtemplate">
  253. template&lt;typename T &gt; </div>
  254. <table class="mlabels">
  255. <tr>
  256. <td class="mlabels-left">
  257. <table class="memname">
  258. <tr>
  259. <td class="memname">void <a class="el" href="classtesting_1_1internal_1_1_thread_local.html">testing::internal::ThreadLocal</a>&lt; T &gt;::set </td>
  260. <td>(</td>
  261. <td class="paramtype">const T &amp;&#160;</td>
  262. <td class="paramname"><em>value</em></td><td>)</td>
  263. <td></td>
  264. </tr>
  265. </table>
  266. </td>
  267. <td class="mlabels-right">
  268. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  269. </tr>
  270. </table>
  271. </div><div class="memdoc">
  272. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02172">2172</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  273. </div>
  274. </div>
  275. <hr/>The documentation for this class was generated from the following file:<ul>
  276. <li>test/eclipse-cygwin/lib/gtest/<a class="el" href="gtest_8h_source.html">gtest.h</a></li>
  277. </ul>
  278. </div><!-- contents -->
  279. </div><!-- doc-content -->
  280. <!-- start footer part -->
  281. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  282. <ul>
  283. <li class="navelem"><a class="el" href="namespacetesting.html">testing</a></li><li class="navelem"><a class="el" href="namespacetesting_1_1internal.html">internal</a></li><li class="navelem"><a class="el" href="classtesting_1_1internal_1_1_thread_local.html">ThreadLocal</a></li>
  284. <li class="footer">Generated by
  285. <a href="http://www.doxygen.org/index.html">
  286. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  287. </ul>
  288. </div>
  289. </body>
  290. </html>