Modify concurrency stuff

This commit is contained in:
xbazzi 2025-08-16 20:32:40 -06:00
parent dbfc015d72
commit 59d0867e21
452 changed files with 27359 additions and 12 deletions

View File

@ -6,6 +6,7 @@ include(cmake/common.cmake)
find_package(gRPC REQUIRED)
find_package(Protobuf REQUIRED)
find_package(nlohmann_json REQUIRED)
# find_package(Doxygen REQUIRED)
include_directories(${Protobuf_INCLUDE_DIRS})
@ -68,6 +69,9 @@ add_library(trading_grpc_proto
${trading_proto_hdrs})
target_compile_features(fastinahurry PRIVATE cxx_std_23)
add_compile_options(-O1 -g -fno-omit-frame-pointer -fsanitize=address,undefined,leak)
add_link_options(-fsanitize=address,undefined,leak)
# target_link_libraries(trading_grpc_proto
# # absl::check

2922
Doxyfile Normal file

File diff suppressed because it is too large Load Diff

182
html/Algo_8cc.html Normal file
View File

@ -0,0 +1,182 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: src/Algo.cc File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('Algo_8cc.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">Algo.cc File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;sstream&gt;</code><br />
<code>#include &lt;<a class="el" href="Algo_8hh_source.html">Algo.hh</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="JSONReader_8hh_source.html">readers/JSONReader.hh</a>&gt;</code><br />
<code>#include &lt;nlohmann/json.hpp&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for Algo.cc:</div>
<div class="dyncontent">
<div class="center"><img src="Algo_8cc__incl.png" border="0" usemap="#asrc_2Algo_8cc" alt=""/></div>
<map name="asrc_2Algo_8cc" id="asrc_2Algo_8cc">
<area shape="rect" title=" " alt="" coords="750,5,841,33"/>
<area shape="rect" title=" " alt="" coords="498,81,573,109"/>
<area shape="poly" title=" " alt="" coords="750,36,589,81,587,76,749,31"/>
<area shape="rect" href="Algo_8hh.html" title=" " alt="" coords="596,81,667,109"/>
<area shape="poly" title=" " alt="" coords="767,36,675,77,673,72,765,31"/>
<area shape="rect" href="JSONReader_8hh.html" title=" " alt="" coords="882,81,1053,109"/>
<area shape="poly" title=" " alt="" coords="827,31,924,72,922,77,825,36"/>
<area shape="rect" title=" " alt="" coords="1178,157,1323,184"/>
<area shape="poly" title=" " alt="" coords="842,25,946,45,1066,78,1147,112,1215,146,1212,151,1144,117,1064,84,944,50,841,30"/>
<area shape="rect" title=" " alt="" coords="1016,232,1092,260"/>
<area shape="poly" title=" " alt="" coords="668,101,755,123,859,154,944,189,1017,223,1014,228,942,194,857,159,754,128,666,106"/>
<area shape="rect" title=" " alt="" coords="626,232,688,260"/>
<area shape="poly" title=" " alt="" coords="636,108,655,216,649,217,631,109"/>
<area shape="rect" title=" " alt="" coords="68,157,134,184"/>
<area shape="poly" title=" " alt="" coords="597,109,585,111,464,129,369,136,274,143,153,159,149,160,148,155,152,154,274,137,369,131,464,124,584,106,595,104"/>
<area shape="rect" title=" " alt="" coords="538,232,602,260"/>
<area shape="poly" title=" " alt="" coords="629,110,584,219,579,217,624,108"/>
<area shape="rect" title=" " alt="" coords="5,232,66,260"/>
<area shape="poly" title=" " alt="" coords="597,109,585,111,526,121,476,125,389,128,304,134,255,143,198,159,74,227,71,222,196,154,253,138,303,129,389,122,475,120,526,115,584,106,595,104"/>
<area shape="rect" href="Publisher_8hh.html" title=" " alt="" coords="745,157,846,184"/>
<area shape="poly" title=" " alt="" coords="662,107,754,148,752,153,660,112"/>
<area shape="rect" href="ThreadSafeQueue_8hh.html" title=" " alt="" coords="380,157,569,184"/>
<area shape="poly" title=" " alt="" coords="604,112,517,152,515,147,602,107"/>
<area shape="rect" href="ThreadPool_8hh.html" title=" " alt="" coords="209,157,355,184"/>
<area shape="poly" title=" " alt="" coords="597,109,585,111,370,156,369,151,584,106,595,103"/>
<area shape="poly" title=" " alt="" coords="842,182,1002,227,1000,232,841,187"/>
<area shape="rect" title=" " alt="" coords="860,232,992,260"/>
<area shape="poly" title=" " alt="" coords="820,183,891,222,888,227,818,187"/>
<area shape="rect" title=" " alt="" coords="712,232,837,260"/>
<area shape="poly" title=" " alt="" coords="794,186,785,218,780,217,789,184"/>
<area shape="poly" title=" " alt="" coords="508,182,613,224,611,229,506,187"/>
<area shape="poly" title=" " alt="" coords="493,183,543,221,539,225,490,187"/>
<area shape="rect" title=" " alt="" coords="428,232,515,260"/>
<area shape="poly" title=" " alt="" coords="476,185,475,217,470,217,471,185"/>
<area shape="rect" title=" " alt="" coords="176,232,239,260"/>
<area shape="poly" title=" " alt="" coords="426,187,255,234,254,229,425,182"/>
<area shape="rect" title=" " alt="" coords="264,232,405,260"/>
<area shape="poly" title=" " alt="" coords="450,187,374,227,371,222,448,183"/>
<area shape="poly" title=" " alt="" coords="356,180,472,200,612,229,611,234,471,206,355,186"/>
<area shape="poly" title=" " alt="" coords="338,182,524,229,523,234,337,188"/>
<area shape="poly" title=" " alt="" coords="239,187,81,234,79,229,237,182"/>
<area shape="poly" title=" " alt="" coords="317,182,425,224,423,229,315,187"/>
<area shape="poly" title=" " alt="" coords="271,187,234,223,230,219,267,183"/>
<area shape="poly" title=" " alt="" coords="294,183,318,218,314,221,289,186"/>
<area shape="rect" title=" " alt="" coords="90,232,152,260"/>
<area shape="poly" title=" " alt="" coords="254,187,164,228,162,223,252,182"/>
<area shape="poly" title=" " alt="" coords="965,110,956,145,956,165,962,183,981,206,1005,223,1002,227,977,210,957,186,951,165,951,144,959,108"/>
<area shape="poly" title=" " alt="" coords="882,108,807,126,770,141,734,159,700,188,675,221,670,218,696,185,731,154,767,136,806,121,881,103"/>
<area shape="rect" title=" " alt="" coords="972,157,1030,184"/>
<area shape="poly" title=" " alt="" coords="976,108,991,141,986,144,971,110"/>
<area shape="rect" title=" " alt="" coords="1054,157,1153,184"/>
<area shape="poly" title=" " alt="" coords="993,107,1067,147,1065,151,991,112"/>
<area shape="poly" title=" " alt="" coords="1019,107,1186,150,1184,155,1017,112"/>
</map>
</div>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="Algo_8cc.html">Algo.cc</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

55
html/Algo_8cc__incl.map Normal file
View File

@ -0,0 +1,55 @@
<map id="src/Algo.cc" name="src/Algo.cc">
<area shape="rect" id="Node000001" title=" " alt="" coords="750,5,841,33"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="498,81,573,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="750,36,589,81,587,76,749,31"/>
<area shape="rect" id="Node000003" href="$Algo_8hh.html" title=" " alt="" coords="596,81,667,109"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="767,36,675,77,673,72,765,31"/>
<area shape="rect" id="Node000018" href="$JSONReader_8hh.html" title=" " alt="" coords="882,81,1053,109"/>
<area shape="poly" id="edge26_Node000001_Node000018" title=" " alt="" coords="827,31,924,72,922,77,825,36"/>
<area shape="rect" id="Node000021" title=" " alt="" coords="1178,157,1323,184"/>
<area shape="poly" id="edge32_Node000001_Node000021" title=" " alt="" coords="842,25,946,45,1066,78,1147,112,1215,146,1212,151,1144,117,1064,84,944,50,841,30"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="1016,232,1092,260"/>
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="668,101,755,123,859,154,944,189,1017,223,1014,228,942,194,857,159,754,128,666,106"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="626,232,688,260"/>
<area shape="poly" id="edge4_Node000003_Node000005" title=" " alt="" coords="636,108,655,216,649,217,631,109"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="68,157,134,184"/>
<area shape="poly" id="edge5_Node000003_Node000006" title=" " alt="" coords="597,109,585,111,464,129,369,136,274,143,153,159,149,160,148,155,152,154,274,137,369,131,464,124,584,106,595,104"/>
<area shape="rect" id="Node000007" title=" " alt="" coords="538,232,602,260"/>
<area shape="poly" id="edge6_Node000003_Node000007" title=" " alt="" coords="629,110,584,219,579,217,624,108"/>
<area shape="rect" id="Node000008" title=" " alt="" coords="5,232,66,260"/>
<area shape="poly" id="edge7_Node000003_Node000008" title=" " alt="" coords="597,109,585,111,526,121,476,125,389,128,304,134,255,143,198,159,74,227,71,222,196,154,253,138,303,129,389,122,475,120,526,115,584,106,595,104"/>
<area shape="rect" id="Node000009" href="$Publisher_8hh.html" title=" " alt="" coords="745,157,846,184"/>
<area shape="poly" id="edge8_Node000003_Node000009" title=" " alt="" coords="662,107,754,148,752,153,660,112"/>
<area shape="rect" id="Node000012" href="$ThreadSafeQueue_8hh.html" title=" " alt="" coords="380,157,569,184"/>
<area shape="poly" id="edge12_Node000003_Node000012" title=" " alt="" coords="604,112,517,152,515,147,602,107"/>
<area shape="rect" id="Node000016" href="$ThreadPool_8hh.html" title=" " alt="" coords="209,157,355,184"/>
<area shape="poly" id="edge18_Node000003_Node000016" title=" " alt="" coords="597,109,585,111,370,156,369,151,584,106,595,103"/>
<area shape="poly" id="edge11_Node000009_Node000004" title=" " alt="" coords="842,182,1002,227,1000,232,841,187"/>
<area shape="rect" id="Node000010" title=" " alt="" coords="860,232,992,260"/>
<area shape="poly" id="edge9_Node000009_Node000010" title=" " alt="" coords="820,183,891,222,888,227,818,187"/>
<area shape="rect" id="Node000011" title=" " alt="" coords="712,232,837,260"/>
<area shape="poly" id="edge10_Node000009_Node000011" title=" " alt="" coords="794,186,785,218,780,217,789,184"/>
<area shape="poly" id="edge13_Node000012_Node000005" title=" " alt="" coords="508,182,613,224,611,229,506,187"/>
<area shape="poly" id="edge14_Node000012_Node000007" title=" " alt="" coords="493,183,543,221,539,225,490,187"/>
<area shape="rect" id="Node000013" title=" " alt="" coords="428,232,515,260"/>
<area shape="poly" id="edge15_Node000012_Node000013" title=" " alt="" coords="476,185,475,217,470,217,471,185"/>
<area shape="rect" id="Node000014" title=" " alt="" coords="176,232,239,260"/>
<area shape="poly" id="edge16_Node000012_Node000014" title=" " alt="" coords="426,187,255,234,254,229,425,182"/>
<area shape="rect" id="Node000015" title=" " alt="" coords="264,232,405,260"/>
<area shape="poly" id="edge17_Node000012_Node000015" title=" " alt="" coords="450,187,374,227,371,222,448,183"/>
<area shape="poly" id="edge20_Node000016_Node000005" title=" " alt="" coords="356,180,472,200,612,229,611,234,471,206,355,186"/>
<area shape="poly" id="edge21_Node000016_Node000007" title=" " alt="" coords="338,182,524,229,523,234,337,188"/>
<area shape="poly" id="edge25_Node000016_Node000008" title=" " alt="" coords="239,187,81,234,79,229,237,182"/>
<area shape="poly" id="edge22_Node000016_Node000013" title=" " alt="" coords="317,182,425,224,423,229,315,187"/>
<area shape="poly" id="edge24_Node000016_Node000014" title=" " alt="" coords="271,187,234,223,230,219,267,183"/>
<area shape="poly" id="edge23_Node000016_Node000015" title=" " alt="" coords="294,183,318,218,314,221,289,186"/>
<area shape="rect" id="Node000017" title=" " alt="" coords="90,232,152,260"/>
<area shape="poly" id="edge19_Node000016_Node000017" title=" " alt="" coords="254,187,164,228,162,223,252,182"/>
<area shape="poly" id="edge29_Node000018_Node000004" title=" " alt="" coords="965,110,956,145,956,165,962,183,981,206,1005,223,1002,227,977,210,957,186,951,165,951,144,959,108"/>
<area shape="poly" id="edge27_Node000018_Node000005" title=" " alt="" coords="882,108,807,126,770,141,734,159,700,188,675,221,670,218,696,185,731,154,767,136,806,121,881,103"/>
<area shape="rect" id="Node000019" title=" " alt="" coords="972,157,1030,184"/>
<area shape="poly" id="edge28_Node000018_Node000019" title=" " alt="" coords="976,108,991,141,986,144,971,110"/>
<area shape="rect" id="Node000020" title=" " alt="" coords="1054,157,1153,184"/>
<area shape="poly" id="edge30_Node000018_Node000020" title=" " alt="" coords="993,107,1067,147,1065,151,991,112"/>
<area shape="poly" id="edge31_Node000018_Node000021" title=" " alt="" coords="1019,107,1186,150,1184,155,1017,112"/>
</map>

1
html/Algo_8cc__incl.md5 Normal file
View File

@ -0,0 +1 @@
cfc46d6b2770b8cbb942d6266ef18940

BIN
html/Algo_8cc__incl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

197
html/Algo_8hh.html Normal file
View File

@ -0,0 +1,197 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/Algo.hh File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('Algo_8hh.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle"><div class="title">Algo.hh File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;memory&gt;</code><br />
<code>#include &lt;queue&gt;</code><br />
<code>#include &lt;atomic&gt;</code><br />
<code>#include &lt;thread&gt;</code><br />
<code>#include &lt;future&gt;</code><br />
<code>#include &quot;<a class="el" href="Publisher_8hh_source.html">Publisher.hh</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ThreadSafeQueue_8hh_source.html">utils/ThreadSafeQueue.hh</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ThreadPool_8hh_source.html">utils/ThreadPool.hh</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for Algo.hh:</div>
<div class="dyncontent">
<div class="center"><img src="Algo_8hh__incl.png" border="0" usemap="#ainclude_2Algo_8hh" alt=""/></div>
<map name="ainclude_2Algo_8hh" id="ainclude_2Algo_8hh">
<area shape="rect" title=" " alt="" coords="496,5,618,33"/>
<area shape="rect" title=" " alt="" coords="5,157,82,184"/>
<area shape="poly" title=" " alt="" coords="496,28,365,46,288,62,214,84,139,116,78,150,75,146,137,111,212,78,287,57,364,41,495,23"/>
<area shape="rect" title=" " alt="" coords="410,157,472,184"/>
<area shape="poly" title=" " alt="" coords="549,35,511,83,462,146,458,143,507,79,544,32"/>
<area shape="rect" title=" " alt="" coords="964,81,1030,109"/>
<area shape="poly" title=" " alt="" coords="618,26,767,47,945,78,949,79,948,84,944,84,767,53,618,31"/>
<area shape="rect" title=" " alt="" coords="496,157,559,184"/>
<area shape="poly" title=" " alt="" coords="547,35,532,56,519,82,516,112,521,142,516,142,511,112,514,80,527,53,543,32"/>
<area shape="rect" title=" " alt="" coords="1032,157,1092,184"/>
<area shape="poly" title=" " alt="" coords="618,23,750,40,827,57,902,79,1027,147,1024,151,900,83,826,62,749,46,618,28"/>
<area shape="rect" href="Publisher_8hh.html" title=" " alt="" coords="225,81,326,109"/>
<area shape="poly" title=" " alt="" coords="507,36,341,79,340,74,506,31"/>
<area shape="rect" href="ThreadSafeQueue_8hh.html" title=" " alt="" coords="529,81,718,109"/>
<area shape="poly" title=" " alt="" coords="571,32,604,68,600,71,567,35"/>
<area shape="rect" href="ThreadPool_8hh.html" title=" " alt="" coords="742,81,889,109"/>
<area shape="poly" title=" " alt="" coords="604,31,756,74,754,79,602,36"/>
<area shape="poly" title=" " alt="" coords="235,112,98,155,96,150,233,107"/>
<area shape="rect" title=" " alt="" coords="106,157,237,184"/>
<area shape="poly" title=" " alt="" coords="258,111,204,150,200,146,255,107"/>
<area shape="rect" title=" " alt="" coords="261,157,386,184"/>
<area shape="poly" title=" " alt="" coords="286,108,309,142,304,145,282,111"/>
<area shape="poly" title=" " alt="" coords="592,112,487,154,485,149,590,107"/>
<area shape="poly" title=" " alt="" coords="608,111,558,149,555,145,605,107"/>
<area shape="rect" title=" " alt="" coords="583,157,669,184"/>
<area shape="poly" title=" " alt="" coords="627,109,628,141,622,141,621,109"/>
<area shape="rect" title=" " alt="" coords="693,157,756,184"/>
<area shape="poly" title=" " alt="" coords="643,107,696,145,693,150,640,111"/>
<area shape="rect" title=" " alt="" coords="781,157,922,184"/>
<area shape="poly" title=" " alt="" coords="665,107,797,149,796,154,663,112"/>
<area shape="poly" title=" " alt="" coords="742,110,626,130,487,159,486,154,625,125,741,105"/>
<area shape="poly" title=" " alt="" coords="761,112,575,159,574,153,759,107"/>
<area shape="poly" title=" " alt="" coords="860,107,1018,153,1017,158,859,112"/>
<area shape="poly" title=" " alt="" coords="783,112,675,153,673,148,781,107"/>
<area shape="poly" title=" " alt="" coords="801,111,754,149,751,145,798,107"/>
<area shape="poly" title=" " alt="" coords="824,108,841,141,836,144,820,110"/>
<area shape="rect" title=" " alt="" coords="946,157,1008,184"/>
<area shape="poly" title=" " alt="" coords="845,107,936,148,934,153,843,112"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="Algo_8hh__dep__incl.png" border="0" usemap="#ainclude_2Algo_8hhdep" alt=""/></div>
<map name="ainclude_2Algo_8hhdep" id="ainclude_2Algo_8hhdep">
<area shape="rect" title=" " alt="" coords="170,5,292,33"/>
<area shape="rect" href="Controller_8hh.html" title=" " alt="" coords="5,81,161,109"/>
<area shape="poly" title=" " alt="" coords="192,43,110,83,108,78,190,38"/>
<area shape="rect" href="Algo_8cc.html" title=" " alt="" coords="185,81,277,109"/>
<area shape="poly" title=" " alt="" coords="234,49,234,81,228,81,228,49"/>
<area shape="rect" href="JSONReader_8cc.html" title=" " alt="" coords="300,81,492,109"/>
<area shape="poly" title=" " alt="" coords="276,37,368,78,366,83,273,42"/>
<area shape="rect" href="Controller_8cc.html" title=" " alt="" coords="20,157,146,184"/>
<area shape="poly" title=" " alt="" coords="86,124,86,156,80,156,80,124"/>
</map>
</div>
</div>
<p><a href="Algo_8hh_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAlgo.html">Algo</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="Algo_8hh.html">Algo.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

4
html/Algo_8hh.js Normal file
View File

@ -0,0 +1,4 @@
var Algo_8hh =
[
[ "Algo", "classAlgo.html", "classAlgo" ]
];

View File

@ -0,0 +1,11 @@
<map id="include/Algo.hh" name="include/Algo.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="170,5,292,33"/>
<area shape="rect" id="Node000002" href="$Controller_8hh.html" title=" " alt="" coords="5,81,161,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="192,43,110,83,108,78,190,38"/>
<area shape="rect" id="Node000004" href="$Algo_8cc.html" title=" " alt="" coords="185,81,277,109"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="234,49,234,81,228,81,228,49"/>
<area shape="rect" id="Node000005" href="$JSONReader_8cc.html" title=" " alt="" coords="300,81,492,109"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="276,37,368,78,366,83,273,42"/>
<area shape="rect" id="Node000003" href="$Controller_8cc.html" title=" " alt="" coords="20,157,146,184"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="86,124,86,156,80,156,80,124"/>
</map>

View File

@ -0,0 +1 @@
a431ea7e9484747e032d6cee0e6d458c

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

40
html/Algo_8hh__incl.map Normal file
View File

@ -0,0 +1,40 @@
<map id="include/Algo.hh" name="include/Algo.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="496,5,618,33"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,157,82,184"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="496,28,365,46,288,62,214,84,139,116,78,150,75,146,137,111,212,78,287,57,364,41,495,23"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="410,157,472,184"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="549,35,511,83,462,146,458,143,507,79,544,32"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="964,81,1030,109"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="618,26,767,47,945,78,949,79,948,84,944,84,767,53,618,31"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="496,157,559,184"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="547,35,532,56,519,82,516,112,521,142,516,142,511,112,514,80,527,53,543,32"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="1032,157,1092,184"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="618,23,750,40,827,57,902,79,1027,147,1024,151,900,83,826,62,749,46,618,28"/>
<area shape="rect" id="Node000007" href="$Publisher_8hh.html" title=" " alt="" coords="225,81,326,109"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="507,36,341,79,340,74,506,31"/>
<area shape="rect" id="Node000010" href="$ThreadSafeQueue_8hh.html" title=" " alt="" coords="529,81,718,109"/>
<area shape="poly" id="edge10_Node000001_Node000010" title=" " alt="" coords="571,32,604,68,600,71,567,35"/>
<area shape="rect" id="Node000014" href="$ThreadPool_8hh.html" title=" " alt="" coords="742,81,889,109"/>
<area shape="poly" id="edge16_Node000001_Node000014" title=" " alt="" coords="604,31,756,74,754,79,602,36"/>
<area shape="poly" id="edge9_Node000007_Node000002" title=" " alt="" coords="235,112,98,155,96,150,233,107"/>
<area shape="rect" id="Node000008" title=" " alt="" coords="106,157,237,184"/>
<area shape="poly" id="edge7_Node000007_Node000008" title=" " alt="" coords="258,111,204,150,200,146,255,107"/>
<area shape="rect" id="Node000009" title=" " alt="" coords="261,157,386,184"/>
<area shape="poly" id="edge8_Node000007_Node000009" title=" " alt="" coords="286,108,309,142,304,145,282,111"/>
<area shape="poly" id="edge11_Node000010_Node000003" title=" " alt="" coords="592,112,487,154,485,149,590,107"/>
<area shape="poly" id="edge12_Node000010_Node000005" title=" " alt="" coords="608,111,558,149,555,145,605,107"/>
<area shape="rect" id="Node000011" title=" " alt="" coords="583,157,669,184"/>
<area shape="poly" id="edge13_Node000010_Node000011" title=" " alt="" coords="627,109,628,141,622,141,621,109"/>
<area shape="rect" id="Node000012" title=" " alt="" coords="693,157,756,184"/>
<area shape="poly" id="edge14_Node000010_Node000012" title=" " alt="" coords="643,107,696,145,693,150,640,111"/>
<area shape="rect" id="Node000013" title=" " alt="" coords="781,157,922,184"/>
<area shape="poly" id="edge15_Node000010_Node000013" title=" " alt="" coords="665,107,797,149,796,154,663,112"/>
<area shape="poly" id="edge18_Node000014_Node000003" title=" " alt="" coords="742,110,626,130,487,159,486,154,625,125,741,105"/>
<area shape="poly" id="edge19_Node000014_Node000005" title=" " alt="" coords="761,112,575,159,574,153,759,107"/>
<area shape="poly" id="edge23_Node000014_Node000006" title=" " alt="" coords="860,107,1018,153,1017,158,859,112"/>
<area shape="poly" id="edge20_Node000014_Node000011" title=" " alt="" coords="783,112,675,153,673,148,781,107"/>
<area shape="poly" id="edge22_Node000014_Node000012" title=" " alt="" coords="801,111,754,149,751,145,798,107"/>
<area shape="poly" id="edge21_Node000014_Node000013" title=" " alt="" coords="824,108,841,141,836,144,820,110"/>
<area shape="rect" id="Node000015" title=" " alt="" coords="946,157,1008,184"/>
<area shape="poly" id="edge17_Node000014_Node000015" title=" " alt="" coords="845,107,936,148,934,153,843,112"/>
</map>

1
html/Algo_8hh__incl.md5 Normal file
View File

@ -0,0 +1 @@
ec7d0d12576590612e1ed6b3c34c8e64

BIN
html/Algo_8hh__incl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

182
html/Algo_8hh_source.html Normal file
View File

@ -0,0 +1,182 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/Algo.hh 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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('Algo_8hh_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">Algo.hh</div></div>
</div><!--header-->
<div class="contents">
<a href="Algo_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">// C++ Includes</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;queue&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;atomic&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;thread&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;future&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">// FastInAHurry includes</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &quot;<a class="code" href="Publisher_8hh.html">Publisher.hh</a>&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include &quot;<a class="code" href="ThreadSafeQueue_8hh.html">utils/ThreadSafeQueue.hh</a>&quot;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &quot;<a class="code" href="ThreadPool_8hh.html">utils/ThreadPool.hh</a>&quot;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="foldopen" id="foldopen00017" data-start="{" data-end="};">
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="classAlgo.html"> 17</a></span><span class="keyword">class </span><a class="code hl_function" href="classAlgo.html#aaf4f951979fc60411ed84c558f081867">Algo</a> {</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <a class="code hl_function" href="classAlgo.html#aaf4f951979fc60411ed84c558f081867">Algo</a>();</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classAlgo.html#ac8b70d722d4b2c1ad5cad4a63c3b7c62">initialize</a>();</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classAlgo.html#ac223b246cd2f8851c4e0893ff41547fa">generate_orders</a>();</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classAlgo.html#a8fcaaeaa5ad212a126490a19370c9b7e">process</a>();</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classAlgo.html#ac556564d232b2d90cec73718538ec804">send</a>(trading::Order&amp;);</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAlgo.html#a6fef1866e14e8a08788cb1d54afcedaf">initialized</a>();</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classAlgo.html#a330f03f9df9e5d1e2b701bc3f5e94524">stop</a>();</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="classAlgo.html#a889e1362976e78c4904007ee5edfd3fe"> 28</a></span> std::queue&lt;trading::Order&gt; <a class="code hl_variable" href="classAlgo.html#a889e1362976e78c4904007ee5edfd3fe">_orders</a>;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classAlgo.html#a6cffb1f6d087978eba685bcb1d06b11d"> 29</a></span> std::atomic&lt;bool&gt; <a class="code hl_variable" href="classAlgo.html#a6cffb1f6d087978eba685bcb1d06b11d">_initialized</a>{<span class="keyword">false</span>};</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classAlgo.html#a3ce5d714379ab5094b6d82b99421b4a3"> 30</a></span> std::atomic&lt;bool&gt; <a class="code hl_variable" href="classAlgo.html#a3ce5d714379ab5094b6d82b99421b4a3">_running</a>{<span class="keyword">false</span>};</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classAlgo.html#af5bcfa2719e948826f71983a18ec017d"> 31</a></span> std::shared_ptr&lt;Publisher&gt; <a class="code hl_variable" href="classAlgo.html#af5bcfa2719e948826f71983a18ec017d">_pub</a>;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classAlgo.html#ac4f2da176cc2dc9ba757140a635fe9b8"> 33</a></span> <a class="code hl_class" href="classutils_1_1ThreadSafeQueue.html">utils::ThreadSafeQueue&lt;trading::Order&gt;</a> <a class="code hl_variable" href="classAlgo.html#ac4f2da176cc2dc9ba757140a635fe9b8">_order_queue</a>;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classAlgo.html#adb85594bf1d2e7c9357d353b5e97787d"> 34</a></span> <a class="code hl_class" href="classutils_1_1ThreadPool.html">utils::ThreadPool</a> <a class="code hl_variable" href="classAlgo.html#adb85594bf1d2e7c9357d353b5e97787d">_thread_pool</a>;</div>
<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"><a class="line" href="classAlgo.html#a4943cab875d5261b0abec360b68878e8"> 36</a></span> std::mutex <a class="code hl_variable" href="classAlgo.html#a4943cab875d5261b0abec360b68878e8">_send_mutex</a>;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classAlgo.html#a743ddc60baad0afa7f036a529c340460"> 37</a></span> std::jthread <a class="code hl_variable" href="classAlgo.html#a743ddc60baad0afa7f036a529c340460">_reader_thread</a>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classAlgo.html#ac72ec5a778fce0be42ebf635f2c504d0"> 38</a></span> std::vector&lt;std::jthread&gt; <a class="code hl_variable" href="classAlgo.html#ac72ec5a778fce0be42ebf635f2c504d0">_worker_threads</a>;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="classAlgo.html#a671449864b2d1a1af9a57970eb104a0f"> 39</a></span> std::vector&lt;std::future&lt;bool&gt;&gt; <a class="code hl_variable" href="classAlgo.html#a671449864b2d1a1af9a57970eb104a0f">_futures</a>;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span>};</div>
</div>
<div class="ttc" id="aPublisher_8hh_html"><div class="ttname"><a href="Publisher_8hh.html">Publisher.hh</a></div></div>
<div class="ttc" id="aThreadPool_8hh_html"><div class="ttname"><a href="ThreadPool_8hh.html">ThreadPool.hh</a></div></div>
<div class="ttc" id="aThreadSafeQueue_8hh_html"><div class="ttname"><a href="ThreadSafeQueue_8hh.html">ThreadSafeQueue.hh</a></div></div>
<div class="ttc" id="aclassAlgo_html_a330f03f9df9e5d1e2b701bc3f5e94524"><div class="ttname"><a href="classAlgo.html#a330f03f9df9e5d1e2b701bc3f5e94524">Algo::stop</a></div><div class="ttdeci">void stop()</div><div class="ttdef"><b>Definition</b> Algo.cc:23</div></div>
<div class="ttc" id="aclassAlgo_html_a3ce5d714379ab5094b6d82b99421b4a3"><div class="ttname"><a href="classAlgo.html#a3ce5d714379ab5094b6d82b99421b4a3">Algo::_running</a></div><div class="ttdeci">std::atomic&lt; bool &gt; _running</div><div class="ttdef"><b>Definition</b> Algo.hh:30</div></div>
<div class="ttc" id="aclassAlgo_html_a4943cab875d5261b0abec360b68878e8"><div class="ttname"><a href="classAlgo.html#a4943cab875d5261b0abec360b68878e8">Algo::_send_mutex</a></div><div class="ttdeci">std::mutex _send_mutex</div><div class="ttdef"><b>Definition</b> Algo.hh:36</div></div>
<div class="ttc" id="aclassAlgo_html_a671449864b2d1a1af9a57970eb104a0f"><div class="ttname"><a href="classAlgo.html#a671449864b2d1a1af9a57970eb104a0f">Algo::_futures</a></div><div class="ttdeci">std::vector&lt; std::future&lt; bool &gt; &gt; _futures</div><div class="ttdef"><b>Definition</b> Algo.hh:39</div></div>
<div class="ttc" id="aclassAlgo_html_a6cffb1f6d087978eba685bcb1d06b11d"><div class="ttname"><a href="classAlgo.html#a6cffb1f6d087978eba685bcb1d06b11d">Algo::_initialized</a></div><div class="ttdeci">std::atomic&lt; bool &gt; _initialized</div><div class="ttdef"><b>Definition</b> Algo.hh:29</div></div>
<div class="ttc" id="aclassAlgo_html_a6fef1866e14e8a08788cb1d54afcedaf"><div class="ttname"><a href="classAlgo.html#a6fef1866e14e8a08788cb1d54afcedaf">Algo::initialized</a></div><div class="ttdeci">bool initialized()</div><div class="ttdef"><b>Definition</b> Algo.cc:43</div></div>
<div class="ttc" id="aclassAlgo_html_a743ddc60baad0afa7f036a529c340460"><div class="ttname"><a href="classAlgo.html#a743ddc60baad0afa7f036a529c340460">Algo::_reader_thread</a></div><div class="ttdeci">std::jthread _reader_thread</div><div class="ttdef"><b>Definition</b> Algo.hh:37</div></div>
<div class="ttc" id="aclassAlgo_html_a889e1362976e78c4904007ee5edfd3fe"><div class="ttname"><a href="classAlgo.html#a889e1362976e78c4904007ee5edfd3fe">Algo::_orders</a></div><div class="ttdeci">std::queue&lt; trading::Order &gt; _orders</div><div class="ttdef"><b>Definition</b> Algo.hh:28</div></div>
<div class="ttc" id="aclassAlgo_html_a8fcaaeaa5ad212a126490a19370c9b7e"><div class="ttname"><a href="classAlgo.html#a8fcaaeaa5ad212a126490a19370c9b7e">Algo::process</a></div><div class="ttdeci">void process()</div><div class="ttdef"><b>Definition</b> Algo.cc:47</div></div>
<div class="ttc" id="aclassAlgo_html_aaf4f951979fc60411ed84c558f081867"><div class="ttname"><a href="classAlgo.html#aaf4f951979fc60411ed84c558f081867">Algo::Algo</a></div><div class="ttdeci">Algo()</div><div class="ttdef"><b>Definition</b> Algo.cc:11</div></div>
<div class="ttc" id="aclassAlgo_html_ac223b246cd2f8851c4e0893ff41547fa"><div class="ttname"><a href="classAlgo.html#ac223b246cd2f8851c4e0893ff41547fa">Algo::generate_orders</a></div><div class="ttdeci">void generate_orders()</div><div class="ttdef"><b>Definition</b> Algo.cc:39</div></div>
<div class="ttc" id="aclassAlgo_html_ac4f2da176cc2dc9ba757140a635fe9b8"><div class="ttname"><a href="classAlgo.html#ac4f2da176cc2dc9ba757140a635fe9b8">Algo::_order_queue</a></div><div class="ttdeci">utils::ThreadSafeQueue&lt; trading::Order &gt; _order_queue</div><div class="ttdef"><b>Definition</b> Algo.hh:33</div></div>
<div class="ttc" id="aclassAlgo_html_ac556564d232b2d90cec73718538ec804"><div class="ttname"><a href="classAlgo.html#ac556564d232b2d90cec73718538ec804">Algo::send</a></div><div class="ttdeci">void send(trading::Order &amp;)</div><div class="ttdef"><b>Definition</b> Algo.cc:106</div></div>
<div class="ttc" id="aclassAlgo_html_ac72ec5a778fce0be42ebf635f2c504d0"><div class="ttname"><a href="classAlgo.html#ac72ec5a778fce0be42ebf635f2c504d0">Algo::_worker_threads</a></div><div class="ttdeci">std::vector&lt; std::jthread &gt; _worker_threads</div><div class="ttdef"><b>Definition</b> Algo.hh:38</div></div>
<div class="ttc" id="aclassAlgo_html_ac8b70d722d4b2c1ad5cad4a63c3b7c62"><div class="ttname"><a href="classAlgo.html#ac8b70d722d4b2c1ad5cad4a63c3b7c62">Algo::initialize</a></div><div class="ttdeci">void initialize()</div><div class="ttdef"><b>Definition</b> Algo.cc:15</div></div>
<div class="ttc" id="aclassAlgo_html_adb85594bf1d2e7c9357d353b5e97787d"><div class="ttname"><a href="classAlgo.html#adb85594bf1d2e7c9357d353b5e97787d">Algo::_thread_pool</a></div><div class="ttdeci">utils::ThreadPool _thread_pool</div><div class="ttdef"><b>Definition</b> Algo.hh:34</div></div>
<div class="ttc" id="aclassAlgo_html_af5bcfa2719e948826f71983a18ec017d"><div class="ttname"><a href="classAlgo.html#af5bcfa2719e948826f71983a18ec017d">Algo::_pub</a></div><div class="ttdeci">std::shared_ptr&lt; Publisher &gt; _pub</div><div class="ttdef"><b>Definition</b> Algo.hh:31</div></div>
<div class="ttc" id="aclassutils_1_1ThreadPool_html"><div class="ttname"><a href="classutils_1_1ThreadPool.html">utils::ThreadPool</a></div><div class="ttdef"><b>Definition</b> ThreadPool.hh:12</div></div>
<div class="ttc" id="aclassutils_1_1ThreadSafeQueue_html"><div class="ttname"><a href="classutils_1_1ThreadSafeQueue.html">utils::ThreadSafeQueue</a></div><div class="ttdef"><b>Definition</b> ThreadSafeQueue.hh:11</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="Algo_8hh.html">Algo.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

168
html/Controller_8cc.html Normal file
View File

@ -0,0 +1,168 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: src/Controller.cc File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('Controller_8cc.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">Controller.cc File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="Controller_8hh_source.html">Controller.hh</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for Controller.cc:</div>
<div class="dyncontent">
<div class="center"><img src="Controller_8cc__incl.png" border="0" usemap="#asrc_2Controller_8cc" alt=""/></div>
<map name="asrc_2Controller_8cc" id="asrc_2Controller_8cc">
<area shape="rect" title=" " alt="" coords="494,5,620,33"/>
<area shape="rect" href="Controller_8hh.html" title=" " alt="" coords="505,81,609,109"/>
<area shape="poly" title=" " alt="" coords="560,34,560,65,554,65,554,34"/>
<area shape="rect" href="Algo_8hh.html" title=" " alt="" coords="522,157,592,184"/>
<area shape="poly" title=" " alt="" coords="560,109,560,141,554,141,554,109"/>
<area shape="rect" title=" " alt="" coords="5,308,82,336"/>
<area shape="poly" title=" " alt="" coords="522,177,385,194,299,211,214,235,139,267,78,302,75,297,137,262,212,230,297,206,384,189,521,172"/>
<area shape="rect" title=" " alt="" coords="410,308,472,336"/>
<area shape="poly" title=" " alt="" coords="549,186,511,234,462,297,458,294,507,231,544,183"/>
<area shape="rect" title=" " alt="" coords="964,232,1030,260"/>
<area shape="poly" title=" " alt="" coords="593,174,746,196,945,230,949,231,948,236,944,235,745,201,592,179"/>
<area shape="rect" title=" " alt="" coords="496,308,559,336"/>
<area shape="poly" title=" " alt="" coords="547,186,532,207,519,233,516,264,521,293,516,294,511,264,514,232,527,205,543,183"/>
<area shape="rect" title=" " alt="" coords="1032,308,1092,336"/>
<area shape="poly" title=" " alt="" coords="593,172,730,188,816,205,902,230,1027,298,1024,303,900,235,815,211,729,194,592,177"/>
<area shape="rect" href="Publisher_8hh.html" title=" " alt="" coords="225,232,326,260"/>
<area shape="poly" title=" " alt="" coords="522,184,342,230,340,225,521,178"/>
<area shape="rect" href="ThreadSafeQueue_8hh.html" title=" " alt="" coords="529,232,718,260"/>
<area shape="poly" title=" " alt="" coords="571,183,604,219,600,223,567,187"/>
<area shape="rect" href="ThreadPool_8hh.html" title=" " alt="" coords="742,232,889,260"/>
<area shape="poly" title=" " alt="" coords="593,179,756,225,754,230,592,184"/>
<area shape="poly" title=" " alt="" coords="235,263,98,306,96,301,233,258"/>
<area shape="rect" title=" " alt="" coords="106,308,237,336"/>
<area shape="poly" title=" " alt="" coords="258,263,204,301,200,297,255,258"/>
<area shape="rect" title=" " alt="" coords="261,308,386,336"/>
<area shape="poly" title=" " alt="" coords="286,259,309,294,304,296,282,262"/>
<area shape="poly" title=" " alt="" coords="592,263,487,305,485,300,590,258"/>
<area shape="poly" title=" " alt="" coords="608,263,558,300,555,296,605,258"/>
<area shape="rect" title=" " alt="" coords="583,308,669,336"/>
<area shape="poly" title=" " alt="" coords="627,260,628,292,622,292,621,261"/>
<area shape="rect" title=" " alt="" coords="693,308,756,336"/>
<area shape="poly" title=" " alt="" coords="643,258,696,297,693,301,640,263"/>
<area shape="rect" title=" " alt="" coords="781,308,922,336"/>
<area shape="poly" title=" " alt="" coords="665,258,797,300,796,305,663,263"/>
<area shape="poly" title=" " alt="" coords="742,261,626,281,487,310,486,305,625,276,741,256"/>
<area shape="poly" title=" " alt="" coords="761,263,575,310,574,305,759,258"/>
<area shape="poly" title=" " alt="" coords="860,258,1018,305,1017,310,859,263"/>
<area shape="poly" title=" " alt="" coords="783,263,675,305,673,300,781,258"/>
<area shape="poly" title=" " alt="" coords="801,263,754,300,751,296,798,258"/>
<area shape="poly" title=" " alt="" coords="824,259,841,293,836,295,820,262"/>
<area shape="rect" title=" " alt="" coords="946,308,1008,336"/>
<area shape="poly" title=" " alt="" coords="845,258,936,299,934,304,843,263"/>
</map>
</div>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="Controller_8cc.html">Controller.cc</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,44 @@
<map id="src/Controller.cc" name="src/Controller.cc">
<area shape="rect" id="Node000001" title=" " alt="" coords="494,5,620,33"/>
<area shape="rect" id="Node000002" href="$Controller_8hh.html" title=" " alt="" coords="505,81,609,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="560,34,560,65,554,65,554,34"/>
<area shape="rect" id="Node000003" href="$Algo_8hh.html" title=" " alt="" coords="522,157,592,184"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="560,109,560,141,554,141,554,109"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="5,308,82,336"/>
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="522,177,385,194,299,211,214,235,139,267,78,302,75,297,137,262,212,230,297,206,384,189,521,172"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="410,308,472,336"/>
<area shape="poly" id="edge4_Node000003_Node000005" title=" " alt="" coords="549,186,511,234,462,297,458,294,507,231,544,183"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="964,232,1030,260"/>
<area shape="poly" id="edge5_Node000003_Node000006" title=" " alt="" coords="593,174,746,196,945,230,949,231,948,236,944,235,745,201,592,179"/>
<area shape="rect" id="Node000007" title=" " alt="" coords="496,308,559,336"/>
<area shape="poly" id="edge6_Node000003_Node000007" title=" " alt="" coords="547,186,532,207,519,233,516,264,521,293,516,294,511,264,514,232,527,205,543,183"/>
<area shape="rect" id="Node000008" title=" " alt="" coords="1032,308,1092,336"/>
<area shape="poly" id="edge7_Node000003_Node000008" title=" " alt="" coords="593,172,730,188,816,205,902,230,1027,298,1024,303,900,235,815,211,729,194,592,177"/>
<area shape="rect" id="Node000009" href="$Publisher_8hh.html" title=" " alt="" coords="225,232,326,260"/>
<area shape="poly" id="edge8_Node000003_Node000009" title=" " alt="" coords="522,184,342,230,340,225,521,178"/>
<area shape="rect" id="Node000012" href="$ThreadSafeQueue_8hh.html" title=" " alt="" coords="529,232,718,260"/>
<area shape="poly" id="edge12_Node000003_Node000012" title=" " alt="" coords="571,183,604,219,600,223,567,187"/>
<area shape="rect" id="Node000016" href="$ThreadPool_8hh.html" title=" " alt="" coords="742,232,889,260"/>
<area shape="poly" id="edge18_Node000003_Node000016" title=" " alt="" coords="593,179,756,225,754,230,592,184"/>
<area shape="poly" id="edge11_Node000009_Node000004" title=" " alt="" coords="235,263,98,306,96,301,233,258"/>
<area shape="rect" id="Node000010" title=" " alt="" coords="106,308,237,336"/>
<area shape="poly" id="edge9_Node000009_Node000010" title=" " alt="" coords="258,263,204,301,200,297,255,258"/>
<area shape="rect" id="Node000011" title=" " alt="" coords="261,308,386,336"/>
<area shape="poly" id="edge10_Node000009_Node000011" title=" " alt="" coords="286,259,309,294,304,296,282,262"/>
<area shape="poly" id="edge13_Node000012_Node000005" title=" " alt="" coords="592,263,487,305,485,300,590,258"/>
<area shape="poly" id="edge14_Node000012_Node000007" title=" " alt="" coords="608,263,558,300,555,296,605,258"/>
<area shape="rect" id="Node000013" title=" " alt="" coords="583,308,669,336"/>
<area shape="poly" id="edge15_Node000012_Node000013" title=" " alt="" coords="627,260,628,292,622,292,621,261"/>
<area shape="rect" id="Node000014" title=" " alt="" coords="693,308,756,336"/>
<area shape="poly" id="edge16_Node000012_Node000014" title=" " alt="" coords="643,258,696,297,693,301,640,263"/>
<area shape="rect" id="Node000015" title=" " alt="" coords="781,308,922,336"/>
<area shape="poly" id="edge17_Node000012_Node000015" title=" " alt="" coords="665,258,797,300,796,305,663,263"/>
<area shape="poly" id="edge20_Node000016_Node000005" title=" " alt="" coords="742,261,626,281,487,310,486,305,625,276,741,256"/>
<area shape="poly" id="edge21_Node000016_Node000007" title=" " alt="" coords="761,263,575,310,574,305,759,258"/>
<area shape="poly" id="edge25_Node000016_Node000008" title=" " alt="" coords="860,258,1018,305,1017,310,859,263"/>
<area shape="poly" id="edge22_Node000016_Node000013" title=" " alt="" coords="783,263,675,305,673,300,781,258"/>
<area shape="poly" id="edge24_Node000016_Node000014" title=" " alt="" coords="801,263,754,300,751,296,798,258"/>
<area shape="poly" id="edge23_Node000016_Node000015" title=" " alt="" coords="824,259,841,293,836,295,820,262"/>
<area shape="rect" id="Node000017" title=" " alt="" coords="946,308,1008,336"/>
<area shape="poly" id="edge19_Node000016_Node000017" title=" " alt="" coords="845,258,936,299,934,304,843,263"/>
</map>

View File

@ -0,0 +1 @@
1636325ef59e620124c337c2911497a5

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

186
html/Controller_8hh.html Normal file
View File

@ -0,0 +1,186 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/Controller.hh File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('Controller_8hh.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle"><div class="title">Controller.hh File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="Algo_8hh_source.html">Algo.hh</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for Controller.hh:</div>
<div class="dyncontent">
<div class="center"><img src="Controller_8hh__incl.png" border="0" usemap="#ainclude_2Controller_8hh" alt=""/></div>
<map name="ainclude_2Controller_8hh" id="ainclude_2Controller_8hh">
<area shape="rect" title=" " alt="" coords="479,5,634,33"/>
<area shape="rect" href="Algo_8hh.html" title=" " alt="" coords="522,81,592,109"/>
<area shape="poly" title=" " alt="" coords="560,34,560,65,554,65,554,34"/>
<area shape="rect" title=" " alt="" coords="5,232,82,260"/>
<area shape="poly" title=" " alt="" coords="522,101,385,119,299,135,214,159,139,191,78,226,75,222,137,187,212,154,297,130,384,113,521,96"/>
<area shape="rect" title=" " alt="" coords="410,232,472,260"/>
<area shape="poly" title=" " alt="" coords="549,111,511,158,462,222,458,219,507,155,544,107"/>
<area shape="rect" title=" " alt="" coords="964,157,1030,184"/>
<area shape="poly" title=" " alt="" coords="593,98,746,120,945,154,949,155,948,160,944,159,745,125,592,103"/>
<area shape="rect" title=" " alt="" coords="496,232,559,260"/>
<area shape="poly" title=" " alt="" coords="547,111,532,132,519,157,516,188,521,217,516,218,511,188,514,156,527,129,543,107"/>
<area shape="rect" title=" " alt="" coords="1032,232,1092,260"/>
<area shape="poly" title=" " alt="" coords="593,96,730,113,816,130,902,154,1027,222,1024,227,900,159,815,135,729,118,592,101"/>
<area shape="rect" href="Publisher_8hh.html" title=" " alt="" coords="225,157,326,184"/>
<area shape="poly" title=" " alt="" coords="522,108,342,155,340,150,521,103"/>
<area shape="rect" href="ThreadSafeQueue_8hh.html" title=" " alt="" coords="529,157,718,184"/>
<area shape="poly" title=" " alt="" coords="571,107,604,143,600,147,567,111"/>
<area shape="rect" href="ThreadPool_8hh.html" title=" " alt="" coords="742,157,889,184"/>
<area shape="poly" title=" " alt="" coords="593,104,756,149,754,155,592,109"/>
<area shape="poly" title=" " alt="" coords="235,187,98,231,96,225,233,182"/>
<area shape="rect" title=" " alt="" coords="106,232,237,260"/>
<area shape="poly" title=" " alt="" coords="258,187,204,226,200,221,255,183"/>
<area shape="rect" title=" " alt="" coords="261,232,386,260"/>
<area shape="poly" title=" " alt="" coords="286,183,309,218,304,221,282,186"/>
<area shape="poly" title=" " alt="" coords="592,187,487,229,485,224,590,182"/>
<area shape="poly" title=" " alt="" coords="608,187,558,225,555,221,605,183"/>
<area shape="rect" title=" " alt="" coords="583,232,669,260"/>
<area shape="poly" title=" " alt="" coords="627,185,628,217,622,217,621,185"/>
<area shape="rect" title=" " alt="" coords="693,232,756,260"/>
<area shape="poly" title=" " alt="" coords="643,183,696,221,693,225,640,187"/>
<area shape="rect" title=" " alt="" coords="781,232,922,260"/>
<area shape="poly" title=" " alt="" coords="665,182,797,225,796,230,663,187"/>
<area shape="poly" title=" " alt="" coords="742,186,626,206,487,234,486,229,625,200,741,180"/>
<area shape="poly" title=" " alt="" coords="761,188,575,234,574,229,759,182"/>
<area shape="poly" title=" " alt="" coords="860,182,1018,229,1017,234,859,187"/>
<area shape="poly" title=" " alt="" coords="783,187,675,229,673,224,781,182"/>
<area shape="poly" title=" " alt="" coords="801,187,754,224,751,220,798,183"/>
<area shape="poly" title=" " alt="" coords="824,184,841,217,836,219,820,186"/>
<area shape="rect" title=" " alt="" coords="946,232,1008,260"/>
<area shape="poly" title=" " alt="" coords="845,182,936,223,934,228,843,187"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="Controller_8hh__dep__incl.png" border="0" usemap="#ainclude_2Controller_8hhdep" alt=""/></div>
<map name="ainclude_2Controller_8hhdep" id="ainclude_2Controller_8hhdep">
<area shape="rect" title=" " alt="" coords="5,5,161,33"/>
<area shape="rect" href="Controller_8cc.html" title=" " alt="" coords="20,81,146,109"/>
<area shape="poly" title=" " alt="" coords="86,49,86,81,80,81,80,49"/>
</map>
</div>
</div>
<p><a href="Controller_8hh_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classController.html">Controller</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="Controller_8hh.html">Controller.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

4
html/Controller_8hh.js Normal file
View File

@ -0,0 +1,4 @@
var Controller_8hh =
[
[ "Controller", "classController.html", "classController" ]
];

View File

@ -0,0 +1,5 @@
<map id="include/Controller.hh" name="include/Controller.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,5,161,33"/>
<area shape="rect" id="Node000002" href="$Controller_8cc.html" title=" " alt="" coords="20,81,146,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="86,49,86,81,80,81,80,49"/>
</map>

View File

@ -0,0 +1 @@
c599f64bba690051e7407b2c40113c0b

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -0,0 +1,42 @@
<map id="include/Controller.hh" name="include/Controller.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="479,5,634,33"/>
<area shape="rect" id="Node000002" href="$Algo_8hh.html" title=" " alt="" coords="522,81,592,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="560,34,560,65,554,65,554,34"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="5,232,82,260"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="522,101,385,119,299,135,214,159,139,191,78,226,75,222,137,187,212,154,297,130,384,113,521,96"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="410,232,472,260"/>
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="549,111,511,158,462,222,458,219,507,155,544,107"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="964,157,1030,184"/>
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="593,98,746,120,945,154,949,155,948,160,944,159,745,125,592,103"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="496,232,559,260"/>
<area shape="poly" id="edge5_Node000002_Node000006" title=" " alt="" coords="547,111,532,132,519,157,516,188,521,217,516,218,511,188,514,156,527,129,543,107"/>
<area shape="rect" id="Node000007" title=" " alt="" coords="1032,232,1092,260"/>
<area shape="poly" id="edge6_Node000002_Node000007" title=" " alt="" coords="593,96,730,113,816,130,902,154,1027,222,1024,227,900,159,815,135,729,118,592,101"/>
<area shape="rect" id="Node000008" href="$Publisher_8hh.html" title=" " alt="" coords="225,157,326,184"/>
<area shape="poly" id="edge7_Node000002_Node000008" title=" " alt="" coords="522,108,342,155,340,150,521,103"/>
<area shape="rect" id="Node000011" href="$ThreadSafeQueue_8hh.html" title=" " alt="" coords="529,157,718,184"/>
<area shape="poly" id="edge11_Node000002_Node000011" title=" " alt="" coords="571,107,604,143,600,147,567,111"/>
<area shape="rect" id="Node000015" href="$ThreadPool_8hh.html" title=" " alt="" coords="742,157,889,184"/>
<area shape="poly" id="edge17_Node000002_Node000015" title=" " alt="" coords="593,104,756,149,754,155,592,109"/>
<area shape="poly" id="edge10_Node000008_Node000003" title=" " alt="" coords="235,187,98,231,96,225,233,182"/>
<area shape="rect" id="Node000009" title=" " alt="" coords="106,232,237,260"/>
<area shape="poly" id="edge8_Node000008_Node000009" title=" " alt="" coords="258,187,204,226,200,221,255,183"/>
<area shape="rect" id="Node000010" title=" " alt="" coords="261,232,386,260"/>
<area shape="poly" id="edge9_Node000008_Node000010" title=" " alt="" coords="286,183,309,218,304,221,282,186"/>
<area shape="poly" id="edge12_Node000011_Node000004" title=" " alt="" coords="592,187,487,229,485,224,590,182"/>
<area shape="poly" id="edge13_Node000011_Node000006" title=" " alt="" coords="608,187,558,225,555,221,605,183"/>
<area shape="rect" id="Node000012" title=" " alt="" coords="583,232,669,260"/>
<area shape="poly" id="edge14_Node000011_Node000012" title=" " alt="" coords="627,185,628,217,622,217,621,185"/>
<area shape="rect" id="Node000013" title=" " alt="" coords="693,232,756,260"/>
<area shape="poly" id="edge15_Node000011_Node000013" title=" " alt="" coords="643,183,696,221,693,225,640,187"/>
<area shape="rect" id="Node000014" title=" " alt="" coords="781,232,922,260"/>
<area shape="poly" id="edge16_Node000011_Node000014" title=" " alt="" coords="665,182,797,225,796,230,663,187"/>
<area shape="poly" id="edge19_Node000015_Node000004" title=" " alt="" coords="742,186,626,206,487,234,486,229,625,200,741,180"/>
<area shape="poly" id="edge20_Node000015_Node000006" title=" " alt="" coords="761,188,575,234,574,229,759,182"/>
<area shape="poly" id="edge24_Node000015_Node000007" title=" " alt="" coords="860,182,1018,229,1017,234,859,187"/>
<area shape="poly" id="edge21_Node000015_Node000012" title=" " alt="" coords="783,187,675,229,673,224,781,182"/>
<area shape="poly" id="edge23_Node000015_Node000013" title=" " alt="" coords="801,187,754,224,751,220,798,183"/>
<area shape="poly" id="edge22_Node000015_Node000014" title=" " alt="" coords="824,184,841,217,836,219,820,186"/>
<area shape="rect" id="Node000016" title=" " alt="" coords="946,232,1008,260"/>
<area shape="poly" id="edge18_Node000015_Node000016" title=" " alt="" coords="845,182,936,223,934,228,843,187"/>
</map>

View File

@ -0,0 +1 @@
96e6ca4b766759c9baf05e07d9100fe3

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -0,0 +1,133 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/Controller.hh 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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('Controller_8hh_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">Controller.hh</div></div>
</div><!--header-->
<div class="contents">
<a href="Controller_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include &quot;<a class="code" href="Algo_8hh.html">Algo.hh</a>&quot;</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
<div class="foldopen" id="foldopen00003" data-start="{" data-end="};">
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"><a class="line" href="classController.html"> 3</a></span><span class="keyword">class </span><a class="code hl_function" href="classController.html#a9bf20649bd5268f6c25d206eddcd3fc5">Controller</a> {</div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classController.html#a9bf20649bd5268f6c25d206eddcd3fc5">Controller</a>(<span class="keywordtype">int</span>, <span class="keywordtype">char</span>*[]);</div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classController.html#ad535ad74055e645b7f44b7feeb4e82a8">start</a>();</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="classController.html#af469cf532ccb25e9256a9e71d35072ed"> 8</a></span> std::unique_ptr&lt;Algo&gt; <a class="code hl_variable" href="classController.html#af469cf532ccb25e9256a9e71d35072ed">_algo</a>;</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span>};</div>
</div>
<div class="ttc" id="aAlgo_8hh_html"><div class="ttname"><a href="Algo_8hh.html">Algo.hh</a></div></div>
<div class="ttc" id="aclassController_html_a9bf20649bd5268f6c25d206eddcd3fc5"><div class="ttname"><a href="classController.html#a9bf20649bd5268f6c25d206eddcd3fc5">Controller::Controller</a></div><div class="ttdeci">Controller(int, char *[])</div><div class="ttdef"><b>Definition</b> Controller.cc:3</div></div>
<div class="ttc" id="aclassController_html_ad535ad74055e645b7f44b7feeb4e82a8"><div class="ttname"><a href="classController.html#ad535ad74055e645b7f44b7feeb4e82a8">Controller::start</a></div><div class="ttdeci">void start()</div><div class="ttdef"><b>Definition</b> Controller.cc:11</div></div>
<div class="ttc" id="aclassController_html_af469cf532ccb25e9256a9e71d35072ed"><div class="ttname"><a href="classController.html#af469cf532ccb25e9256a9e71d35072ed">Controller::_algo</a></div><div class="ttdeci">std::unique_ptr&lt; Algo &gt; _algo</div><div class="ttdef"><b>Definition</b> Controller.hh:8</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="Controller_8hh.html">Controller.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

201
html/JSONReader_8cc.html Normal file
View File

@ -0,0 +1,201 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: src/readers/JSONReader.cc File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('JSONReader_8cc.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">JSONReader.cc File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;fstream&gt;</code><br />
<code>#include &lt;iostream&gt;</code><br />
<code>#include &quot;<a class="el" href="JSONReader_8hh_source.html">readers/JSONReader.hh</a>&quot;</code><br />
<code>#include &lt;<a class="el" href="Algo_8hh_source.html">Algo.hh</a>&gt;</code><br />
<code>#include &quot;trading.pb.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for JSONReader.cc:</div>
<div class="dyncontent">
<div class="center"><img src="JSONReader_8cc__incl.png" border="0" usemap="#asrc_2readers_2JSONReader_8cc" alt=""/></div>
<map name="asrc_2readers_2JSONReader_8cc" id="asrc_2readers_2JSONReader_8cc">
<area shape="rect" title=" " alt="" coords="195,5,387,33"/>
<area shape="rect" title=" " alt="" coords="5,81,78,109"/>
<area shape="poly" title=" " alt="" coords="247,36,93,81,92,76,246,31"/>
<area shape="rect" title=" " alt="" coords="102,81,181,109"/>
<area shape="poly" title=" " alt="" coords="265,36,183,76,180,71,263,31"/>
<area shape="rect" href="JSONReader_8hh.html" title=" " alt="" coords="205,81,376,109"/>
<area shape="poly" title=" " alt="" coords="294,34,294,65,288,65,288,34"/>
<area shape="rect" title=" " alt="" coords="328,157,427,184"/>
<area shape="poly" title=" " alt="" coords="331,31,364,50,379,64,391,80,396,95,397,112,391,142,386,141,392,111,391,96,386,82,375,67,360,55,328,36"/>
<area shape="rect" href="Algo_8hh.html" title=" " alt="" coords="788,81,858,109"/>
<area shape="poly" title=" " alt="" coords="387,31,773,84,772,89,386,36"/>
<area shape="rect" title=" " alt="" coords="650,232,711,260"/>
<area shape="poly" title=" " alt="" coords="377,102,513,123,574,137,616,154,633,168,648,184,670,218,666,220,644,187,630,172,613,159,572,142,512,128,377,108"/>
<area shape="rect" title=" " alt="" coords="26,157,84,184"/>
<area shape="poly" title=" " alt="" coords="249,112,99,158,98,153,248,107"/>
<area shape="rect" title=" " alt="" coords="245,232,321,260"/>
<area shape="poly" title=" " alt="" coords="293,109,287,217,282,217,287,109"/>
<area shape="poly" title=" " alt="" coords="308,107,352,145,349,149,305,111"/>
<area shape="rect" title=" " alt="" coords="108,157,253,184"/>
<area shape="poly" title=" " alt="" coords="273,111,214,150,211,146,270,107"/>
<area shape="poly" title=" " alt="" coords="788,112,752,131,718,158,700,188,689,218,684,216,695,185,714,155,749,126,786,107"/>
<area shape="poly" title=" " alt="" coords="788,102,655,119,572,135,490,159,465,172,440,187,336,229,334,224,438,182,463,167,489,154,571,130,654,113,787,96"/>
<area shape="rect" title=" " alt="" coords="1112,157,1179,184"/>
<area shape="poly" title=" " alt="" coords="859,101,1098,154,1097,159,858,106"/>
<area shape="rect" title=" " alt="" coords="1184,232,1248,260"/>
<area shape="poly" title=" " alt="" coords="859,95,939,99,1038,109,1131,127,1167,139,1193,155,1204,168,1211,184,1218,216,1213,218,1206,186,1199,171,1189,159,1165,144,1129,132,1037,115,938,105,858,100"/>
<area shape="rect" title=" " alt="" coords="1271,232,1332,260"/>
<area shape="poly" title=" " alt="" coords="859,96,1047,115,1148,132,1188,143,1219,154,1239,168,1258,184,1287,218,1283,222,1254,188,1236,172,1216,159,1187,148,1146,137,1046,121,858,101"/>
<area shape="rect" href="Publisher_8hh.html" title=" " alt="" coords="502,157,602,184"/>
<area shape="poly" title=" " alt="" coords="788,108,616,155,615,150,787,103"/>
<area shape="rect" href="ThreadSafeQueue_8hh.html" title=" " alt="" coords="728,157,918,184"/>
<area shape="poly" title=" " alt="" coords="826,109,826,141,820,141,820,109"/>
<area shape="rect" href="ThreadPool_8hh.html" title=" " alt="" coords="942,157,1088,184"/>
<area shape="poly" title=" " alt="" coords="858,107,967,148,966,153,856,112"/>
<area shape="poly" title=" " alt="" coords="505,187,336,233,335,228,503,182"/>
<area shape="rect" title=" " alt="" coords="345,232,476,260"/>
<area shape="poly" title=" " alt="" coords="528,187,451,227,448,222,526,183"/>
<area shape="rect" title=" " alt="" coords="500,232,626,260"/>
<area shape="poly" title=" " alt="" coords="557,184,561,217,556,217,551,185"/>
<area shape="poly" title=" " alt="" coords="799,187,720,227,718,223,796,183"/>
<area shape="poly" title=" " alt="" coords="915,182,1032,202,1170,229,1169,235,1031,207,914,188"/>
<area shape="rect" title=" " alt="" coords="988,232,1074,260"/>
<area shape="poly" title=" " alt="" coords="861,182,980,224,979,229,859,187"/>
<area shape="rect" title=" " alt="" coords="735,232,798,260"/>
<area shape="poly" title=" " alt="" coords="815,187,788,222,784,218,811,183"/>
<area shape="rect" title=" " alt="" coords="823,232,964,260"/>
<area shape="poly" title=" " alt="" coords="837,183,873,219,869,223,834,187"/>
<area shape="poly" title=" " alt="" coords="944,188,727,234,725,229,943,182"/>
<area shape="poly" title=" " alt="" coords="1052,182,1171,226,1169,231,1050,187"/>
<area shape="poly" title=" " alt="" coords="1072,182,1257,229,1256,234,1071,188"/>
<area shape="poly" title=" " alt="" coords="1020,184,1027,216,1022,218,1015,185"/>
<area shape="poly" title=" " alt="" coords="971,187,814,234,813,229,970,182"/>
<area shape="poly" title=" " alt="" coords="995,187,929,226,927,222,992,183"/>
<area shape="rect" title=" " alt="" coords="1098,232,1161,260"/>
<area shape="poly" title=" " alt="" coords="1037,183,1098,222,1095,226,1034,187"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereaders.html">readers</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereaders_1_1json.html">readers::json</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a05735378dfc87c287094d7aa33ac8209" id="r_a05735378dfc87c287094d7aa33ac8209"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacereaders_1_1json.html#aa2743dc5b5ec05c84803e442f21f43d1">OrderQueue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209">readers::json::read_orders_from_json</a> (const std::string &amp;filename)</td></tr>
<tr class="separator:a05735378dfc87c287094d7aa33ac8209"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_e509a0fe39cd155e5ddab576f8fee000.html">readers</a></li><li class="navelem"><a class="el" href="JSONReader_8cc.html">JSONReader.cc</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

4
html/JSONReader_8cc.js Normal file
View File

@ -0,0 +1,4 @@
var JSONReader_8cc =
[
[ "readers::json::read_orders_from_json", "namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209", null ]
];

View File

@ -0,0 +1,57 @@
<map id="src/readers/JSONReader.cc" name="src/readers/JSONReader.cc">
<area shape="rect" id="Node000001" title=" " alt="" coords="195,5,387,33"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,81,78,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="247,36,93,81,92,76,246,31"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="102,81,181,109"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="265,36,183,76,180,71,263,31"/>
<area shape="rect" id="Node000004" href="$JSONReader_8hh.html" title=" " alt="" coords="205,81,376,109"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="294,34,294,65,288,65,288,34"/>
<area shape="rect" id="Node000008" title=" " alt="" coords="328,157,427,184"/>
<area shape="poly" id="edge33_Node000001_Node000008" title=" " alt="" coords="331,31,364,50,379,64,391,80,396,95,397,112,391,142,386,141,392,111,391,96,386,82,375,67,360,55,328,36"/>
<area shape="rect" id="Node000010" href="$Algo_8hh.html" title=" " alt="" coords="788,81,858,109"/>
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="387,31,773,84,772,89,386,36"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="650,232,711,260"/>
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="377,102,513,123,574,137,616,154,633,168,648,184,670,218,666,220,644,187,630,172,613,159,572,142,512,128,377,108"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="26,157,84,184"/>
<area shape="poly" id="edge5_Node000004_Node000006" title=" " alt="" coords="249,112,99,158,98,153,248,107"/>
<area shape="rect" id="Node000007" title=" " alt="" coords="245,232,321,260"/>
<area shape="poly" id="edge6_Node000004_Node000007" title=" " alt="" coords="293,109,287,217,282,217,287,109"/>
<area shape="poly" id="edge7_Node000004_Node000008" title=" " alt="" coords="308,107,352,145,349,149,305,111"/>
<area shape="rect" id="Node000009" title=" " alt="" coords="108,157,253,184"/>
<area shape="poly" id="edge8_Node000004_Node000009" title=" " alt="" coords="273,111,214,150,211,146,270,107"/>
<area shape="poly" id="edge11_Node000010_Node000005" title=" " alt="" coords="788,112,752,131,718,158,700,188,689,218,684,216,695,185,714,155,749,126,786,107"/>
<area shape="poly" id="edge10_Node000010_Node000007" title=" " alt="" coords="788,102,655,119,572,135,490,159,465,172,440,187,336,229,334,224,438,182,463,167,489,154,571,130,654,113,787,96"/>
<area shape="rect" id="Node000011" title=" " alt="" coords="1112,157,1179,184"/>
<area shape="poly" id="edge12_Node000010_Node000011" title=" " alt="" coords="859,101,1098,154,1097,159,858,106"/>
<area shape="rect" id="Node000012" title=" " alt="" coords="1184,232,1248,260"/>
<area shape="poly" id="edge13_Node000010_Node000012" title=" " alt="" coords="859,95,939,99,1038,109,1131,127,1167,139,1193,155,1204,168,1211,184,1218,216,1213,218,1206,186,1199,171,1189,159,1165,144,1129,132,1037,115,938,105,858,100"/>
<area shape="rect" id="Node000013" title=" " alt="" coords="1271,232,1332,260"/>
<area shape="poly" id="edge14_Node000010_Node000013" title=" " alt="" coords="859,96,1047,115,1148,132,1188,143,1219,154,1239,168,1258,184,1287,218,1283,222,1254,188,1236,172,1216,159,1187,148,1146,137,1046,121,858,101"/>
<area shape="rect" id="Node000014" href="$Publisher_8hh.html" title=" " alt="" coords="502,157,602,184"/>
<area shape="poly" id="edge15_Node000010_Node000014" title=" " alt="" coords="788,108,616,155,615,150,787,103"/>
<area shape="rect" id="Node000017" href="$ThreadSafeQueue_8hh.html" title=" " alt="" coords="728,157,918,184"/>
<area shape="poly" id="edge19_Node000010_Node000017" title=" " alt="" coords="826,109,826,141,820,141,820,109"/>
<area shape="rect" id="Node000021" href="$ThreadPool_8hh.html" title=" " alt="" coords="942,157,1088,184"/>
<area shape="poly" id="edge25_Node000010_Node000021" title=" " alt="" coords="858,107,967,148,966,153,856,112"/>
<area shape="poly" id="edge18_Node000014_Node000007" title=" " alt="" coords="505,187,336,233,335,228,503,182"/>
<area shape="rect" id="Node000015" title=" " alt="" coords="345,232,476,260"/>
<area shape="poly" id="edge16_Node000014_Node000015" title=" " alt="" coords="528,187,451,227,448,222,526,183"/>
<area shape="rect" id="Node000016" title=" " alt="" coords="500,232,626,260"/>
<area shape="poly" id="edge17_Node000014_Node000016" title=" " alt="" coords="557,184,561,217,556,217,551,185"/>
<area shape="poly" id="edge20_Node000017_Node000005" title=" " alt="" coords="799,187,720,227,718,223,796,183"/>
<area shape="poly" id="edge21_Node000017_Node000012" title=" " alt="" coords="915,182,1032,202,1170,229,1169,235,1031,207,914,188"/>
<area shape="rect" id="Node000018" title=" " alt="" coords="988,232,1074,260"/>
<area shape="poly" id="edge22_Node000017_Node000018" title=" " alt="" coords="861,182,980,224,979,229,859,187"/>
<area shape="rect" id="Node000019" title=" " alt="" coords="735,232,798,260"/>
<area shape="poly" id="edge23_Node000017_Node000019" title=" " alt="" coords="815,187,788,222,784,218,811,183"/>
<area shape="rect" id="Node000020" title=" " alt="" coords="823,232,964,260"/>
<area shape="poly" id="edge24_Node000017_Node000020" title=" " alt="" coords="837,183,873,219,869,223,834,187"/>
<area shape="poly" id="edge27_Node000021_Node000005" title=" " alt="" coords="944,188,727,234,725,229,943,182"/>
<area shape="poly" id="edge28_Node000021_Node000012" title=" " alt="" coords="1052,182,1171,226,1169,231,1050,187"/>
<area shape="poly" id="edge32_Node000021_Node000013" title=" " alt="" coords="1072,182,1257,229,1256,234,1071,188"/>
<area shape="poly" id="edge29_Node000021_Node000018" title=" " alt="" coords="1020,184,1027,216,1022,218,1015,185"/>
<area shape="poly" id="edge31_Node000021_Node000019" title=" " alt="" coords="971,187,814,234,813,229,970,182"/>
<area shape="poly" id="edge30_Node000021_Node000020" title=" " alt="" coords="995,187,929,226,927,222,992,183"/>
<area shape="rect" id="Node000022" title=" " alt="" coords="1098,232,1161,260"/>
<area shape="poly" id="edge26_Node000021_Node000022" title=" " alt="" coords="1037,183,1098,222,1095,226,1034,187"/>
</map>

View File

@ -0,0 +1 @@
33e6527b96edfaf45284c8e77450d0c1

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

179
html/JSONReader_8hh.html Normal file
View File

@ -0,0 +1,179 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/readers/JSONReader.hh File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('JSONReader_8hh.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">JSONReader.hh File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;queue&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
<code>#include &quot;trading.pb.h&quot;</code><br />
<code>#include &lt;nlohmann/json.hpp&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for JSONReader.hh:</div>
<div class="dyncontent">
<div class="center"><img src="JSONReader_8hh__incl.png" border="0" usemap="#ainclude_2readers_2JSONReader_8hh" alt=""/></div>
<map name="ainclude_2readers_2JSONReader_8hh" id="ainclude_2readers_2JSONReader_8hh">
<area shape="rect" title=" " alt="" coords="101,5,323,33"/>
<area shape="rect" title=" " alt="" coords="5,81,67,109"/>
<area shape="poly" title=" " alt="" coords="182,36,82,77,80,72,180,31"/>
<area shape="rect" title=" " alt="" coords="91,81,149,109"/>
<area shape="poly" title=" " alt="" coords="197,36,150,73,146,69,194,31"/>
<area shape="rect" title=" " alt="" coords="174,81,250,109"/>
<area shape="poly" title=" " alt="" coords="215,34,215,65,209,65,209,34"/>
<area shape="rect" title=" " alt="" coords="274,81,374,109"/>
<area shape="poly" title=" " alt="" coords="233,31,293,70,290,75,231,36"/>
<area shape="rect" title=" " alt="" coords="398,81,543,109"/>
<area shape="poly" title=" " alt="" coords="259,31,411,74,409,79,258,36"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="JSONReader_8hh__dep__incl.png" border="0" usemap="#ainclude_2readers_2JSONReader_8hhdep" alt=""/></div>
<map name="ainclude_2readers_2JSONReader_8hhdep" id="ainclude_2readers_2JSONReader_8hhdep">
<area shape="rect" title=" " alt="" coords="22,5,245,33"/>
<area shape="rect" href="Algo_8cc.html" title=" " alt="" coords="5,81,97,109"/>
<area shape="poly" title=" " alt="" coords="109,46,67,83,64,79,106,42"/>
<area shape="rect" href="JSONReader_8cc.html" title=" " alt="" coords="120,81,312,109"/>
<area shape="poly" title=" " alt="" coords="162,42,203,79,200,83,158,46"/>
</map>
</div>
</div>
<p><a href="JSONReader_8hh_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereaders.html">readers</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereaders_1_1json.html">readers::json</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a5f54a39f5770ab1576f53a06a159cb42" id="r_a5f54a39f5770ab1576f53a06a159cb42"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereaders_1_1json.html#a5f54a39f5770ab1576f53a06a159cb42">readers::json::JSON</a> = nlohmann::json</td></tr>
<tr class="separator:a5f54a39f5770ab1576f53a06a159cb42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2743dc5b5ec05c84803e442f21f43d1" id="r_aa2743dc5b5ec05c84803e442f21f43d1"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereaders_1_1json.html#aa2743dc5b5ec05c84803e442f21f43d1">readers::json::OrderQueue</a> = std::queue&lt;trading::Order&gt;</td></tr>
<tr class="separator:aa2743dc5b5ec05c84803e442f21f43d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a05735378dfc87c287094d7aa33ac8209" id="r_a05735378dfc87c287094d7aa33ac8209"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacereaders_1_1json.html#aa2743dc5b5ec05c84803e442f21f43d1">OrderQueue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209">readers::json::read_orders_from_json</a> (const std::string &amp;filename)</td></tr>
<tr class="separator:a05735378dfc87c287094d7aa33ac8209"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_61c57797386c8fb992d55e625d187773.html">readers</a></li><li class="navelem"><a class="el" href="JSONReader_8hh.html">JSONReader.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

6
html/JSONReader_8hh.js Normal file
View File

@ -0,0 +1,6 @@
var JSONReader_8hh =
[
[ "readers::json::JSON", "namespacereaders_1_1json.html#a5f54a39f5770ab1576f53a06a159cb42", null ],
[ "readers::json::OrderQueue", "namespacereaders_1_1json.html#aa2743dc5b5ec05c84803e442f21f43d1", null ],
[ "readers::json::read_orders_from_json", "namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209", null ]
];

View File

@ -0,0 +1,7 @@
<map id="include/readers/JSONReader.hh" name="include/readers/JSONReader.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="22,5,245,33"/>
<area shape="rect" id="Node000002" href="$Algo_8cc.html" title=" " alt="" coords="5,81,97,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="109,46,67,83,64,79,106,42"/>
<area shape="rect" id="Node000003" href="$JSONReader_8cc.html" title=" " alt="" coords="120,81,312,109"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="162,42,203,79,200,83,158,46"/>
</map>

View File

@ -0,0 +1 @@
22e6e7488e7f6185eecdcdd1f1fe2c44

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

@ -0,0 +1,13 @@
<map id="include/readers/JSONReader.hh" name="include/readers/JSONReader.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="101,5,323,33"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,81,67,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="182,36,82,77,80,72,180,31"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="91,81,149,109"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="197,36,150,73,146,69,194,31"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="174,81,250,109"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="215,34,215,65,209,65,209,34"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="274,81,374,109"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="233,31,293,70,290,75,231,36"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="398,81,543,109"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="259,31,411,74,409,79,258,36"/>
</map>

View File

@ -0,0 +1 @@
69b6b652927d9ec72bf8d1bd6eea7a08

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,139 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/readers/JSONReader.hh 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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('JSONReader_8hh_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">JSONReader.hh</div></div>
</div><!--header-->
<div class="contents">
<a href="JSONReader_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">// C++ Includes</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;queue&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;memory&gt;</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="comment">// Third Party Includes</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;trading.pb.h&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &lt;nlohmann/json.hpp&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacereaders_1_1json.html">readers::json</a> {</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="namespacereaders_1_1json.html#a5f54a39f5770ab1576f53a06a159cb42"> 13</a></span><span class="keyword">using </span><a class="code hl_typedef" href="namespacereaders_1_1json.html#a5f54a39f5770ab1576f53a06a159cb42">JSON</a> = nlohmann::json;</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="namespacereaders_1_1json.html#aa2743dc5b5ec05c84803e442f21f43d1"> 14</a></span><span class="keyword">using </span><a class="code hl_typedef" href="namespacereaders_1_1json.html#aa2743dc5b5ec05c84803e442f21f43d1">OrderQueue</a> = std::queue&lt;trading::Order&gt;;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><a class="code hl_typedef" href="namespacereaders_1_1json.html#aa2743dc5b5ec05c84803e442f21f43d1">OrderQueue</a> <a class="code hl_function" href="namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209">read_orders_from_json</a>(<span class="keyword">const</span> std::string&amp; filename);</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span>} <span class="comment">// End json namespace</span></div>
<div class="ttc" id="anamespacereaders_1_1json_html"><div class="ttname"><a href="namespacereaders_1_1json.html">readers::json</a></div><div class="ttdef"><b>Definition</b> JSONReader.cc:12</div></div>
<div class="ttc" id="anamespacereaders_1_1json_html_a05735378dfc87c287094d7aa33ac8209"><div class="ttname"><a href="namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209">readers::json::read_orders_from_json</a></div><div class="ttdeci">OrderQueue read_orders_from_json(const std::string &amp;filename)</div><div class="ttdef"><b>Definition</b> JSONReader.cc:14</div></div>
<div class="ttc" id="anamespacereaders_1_1json_html_a5f54a39f5770ab1576f53a06a159cb42"><div class="ttname"><a href="namespacereaders_1_1json.html#a5f54a39f5770ab1576f53a06a159cb42">readers::json::JSON</a></div><div class="ttdeci">nlohmann::json JSON</div><div class="ttdef"><b>Definition</b> JSONReader.hh:13</div></div>
<div class="ttc" id="anamespacereaders_1_1json_html_aa2743dc5b5ec05c84803e442f21f43d1"><div class="ttname"><a href="namespacereaders_1_1json.html#aa2743dc5b5ec05c84803e442f21f43d1">readers::json::OrderQueue</a></div><div class="ttdeci">std::queue&lt; trading::Order &gt; OrderQueue</div><div class="ttdef"><b>Definition</b> JSONReader.hh:14</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_61c57797386c8fb992d55e625d187773.html">readers</a></li><li class="navelem"><a class="el" href="JSONReader_8hh.html">JSONReader.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

138
html/Publisher_8cc.html Normal file
View File

@ -0,0 +1,138 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: src/Publisher.cc File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('Publisher_8cc.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">Publisher.cc File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="Publisher_8hh_source.html">Publisher.hh</a>&quot;</code><br />
<code>#include &lt;iostream&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for Publisher.cc:</div>
<div class="dyncontent">
<div class="center"><img src="Publisher_8cc__incl.png" border="0" usemap="#asrc_2Publisher_8cc" alt=""/></div>
<map name="asrc_2Publisher_8cc" id="asrc_2Publisher_8cc">
<area shape="rect" title=" " alt="" coords="218,5,340,33"/>
<area shape="rect" href="Publisher_8hh.html" title=" " alt="" coords="173,81,273,109"/>
<area shape="poly" title=" " alt="" coords="271,35,244,70,240,67,267,32"/>
<area shape="rect" title=" " alt="" coords="297,81,376,109"/>
<area shape="poly" title=" " alt="" coords="291,32,319,67,315,70,287,35"/>
<area shape="rect" title=" " alt="" coords="5,157,137,184"/>
<area shape="poly" title=" " alt="" coords="197,112,113,152,110,147,195,107"/>
<area shape="rect" title=" " alt="" coords="160,157,286,184"/>
<area shape="poly" title=" " alt="" coords="226,109,226,141,220,141,220,109"/>
<area shape="rect" title=" " alt="" coords="310,157,386,184"/>
<area shape="poly" title=" " alt="" coords="247,107,315,147,312,151,244,112"/>
</map>
</div>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="Publisher_8cc.html">Publisher.cc</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,13 @@
<map id="src/Publisher.cc" name="src/Publisher.cc">
<area shape="rect" id="Node000001" title=" " alt="" coords="218,5,340,33"/>
<area shape="rect" id="Node000002" href="$Publisher_8hh.html" title=" " alt="" coords="173,81,273,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="271,35,244,70,240,67,267,32"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="297,81,376,109"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="291,32,319,67,315,70,287,35"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="5,157,137,184"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="197,112,113,152,110,147,195,107"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="160,157,286,184"/>
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="226,109,226,141,220,141,220,109"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="310,157,386,184"/>
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="247,107,315,147,312,151,244,112"/>
</map>

View File

@ -0,0 +1 @@
820febb18a4a1c8fbc14c37181524a97

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

165
html/Publisher_8hh.html Normal file
View File

@ -0,0 +1,165 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/Publisher.hh File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('Publisher_8hh.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle"><div class="title">Publisher.hh File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;trading.grpc.pb.h&quot;</code><br />
<code>#include &lt;grpcpp/grpcpp.h&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for Publisher.hh:</div>
<div class="dyncontent">
<div class="center"><img src="Publisher_8hh__incl.png" border="0" usemap="#ainclude_2Publisher_8hh" alt=""/></div>
<map name="ainclude_2Publisher_8hh" id="ainclude_2Publisher_8hh">
<area shape="rect" title=" " alt="" coords="147,5,299,33"/>
<area shape="rect" title=" " alt="" coords="5,81,137,109"/>
<area shape="poly" title=" " alt="" coords="197,36,113,76,110,72,195,31"/>
<area shape="rect" title=" " alt="" coords="160,81,286,109"/>
<area shape="poly" title=" " alt="" coords="226,34,226,65,220,65,220,34"/>
<area shape="rect" title=" " alt="" coords="310,81,386,109"/>
<area shape="poly" title=" " alt="" coords="247,31,315,71,312,75,244,36"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="Publisher_8hh__dep__incl.png" border="0" usemap="#ainclude_2Publisher_8hhdep" alt=""/></div>
<map name="ainclude_2Publisher_8hhdep" id="ainclude_2Publisher_8hhdep">
<area shape="rect" title=" " alt="" coords="227,5,379,33"/>
<area shape="rect" href="Algo_8hh.html" title=" " alt="" coords="170,81,292,109"/>
<area shape="poly" title=" " alt="" coords="281,46,246,82,242,79,278,42"/>
<area shape="rect" href="Publisher_8cc.html" title=" " alt="" coords="316,81,437,109"/>
<area shape="poly" title=" " alt="" coords="329,42,365,79,361,82,325,46"/>
<area shape="rect" href="Controller_8hh.html" title=" " alt="" coords="5,157,161,184"/>
<area shape="poly" title=" " alt="" coords="192,118,110,159,108,154,190,114"/>
<area shape="rect" href="Algo_8cc.html" title=" " alt="" coords="185,157,277,184"/>
<area shape="poly" title=" " alt="" coords="234,124,234,156,228,156,228,124"/>
<area shape="rect" href="JSONReader_8cc.html" title=" " alt="" coords="300,157,492,184"/>
<area shape="poly" title=" " alt="" coords="276,113,368,154,366,159,273,118"/>
<area shape="rect" href="Controller_8cc.html" title=" " alt="" coords="20,232,146,260"/>
<area shape="poly" title=" " alt="" coords="86,200,86,232,80,232,80,200"/>
</map>
</div>
</div>
<p><a href="Publisher_8hh_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPublisher.html">Publisher</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="Publisher_8hh.html">Publisher.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

4
html/Publisher_8hh.js Normal file
View File

@ -0,0 +1,4 @@
var Publisher_8hh =
[
[ "Publisher", "classPublisher.html", "classPublisher" ]
];

View File

@ -0,0 +1,15 @@
<map id="include/Publisher.hh" name="include/Publisher.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="227,5,379,33"/>
<area shape="rect" id="Node000002" href="$Algo_8hh.html" title=" " alt="" coords="170,81,292,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="281,46,246,82,242,79,278,42"/>
<area shape="rect" id="Node000007" href="$Publisher_8cc.html" title=" " alt="" coords="316,81,437,109"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="329,42,365,79,361,82,325,46"/>
<area shape="rect" id="Node000003" href="$Controller_8hh.html" title=" " alt="" coords="5,157,161,184"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="192,118,110,159,108,154,190,114"/>
<area shape="rect" id="Node000005" href="$Algo_8cc.html" title=" " alt="" coords="185,157,277,184"/>
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="234,124,234,156,228,156,228,124"/>
<area shape="rect" id="Node000006" href="$JSONReader_8cc.html" title=" " alt="" coords="300,157,492,184"/>
<area shape="poly" id="edge5_Node000002_Node000006" title=" " alt="" coords="276,113,368,154,366,159,273,118"/>
<area shape="rect" id="Node000004" href="$Controller_8cc.html" title=" " alt="" coords="20,232,146,260"/>
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="86,200,86,232,80,232,80,200"/>
</map>

View File

@ -0,0 +1 @@
d07967608f9edb47c372028dbe257ae6

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -0,0 +1,9 @@
<map id="include/Publisher.hh" name="include/Publisher.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="147,5,299,33"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,81,137,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="197,36,113,76,110,72,195,31"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="160,81,286,109"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="226,34,226,65,220,65,220,34"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="310,81,386,109"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="247,31,315,71,312,75,244,36"/>
</map>

View File

@ -0,0 +1 @@
7dce1385882c961b9c460e5344ea6bb9

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@ -0,0 +1,137 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/Publisher.hh 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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('Publisher_8hh_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">Publisher.hh</div></div>
</div><!--header-->
<div class="contents">
<a href="Publisher_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &quot;trading.grpc.pb.h&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;grpcpp/grpcpp.h&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span> </div>
<div class="foldopen" id="foldopen00007" data-start="{" data-end="};">
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"><a class="line" href="classPublisher.html"> 7</a></span><span class="keyword">class </span><a class="code hl_function" href="classPublisher.html#ac829a82a3cb7aeeaece86419ffb0119d">Publisher</a> {</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classPublisher.html#ac829a82a3cb7aeeaece86419ffb0119d">Publisher</a>(std::shared_ptr&lt;grpc::Channel&gt; channel);</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> grpc::Status <a class="code hl_function" href="classPublisher.html#a2fe75fa23a11f43f31e0d2d2261c86e8">send_order</a>(<span class="keyword">const</span> trading::Order&amp; order);</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="classPublisher.html#ac495a5e279a5531eddb94314bdbd04ac"> 13</a></span> std::unique_ptr&lt;trading::TradingService::Stub&gt; <a class="code hl_variable" href="classPublisher.html#ac495a5e279a5531eddb94314bdbd04ac">_stub</a>;</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span>};</div>
</div>
<div class="ttc" id="aclassPublisher_html_a2fe75fa23a11f43f31e0d2d2261c86e8"><div class="ttname"><a href="classPublisher.html#a2fe75fa23a11f43f31e0d2d2261c86e8">Publisher::send_order</a></div><div class="ttdeci">grpc::Status send_order(const trading::Order &amp;order)</div><div class="ttdef"><b>Definition</b> Publisher.cc:8</div></div>
<div class="ttc" id="aclassPublisher_html_ac495a5e279a5531eddb94314bdbd04ac"><div class="ttname"><a href="classPublisher.html#ac495a5e279a5531eddb94314bdbd04ac">Publisher::_stub</a></div><div class="ttdeci">std::unique_ptr&lt; trading::TradingService::Stub &gt; _stub</div><div class="ttdef"><b>Definition</b> Publisher.hh:13</div></div>
<div class="ttc" id="aclassPublisher_html_ac829a82a3cb7aeeaece86419ffb0119d"><div class="ttname"><a href="classPublisher.html#ac829a82a3cb7aeeaece86419ffb0119d">Publisher::Publisher</a></div><div class="ttdeci">Publisher(std::shared_ptr&lt; grpc::Channel &gt; channel)</div><div class="ttdef"><b>Definition</b> Publisher.cc:5</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="Publisher_8hh.html">Publisher.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

165
html/ThreadPool_8cc.html Normal file
View File

@ -0,0 +1,165 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: src/utils/ThreadPool.cc File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('ThreadPool_8cc.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> </div>
<div class="headertitle"><div class="title">ThreadPool.cc File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;vector&gt;</code><br />
<code>#include &lt;queue&gt;</code><br />
<code>#include &lt;thread&gt;</code><br />
<code>#include &lt;functional&gt;</code><br />
<code>#include &lt;condition_variable&gt;</code><br />
<code>#include &lt;mutex&gt;</code><br />
<code>#include &lt;future&gt;</code><br />
<code>#include &quot;<a class="el" href="ThreadPool_8hh_source.html">utils/ThreadPool.hh</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for ThreadPool.cc:</div>
<div class="dyncontent">
<div class="center"><img src="ThreadPool_8cc__incl.png" border="0" usemap="#asrc_2utils_2ThreadPool_8cc" alt=""/></div>
<map name="asrc_2utils_2ThreadPool_8cc" id="asrc_2utils_2ThreadPool_8cc">
<area shape="rect" title=" " alt="" coords="266,5,434,33"/>
<area shape="rect" title=" " alt="" coords="5,157,68,184"/>
<area shape="poly" title=" " alt="" coords="294,36,229,56,162,83,109,116,64,149,61,145,106,111,159,79,228,51,293,31"/>
<area shape="rect" title=" " alt="" coords="91,157,152,184"/>
<area shape="poly" title=" " alt="" coords="299,36,247,55,197,83,165,113,140,145,136,142,161,109,194,79,245,50,297,31"/>
<area shape="rect" title=" " alt="" coords="177,157,240,184"/>
<area shape="poly" title=" " alt="" coords="282,36,243,54,226,67,212,82,206,96,203,111,204,142,199,142,198,111,201,95,208,80,222,63,240,49,279,31"/>
<area shape="rect" title=" " alt="" coords="264,157,350,184"/>
<area shape="poly" title=" " alt="" coords="363,32,382,67,387,88,383,110,367,132,347,150,343,146,363,129,378,108,382,89,377,69,358,35"/>
<area shape="rect" title=" " alt="" coords="374,157,515,184"/>
<area shape="poly" title=" " alt="" coords="364,32,403,80,435,141,431,143,398,82,360,35"/>
<area shape="rect" title=" " alt="" coords="540,157,603,184"/>
<area shape="poly" title=" " alt="" coords="371,31,541,145,538,150,368,36"/>
<area shape="rect" title=" " alt="" coords="626,157,687,184"/>
<area shape="poly" title=" " alt="" coords="379,31,480,79,618,147,616,152,478,83,377,36"/>
<area shape="rect" href="ThreadPool_8hh.html" title=" " alt="" coords="222,81,368,109"/>
<area shape="poly" title=" " alt="" coords="342,35,316,70,312,67,338,32"/>
<area shape="poly" title=" " alt="" coords="249,112,83,158,82,153,247,107"/>
<area shape="poly" title=" " alt="" coords="265,112,167,153,165,148,263,107"/>
<area shape="poly" title=" " alt="" coords="281,111,237,149,234,145,278,107"/>
<area shape="poly" title=" " alt="" coords="300,109,305,141,300,142,295,110"/>
<area shape="poly" title=" " alt="" coords="323,107,406,147,403,152,321,112"/>
<area shape="poly" title=" " alt="" coords="348,107,525,153,524,159,346,112"/>
<area shape="poly" title=" " alt="" coords="369,105,480,125,612,153,611,159,479,130,368,110"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutils.html">utils</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_313caf1132e152dd9b58bea13a4052ca.html">utils</a></li><li class="navelem"><a class="el" href="ThreadPool_8cc.html">ThreadPool.cc</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,26 @@
<map id="src/utils/ThreadPool.cc" name="src/utils/ThreadPool.cc">
<area shape="rect" id="Node000001" title=" " alt="" coords="266,5,434,33"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,157,68,184"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="294,36,229,56,162,83,109,116,64,149,61,145,106,111,159,79,228,51,293,31"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="91,157,152,184"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="299,36,247,55,197,83,165,113,140,145,136,142,161,109,194,79,245,50,297,31"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="177,157,240,184"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="282,36,243,54,226,67,212,82,206,96,203,111,204,142,199,142,198,111,201,95,208,80,222,63,240,49,279,31"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="264,157,350,184"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="363,32,382,67,387,88,383,110,367,132,347,150,343,146,363,129,378,108,382,89,377,69,358,35"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="374,157,515,184"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="364,32,403,80,435,141,431,143,398,82,360,35"/>
<area shape="rect" id="Node000007" title=" " alt="" coords="540,157,603,184"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="371,31,541,145,538,150,368,36"/>
<area shape="rect" id="Node000008" title=" " alt="" coords="626,157,687,184"/>
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="379,31,480,79,618,147,616,152,478,83,377,36"/>
<area shape="rect" id="Node000009" href="$ThreadPool_8hh.html" title=" " alt="" coords="222,81,368,109"/>
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="342,35,316,70,312,67,338,32"/>
<area shape="poly" id="edge9_Node000009_Node000002" title=" " alt="" coords="249,112,83,158,82,153,247,107"/>
<area shape="poly" id="edge10_Node000009_Node000003" title=" " alt="" coords="265,112,167,153,165,148,263,107"/>
<area shape="poly" id="edge11_Node000009_Node000004" title=" " alt="" coords="281,111,237,149,234,145,278,107"/>
<area shape="poly" id="edge12_Node000009_Node000005" title=" " alt="" coords="300,109,305,141,300,142,295,110"/>
<area shape="poly" id="edge13_Node000009_Node000006" title=" " alt="" coords="323,107,406,147,403,152,321,112"/>
<area shape="poly" id="edge14_Node000009_Node000007" title=" " alt="" coords="348,107,525,153,524,159,346,112"/>
<area shape="poly" id="edge15_Node000009_Node000008" title=" " alt="" coords="369,105,480,125,612,153,611,159,479,130,368,110"/>
</map>

View File

@ -0,0 +1 @@
d7b15e5408b01dea5e6bc162d575a38c

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

183
html/ThreadPool_8hh.html Normal file
View File

@ -0,0 +1,183 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/utils/ThreadPool.hh File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('ThreadPool_8hh.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> </div>
<div class="headertitle"><div class="title">ThreadPool.hh File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;vector&gt;</code><br />
<code>#include &lt;queue&gt;</code><br />
<code>#include &lt;thread&gt;</code><br />
<code>#include &lt;functional&gt;</code><br />
<code>#include &lt;condition_variable&gt;</code><br />
<code>#include &lt;mutex&gt;</code><br />
<code>#include &lt;future&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for ThreadPool.hh:</div>
<div class="dyncontent">
<div class="center"><img src="ThreadPool_8hh__incl.png" border="0" usemap="#ainclude_2utils_2ThreadPool_8hh" alt=""/></div>
<map name="ainclude_2utils_2ThreadPool_8hh" id="ainclude_2utils_2ThreadPool_8hh">
<area shape="rect" title=" " alt="" coords="208,5,406,33"/>
<area shape="rect" title=" " alt="" coords="5,81,68,109"/>
<area shape="poly" title=" " alt="" coords="257,36,84,83,82,77,256,31"/>
<area shape="rect" title=" " alt="" coords="91,81,152,109"/>
<area shape="poly" title=" " alt="" coords="275,36,168,78,166,73,273,31"/>
<area shape="rect" title=" " alt="" coords="177,81,240,109"/>
<area shape="poly" title=" " alt="" coords="291,36,240,74,236,70,288,31"/>
<area shape="rect" title=" " alt="" coords="264,81,350,109"/>
<area shape="poly" title=" " alt="" coords="310,34,310,65,304,65,304,34"/>
<area shape="rect" title=" " alt="" coords="374,81,515,109"/>
<area shape="poly" title=" " alt="" coords="333,31,408,71,406,76,330,36"/>
<area shape="rect" title=" " alt="" coords="540,81,603,109"/>
<area shape="poly" title=" " alt="" coords="356,31,525,78,524,83,355,36"/>
<area shape="rect" title=" " alt="" coords="626,81,687,109"/>
<area shape="poly" title=" " alt="" coords="386,31,490,51,612,78,611,83,489,56,385,36"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="ThreadPool_8hh__dep__incl.png" border="0" usemap="#ainclude_2utils_2ThreadPool_8hhdep" alt=""/></div>
<map name="ainclude_2utils_2ThreadPool_8hhdep" id="ainclude_2utils_2ThreadPool_8hhdep">
<area shape="rect" title=" " alt="" coords="216,5,414,33"/>
<area shape="rect" href="Algo_8hh.html" title=" " alt="" coords="170,81,292,109"/>
<area shape="poly" title=" " alt="" coords="290,46,248,83,244,79,287,42"/>
<area shape="rect" href="ThreadPool_8cc.html" title=" " alt="" coords="315,81,483,109"/>
<area shape="poly" title=" " alt="" coords="343,42,386,79,382,83,340,46"/>
<area shape="rect" href="Controller_8hh.html" title=" " alt="" coords="5,157,161,184"/>
<area shape="poly" title=" " alt="" coords="192,118,110,159,108,154,190,114"/>
<area shape="rect" href="Algo_8cc.html" title=" " alt="" coords="185,157,277,184"/>
<area shape="poly" title=" " alt="" coords="234,124,234,156,228,156,228,124"/>
<area shape="rect" href="JSONReader_8cc.html" title=" " alt="" coords="300,157,492,184"/>
<area shape="poly" title=" " alt="" coords="276,113,368,154,366,159,273,118"/>
<area shape="rect" href="Controller_8cc.html" title=" " alt="" coords="20,232,146,260"/>
<area shape="poly" title=" " alt="" coords="86,200,86,232,80,232,80,200"/>
</map>
</div>
</div>
<p><a href="ThreadPool_8hh_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutils_1_1ThreadPool.html">utils::ThreadPool</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutils.html">utils</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_821002d4f10779a80d4fb17bc32f21f1.html">utils</a></li><li class="navelem"><a class="el" href="ThreadPool_8hh.html">ThreadPool.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

4
html/ThreadPool_8hh.js Normal file
View File

@ -0,0 +1,4 @@
var ThreadPool_8hh =
[
[ "utils::ThreadPool", "classutils_1_1ThreadPool.html", "classutils_1_1ThreadPool" ]
];

View File

@ -0,0 +1,15 @@
<map id="include/utils/ThreadPool.hh" name="include/utils/ThreadPool.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="216,5,414,33"/>
<area shape="rect" id="Node000002" href="$Algo_8hh.html" title=" " alt="" coords="170,81,292,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="290,46,248,83,244,79,287,42"/>
<area shape="rect" id="Node000007" href="$ThreadPool_8cc.html" title=" " alt="" coords="315,81,483,109"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="343,42,386,79,382,83,340,46"/>
<area shape="rect" id="Node000003" href="$Controller_8hh.html" title=" " alt="" coords="5,157,161,184"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="192,118,110,159,108,154,190,114"/>
<area shape="rect" id="Node000005" href="$Algo_8cc.html" title=" " alt="" coords="185,157,277,184"/>
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="234,124,234,156,228,156,228,124"/>
<area shape="rect" id="Node000006" href="$JSONReader_8cc.html" title=" " alt="" coords="300,157,492,184"/>
<area shape="poly" id="edge5_Node000002_Node000006" title=" " alt="" coords="276,113,368,154,366,159,273,118"/>
<area shape="rect" id="Node000004" href="$Controller_8cc.html" title=" " alt="" coords="20,232,146,260"/>
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="86,200,86,232,80,232,80,200"/>
</map>

View File

@ -0,0 +1 @@
c0690b11b643f42113e7857c7d890b77

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -0,0 +1,17 @@
<map id="include/utils/ThreadPool.hh" name="include/utils/ThreadPool.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="208,5,406,33"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,81,68,109"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="257,36,84,83,82,77,256,31"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="91,81,152,109"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="275,36,168,78,166,73,273,31"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="177,81,240,109"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="291,36,240,74,236,70,288,31"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="264,81,350,109"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="310,34,310,65,304,65,304,34"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="374,81,515,109"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="333,31,408,71,406,76,330,36"/>
<area shape="rect" id="Node000007" title=" " alt="" coords="540,81,603,109"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="356,31,525,78,524,83,355,36"/>
<area shape="rect" id="Node000008" title=" " alt="" coords="626,81,687,109"/>
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="386,31,490,51,612,78,611,83,489,56,385,36"/>
</map>

View File

@ -0,0 +1 @@
323195716d45c556e180f6c5d8399aa9

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1,177 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/utils/ThreadPool.hh 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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('ThreadPool_8hh_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">ThreadPool.hh</div></div>
</div><!--header-->
<div class="contents">
<a href="ThreadPool_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">// C++ Includes</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &lt;queue&gt;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;thread&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;condition_variable&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;mutex&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;future&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceutils.html">utils</a> {</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="foldopen" id="foldopen00012" data-start="{" data-end="};">
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadPool.html"> 12</a></span><span class="keyword">class </span><a class="code hl_function" href="classutils_1_1ThreadPool.html#a02ccb8118692092d5d4132eab7c751e2">ThreadPool</a> {</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadPool.html#a3113eec4fac2948b403a0d94c42a3732"> 14</a></span> std::vector&lt;std::thread&gt; <a class="code hl_variable" href="classutils_1_1ThreadPool.html#a3113eec4fac2948b403a0d94c42a3732">_workers</a>;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadPool.html#acbc332a452776263a9e6557131495aee"> 15</a></span> std::queue&lt;std::function&lt;void()&gt;&gt; <a class="code hl_variable" href="classutils_1_1ThreadPool.html#acbc332a452776263a9e6557131495aee">_tasks</a>;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadPool.html#ad59af3c00e330ac777fb5eb349e0e291"> 17</a></span> std::mutex <a class="code hl_variable" href="classutils_1_1ThreadPool.html#ad59af3c00e330ac777fb5eb349e0e291">_queue_mutex</a>;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadPool.html#ad0284bde5203396b2e3cf95e07893748"> 18</a></span> std::condition_variable <a class="code hl_variable" href="classutils_1_1ThreadPool.html#ad0284bde5203396b2e3cf95e07893748">_cv</a>;</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadPool.html#a6a2a828a76092e3170cb6a93d679043f"> 19</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classutils_1_1ThreadPool.html#a6a2a828a76092e3170cb6a93d679043f">_stop</a>{<span class="keyword">false</span>};</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classutils_1_1ThreadPool.html#a02ccb8118692092d5d4132eab7c751e2">ThreadPool</a>(std::size_t threads = std::thread::hardware_concurrency());</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <a class="code hl_function" href="classutils_1_1ThreadPool.html#a6f0428a4b19a724f956d82e408013108">~ThreadPool</a>();</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">template</span>&lt;<span class="keyword">class </span>F, <span class="keyword">class</span>... Args&gt;</div>
<div class="foldopen" id="foldopen00026" data-start="{" data-end="}">
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadPool.html#a06f6b246fd98c4970c0510d48141a29d"> 26</a></span> <span class="keyword">auto</span> <a class="code hl_function" href="classutils_1_1ThreadPool.html#a06f6b246fd98c4970c0510d48141a29d">enqueue</a>(F&amp;&amp; f, Args&amp;&amp;... args) -&gt; std::future&lt;std::invoke_result_t&lt;F, Args...&gt;&gt; {</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">using </span>return_type = std::invoke_result_t&lt;F, Args...&gt;;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">auto</span> task_ptr = std::make_shared&lt;std::packaged_task&lt;return_type()&gt;&gt;(</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> std::bind(std::forward&lt;F&gt;(f), std::forward&lt;Args&gt;(args)...)</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> );</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> std::future&lt;return_type&gt; result = task_ptr-&gt;get_future();</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<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> std::unique_lock lock(<a class="code hl_variable" href="classutils_1_1ThreadPool.html#ad59af3c00e330ac777fb5eb349e0e291">_queue_mutex</a>);</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classutils_1_1ThreadPool.html#a6a2a828a76092e3170cb6a93d679043f">_stop</a>)</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;Tried to enqueue on stopped ThreadPool&quot;</span>);</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> <a class="code hl_variable" href="classutils_1_1ThreadPool.html#acbc332a452776263a9e6557131495aee">_tasks</a>.emplace([task_ptr]() { (*task_ptr)(); });</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> }</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <a class="code hl_variable" href="classutils_1_1ThreadPool.html#ad0284bde5203396b2e3cf95e07893748">_cv</a>.notify_one();</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keywordflow">return</span> result;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> }</div>
</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span>};</div>
</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span>} <span class="comment">// End utils namespace</span></div>
<div class="ttc" id="aclassutils_1_1ThreadPool_html_a02ccb8118692092d5d4132eab7c751e2"><div class="ttname"><a href="classutils_1_1ThreadPool.html#a02ccb8118692092d5d4132eab7c751e2">utils::ThreadPool::ThreadPool</a></div><div class="ttdeci">ThreadPool(std::size_t threads=std::thread::hardware_concurrency())</div><div class="ttdef"><b>Definition</b> ThreadPool.cc:13</div></div>
<div class="ttc" id="aclassutils_1_1ThreadPool_html_a06f6b246fd98c4970c0510d48141a29d"><div class="ttname"><a href="classutils_1_1ThreadPool.html#a06f6b246fd98c4970c0510d48141a29d">utils::ThreadPool::enqueue</a></div><div class="ttdeci">auto enqueue(F &amp;&amp;f, Args &amp;&amp;... args) -&gt; std::future&lt; std::invoke_result_t&lt; F, Args... &gt; &gt;</div><div class="ttdef"><b>Definition</b> ThreadPool.hh:26</div></div>
<div class="ttc" id="aclassutils_1_1ThreadPool_html_a3113eec4fac2948b403a0d94c42a3732"><div class="ttname"><a href="classutils_1_1ThreadPool.html#a3113eec4fac2948b403a0d94c42a3732">utils::ThreadPool::_workers</a></div><div class="ttdeci">std::vector&lt; std::thread &gt; _workers</div><div class="ttdef"><b>Definition</b> ThreadPool.hh:14</div></div>
<div class="ttc" id="aclassutils_1_1ThreadPool_html_a6a2a828a76092e3170cb6a93d679043f"><div class="ttname"><a href="classutils_1_1ThreadPool.html#a6a2a828a76092e3170cb6a93d679043f">utils::ThreadPool::_stop</a></div><div class="ttdeci">bool _stop</div><div class="ttdef"><b>Definition</b> ThreadPool.hh:19</div></div>
<div class="ttc" id="aclassutils_1_1ThreadPool_html_a6f0428a4b19a724f956d82e408013108"><div class="ttname"><a href="classutils_1_1ThreadPool.html#a6f0428a4b19a724f956d82e408013108">utils::ThreadPool::~ThreadPool</a></div><div class="ttdeci">~ThreadPool()</div><div class="ttdef"><b>Definition</b> ThreadPool.cc:33</div></div>
<div class="ttc" id="aclassutils_1_1ThreadPool_html_acbc332a452776263a9e6557131495aee"><div class="ttname"><a href="classutils_1_1ThreadPool.html#acbc332a452776263a9e6557131495aee">utils::ThreadPool::_tasks</a></div><div class="ttdeci">std::queue&lt; std::function&lt; void()&gt; &gt; _tasks</div><div class="ttdef"><b>Definition</b> ThreadPool.hh:15</div></div>
<div class="ttc" id="aclassutils_1_1ThreadPool_html_ad0284bde5203396b2e3cf95e07893748"><div class="ttname"><a href="classutils_1_1ThreadPool.html#ad0284bde5203396b2e3cf95e07893748">utils::ThreadPool::_cv</a></div><div class="ttdeci">std::condition_variable _cv</div><div class="ttdef"><b>Definition</b> ThreadPool.hh:18</div></div>
<div class="ttc" id="aclassutils_1_1ThreadPool_html_ad59af3c00e330ac777fb5eb349e0e291"><div class="ttname"><a href="classutils_1_1ThreadPool.html#ad59af3c00e330ac777fb5eb349e0e291">utils::ThreadPool::_queue_mutex</a></div><div class="ttdeci">std::mutex _queue_mutex</div><div class="ttdef"><b>Definition</b> ThreadPool.hh:17</div></div>
<div class="ttc" id="anamespaceutils_html"><div class="ttname"><a href="namespaceutils.html">utils</a></div><div class="ttdef"><b>Definition</b> ThreadPool.cc:11</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_821002d4f10779a80d4fb17bc32f21f1.html">utils</a></li><li class="navelem"><a class="el" href="ThreadPool_8hh.html">ThreadPool.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,118 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: src/utils/ThreadSafeQueue.cc File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('ThreadSafeQueue_8cc.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">ThreadSafeQueue.cc File Reference</div></div>
</div><!--header-->
<div class="contents">
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_313caf1132e152dd9b58bea13a4052ca.html">utils</a></li><li class="navelem"><a class="el" href="ThreadSafeQueue_8cc.html">ThreadSafeQueue.cc</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,175 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/utils/ThreadSafeQueue.hh File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('ThreadSafeQueue_8hh.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> </div>
<div class="headertitle"><div class="title">ThreadSafeQueue.hh File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;queue&gt;</code><br />
<code>#include &lt;thread&gt;</code><br />
<code>#include &lt;functional&gt;</code><br />
<code>#include &lt;mutex&gt;</code><br />
<code>#include &lt;condition_variable&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for ThreadSafeQueue.hh:</div>
<div class="dyncontent">
<div class="center"><img src="ThreadSafeQueue_8hh__incl.png" border="0" usemap="#ainclude_2utils_2ThreadSafeQueue_8hh" alt=""/></div>
<map name="ainclude_2utils_2ThreadSafeQueue_8hh" id="ainclude_2utils_2ThreadSafeQueue_8hh">
<area shape="rect" title=" " alt="" coords="132,5,310,50"/>
<area shape="rect" title=" " alt="" coords="5,98,67,126"/>
<area shape="poly" title=" " alt="" coords="173,53,80,94,78,89,171,48"/>
<area shape="rect" title=" " alt="" coords="91,98,154,126"/>
<area shape="poly" title=" " alt="" coords="197,52,152,90,148,86,194,48"/>
<area shape="rect" title=" " alt="" coords="178,98,264,126"/>
<area shape="poly" title=" " alt="" coords="224,50,224,82,219,82,219,50"/>
<area shape="rect" title=" " alt="" coords="288,98,352,126"/>
<area shape="poly" title=" " alt="" coords="249,48,294,86,291,90,246,52"/>
<area shape="rect" title=" " alt="" coords="376,98,517,126"/>
<area shape="poly" title=" " alt="" coords="282,48,397,90,395,95,280,53"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="ThreadSafeQueue_8hh__dep__incl.png" border="0" usemap="#ainclude_2utils_2ThreadSafeQueue_8hhdep" alt=""/></div>
<map name="ainclude_2utils_2ThreadSafeQueue_8hhdep" id="ainclude_2utils_2ThreadSafeQueue_8hhdep">
<area shape="rect" title=" " alt="" coords="142,5,320,50"/>
<area shape="rect" href="Algo_8hh.html" title=" " alt="" coords="170,98,292,126"/>
<area shape="poly" title=" " alt="" coords="234,66,234,97,228,97,228,66"/>
<area shape="rect" href="Controller_8hh.html" title=" " alt="" coords="5,174,161,201"/>
<area shape="poly" title=" " alt="" coords="192,135,110,176,108,171,190,131"/>
<area shape="rect" href="Algo_8cc.html" title=" " alt="" coords="185,174,277,201"/>
<area shape="poly" title=" " alt="" coords="234,141,234,173,228,173,228,141"/>
<area shape="rect" href="JSONReader_8cc.html" title=" " alt="" coords="300,174,492,201"/>
<area shape="poly" title=" " alt="" coords="276,130,368,171,366,176,273,135"/>
<area shape="rect" href="Controller_8cc.html" title=" " alt="" coords="20,249,146,277"/>
<area shape="poly" title=" " alt="" coords="86,217,86,249,80,249,80,217"/>
</map>
</div>
</div>
<p><a href="ThreadSafeQueue_8hh_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutils_1_1ThreadSafeQueue.html">utils::ThreadSafeQueue&lt; T &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutils.html">utils</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_821002d4f10779a80d4fb17bc32f21f1.html">utils</a></li><li class="navelem"><a class="el" href="ThreadSafeQueue_8hh.html">ThreadSafeQueue.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,4 @@
var ThreadSafeQueue_8hh =
[
[ "utils::ThreadSafeQueue< T >", "classutils_1_1ThreadSafeQueue.html", "classutils_1_1ThreadSafeQueue" ]
];

View File

@ -0,0 +1,13 @@
<map id="include/utils/ThreadSafeQueue.hh" name="include/utils/ThreadSafeQueue.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="142,5,320,50"/>
<area shape="rect" id="Node000002" href="$Algo_8hh.html" title=" " alt="" coords="170,98,292,126"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="234,66,234,97,228,97,228,66"/>
<area shape="rect" id="Node000003" href="$Controller_8hh.html" title=" " alt="" coords="5,174,161,201"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="192,135,110,176,108,171,190,131"/>
<area shape="rect" id="Node000005" href="$Algo_8cc.html" title=" " alt="" coords="185,174,277,201"/>
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="234,141,234,173,228,173,228,141"/>
<area shape="rect" id="Node000006" href="$JSONReader_8cc.html" title=" " alt="" coords="300,174,492,201"/>
<area shape="poly" id="edge5_Node000002_Node000006" title=" " alt="" coords="276,130,368,171,366,176,273,135"/>
<area shape="rect" id="Node000004" href="$Controller_8cc.html" title=" " alt="" coords="20,249,146,277"/>
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="86,217,86,249,80,249,80,217"/>
</map>

View File

@ -0,0 +1 @@
efc64bf67b76adacd03882729c642af2

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1,13 @@
<map id="include/utils/ThreadSafeQueue.hh" name="include/utils/ThreadSafeQueue.hh">
<area shape="rect" id="Node000001" title=" " alt="" coords="132,5,310,50"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,98,67,126"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="173,53,80,94,78,89,171,48"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="91,98,154,126"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="197,52,152,90,148,86,194,48"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="178,98,264,126"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="224,50,224,82,219,82,219,50"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="288,98,352,126"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="249,48,294,86,291,90,246,52"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="376,98,517,126"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="282,48,397,90,395,95,280,53"/>
</map>

View File

@ -0,0 +1 @@
683e83a1a298a6d1bd21f53d3644a6a6

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,166 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: include/utils/ThreadSafeQueue.hh 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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('ThreadSafeQueue_8hh_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">ThreadSafeQueue.hh</div></div>
</div><!--header-->
<div class="contents">
<a href="ThreadSafeQueue_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">// C++ Includes</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &lt;queue&gt;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &lt;thread&gt;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;mutex&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;condition_variable&gt;</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="namespaceutils.html">utils</a> {</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00011" data-start="{" data-end="};">
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadSafeQueue.html"> 11</a></span><span class="keyword">class </span><a class="code hl_class" href="classutils_1_1ThreadSafeQueue.html">ThreadSafeQueue</a> {</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadSafeQueue.html#a970596f4c9a6d1a806b06d46807e06ee"> 13</a></span> std::queue&lt;T&gt; <a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#a970596f4c9a6d1a806b06d46807e06ee">_queue</a>;</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadSafeQueue.html#a43fef8c13f23363c48bac7a6a49a565b"> 14</a></span> std::mutex <a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#a43fef8c13f23363c48bac7a6a49a565b">_mutex</a>;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadSafeQueue.html#aa8f60ba625a00977e004c6641325671e"> 15</a></span> std::condition_variable <a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#aa8f60ba625a00977e004c6641325671e">_cv</a>;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00018" data-start="{" data-end="}">
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadSafeQueue.html#a00347d38cfa085d97c67796779da2f33"> 18</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classutils_1_1ThreadSafeQueue.html#a00347d38cfa085d97c67796779da2f33">push</a>(T value) {</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> {</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> std::lock_guard&lt;std::mutex&gt; lock(<a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#a43fef8c13f23363c48bac7a6a49a565b">_mutex</a>);</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#a970596f4c9a6d1a806b06d46807e06ee">_queue</a>.push(std::move(value));</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> }</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#aa8f60ba625a00977e004c6641325671e">_cv</a>.notify_one();</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> }</div>
</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="foldopen" id="foldopen00027" data-start="{" data-end="}">
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="classutils_1_1ThreadSafeQueue.html#a0fc878c7c3ed27b4c65bcf277b99a48b"> 27</a></span> T <a class="code hl_function" href="classutils_1_1ThreadSafeQueue.html#a0fc878c7c3ed27b4c65bcf277b99a48b">wait_and_pop</a>() {</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> std::unique_lock&lt;std::mutex&gt; lock(<a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#a43fef8c13f23363c48bac7a6a49a565b">_mutex</a>);</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#aa8f60ba625a00977e004c6641325671e">_cv</a>.wait(lock, [&amp;] { <span class="keywordflow">return</span> !<a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#a970596f4c9a6d1a806b06d46807e06ee">_queue</a>.empty(); });</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> T val = std::move(<a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#a970596f4c9a6d1a806b06d46807e06ee">_queue</a>.front());</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <a class="code hl_variable" href="classutils_1_1ThreadSafeQueue.html#a970596f4c9a6d1a806b06d46807e06ee">_queue</a>.pop();</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keywordflow">return</span> val;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> }</div>
</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span>};</div>
</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>} <span class="comment">// End utils namespace</span></div>
<div class="ttc" id="aclassutils_1_1ThreadSafeQueue_html"><div class="ttname"><a href="classutils_1_1ThreadSafeQueue.html">utils::ThreadSafeQueue</a></div><div class="ttdef"><b>Definition</b> ThreadSafeQueue.hh:11</div></div>
<div class="ttc" id="aclassutils_1_1ThreadSafeQueue_html_a00347d38cfa085d97c67796779da2f33"><div class="ttname"><a href="classutils_1_1ThreadSafeQueue.html#a00347d38cfa085d97c67796779da2f33">utils::ThreadSafeQueue::push</a></div><div class="ttdeci">void push(T value)</div><div class="ttdef"><b>Definition</b> ThreadSafeQueue.hh:18</div></div>
<div class="ttc" id="aclassutils_1_1ThreadSafeQueue_html_a0fc878c7c3ed27b4c65bcf277b99a48b"><div class="ttname"><a href="classutils_1_1ThreadSafeQueue.html#a0fc878c7c3ed27b4c65bcf277b99a48b">utils::ThreadSafeQueue::wait_and_pop</a></div><div class="ttdeci">T wait_and_pop()</div><div class="ttdef"><b>Definition</b> ThreadSafeQueue.hh:27</div></div>
<div class="ttc" id="aclassutils_1_1ThreadSafeQueue_html_a43fef8c13f23363c48bac7a6a49a565b"><div class="ttname"><a href="classutils_1_1ThreadSafeQueue.html#a43fef8c13f23363c48bac7a6a49a565b">utils::ThreadSafeQueue::_mutex</a></div><div class="ttdeci">std::mutex _mutex</div><div class="ttdef"><b>Definition</b> ThreadSafeQueue.hh:14</div></div>
<div class="ttc" id="aclassutils_1_1ThreadSafeQueue_html_a970596f4c9a6d1a806b06d46807e06ee"><div class="ttname"><a href="classutils_1_1ThreadSafeQueue.html#a970596f4c9a6d1a806b06d46807e06ee">utils::ThreadSafeQueue::_queue</a></div><div class="ttdeci">std::queue&lt; T &gt; _queue</div><div class="ttdef"><b>Definition</b> ThreadSafeQueue.hh:13</div></div>
<div class="ttc" id="aclassutils_1_1ThreadSafeQueue_html_aa8f60ba625a00977e004c6641325671e"><div class="ttname"><a href="classutils_1_1ThreadSafeQueue.html#aa8f60ba625a00977e004c6641325671e">utils::ThreadSafeQueue::_cv</a></div><div class="ttdeci">std::condition_variable _cv</div><div class="ttdef"><b>Definition</b> ThreadSafeQueue.hh:15</div></div>
<div class="ttc" id="anamespaceutils_html"><div class="ttname"><a href="namespaceutils.html">utils</a></div><div class="ttdef"><b>Definition</b> ThreadPool.cc:11</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_821002d4f10779a80d4fb17bc32f21f1.html">utils</a></li><li class="navelem"><a class="el" href="ThreadSafeQueue_8hh.html">ThreadSafeQueue.hh</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

129
html/annotated.html Normal file
View File

@ -0,0 +1,129 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: Class List</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('annotated.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">Class List</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
<div class="levels">[detail level <span onclick="javascript:dynsection.toggleLevel(1);">1</span><span onclick="javascript:dynsection.toggleLevel(2);">2</span>]</div><table class="directory">
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="dynsection.toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespaceutils.html" target="_self">utils</a></td><td class="desc"></td></tr>
<tr id="row_0_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classutils_1_1ThreadPool.html" target="_self">ThreadPool</a></td><td class="desc"></td></tr>
<tr id="row_0_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classutils_1_1ThreadSafeQueue.html" target="_self">ThreadSafeQueue</a></td><td class="desc"></td></tr>
<tr id="row_1_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classAlgo.html" target="_self">Algo</a></td><td class="desc"></td></tr>
<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classController.html" target="_self">Controller</a></td><td class="desc"></td></tr>
<tr id="row_3_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classPublisher.html" target="_self">Publisher</a></td><td class="desc"></td></tr>
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classTraderClient.html" target="_self">TraderClient</a></td><td class="desc"></td></tr>
<tr id="row_5_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classTradingServiceImpl.html" target="_self">TradingServiceImpl</a></td><td class="desc"></td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

12
html/annotated_dup.js Normal file
View File

@ -0,0 +1,12 @@
var annotated_dup =
[
[ "utils", "namespaceutils.html", [
[ "ThreadPool", "classutils_1_1ThreadPool.html", "classutils_1_1ThreadPool" ],
[ "ThreadSafeQueue", "classutils_1_1ThreadSafeQueue.html", "classutils_1_1ThreadSafeQueue" ]
] ],
[ "Algo", "classAlgo.html", "classAlgo" ],
[ "Controller", "classController.html", "classController" ],
[ "Publisher", "classPublisher.html", "classPublisher" ],
[ "TraderClient", "classTraderClient.html", "classTraderClient" ],
[ "TradingServiceImpl", "classTradingServiceImpl.html", "classTradingServiceImpl" ]
];

BIN
html/bc_s.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

BIN
html/bc_sd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

137
html/classAlgo-members.html Normal file
View File

@ -0,0 +1,137 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: Member List</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('classAlgo.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">Algo Member List</div></div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classAlgo.html">Algo</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classAlgo.html#a671449864b2d1a1af9a57970eb104a0f">_futures</a></td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classAlgo.html#a6cffb1f6d087978eba685bcb1d06b11d">_initialized</a></td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAlgo.html#ac4f2da176cc2dc9ba757140a635fe9b8">_order_queue</a></td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classAlgo.html#a889e1362976e78c4904007ee5edfd3fe">_orders</a></td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAlgo.html#af5bcfa2719e948826f71983a18ec017d">_pub</a></td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classAlgo.html#a743ddc60baad0afa7f036a529c340460">_reader_thread</a></td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAlgo.html#a3ce5d714379ab5094b6d82b99421b4a3">_running</a></td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classAlgo.html#a4943cab875d5261b0abec360b68878e8">_send_mutex</a></td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAlgo.html#adb85594bf1d2e7c9357d353b5e97787d">_thread_pool</a></td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classAlgo.html#ac72ec5a778fce0be42ebf635f2c504d0">_worker_threads</a></td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAlgo.html#aaf4f951979fc60411ed84c558f081867">Algo</a>()</td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classAlgo.html#ac223b246cd2f8851c4e0893ff41547fa">generate_orders</a>()</td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAlgo.html#ac8b70d722d4b2c1ad5cad4a63c3b7c62">initialize</a>()</td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classAlgo.html#a6fef1866e14e8a08788cb1d54afcedaf">initialized</a>()</td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAlgo.html#a8fcaaeaa5ad212a126490a19370c9b7e">process</a>()</td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classAlgo.html#ac556564d232b2d90cec73718538ec804">send</a>(trading::Order &amp;)</td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAlgo.html#a330f03f9df9e5d1e2b701bc3f5e94524">stop</a>()</td><td class="entry"><a class="el" href="classAlgo.html">Algo</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

573
html/classAlgo.html Normal file
View File

@ -0,0 +1,573 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: Algo Class Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('classAlgo.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classAlgo-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">Algo Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="Algo_8hh_source.html">Algo.hh</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Algo:</div>
<div class="dyncontent">
<div class="center"><img src="classAlgo__coll__graph.png" border="0" usemap="#aAlgo_coll__map" alt="Collaboration graph"/></div>
<map name="aAlgo_coll__map" id="aAlgo_coll__map">
<area shape="rect" title=" " alt="" coords="98,277,241,639"/>
<area shape="rect" href="classutils_1_1ThreadSafeQueue.html" title=" " alt="" coords="5,30,168,187"/>
<area shape="poly" title=" " alt="" coords="108,186,125,260,120,261,102,187"/>
<area shape="rect" href="classutils_1_1ThreadPool.html" title=" " alt="" coords="192,5,315,212"/>
<area shape="poly" title=" " alt="" coords="235,212,225,253,223,261,218,260,220,252,230,211"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aaf4f951979fc60411ed84c558f081867" id="r_aaf4f951979fc60411ed84c558f081867"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaf4f951979fc60411ed84c558f081867">Algo</a> ()</td></tr>
<tr class="separator:aaf4f951979fc60411ed84c558f081867"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8b70d722d4b2c1ad5cad4a63c3b7c62" id="r_ac8b70d722d4b2c1ad5cad4a63c3b7c62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac8b70d722d4b2c1ad5cad4a63c3b7c62">initialize</a> ()</td></tr>
<tr class="separator:ac8b70d722d4b2c1ad5cad4a63c3b7c62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac223b246cd2f8851c4e0893ff41547fa" id="r_ac223b246cd2f8851c4e0893ff41547fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac223b246cd2f8851c4e0893ff41547fa">generate_orders</a> ()</td></tr>
<tr class="separator:ac223b246cd2f8851c4e0893ff41547fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fcaaeaa5ad212a126490a19370c9b7e" id="r_a8fcaaeaa5ad212a126490a19370c9b7e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8fcaaeaa5ad212a126490a19370c9b7e">process</a> ()</td></tr>
<tr class="separator:a8fcaaeaa5ad212a126490a19370c9b7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac556564d232b2d90cec73718538ec804" id="r_ac556564d232b2d90cec73718538ec804"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac556564d232b2d90cec73718538ec804">send</a> (trading::Order &amp;)</td></tr>
<tr class="separator:ac556564d232b2d90cec73718538ec804"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fef1866e14e8a08788cb1d54afcedaf" id="r_a6fef1866e14e8a08788cb1d54afcedaf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6fef1866e14e8a08788cb1d54afcedaf">initialized</a> ()</td></tr>
<tr class="separator:a6fef1866e14e8a08788cb1d54afcedaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a330f03f9df9e5d1e2b701bc3f5e94524" id="r_a330f03f9df9e5d1e2b701bc3f5e94524"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a330f03f9df9e5d1e2b701bc3f5e94524">stop</a> ()</td></tr>
<tr class="separator:a330f03f9df9e5d1e2b701bc3f5e94524"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a889e1362976e78c4904007ee5edfd3fe" id="r_a889e1362976e78c4904007ee5edfd3fe"><td class="memItemLeft" align="right" valign="top">std::queue&lt; trading::Order &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a889e1362976e78c4904007ee5edfd3fe">_orders</a></td></tr>
<tr class="separator:a889e1362976e78c4904007ee5edfd3fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cffb1f6d087978eba685bcb1d06b11d" id="r_a6cffb1f6d087978eba685bcb1d06b11d"><td class="memItemLeft" align="right" valign="top">std::atomic&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6cffb1f6d087978eba685bcb1d06b11d">_initialized</a> {false}</td></tr>
<tr class="separator:a6cffb1f6d087978eba685bcb1d06b11d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ce5d714379ab5094b6d82b99421b4a3" id="r_a3ce5d714379ab5094b6d82b99421b4a3"><td class="memItemLeft" align="right" valign="top">std::atomic&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3ce5d714379ab5094b6d82b99421b4a3">_running</a> {false}</td></tr>
<tr class="separator:a3ce5d714379ab5094b6d82b99421b4a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5bcfa2719e948826f71983a18ec017d" id="r_af5bcfa2719e948826f71983a18ec017d"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classPublisher.html">Publisher</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af5bcfa2719e948826f71983a18ec017d">_pub</a></td></tr>
<tr class="separator:af5bcfa2719e948826f71983a18ec017d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4f2da176cc2dc9ba757140a635fe9b8" id="r_ac4f2da176cc2dc9ba757140a635fe9b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutils_1_1ThreadSafeQueue.html">utils::ThreadSafeQueue</a>&lt; trading::Order &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac4f2da176cc2dc9ba757140a635fe9b8">_order_queue</a></td></tr>
<tr class="separator:ac4f2da176cc2dc9ba757140a635fe9b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb85594bf1d2e7c9357d353b5e97787d" id="r_adb85594bf1d2e7c9357d353b5e97787d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutils_1_1ThreadPool.html">utils::ThreadPool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adb85594bf1d2e7c9357d353b5e97787d">_thread_pool</a></td></tr>
<tr class="separator:adb85594bf1d2e7c9357d353b5e97787d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4943cab875d5261b0abec360b68878e8" id="r_a4943cab875d5261b0abec360b68878e8"><td class="memItemLeft" align="right" valign="top">std::mutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4943cab875d5261b0abec360b68878e8">_send_mutex</a></td></tr>
<tr class="separator:a4943cab875d5261b0abec360b68878e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a743ddc60baad0afa7f036a529c340460" id="r_a743ddc60baad0afa7f036a529c340460"><td class="memItemLeft" align="right" valign="top">std::jthread&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a743ddc60baad0afa7f036a529c340460">_reader_thread</a></td></tr>
<tr class="separator:a743ddc60baad0afa7f036a529c340460"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac72ec5a778fce0be42ebf635f2c504d0" id="r_ac72ec5a778fce0be42ebf635f2c504d0"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::jthread &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac72ec5a778fce0be42ebf635f2c504d0">_worker_threads</a></td></tr>
<tr class="separator:ac72ec5a778fce0be42ebf635f2c504d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a671449864b2d1a1af9a57970eb104a0f" id="r_a671449864b2d1a1af9a57970eb104a0f"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::future&lt; bool &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a671449864b2d1a1af9a57970eb104a0f">_futures</a></td></tr>
<tr class="separator:a671449864b2d1a1af9a57970eb104a0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aaf4f951979fc60411ed84c558f081867" name="aaf4f951979fc60411ed84c558f081867"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf4f951979fc60411ed84c558f081867">&#9670;&#160;</a></span>Algo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Algo::Algo </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac223b246cd2f8851c4e0893ff41547fa" name="ac223b246cd2f8851c4e0893ff41547fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac223b246cd2f8851c4e0893ff41547fa">&#9670;&#160;</a></span>generate_orders()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Algo::generate_orders </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="#a889e1362976e78c4904007ee5edfd3fe">_orders</a>, and <a class="el" href="namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209">readers::json::read_orders_from_json()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classAlgo_ac223b246cd2f8851c4e0893ff41547fa_cgraph.png" border="0" usemap="#aclassAlgo_ac223b246cd2f8851c4e0893ff41547fa_cgraph" alt=""/></div>
<map name="aclassAlgo_ac223b246cd2f8851c4e0893ff41547fa_cgraph" id="aclassAlgo_ac223b246cd2f8851c4e0893ff41547fa_cgraph">
<area shape="rect" title=" " alt="" coords="5,14,170,42"/>
<area shape="rect" href="namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209" title=" " alt="" coords="218,5,360,50"/>
<area shape="poly" title=" " alt="" coords="170,25,202,25,202,30,170,30"/>
</map>
</div>
</div>
</div>
<a id="ac8b70d722d4b2c1ad5cad4a63c3b7c62" name="ac8b70d722d4b2c1ad5cad4a63c3b7c62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8b70d722d4b2c1ad5cad4a63c3b7c62">&#9670;&#160;</a></span>initialize()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Algo::initialize </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="#a6cffb1f6d087978eba685bcb1d06b11d">_initialized</a>, and <a class="el" href="#af5bcfa2719e948826f71983a18ec017d">_pub</a>.</p>
</div>
</div>
<a id="a6fef1866e14e8a08788cb1d54afcedaf" name="a6fef1866e14e8a08788cb1d54afcedaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6fef1866e14e8a08788cb1d54afcedaf">&#9670;&#160;</a></span>initialized()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Algo::initialized </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="#a6cffb1f6d087978eba685bcb1d06b11d">_initialized</a>.</p>
</div>
</div>
<a id="a8fcaaeaa5ad212a126490a19370c9b7e" name="a8fcaaeaa5ad212a126490a19370c9b7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fcaaeaa5ad212a126490a19370c9b7e">&#9670;&#160;</a></span>process()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Algo::process </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="#a671449864b2d1a1af9a57970eb104a0f">_futures</a>, <a class="el" href="#ac4f2da176cc2dc9ba757140a635fe9b8">_order_queue</a>, <a class="el" href="#af5bcfa2719e948826f71983a18ec017d">_pub</a>, <a class="el" href="#a743ddc60baad0afa7f036a529c340460">_reader_thread</a>, <a class="el" href="#a4943cab875d5261b0abec360b68878e8">_send_mutex</a>, <a class="el" href="#adb85594bf1d2e7c9357d353b5e97787d">_thread_pool</a>, <a class="el" href="#ac72ec5a778fce0be42ebf635f2c504d0">_worker_threads</a>, and <a class="el" href="namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209">readers::json::read_orders_from_json()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classAlgo_a8fcaaeaa5ad212a126490a19370c9b7e_cgraph.png" border="0" usemap="#aclassAlgo_a8fcaaeaa5ad212a126490a19370c9b7e_cgraph" alt=""/></div>
<map name="aclassAlgo_a8fcaaeaa5ad212a126490a19370c9b7e_cgraph" id="aclassAlgo_a8fcaaeaa5ad212a126490a19370c9b7e_cgraph">
<area shape="rect" title=" " alt="" coords="5,14,114,42"/>
<area shape="rect" href="namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209" title=" " alt="" coords="162,5,304,50"/>
<area shape="poly" title=" " alt="" coords="114,25,146,25,146,30,114,30"/>
</map>
</div>
</div>
</div>
<a id="ac556564d232b2d90cec73718538ec804" name="ac556564d232b2d90cec73718538ec804"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac556564d232b2d90cec73718538ec804">&#9670;&#160;</a></span>send()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Algo::send </td>
<td>(</td>
<td class="paramtype">trading::Order &amp;</td> <td class="paramname"><span class="paramname"><em>order</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="#af5bcfa2719e948826f71983a18ec017d">_pub</a>.</p>
</div>
</div>
<a id="a330f03f9df9e5d1e2b701bc3f5e94524" name="a330f03f9df9e5d1e2b701bc3f5e94524"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a330f03f9df9e5d1e2b701bc3f5e94524">&#9670;&#160;</a></span>stop()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Algo::stop </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="#a671449864b2d1a1af9a57970eb104a0f">_futures</a>, <a class="el" href="#a743ddc60baad0afa7f036a529c340460">_reader_thread</a>, and <a class="el" href="#ac72ec5a778fce0be42ebf635f2c504d0">_worker_threads</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a671449864b2d1a1af9a57970eb104a0f" name="a671449864b2d1a1af9a57970eb104a0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a671449864b2d1a1af9a57970eb104a0f">&#9670;&#160;</a></span>_futures</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;std::future&lt;bool&gt; &gt; Algo::_futures</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="#a8fcaaeaa5ad212a126490a19370c9b7e">process()</a>, and <a class="el" href="#a330f03f9df9e5d1e2b701bc3f5e94524">stop()</a>.</p>
</div>
</div>
<a id="a6cffb1f6d087978eba685bcb1d06b11d" name="a6cffb1f6d087978eba685bcb1d06b11d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cffb1f6d087978eba685bcb1d06b11d">&#9670;&#160;</a></span>_initialized</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::atomic&lt;bool&gt; Algo::_initialized {false}</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="#ac8b70d722d4b2c1ad5cad4a63c3b7c62">initialize()</a>, and <a class="el" href="#a6fef1866e14e8a08788cb1d54afcedaf">initialized()</a>.</p>
</div>
</div>
<a id="ac4f2da176cc2dc9ba757140a635fe9b8" name="ac4f2da176cc2dc9ba757140a635fe9b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4f2da176cc2dc9ba757140a635fe9b8">&#9670;&#160;</a></span>_order_queue</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classutils_1_1ThreadSafeQueue.html">utils::ThreadSafeQueue</a>&lt;trading::Order&gt; Algo::_order_queue</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="#a8fcaaeaa5ad212a126490a19370c9b7e">process()</a>.</p>
</div>
</div>
<a id="a889e1362976e78c4904007ee5edfd3fe" name="a889e1362976e78c4904007ee5edfd3fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a889e1362976e78c4904007ee5edfd3fe">&#9670;&#160;</a></span>_orders</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::queue&lt;trading::Order&gt; Algo::_orders</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="#ac223b246cd2f8851c4e0893ff41547fa">generate_orders()</a>.</p>
</div>
</div>
<a id="af5bcfa2719e948826f71983a18ec017d" name="af5bcfa2719e948826f71983a18ec017d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5bcfa2719e948826f71983a18ec017d">&#9670;&#160;</a></span>_pub</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::shared_ptr&lt;<a class="el" href="classPublisher.html">Publisher</a>&gt; Algo::_pub</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="#ac8b70d722d4b2c1ad5cad4a63c3b7c62">initialize()</a>, <a class="el" href="#a8fcaaeaa5ad212a126490a19370c9b7e">process()</a>, and <a class="el" href="#ac556564d232b2d90cec73718538ec804">send()</a>.</p>
</div>
</div>
<a id="a743ddc60baad0afa7f036a529c340460" name="a743ddc60baad0afa7f036a529c340460"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a743ddc60baad0afa7f036a529c340460">&#9670;&#160;</a></span>_reader_thread</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::jthread Algo::_reader_thread</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="#a8fcaaeaa5ad212a126490a19370c9b7e">process()</a>, and <a class="el" href="#a330f03f9df9e5d1e2b701bc3f5e94524">stop()</a>.</p>
</div>
</div>
<a id="a3ce5d714379ab5094b6d82b99421b4a3" name="a3ce5d714379ab5094b6d82b99421b4a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ce5d714379ab5094b6d82b99421b4a3">&#9670;&#160;</a></span>_running</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::atomic&lt;bool&gt; Algo::_running {false}</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a4943cab875d5261b0abec360b68878e8" name="a4943cab875d5261b0abec360b68878e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4943cab875d5261b0abec360b68878e8">&#9670;&#160;</a></span>_send_mutex</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::mutex Algo::_send_mutex</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="#a8fcaaeaa5ad212a126490a19370c9b7e">process()</a>.</p>
</div>
</div>
<a id="adb85594bf1d2e7c9357d353b5e97787d" name="adb85594bf1d2e7c9357d353b5e97787d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb85594bf1d2e7c9357d353b5e97787d">&#9670;&#160;</a></span>_thread_pool</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classutils_1_1ThreadPool.html">utils::ThreadPool</a> Algo::_thread_pool</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="#a8fcaaeaa5ad212a126490a19370c9b7e">process()</a>.</p>
</div>
</div>
<a id="ac72ec5a778fce0be42ebf635f2c504d0" name="ac72ec5a778fce0be42ebf635f2c504d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac72ec5a778fce0be42ebf635f2c504d0">&#9670;&#160;</a></span>_worker_threads</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;std::jthread&gt; Algo::_worker_threads</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="#a8fcaaeaa5ad212a126490a19370c9b7e">process()</a>, and <a class="el" href="#a330f03f9df9e5d1e2b701bc3f5e94524">stop()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/<a class="el" href="Algo_8hh_source.html">Algo.hh</a></li>
<li>src/<a class="el" href="Algo_8cc.html">Algo.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="classAlgo.html">Algo</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

20
html/classAlgo.js Normal file
View File

@ -0,0 +1,20 @@
var classAlgo =
[
[ "Algo", "classAlgo.html#aaf4f951979fc60411ed84c558f081867", null ],
[ "generate_orders", "classAlgo.html#ac223b246cd2f8851c4e0893ff41547fa", null ],
[ "initialize", "classAlgo.html#ac8b70d722d4b2c1ad5cad4a63c3b7c62", null ],
[ "initialized", "classAlgo.html#a6fef1866e14e8a08788cb1d54afcedaf", null ],
[ "process", "classAlgo.html#a8fcaaeaa5ad212a126490a19370c9b7e", null ],
[ "send", "classAlgo.html#ac556564d232b2d90cec73718538ec804", null ],
[ "stop", "classAlgo.html#a330f03f9df9e5d1e2b701bc3f5e94524", null ],
[ "_futures", "classAlgo.html#a671449864b2d1a1af9a57970eb104a0f", null ],
[ "_initialized", "classAlgo.html#a6cffb1f6d087978eba685bcb1d06b11d", null ],
[ "_order_queue", "classAlgo.html#ac4f2da176cc2dc9ba757140a635fe9b8", null ],
[ "_orders", "classAlgo.html#a889e1362976e78c4904007ee5edfd3fe", null ],
[ "_pub", "classAlgo.html#af5bcfa2719e948826f71983a18ec017d", null ],
[ "_reader_thread", "classAlgo.html#a743ddc60baad0afa7f036a529c340460", null ],
[ "_running", "classAlgo.html#a3ce5d714379ab5094b6d82b99421b4a3", null ],
[ "_send_mutex", "classAlgo.html#a4943cab875d5261b0abec360b68878e8", null ],
[ "_thread_pool", "classAlgo.html#adb85594bf1d2e7c9357d353b5e97787d", null ],
[ "_worker_threads", "classAlgo.html#ac72ec5a778fce0be42ebf635f2c504d0", null ]
];

View File

@ -0,0 +1,7 @@
<map id="Algo" name="Algo">
<area shape="rect" id="Node000001" title=" " alt="" coords="98,277,241,639"/>
<area shape="rect" id="Node000002" href="$classutils_1_1ThreadSafeQueue.html" title=" " alt="" coords="5,30,168,187"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="108,186,125,260,120,261,102,187"/>
<area shape="rect" id="Node000003" href="$classutils_1_1ThreadPool.html" title=" " alt="" coords="192,5,315,212"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="235,212,225,253,223,261,218,260,220,252,230,211"/>
</map>

View File

@ -0,0 +1 @@
a6dcbcb9441a3252944a298a1c58d548

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -0,0 +1,5 @@
<map id="Algo::process" name="Algo::process">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,14,114,42"/>
<area shape="rect" id="Node000002" href="$namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209" title=" " alt="" coords="162,5,304,50"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="114,25,146,25,146,30,114,30"/>
</map>

View File

@ -0,0 +1 @@
6ecc49cd12b2108816983a89dd1f09a0

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,5 @@
<map id="Algo::generate_orders" name="Algo::generate_orders">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,14,170,42"/>
<area shape="rect" id="Node000002" href="$namespacereaders_1_1json.html#a05735378dfc87c287094d7aa33ac8209" title=" " alt="" coords="218,5,360,50"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="170,25,202,25,202,30,170,30"/>
</map>

View File

@ -0,0 +1 @@
35150f183dcc50698209619f4b61d59e

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -0,0 +1,123 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: Member List</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('classController.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle"><div class="title">Controller Member List</div></div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classController.html">Controller</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classController.html#af469cf532ccb25e9256a9e71d35072ed">_algo</a></td><td class="entry"><a class="el" href="classController.html">Controller</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classController.html#a9bf20649bd5268f6c25d206eddcd3fc5">Controller</a>(int, char *[])</td><td class="entry"><a class="el" href="classController.html">Controller</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classController.html#ad535ad74055e645b7f44b7feeb4e82a8">start</a>()</td><td class="entry"><a class="el" href="classController.html">Controller</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

226
html/classController.html Normal file
View File

@ -0,0 +1,226 @@
<!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.13.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: Controller Class Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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">My Project
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('classController.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classController-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">Controller Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="Controller_8hh_source.html">Controller.hh</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Controller:</div>
<div class="dyncontent">
<div class="center"><img src="classController__coll__graph.png" border="0" usemap="#aController_coll__map" alt="Collaboration graph"/></div>
<map name="aController_coll__map" id="aController_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,106,100"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9bf20649bd5268f6c25d206eddcd3fc5" id="r_a9bf20649bd5268f6c25d206eddcd3fc5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9bf20649bd5268f6c25d206eddcd3fc5">Controller</a> (int, char *[])</td></tr>
<tr class="separator:a9bf20649bd5268f6c25d206eddcd3fc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad535ad74055e645b7f44b7feeb4e82a8" id="r_ad535ad74055e645b7f44b7feeb4e82a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad535ad74055e645b7f44b7feeb4e82a8">start</a> ()</td></tr>
<tr class="separator:ad535ad74055e645b7f44b7feeb4e82a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:af469cf532ccb25e9256a9e71d35072ed" id="r_af469cf532ccb25e9256a9e71d35072ed"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classAlgo.html">Algo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af469cf532ccb25e9256a9e71d35072ed">_algo</a></td></tr>
<tr class="separator:af469cf532ccb25e9256a9e71d35072ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9bf20649bd5268f6c25d206eddcd3fc5" name="a9bf20649bd5268f6c25d206eddcd3fc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bf20649bd5268f6c25d206eddcd3fc5">&#9670;&#160;</a></span>Controller()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Controller::Controller </td>
<td>(</td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>argc</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *</td> <td class="paramname"><span class="paramname"><em>argv</em></span>[]&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel explicit">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="#af469cf532ccb25e9256a9e71d35072ed">_algo</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad535ad74055e645b7f44b7feeb4e82a8" name="ad535ad74055e645b7f44b7feeb4e82a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad535ad74055e645b7f44b7feeb4e82a8">&#9670;&#160;</a></span>start()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Controller::start </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="#af469cf532ccb25e9256a9e71d35072ed">_algo</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="af469cf532ccb25e9256a9e71d35072ed" name="af469cf532ccb25e9256a9e71d35072ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af469cf532ccb25e9256a9e71d35072ed">&#9670;&#160;</a></span>_algo</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt;<a class="el" href="classAlgo.html">Algo</a>&gt; Controller::_algo</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="#a9bf20649bd5268f6c25d206eddcd3fc5">Controller()</a>, and <a class="el" href="#ad535ad74055e645b7f44b7feeb4e82a8">start()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/<a class="el" href="Controller_8hh_source.html">Controller.hh</a></li>
<li>src/<a class="el" href="Controller_8cc.html">Controller.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="classController.html">Controller</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.0 </li>
</ul>
</div>
</body>
</html>

6
html/classController.js Normal file
View File

@ -0,0 +1,6 @@
var classController =
[
[ "Controller", "classController.html#a9bf20649bd5268f6c25d206eddcd3fc5", null ],
[ "start", "classController.html#ad535ad74055e645b7f44b7feeb4e82a8", null ],
[ "_algo", "classController.html#af469cf532ccb25e9256a9e71d35072ed", null ]
];

View File

@ -0,0 +1,3 @@
<map id="Controller" name="Controller">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,5,106,100"/>
</map>

View File

@ -0,0 +1 @@
8c944e19a7c34e404a4783004416612c

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Some files were not shown because too many files have changed in this diff Show More