mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
198 lines
28 KiB
HTML
198 lines
28 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: Collector.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_875063d0bf0fe9cb23dcbe977d2f1b80.html">beast</a></li><li class="navelem"><a class="el" href="dir_65cf560b897cf61f85b9c588d7c7ee6d.html">insight</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Collector.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This file is part of Beast: https://github.com/vinniefalco/Beast</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright 2013, Vinnie Falco <vinnie.falco@gmail.com></span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//==============================================================================</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef BEAST_INSIGHT_COLLECTOR_H_INCLUDED</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define BEAST_INSIGHT_COLLECTOR_H_INCLUDED</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/beast/insight/Counter.h></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/beast/insight/Event.h></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/beast/insight/Gauge.h></span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/beast/insight/Hook.h></span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <ripple/beast/insight/Meter.h></span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>></span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span><a class="code" href="namespacebeast.html">beast</a> {</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespacebeast_1_1insight.html"> 32</a></span> <span class="keyword">namespace </span>insight {</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Collector.html"> 44</a></span> <span class="keyword">class </span><a class="code" href="classbeast_1_1insight_1_1Collector.html">Collector</a></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="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Collector.html#ad1677ecd39a09b6a8bb8f2e073266bc4"> 47</a></span>  <span class="keyword">using</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">ptr</a> = <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Collector></a>;</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">virtual</span> <a class="code" href="classbeast_1_1insight_1_1Collector.html#a97e0e3cf569afa45762aaa3cdd1dec12">~Collector</a>() = 0;</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">template</span> <<span class="keyword">class</span> Handler></div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classbeast_1_1insight_1_1Hook.html">Hook</a></div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Collector.html#ac2a1996ad32debefc043e26119c98900"> 66</a></span>  <a class="code" href="classbeast_1_1insight_1_1Collector.html#ac2a1996ad32debefc043e26119c98900">make_hook</a>(Handler handler)</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  {</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> <a class="code" href="classbeast_1_1insight_1_1Collector.html#ac2a1996ad32debefc043e26119c98900">make_hook</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">HookImpl::HandlerType</a>(handler));</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  }</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">virtual</span> <a class="code" href="classbeast_1_1insight_1_1Hook.html">Hook</a></div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classbeast_1_1insight_1_1Collector.html#ac2a1996ad32debefc043e26119c98900">make_hook</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">HookImpl::HandlerType</a> <span class="keyword">const</span>& handler) = 0;</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">virtual</span> <a class="code" href="classbeast_1_1insight_1_1Counter.html">Counter</a></div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="classbeast_1_1insight_1_1Collector.html#a6951e9d64e11bc6b15fd0bf0961c9dbd">make_counter</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name) = 0;</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="classbeast_1_1insight_1_1Counter.html">Counter</a></div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Collector.html#a19213e64e7f90b0c1779bca22f040d3a"> 83</a></span>  <a class="code" href="classbeast_1_1insight_1_1Collector.html#a19213e64e7f90b0c1779bca22f040d3a">make_counter</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& prefix, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  {</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">if</span> (prefix.<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">empty</a>())</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">return</span> <a class="code" href="classbeast_1_1insight_1_1Collector.html#a6951e9d64e11bc6b15fd0bf0961c9dbd">make_counter</a>(name);</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">return</span> <a class="code" href="classbeast_1_1insight_1_1Collector.html#a6951e9d64e11bc6b15fd0bf0961c9dbd">make_counter</a>(prefix + <span class="stringliteral">"."</span> + name);</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">virtual</span> <a class="code" href="classbeast_1_1insight_1_1Event.html">Event</a></div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="classbeast_1_1insight_1_1Collector.html#a7541aa8988e56c189d121872a4b22359">make_event</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name) = 0;</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="classbeast_1_1insight_1_1Event.html">Event</a></div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Collector.html#aa2d5a76f4dddb14515481ba20d0966b3"> 99</a></span>  <a class="code" href="classbeast_1_1insight_1_1Collector.html#aa2d5a76f4dddb14515481ba20d0966b3">make_event</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& prefix, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  {</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">if</span> (prefix.<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">empty</a>())</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> <a class="code" href="classbeast_1_1insight_1_1Collector.html#a7541aa8988e56c189d121872a4b22359">make_event</a>(name);</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">return</span> <a class="code" href="classbeast_1_1insight_1_1Collector.html#a7541aa8988e56c189d121872a4b22359">make_event</a>(prefix + <span class="stringliteral">"."</span> + name);</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">virtual</span> <a class="code" href="classbeast_1_1insight_1_1Gauge.html">Gauge</a></div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classbeast_1_1insight_1_1Collector.html#a0ffd5a18c590fe913d3b87ed82184abf">make_gauge</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name) = 0;</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="classbeast_1_1insight_1_1Gauge.html">Gauge</a></div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Collector.html#a283b7d542d808873b504c89d8ac53429"> 115</a></span>  <a class="code" href="classbeast_1_1insight_1_1Collector.html#a283b7d542d808873b504c89d8ac53429">make_gauge</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& prefix, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  {</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">if</span> (prefix.<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">empty</a>())</div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">return</span> <a class="code" href="classbeast_1_1insight_1_1Collector.html#a0ffd5a18c590fe913d3b87ed82184abf">make_gauge</a>(name);</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> <a class="code" href="classbeast_1_1insight_1_1Collector.html#a0ffd5a18c590fe913d3b87ed82184abf">make_gauge</a>(prefix + <span class="stringliteral">"."</span> + name);</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  }</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keyword">virtual</span> <a class="code" href="classbeast_1_1insight_1_1Meter.html">Meter</a></div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="classbeast_1_1insight_1_1Collector.html#afbe6f66222283a318e138535ffd6fff2">make_meter</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name) = 0;</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="classbeast_1_1insight_1_1Meter.html">Meter</a></div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Collector.html#a1797bf51c933cb9b839a3a2a3841e1db"> 131</a></span>  <a class="code" href="classbeast_1_1insight_1_1Collector.html#a1797bf51c933cb9b839a3a2a3841e1db">make_meter</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& prefix, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  {</div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">if</span> (prefix.<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">empty</a>())</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">return</span> <a class="code" href="classbeast_1_1insight_1_1Collector.html#afbe6f66222283a318e138535ffd6fff2">make_meter</a>(name);</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> <a class="code" href="classbeast_1_1insight_1_1Collector.html#afbe6f66222283a318e138535ffd6fff2">make_meter</a>(prefix + <span class="stringliteral">"."</span> + name);</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> };</div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> } <span class="comment">// namespace insight</span></div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> } <span class="comment">// namespace beast</span></div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor">#endif</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr< Collector ></a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Meter_html"><div class="ttname"><a href="classbeast_1_1insight_1_1Meter.html">beast::insight::Meter</a></div><div class="ttdoc">A metric for measuring an integral value.</div><div class="ttdef"><b>Definition:</b> <a href="Meter_8h_source.html#l00037">Meter.h:37</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Counter_html"><div class="ttname"><a href="classbeast_1_1insight_1_1Counter.html">beast::insight::Counter</a></div><div class="ttdoc">A metric for measuring an integral value.</div><div class="ttdef"><b>Definition:</b> <a href="Counter_8h_source.html#l00038">Counter.h:38</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html_ac2a1996ad32debefc043e26119c98900"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html#ac2a1996ad32debefc043e26119c98900">beast::insight::Collector::make_hook</a></div><div class="ttdeci">Hook make_hook(Handler handler)</div><div class="ttdoc">Create a hook.</div><div class="ttdef"><b>Definition:</b> <a href="Collector_8h_source.html#l00066">Collector.h:66</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html_a19213e64e7f90b0c1779bca22f040d3a"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html#a19213e64e7f90b0c1779bca22f040d3a">beast::insight::Collector::make_counter</a></div><div class="ttdeci">Counter make_counter(std::string const &prefix, std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="Collector_8h_source.html#l00083">Collector.h:83</a></div></div>
|
|
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function< void(void)></a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html_a7541aa8988e56c189d121872a4b22359"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html#a7541aa8988e56c189d121872a4b22359">beast::insight::Collector::make_event</a></div><div class="ttdeci">virtual Event make_event(std::string const &name)=0</div><div class="ttdoc">Create an event with the specified name.</div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html_afbe6f66222283a318e138535ffd6fff2"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html#afbe6f66222283a318e138535ffd6fff2">beast::insight::Collector::make_meter</a></div><div class="ttdeci">virtual Meter make_meter(std::string const &name)=0</div><div class="ttdoc">Create a meter with the specified name.</div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html_a283b7d542d808873b504c89d8ac53429"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html#a283b7d542d808873b504c89d8ac53429">beast::insight::Collector::make_gauge</a></div><div class="ttdeci">Gauge make_gauge(std::string const &prefix, std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="Collector_8h_source.html#l00115">Collector.h:115</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Event_html"><div class="ttname"><a href="classbeast_1_1insight_1_1Event.html">beast::insight::Event</a></div><div class="ttdoc">A metric for reporting event timing.</div><div class="ttdef"><b>Definition:</b> <a href="Event_8h_source.html#l00042">Event.h:42</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html_a0ffd5a18c590fe913d3b87ed82184abf"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html#a0ffd5a18c590fe913d3b87ed82184abf">beast::insight::Collector::make_gauge</a></div><div class="ttdeci">virtual Gauge make_gauge(std::string const &name)=0</div><div class="ttdoc">Create a gauge with the specified name.</div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html">beast::insight::Gauge</a></div><div class="ttdoc">A metric for measuring an integral value.</div><div class="ttdef"><b>Definition:</b> <a href="Gauge_8h_source.html#l00039">Gauge.h:39</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html_a6951e9d64e11bc6b15fd0bf0961c9dbd"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html#a6951e9d64e11bc6b15fd0bf0961c9dbd">beast::insight::Collector::make_counter</a></div><div class="ttdeci">virtual Counter make_counter(std::string const &name)=0</div><div class="ttdoc">Create a counter with the specified name.</div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html_a1797bf51c933cb9b839a3a2a3841e1db"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html#a1797bf51c933cb9b839a3a2a3841e1db">beast::insight::Collector::make_meter</a></div><div class="ttdeci">Meter make_meter(std::string const &prefix, std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="Collector_8h_source.html#l00131">Collector.h:131</a></div></div>
|
|
<div class="ttc" id="aempty_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">std::string::empty</a></div><div class="ttdeci">T empty(T... args)</div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html">beast::insight::Collector</a></div><div class="ttdoc">Interface for a manager that allows collection of metrics.</div><div class="ttdef"><b>Definition:</b> <a href="Collector_8h_source.html#l00044">Collector.h:44</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html_aa2d5a76f4dddb14515481ba20d0966b3"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html#aa2d5a76f4dddb14515481ba20d0966b3">beast::insight::Collector::make_event</a></div><div class="ttdeci">Event make_event(std::string const &prefix, std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="Collector_8h_source.html#l00099">Collector.h:99</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Collector_html_a97e0e3cf569afa45762aaa3cdd1dec12"><div class="ttname"><a href="classbeast_1_1insight_1_1Collector.html#a97e0e3cf569afa45762aaa3cdd1dec12">beast::insight::Collector::~Collector</a></div><div class="ttdeci">virtual ~Collector()=0</div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Hook_html"><div class="ttname"><a href="classbeast_1_1insight_1_1Hook.html">beast::insight::Hook</a></div><div class="ttdoc">A reference to a handler for performing polled collection.</div><div class="ttdef"><b>Definition:</b> <a href="Hook_8h_source.html#l00031">Hook.h:31</a></div></div>
|
|
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00585">base_uint.h:585</a></div></div>
|
|
<div class="ttc" id="astring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/string.html">string</a></div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|