mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
236 lines
30 KiB
HTML
236 lines
30 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" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: Gauge.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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0103a8ad82dcc2c51f5cde661b4b5cb7.html">xrpl</a></li><li class="navelem"><a class="el" href="dir_31b47b71b675f5c4d1b67be42516b2a9.html">beast</a></li><li class="navelem"><a class="el" href="dir_0dad4d78849cdcdb13e90cb1a6a8840d.html">insight</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">Gauge.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef BEAST_INSIGHT_GAUGE_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define BEAST_INSIGHT_GAUGE_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <xrpl/beast/insight/GaugeImpl.h></span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/memory.html">memory</a>></span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacebeast.html">beast</a> {</div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="keyword">namespace </span>insight {</div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
|
|
<div class="foldopen" id="foldopen00020" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html"> 20</a></span><span class="keyword">class </span><a class="code hl_class" href="classbeast_1_1insight_1_1Gauge.html">Gauge</a> final</div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span>{</div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#ab933cd591e75f25e0cf425b06bf30de1"> 23</a></span> <span class="keyword">using </span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">value_type</a> = <a class="code hl_typedef" href="classbeast_1_1insight_1_1GaugeImpl.html#ab2c6c07d8847157cdcd05504d040c2af">GaugeImpl::value_type</a>;</div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#acc6313a5029cbefecba174afab1a6b15"> 24</a></span> <span class="keyword">using </span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">difference_type</a> = <a class="code hl_typedef" href="classbeast_1_1insight_1_1GaugeImpl.html#acd3e2dbbaf5d66255f876a0b934a1b5d">GaugeImpl::difference_type</a>;</div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
|
|
<div class="foldopen" id="foldopen00029" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#afe87eac737d65afb9efa1e763ece2565"> 29</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#afe87eac737d65afb9efa1e763ece2565">Gauge</a>()</div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> {</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
|
|
<div class="foldopen" id="foldopen00038" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#a94614213bee99f911a506161f254e09c"> 38</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#a94614213bee99f911a506161f254e09c">Gauge</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<GaugeImpl></a> <span class="keyword">const</span>& <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#a1382a04aa12a519507fc13f02d35ee3c">impl</a>) : <a class="code hl_variable" href="classbeast_1_1insight_1_1Gauge.html#aefe32302b3af699d308c5f8fbb78c119">m_impl</a>(<a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#a1382a04aa12a519507fc13f02d35ee3c">impl</a>)</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> {</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordtype">void</span></div>
|
|
<div class="foldopen" id="foldopen00049" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#a831e86135961e22962a0e545c66190b8"> 49</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#a831e86135961e22962a0e545c66190b8">set</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">value_type</a> value)<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classbeast_1_1insight_1_1Gauge.html#aefe32302b3af699d308c5f8fbb78c119">m_impl</a>)</div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_variable" href="classbeast_1_1insight_1_1Gauge.html#aefe32302b3af699d308c5f8fbb78c119">m_impl</a>->set(value);</div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_class" href="classbeast_1_1insight_1_1Gauge.html">Gauge</a> <span class="keyword">const</span>&</div>
|
|
<div class="foldopen" id="foldopen00056" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#ac04031db3ad539c4546334307148ba56"> 56</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#ac04031db3ad539c4546334307148ba56">operator=</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">value_type</a> value)<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#a831e86135961e22962a0e545c66190b8">set</a>(value);</div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keywordtype">void</span></div>
|
|
<div class="foldopen" id="foldopen00066" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#af64e6ac83fb81d72365668d3b077ea7c"> 66</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#af64e6ac83fb81d72365668d3b077ea7c">increment</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">difference_type</a> amount)<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classbeast_1_1insight_1_1Gauge.html#aefe32302b3af699d308c5f8fbb78c119">m_impl</a>)</div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <a class="code hl_variable" href="classbeast_1_1insight_1_1Gauge.html#aefe32302b3af699d308c5f8fbb78c119">m_impl</a>->increment(amount);</div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <a class="code hl_class" href="classbeast_1_1insight_1_1Gauge.html">Gauge</a> <span class="keyword">const</span>&</div>
|
|
<div class="foldopen" id="foldopen00073" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#a00b1bd278f3a7a57552a23496c230f38"> 73</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#a00b1bd278f3a7a57552a23496c230f38">operator+=</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">difference_type</a> amount)<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#af64e6ac83fb81d72365668d3b077ea7c">increment</a>(amount);</div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <a class="code hl_class" href="classbeast_1_1insight_1_1Gauge.html">Gauge</a> <span class="keyword">const</span>&</div>
|
|
<div class="foldopen" id="foldopen00080" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#aec75715da64687b8dabc7ed652af1017"> 80</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#aec75715da64687b8dabc7ed652af1017">operator-=</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">difference_type</a> amount)<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#af64e6ac83fb81d72365668d3b077ea7c">increment</a>(-amount);</div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> </div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <a class="code hl_class" href="classbeast_1_1insight_1_1Gauge.html">Gauge</a> <span class="keyword">const</span>&</div>
|
|
<div class="foldopen" id="foldopen00087" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#a6d5a1d45e97750a6f6a82f024b4f439a"> 87</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#a6d5a1d45e97750a6f6a82f024b4f439a">operator++</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#af64e6ac83fb81d72365668d3b077ea7c">increment</a>(1);</div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <a class="code hl_class" href="classbeast_1_1insight_1_1Gauge.html">Gauge</a> <span class="keyword">const</span>&</div>
|
|
<div class="foldopen" id="foldopen00094" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#aea82804b3b0891b9c4874bbb650b66a2"> 94</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#aea82804b3b0891b9c4874bbb650b66a2">operator++</a>(<span class="keywordtype">int</span>)<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#af64e6ac83fb81d72365668d3b077ea7c">increment</a>(1);</div>
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <a class="code hl_class" href="classbeast_1_1insight_1_1Gauge.html">Gauge</a> <span class="keyword">const</span>&</div>
|
|
<div class="foldopen" id="foldopen00101" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#adc24a4cffb984001df4c47dd742a162c"> 101</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#adc24a4cffb984001df4c47dd742a162c">operator--</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#af64e6ac83fb81d72365668d3b077ea7c">increment</a>(-1);</div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> </div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <a class="code hl_class" href="classbeast_1_1insight_1_1Gauge.html">Gauge</a> <span class="keyword">const</span>&</div>
|
|
<div class="foldopen" id="foldopen00108" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#af7ec77a7ec82c2c4bdc72993bc2a36cc"> 108</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#af7ec77a7ec82c2c4bdc72993bc2a36cc">operator--</a>(<span class="keywordtype">int</span>)<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#af64e6ac83fb81d72365668d3b077ea7c">increment</a>(-1);</div>
|
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<GaugeImpl></a> <span class="keyword">const</span>&</div>
|
|
<div class="foldopen" id="foldopen00116" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#a1382a04aa12a519507fc13f02d35ee3c"> 116</a></span> <a class="code hl_function" href="classbeast_1_1insight_1_1Gauge.html#a1382a04aa12a519507fc13f02d35ee3c">impl</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classbeast_1_1insight_1_1Gauge.html#aefe32302b3af699d308c5f8fbb78c119">m_impl</a>;</div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> </div>
|
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span><span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="classbeast_1_1insight_1_1Gauge.html#aefe32302b3af699d308c5f8fbb78c119"> 122</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<GaugeImpl></a> <a class="code hl_variable" href="classbeast_1_1insight_1_1Gauge.html#aefe32302b3af699d308c5f8fbb78c119">m_impl</a>;</div>
|
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> </div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span>} <span class="comment">// namespace insight</span></div>
|
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span>} <span class="comment">// namespace beast</span></div>
|
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span><span class="preprocessor">#endif</span></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1GaugeImpl_html_ab2c6c07d8847157cdcd05504d040c2af"><div class="ttname"><a href="classbeast_1_1insight_1_1GaugeImpl.html#ab2c6c07d8847157cdcd05504d040c2af">beast::insight::GaugeImpl::value_type</a></div><div class="ttdeci">std::uint64_t value_type</div><div class="ttdef"><b>Definition</b> <a href="GaugeImpl_8h_source.html#l00015">GaugeImpl.h:15</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1GaugeImpl_html_acd3e2dbbaf5d66255f876a0b934a1b5d"><div class="ttname"><a href="classbeast_1_1insight_1_1GaugeImpl.html#acd3e2dbbaf5d66255f876a0b934a1b5d">beast::insight::GaugeImpl::difference_type</a></div><div class="ttdeci">std::int64_t difference_type</div><div class="ttdef"><b>Definition</b> <a href="GaugeImpl_8h_source.html#l00016">GaugeImpl.h:16</a></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#l00020">Gauge.h:21</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_a00b1bd278f3a7a57552a23496c230f38"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#a00b1bd278f3a7a57552a23496c230f38">beast::insight::Gauge::operator+=</a></div><div class="ttdeci">Gauge const & operator+=(difference_type amount) const</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00073">Gauge.h:73</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_a1382a04aa12a519507fc13f02d35ee3c"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#a1382a04aa12a519507fc13f02d35ee3c">beast::insight::Gauge::impl</a></div><div class="ttdeci">std::shared_ptr< GaugeImpl > const & impl() const</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00116">Gauge.h:116</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_a6d5a1d45e97750a6f6a82f024b4f439a"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#a6d5a1d45e97750a6f6a82f024b4f439a">beast::insight::Gauge::operator++</a></div><div class="ttdeci">Gauge const & operator++() const</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00087">Gauge.h:87</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_a831e86135961e22962a0e545c66190b8"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#a831e86135961e22962a0e545c66190b8">beast::insight::Gauge::set</a></div><div class="ttdeci">void set(value_type value) const</div><div class="ttdoc">Set the value on the gauge.</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00049">Gauge.h:49</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_a94614213bee99f911a506161f254e09c"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#a94614213bee99f911a506161f254e09c">beast::insight::Gauge::Gauge</a></div><div class="ttdeci">Gauge(std::shared_ptr< GaugeImpl > const &impl)</div><div class="ttdoc">Create the metric reference the specified implementation.</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00038">Gauge.h:38</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_ac04031db3ad539c4546334307148ba56"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#ac04031db3ad539c4546334307148ba56">beast::insight::Gauge::operator=</a></div><div class="ttdeci">Gauge const & operator=(value_type value) const</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00056">Gauge.h:56</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_adc24a4cffb984001df4c47dd742a162c"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#adc24a4cffb984001df4c47dd742a162c">beast::insight::Gauge::operator--</a></div><div class="ttdeci">Gauge const & operator--() const</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00101">Gauge.h:101</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_aea82804b3b0891b9c4874bbb650b66a2"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#aea82804b3b0891b9c4874bbb650b66a2">beast::insight::Gauge::operator++</a></div><div class="ttdeci">Gauge const & operator++(int) const</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00094">Gauge.h:94</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_aec75715da64687b8dabc7ed652af1017"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#aec75715da64687b8dabc7ed652af1017">beast::insight::Gauge::operator-=</a></div><div class="ttdeci">Gauge const & operator-=(difference_type amount) const</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00080">Gauge.h:80</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_aefe32302b3af699d308c5f8fbb78c119"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#aefe32302b3af699d308c5f8fbb78c119">beast::insight::Gauge::m_impl</a></div><div class="ttdeci">std::shared_ptr< GaugeImpl > m_impl</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00122">Gauge.h:122</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_af64e6ac83fb81d72365668d3b077ea7c"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#af64e6ac83fb81d72365668d3b077ea7c">beast::insight::Gauge::increment</a></div><div class="ttdeci">void increment(difference_type amount) const</div><div class="ttdoc">Adjust the value of the gauge.</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00066">Gauge.h:66</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_af7ec77a7ec82c2c4bdc72993bc2a36cc"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#af7ec77a7ec82c2c4bdc72993bc2a36cc">beast::insight::Gauge::operator--</a></div><div class="ttdeci">Gauge const & operator--(int) const</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00108">Gauge.h:108</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html_afe87eac737d65afb9efa1e763ece2565"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html#afe87eac737d65afb9efa1e763ece2565">beast::insight::Gauge::Gauge</a></div><div class="ttdeci">Gauge()</div><div class="ttdoc">Create a null metric.</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00029">Gauge.h:29</a></div></div>
|
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div></div>
|
|
<div class="ttc" id="amemory_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/memory.html">memory</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#l00653">base_uint.h:653</a></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</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|