This commit is contained in:
bthomee
2025-08-19 09:49:50 -07:00
parent bb5efdeec8
commit e7f4ae8bed
14888 changed files with 259444 additions and 168566 deletions

View File

@@ -3,7 +3,7 @@
<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.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: BasicApp.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -29,7 +29,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
@@ -46,6 +46,11 @@ $(function() {
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;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()"
@@ -99,6 +104,7 @@ $(function() {
<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="preprocessor">#include &lt;xrpl/beast/core/CurrentThreadName.h&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="foldopen" id="foldopen00024" data-start="{" data-end="}">
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classBasicApp.html#a68f281adabe9b58bf52f4c6dd7f8b560"> 24</a></span><a class="code hl_function" href="classBasicApp.html#a68f281adabe9b58bf52f4c6dd7f8b560">BasicApp::BasicApp</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> numberOfThreads)</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span>{</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <a class="code hl_variable" href="classBasicApp.html#acbe2bef2634f792a29c2b462cd4a9ff8">work_</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/utility/optional/emplace.html">emplace</a>(<a class="code hl_variable" href="classBasicApp.html#ac7653bf5f56f12d87d7fd81b6261ad5c">io_service_</a>);</div>
@@ -113,7 +119,9 @@ $(function() {
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> });</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> }</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span>}</div>
</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="foldopen" id="foldopen00039" data-start="{" data-end="}">
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="classBasicApp.html#a54b860eec04d8478bf684abe09ba03fd"> 39</a></span><a class="code hl_function" href="classBasicApp.html#a54b860eec04d8478bf684abe09ba03fd">BasicApp::~BasicApp</a>()</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span>{</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <a class="code hl_variable" href="classBasicApp.html#acbe2bef2634f792a29c2b462cd4a9ff8">work_</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/utility/optional/reset.html">reset</a>();</div>
@@ -121,14 +129,15 @@ $(function() {
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; t : <a class="code hl_variable" href="classBasicApp.html#a53ed855cfab7fb18f9a20854051f5592">threads_</a>)</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> t.join();</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span>}</div>
<div class="ttc" id="aclassBasicApp_html_a53ed855cfab7fb18f9a20854051f5592"><div class="ttname"><a href="classBasicApp.html#a53ed855cfab7fb18f9a20854051f5592">BasicApp::threads_</a></div><div class="ttdeci">std::vector&lt; std::thread &gt; threads_</div><div class="ttdef"><b>Definition:</b> <a href="BasicApp_8h_source.html#l00034">BasicApp.h:34</a></div></div>
<div class="ttc" id="aclassBasicApp_html_a54b860eec04d8478bf684abe09ba03fd"><div class="ttname"><a href="classBasicApp.html#a54b860eec04d8478bf684abe09ba03fd">BasicApp::~BasicApp</a></div><div class="ttdeci">~BasicApp()</div><div class="ttdef"><b>Definition:</b> <a href="BasicApp_8cpp_source.html#l00039">BasicApp.cpp:39</a></div></div>
<div class="ttc" id="aclassBasicApp_html_a68f281adabe9b58bf52f4c6dd7f8b560"><div class="ttname"><a href="classBasicApp.html#a68f281adabe9b58bf52f4c6dd7f8b560">BasicApp::BasicApp</a></div><div class="ttdeci">BasicApp(std::size_t numberOfThreads)</div><div class="ttdef"><b>Definition:</b> <a href="BasicApp_8cpp_source.html#l00024">BasicApp.cpp:24</a></div></div>
<div class="ttc" id="aclassBasicApp_html_ac7653bf5f56f12d87d7fd81b6261ad5c"><div class="ttname"><a href="classBasicApp.html#ac7653bf5f56f12d87d7fd81b6261ad5c">BasicApp::io_service_</a></div><div class="ttdeci">boost::asio::io_service io_service_</div><div class="ttdef"><b>Definition:</b> <a href="BasicApp_8h_source.html#l00035">BasicApp.h:35</a></div></div>
<div class="ttc" id="aclassBasicApp_html_acbe2bef2634f792a29c2b462cd4a9ff8"><div class="ttname"><a href="classBasicApp.html#acbe2bef2634f792a29c2b462cd4a9ff8">BasicApp::work_</a></div><div class="ttdeci">std::optional&lt; boost::asio::io_service::work &gt; work_</div><div class="ttdef"><b>Definition:</b> <a href="BasicApp_8h_source.html#l00033">BasicApp.h:33</a></div></div>
</div>
<div class="ttc" id="aclassBasicApp_html_a53ed855cfab7fb18f9a20854051f5592"><div class="ttname"><a href="classBasicApp.html#a53ed855cfab7fb18f9a20854051f5592">BasicApp::threads_</a></div><div class="ttdeci">std::vector&lt; std::thread &gt; threads_</div><div class="ttdef"><b>Definition</b> <a href="BasicApp_8h_source.html#l00034">BasicApp.h:34</a></div></div>
<div class="ttc" id="aclassBasicApp_html_a54b860eec04d8478bf684abe09ba03fd"><div class="ttname"><a href="classBasicApp.html#a54b860eec04d8478bf684abe09ba03fd">BasicApp::~BasicApp</a></div><div class="ttdeci">~BasicApp()</div><div class="ttdef"><b>Definition</b> <a href="BasicApp_8cpp_source.html#l00039">BasicApp.cpp:39</a></div></div>
<div class="ttc" id="aclassBasicApp_html_a68f281adabe9b58bf52f4c6dd7f8b560"><div class="ttname"><a href="classBasicApp.html#a68f281adabe9b58bf52f4c6dd7f8b560">BasicApp::BasicApp</a></div><div class="ttdeci">BasicApp(std::size_t numberOfThreads)</div><div class="ttdef"><b>Definition</b> <a href="BasicApp_8cpp_source.html#l00024">BasicApp.cpp:24</a></div></div>
<div class="ttc" id="aclassBasicApp_html_ac7653bf5f56f12d87d7fd81b6261ad5c"><div class="ttname"><a href="classBasicApp.html#ac7653bf5f56f12d87d7fd81b6261ad5c">BasicApp::io_service_</a></div><div class="ttdeci">boost::asio::io_service io_service_</div><div class="ttdef"><b>Definition</b> <a href="BasicApp_8h_source.html#l00035">BasicApp.h:35</a></div></div>
<div class="ttc" id="aclassBasicApp_html_acbe2bef2634f792a29c2b462cd4a9ff8"><div class="ttname"><a href="classBasicApp.html#acbe2bef2634f792a29c2b462cd4a9ff8">BasicApp::work_</a></div><div class="ttdeci">std::optional&lt; boost::asio::io_service::work &gt; work_</div><div class="ttdef"><b>Definition</b> <a href="BasicApp_8h_source.html#l00033">BasicApp.h:33</a></div></div>
<div class="ttc" id="aemplace_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/emplace_back.html">std::vector::emplace_back</a></div><div class="ttdeci">T emplace_back(T... args)</div></div>
<div class="ttc" id="aemplace_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional/emplace.html">std::optional::emplace</a></div><div class="ttdeci">T emplace(T... args)</div></div>
<div class="ttc" id="anamespacebeast_html_ab3bd70e6eb43bbd99b5fe518efce8c7e"><div class="ttname"><a href="namespacebeast.html#ab3bd70e6eb43bbd99b5fe518efce8c7e">beast::setCurrentThreadName</a></div><div class="ttdeci">void setCurrentThreadName(std::string_view newThreadName)</div><div class="ttdoc">Changes the name of the caller thread.</div><div class="ttdef"><b>Definition:</b> <a href="CurrentThreadName_8cpp_source.html#l00123">CurrentThreadName.cpp:123</a></div></div>
<div class="ttc" id="anamespacebeast_html_ab3bd70e6eb43bbd99b5fe518efce8c7e"><div class="ttname"><a href="namespacebeast.html#ab3bd70e6eb43bbd99b5fe518efce8c7e">beast::setCurrentThreadName</a></div><div class="ttdeci">void setCurrentThreadName(std::string_view newThreadName)</div><div class="ttdoc">Changes the name of the caller thread.</div><div class="ttdef"><b>Definition</b> <a href="CurrentThreadName_8cpp_source.html#l00123">CurrentThreadName.cpp:123</a></div></div>
<div class="ttc" id="areserve_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/reserve.html">std::vector::reserve</a></div><div class="ttdeci">T reserve(T... args)</div></div>
<div class="ttc" id="areset_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional/reset.html">std::optional::reset</a></div><div class="ttdeci">T reset(T... args)</div></div>
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
@@ -136,7 +145,7 @@ $(function() {
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
Generated by&#160;<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>