graph_legend.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>MQTT C Client Libraries Internals: Graph Legend</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="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectlogo"><img alt="Logo" src="pahologo.png"/></td>
  24. <td id="projectalign" style="padding-left: 0.5em;">
  25. <div id="projectname">MQTT C Client Libraries Internals
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.17 -->
  34. <script type="text/javascript">
  35. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. /* @license-end */
  38. </script>
  39. <script type="text/javascript" src="menudata.js"></script>
  40. <script type="text/javascript" src="menu.js"></script>
  41. <script type="text/javascript">
  42. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  43. $(function() {
  44. initMenu('',true,false,'search.php','Search');
  45. $(document).ready(function() { init_search(); });
  46. });
  47. /* @license-end */</script>
  48. <div id="main-nav"></div>
  49. </div><!-- top -->
  50. <!-- window showing the filter options -->
  51. <div id="MSearchSelectWindow"
  52. onmouseover="return searchBox.OnSearchSelectShow()"
  53. onmouseout="return searchBox.OnSearchSelectHide()"
  54. onkeydown="return searchBox.OnSearchSelectKey(event)">
  55. </div>
  56. <!-- iframe showing the search results (closed by default) -->
  57. <div id="MSearchResultsWindow">
  58. <iframe src="javascript:void(0)" frameborder="0"
  59. name="MSearchResults" id="MSearchResults">
  60. </iframe>
  61. </div>
  62. <div class="header">
  63. <div class="headertitle">
  64. <div class="title">Graph Legend</div> </div>
  65. </div><!--header-->
  66. <div class="contents">
  67. <p>This page explains how to interpret the graphs that are generated by doxygen.</p>
  68. <p>Consider the following example: </p><div class="fragment"><div class="line"><span class="comment">/*! Invisible class because of truncation */</span></div>
  69. <div class="line"><span class="keyword">class </span>Invisible { };</div>
  70. <div class="line"><span class="comment"></span> </div>
  71. <div class="line"><span class="comment">/*! Truncated class, inheritance relation is hidden */</span></div>
  72. <div class="line"><span class="keyword">class </span>Truncated : <span class="keyword">public</span> Invisible { };</div>
  73. <div class="line"> </div>
  74. <div class="line"><span class="comment">/* Class not documented with doxygen comments */</span></div>
  75. <div class="line"><span class="keyword">class </span>Undocumented { };</div>
  76. <div class="line"><span class="comment"></span> </div>
  77. <div class="line"><span class="comment">/*! Class that is inherited using public inheritance */</span></div>
  78. <div class="line"><span class="keyword">class </span>PublicBase : <span class="keyword">public</span> Truncated { };</div>
  79. <div class="line"><span class="comment"></span> </div>
  80. <div class="line"><span class="comment">/*! A template class */</span></div>
  81. <div class="line"><span class="keyword">template</span>&lt;<span class="keyword">class</span> T&gt; <span class="keyword">class </span>Templ { };</div>
  82. <div class="line"><span class="comment"></span> </div>
  83. <div class="line"><span class="comment">/*! Class that is inherited using protected inheritance */</span></div>
  84. <div class="line"><span class="keyword">class </span>ProtectedBase { };</div>
  85. <div class="line"><span class="comment"></span> </div>
  86. <div class="line"><span class="comment">/*! Class that is inherited using private inheritance */</span></div>
  87. <div class="line"><span class="keyword">class </span>PrivateBase { };</div>
  88. <div class="line"><span class="comment"></span> </div>
  89. <div class="line"><span class="comment">/*! Class that is used by the Inherited class */</span></div>
  90. <div class="line"><span class="keyword">class </span>Used { };</div>
  91. <div class="line"><span class="comment"></span> </div>
  92. <div class="line"><span class="comment">/*! Super class that inherits a number of other classes */</span></div>
  93. <div class="line"><span class="keyword">class </span>Inherited : <span class="keyword">public</span> PublicBase,</div>
  94. <div class="line"> <span class="keyword">protected</span> ProtectedBase,</div>
  95. <div class="line"> <span class="keyword">private</span> PrivateBase,</div>
  96. <div class="line"> <span class="keyword">public</span> Undocumented,</div>
  97. <div class="line"> <span class="keyword">public</span> Templ&lt;int&gt;</div>
  98. <div class="line">{</div>
  99. <div class="line"> <span class="keyword">private</span>:</div>
  100. <div class="line"> Used *m_usedClass;</div>
  101. <div class="line">};</div>
  102. </div><!-- fragment --><p> This will result in the following graph:</p>
  103. <center><img src="graph_legend.png" alt="" class="inline"/></center><p>The boxes in the above graph have the following meaning: </p>
  104. <ul>
  105. <li>
  106. A filled gray box represents the struct or class for which the graph is generated. </li>
  107. <li>
  108. A box with a black border denotes a documented struct or class. </li>
  109. <li>
  110. A box with a gray border denotes an undocumented struct or class. </li>
  111. <li>
  112. A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries. </li>
  113. </ul>
  114. <p>The arrows have the following meaning: </p>
  115. <ul>
  116. <li>
  117. A dark blue arrow is used to visualize a public inheritance relation between two classes. </li>
  118. <li>
  119. A dark green arrow is used for protected inheritance. </li>
  120. <li>
  121. A dark red arrow is used for private inheritance. </li>
  122. <li>
  123. A purple dashed arrow is used if a class is contained or used by another class. The arrow is labelled with the variable(s) through which the pointed class or struct is accessible. </li>
  124. <li>
  125. A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labelled with the template parameters of the instance. </li>
  126. </ul>
  127. </div><!-- contents -->
  128. <!-- start footer part -->
  129. <hr class="footer"/><address class="footer"><small>
  130. Generated on Thu Sep 29 2022 11:34:46 for MQTT C Client Libraries Internals by &#160;<a href="http://www.doxygen.org/index.html">
  131. <img class="footer" src="doxygen.png" alt="doxygen"/>
  132. </a> 1.8.17
  133. </small></address>
  134. </body>
  135. </html>