classfv_1_1util_1_1Log.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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>TTTT Analysis: fv::util::Log 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="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="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">TTTT Analysis
  25. &#160;<span id="projectnumber">0.1</span>
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.13 -->
  34. <script type="text/javascript">
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. </script>
  37. <script type="text/javascript" src="menudata.js"></script>
  38. <script type="text/javascript" src="menu.js"></script>
  39. <script type="text/javascript">
  40. $(function() {
  41. initMenu('',true,false,'search.php','Search');
  42. $(document).ready(function() { init_search(); });
  43. });
  44. </script>
  45. <div id="main-nav"></div>
  46. <!-- window showing the filter options -->
  47. <div id="MSearchSelectWindow"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. onkeydown="return searchBox.OnSearchSelectKey(event)">
  51. </div>
  52. <!-- iframe showing the search results (closed by default) -->
  53. <div id="MSearchResultsWindow">
  54. <iframe src="javascript:void(0)" frameborder="0"
  55. name="MSearchResults" id="MSearchResults">
  56. </iframe>
  57. </div>
  58. <div id="nav-path" class="navpath">
  59. <ul>
  60. <li class="navelem"><a class="el" href="namespacefv.html">fv</a></li><li class="navelem"><b>util</b></li><li class="navelem"><a class="el" href="classfv_1_1util_1_1Log.html">Log</a></li> </ul>
  61. </div>
  62. </div><!-- top -->
  63. <div class="header">
  64. <div class="summary">
  65. <a href="#pub-methods">Public Member Functions</a> &#124;
  66. <a href="#pub-static-methods">Static Public Member Functions</a> &#124;
  67. <a href="#pro-methods">Protected Member Functions</a> &#124;
  68. <a href="#pri-attribs">Private Attributes</a> &#124;
  69. <a href="#pri-static-attribs">Static Private Attributes</a> &#124;
  70. <a href="#friends">Friends</a> &#124;
  71. <a href="classfv_1_1util_1_1Log-members.html">List of all members</a> </div>
  72. <div class="headertitle">
  73. <div class="title">fv::util::Log Class Reference</div> </div>
  74. </div><!--header-->
  75. <div class="contents">
  76. <div class="dynheader">
  77. Inheritance diagram for fv::util::Log:</div>
  78. <div class="dyncontent">
  79. <div class="center"><img src="classfv_1_1util_1_1Log__inherit__graph.png" border="0" usemap="#fv_1_1util_1_1Log_inherit__map" alt="Inheritance graph"/></div>
  80. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  81. <div class="dynheader">
  82. Collaboration diagram for fv::util::Log:</div>
  83. <div class="dyncontent">
  84. <div class="center"><img src="classfv_1_1util_1_1Log__coll__graph.png" border="0" usemap="#fv_1_1util_1_1Log_coll__map" alt="Collaboration graph"/></div>
  85. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  86. <table class="memberdecls">
  87. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  88. Public Member Functions</h2></td></tr>
  89. <tr class="memitem:a0e6f9d1a3088e9176d0a48b6eb104132"><td class="memItemLeft" align="right" valign="top"><a id="a0e6f9d1a3088e9176d0a48b6eb104132"></a>
  90. &#160;</td><td class="memItemRight" valign="bottom"><b>Log</b> (std::string filename, LogPriority priority)</td></tr>
  91. <tr class="separator:a0e6f9d1a3088e9176d0a48b6eb104132"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. </table><table class="memberdecls">
  93. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  94. Static Public Member Functions</h2></td></tr>
  95. <tr class="memitem:a8232233797affe8abc97d4b6e0b3b917"><td class="memItemLeft" align="right" valign="top"><a id="a8232233797affe8abc97d4b6e0b3b917"></a>
  96. static <a class="el" href="classfv_1_1util_1_1Log.html">Log</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>init_logger</b> (std::string filename, LogPriority priority)</td></tr>
  97. <tr class="separator:a8232233797affe8abc97d4b6e0b3b917"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. </table><table class="memberdecls">
  99. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  100. Protected Member Functions</h2></td></tr>
  101. <tr class="memitem:a133ed49ae8fc4cf3e2d511d0d9e28c94"><td class="memItemLeft" align="right" valign="top"><a id="a133ed49ae8fc4cf3e2d511d0d9e28c94"></a>
  102. int&#160;</td><td class="memItemRight" valign="bottom"><b>sync</b> ()</td></tr>
  103. <tr class="separator:a133ed49ae8fc4cf3e2d511d0d9e28c94"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:ad871974b451c4c5d6dc9ef40af56c5af"><td class="memItemLeft" align="right" valign="top"><a id="ad871974b451c4c5d6dc9ef40af56c5af"></a>
  105. int&#160;</td><td class="memItemRight" valign="bottom"><b>overflow</b> (int c)</td></tr>
  106. <tr class="separator:ad871974b451c4c5d6dc9ef40af56c5af"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. </table><table class="memberdecls">
  108. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  109. Private Attributes</h2></td></tr>
  110. <tr class="memitem:a367cd2434a71d3d0c31eca4fa669863f"><td class="memItemLeft" align="right" valign="top"><a id="a367cd2434a71d3d0c31eca4fa669863f"></a>
  111. std::string&#160;</td><td class="memItemRight" valign="bottom"><b>buffer_</b></td></tr>
  112. <tr class="separator:a367cd2434a71d3d0c31eca4fa669863f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a228072e981f6e3061c574bf44123119b"><td class="memItemLeft" align="right" valign="top"><a id="a228072e981f6e3061c574bf44123119b"></a>
  114. std::ofstream&#160;</td><td class="memItemRight" valign="bottom"><b>logfile</b></td></tr>
  115. <tr class="separator:a228072e981f6e3061c574bf44123119b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a82bba61e99e82b3b08eb1db2a266b1e3"><td class="memItemLeft" align="right" valign="top"><a id="a82bba61e99e82b3b08eb1db2a266b1e3"></a>
  117. LogPriority&#160;</td><td class="memItemRight" valign="bottom"><b>priority_curr</b></td></tr>
  118. <tr class="separator:a82bba61e99e82b3b08eb1db2a266b1e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a741292d02499b1f9bef04739e0971faa"><td class="memItemLeft" align="right" valign="top"><a id="a741292d02499b1f9bef04739e0971faa"></a>
  120. LogPriority&#160;</td><td class="memItemRight" valign="bottom"><b>priority_set</b></td></tr>
  121. <tr class="separator:a741292d02499b1f9bef04739e0971faa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a9fdd4bed5ad2aabb71418e9244fe25fd"><td class="memItemLeft" align="right" valign="top">const std::map&lt; LogPriority, std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>name_map</b></td></tr>
  123. <tr class="separator:a9fdd4bed5ad2aabb71418e9244fe25fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. </table><table class="memberdecls">
  125. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
  126. Static Private Attributes</h2></td></tr>
  127. <tr class="memitem:aa65dbac5964f7d5c2a68308e42912350"><td class="memItemLeft" align="right" valign="top"><a id="aa65dbac5964f7d5c2a68308e42912350"></a>
  128. static <a class="el" href="classfv_1_1util_1_1Log.html">Log</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>singleton</b> = nullptr</td></tr>
  129. <tr class="separator:aa65dbac5964f7d5c2a68308e42912350"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. </table><table class="memberdecls">
  131. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  132. Friends</h2></td></tr>
  133. <tr class="memitem:a0424ebdae6a085efdf86eef68d4290bb"><td class="memItemLeft" align="right" valign="top"><a id="a0424ebdae6a085efdf86eef68d4290bb"></a>
  134. std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1util_1_1Log.html#a0424ebdae6a085efdf86eef68d4290bb">operator&lt;&lt;</a> (std::ostream &amp;os, const LogPriority &amp;log_priority)</td></tr>
  135. <tr class="memdesc:a0424ebdae6a085efdf86eef68d4290bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">/see <a href="http://stackoverflow.com/questions/2638654/redirect-c-stdclog-to-syslog-on-unix">http://stackoverflow.com/questions/2638654/redirect-c-stdclog-to-syslog-on-unix</a> <br /></td></tr>
  136. <tr class="separator:a0424ebdae6a085efdf86eef68d4290bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. </table>
  138. <h2 class="groupheader">Member Data Documentation</h2>
  139. <a id="a9fdd4bed5ad2aabb71418e9244fe25fd"></a>
  140. <h2 class="memtitle"><span class="permalink"><a href="#a9fdd4bed5ad2aabb71418e9244fe25fd">&#9670;&nbsp;</a></span>name_map</h2>
  141. <div class="memitem">
  142. <div class="memproto">
  143. <table class="mlabels">
  144. <tr>
  145. <td class="mlabels-left">
  146. <table class="memname">
  147. <tr>
  148. <td class="memname">const std::map&lt;LogPriority,std::string&gt; fv::util::Log::name_map</td>
  149. </tr>
  150. </table>
  151. </td>
  152. <td class="mlabels-right">
  153. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  154. </tr>
  155. </table>
  156. </div><div class="memdoc">
  157. <b>Initial value:</b><div class="fragment"><div class="line">= {{kLogEmergency, <span class="stringliteral">&quot;EMERGENCY&quot;</span>},</div><div class="line"> {kLogAlert, <span class="stringliteral">&quot;ALERT&quot;</span>},</div><div class="line"> {kLogCritical, <span class="stringliteral">&quot;CRITICAL&quot;</span>},</div><div class="line"> {kLogError, <span class="stringliteral">&quot;ERROR&quot;</span>},</div><div class="line"> {kLogWarning, <span class="stringliteral">&quot;WARNING&quot;</span>},</div><div class="line"> {kLogNotice, <span class="stringliteral">&quot;NOTICE&quot;</span>},</div><div class="line"> {kLogInfo, <span class="stringliteral">&quot;INFO&quot;</span>},</div><div class="line"> {kLogDebug, <span class="stringliteral">&quot;DEBUG&quot;</span>}}</div></div><!-- fragment -->
  158. </div>
  159. </div>
  160. <hr/>The documentation for this class was generated from the following file:<ul>
  161. <li>/home/caleb/Sources/TTTT/filval/<a class="el" href="log_8hpp_source.html">log.hpp</a></li>
  162. </ul>
  163. </div><!-- contents -->
  164. <!-- start footer part -->
  165. <hr class="footer"/><address class="footer"><small>
  166. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  167. <img class="footer" src="doxygen.png" alt="doxygen"/>
  168. </a> 1.8.13
  169. </small></address>
  170. </body>
  171. </html>