-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathclassbtllib_1_1OrderQueue.html
136 lines (134 loc) · 9.36 KB
/
classbtllib_1_1OrderQueue.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>btllib: btllib::OrderQueue< T > Class Template 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>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">btllib
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacebtllib.html">btllib</a></li><li class="navelem"><a class="el" href="classbtllib_1_1OrderQueue.html">OrderQueue</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="classbtllib_1_1OrderQueue-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">btllib::OrderQueue< T > Class Template Reference</div></div>
</div><!--header-->
<div class="contents">
<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">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structbtllib_1_1OrderQueue_1_1Block.html">Block</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><b>Slot</b></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:a3ee2993b54d3bc2a701b41babd0a7485"><td class="memItemLeft" align="right" valign="top"><a id="a3ee2993b54d3bc2a701b41babd0a7485" name="a3ee2993b54d3bc2a701b41babd0a7485"></a>
size_t </td><td class="memItemRight" valign="bottom"><b>elements</b> () const</td></tr>
<tr class="separator:a3ee2993b54d3bc2a701b41babd0a7485"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abf38ee7f545dc2c02287424112558341"><td class="memItemLeft" align="right" valign="top"><a id="abf38ee7f545dc2c02287424112558341" name="abf38ee7f545dc2c02287424112558341"></a>
void </td><td class="memItemRight" valign="bottom"><b>close</b> ()</td></tr>
<tr class="separator:abf38ee7f545dc2c02287424112558341"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad72119c9327ee8d8cab067a0cf25f368"><td class="memItemLeft" align="right" valign="top"><a id="ad72119c9327ee8d8cab067a0cf25f368" name="ad72119c9327ee8d8cab067a0cf25f368"></a>
bool </td><td class="memItemRight" valign="bottom"><b>is_closed</b> () const</td></tr>
<tr class="separator:ad72119c9327ee8d8cab067a0cf25f368"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab62065768a84fad79c9fd5dfe4d49d77"><td class="memItemLeft" align="right" valign="top"><a id="ab62065768a84fad79c9fd5dfe4d49d77" name="ab62065768a84fad79c9fd5dfe4d49d77"></a>
 </td><td class="memItemRight" valign="bottom"><b>OrderQueue</b> (const size_t queue_size, const size_t block_size)</td></tr>
<tr class="separator:ab62065768a84fad79c9fd5dfe4d49d77"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a143b145997201382a0a4cb6ffbab2398"><td class="memItemLeft" align="right" valign="top"><a id="a143b145997201382a0a4cb6ffbab2398" name="a143b145997201382a0a4cb6ffbab2398"></a>
 </td><td class="memItemRight" valign="bottom"><b>OrderQueue</b> (const <a class="el" href="classbtllib_1_1OrderQueue.html">OrderQueue</a> &)=delete</td></tr>
<tr class="separator:a143b145997201382a0a4cb6ffbab2398"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8cc3983b0aac1a426a0ff7f249974a69"><td class="memItemLeft" align="right" valign="top"><a id="a8cc3983b0aac1a426a0ff7f249974a69" name="a8cc3983b0aac1a426a0ff7f249974a69"></a>
 </td><td class="memItemRight" valign="bottom"><b>OrderQueue</b> (<a class="el" href="classbtllib_1_1OrderQueue.html">OrderQueue</a> &&)=delete</td></tr>
<tr class="separator:a8cc3983b0aac1a426a0ff7f249974a69"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aba65329502f7ce8f40c497071f233cb8"><td class="memItemLeft" align="right" valign="top"><a id="aba65329502f7ce8f40c497071f233cb8" name="aba65329502f7ce8f40c497071f233cb8"></a>
std::vector< Slot > </td><td class="memItemRight" valign="bottom"><b>slots</b></td></tr>
<tr class="separator:aba65329502f7ce8f40c497071f233cb8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a80fd69f2975f64dc0bec2f0c7eb2d3"><td class="memItemLeft" align="right" valign="top"><a id="a4a80fd69f2975f64dc0bec2f0c7eb2d3" name="a4a80fd69f2975f64dc0bec2f0c7eb2d3"></a>
size_t </td><td class="memItemRight" valign="bottom"><b>queue_size</b></td></tr>
<tr class="separator:a4a80fd69f2975f64dc0bec2f0c7eb2d3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa2ea1d0750b1a552d2742f036bd4a953"><td class="memItemLeft" align="right" valign="top"><a id="aa2ea1d0750b1a552d2742f036bd4a953" name="aa2ea1d0750b1a552d2742f036bd4a953"></a>
size_t </td><td class="memItemRight" valign="bottom"><b>block_size</b></td></tr>
<tr class="separator:aa2ea1d0750b1a552d2742f036bd4a953"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3a2a875091e91d2f82a00793de832cce"><td class="memItemLeft" align="right" valign="top"><a id="a3a2a875091e91d2f82a00793de832cce" name="a3a2a875091e91d2f82a00793de832cce"></a>
size_t </td><td class="memItemRight" valign="bottom"><b>read_counter</b> = 0</td></tr>
<tr class="separator:a3a2a875091e91d2f82a00793de832cce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0133d444873362b08ac14145fd60ad1"><td class="memItemLeft" align="right" valign="top"><a id="ab0133d444873362b08ac14145fd60ad1" name="ab0133d444873362b08ac14145fd60ad1"></a>
std::atomic< size_t > </td><td class="memItemRight" valign="bottom"><b>element_count</b> { 0 }</td></tr>
<tr class="separator:ab0133d444873362b08ac14145fd60ad1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abca9eae6a19466d5de533d23705c5956"><td class="memItemLeft" align="right" valign="top"><a id="abca9eae6a19466d5de533d23705c5956" name="abca9eae6a19466d5de533d23705c5956"></a>
std::atomic< bool > </td><td class="memItemRight" valign="bottom"><b>closed</b> { false }</td></tr>
<tr class="separator:abca9eae6a19466d5de533d23705c5956"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/btllib/<a class="el" href="order__queue_8hpp_source.html">order_queue.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>