-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMessage_8h_source.html
438 lines (436 loc) · 74.4 KB
/
Message_8h_source.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMS: include/comms/Message.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">COMMS
</div>
<div id="projectbrief">Template library intended to help with implementation of communication protocols.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_b3b90260015bf389bbf56758f180cfb9.html">comms</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">Message.h</div></div>
</div><!--header-->
<div class="contents">
<a href="Message_8h.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">//</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">// Copyright 2014 - 2025 (C). Alex Robenko. All rights reserved.</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">//</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">// This Source Code Form is subject to the terms of the Mozilla Public</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">// License, v. 2.0. If a copy of the MPL was not distributed with this</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// file, You can obtain one at http://mozilla.org/MPL/2.0/.</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</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="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include <cstdint></span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include <memory></span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include <type_traits></span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include "<a class="code" href="ErrorStatus_8h.html">comms/ErrorStatus.h</a>"</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include "<a class="code" href="Assert_8h.html">comms/Assert.h</a>"</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include "<a class="code" href="Field_8h.html">comms/Field.h</a>"</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include "<a class="code" href="type__traits_8h.html">comms/util/type_traits.h</a>"</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include "comms/details/MessageInterfaceBuilder.h"</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include "comms/details/transport_fields_access.h"</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include "comms/details/detect.h"</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include "comms/details/MessageIdTypeRetriever.h"</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include "comms/details/field_alias.h"</span></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">namespace </span><a class="code hl_namespace" href="namespacecomms.html">comms</a></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span>{</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><span class="keyword">template</span> <<span class="keyword">typename</span>... TOptions></div>
<div class="foldopen" id="foldopen00079" data-start="{" data-end="};">
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html"> 79</a></span><span class="keyword">class </span><a class="code hl_class" href="classcomms_1_1Message.html">Message</a> : <span class="keyword">public</span> details::MessageInterfaceBuilderT<TOptions...></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span>{</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keyword">using </span>BaseImpl = details::MessageInterfaceBuilderT<TOptions...>;</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a666cf5c4acf17424d67be09c13212c25"> 86</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#a666cf5c4acf17424d67be09c13212c25">InterfaceOptions</a> = details::MessageInterfaceOptionsParser<TOptions...>;</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a2e92ee93252dcf912384ade08349dd74"> 93</a></span> <a class="code hl_function" href="classcomms_1_1Message.html#a2e92ee93252dcf912384ade08349dd74">~Message</a>() noexcept = default;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="foldopen" id="foldopen00097" data-start="{" data-end="}">
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a37efad282638409ff120b999954c2117"> 97</a></span> static constexpr <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#a37efad282638409ff120b999954c2117">hasMsgIdType</a>()</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> {</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">return</span> InterfaceOptions::HasMsgIdType;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> }</div>
</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="foldopen" id="foldopen00104" data-start="{" data-end="}">
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a13724033c28237b389725d379d1f5b9f"> 104</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#a13724033c28237b389725d379d1f5b9f">hasEndian</a>()</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> {</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordflow">return</span> InterfaceOptions::HasEndian;</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> }</div>
</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> </div>
<div class="foldopen" id="foldopen00111" data-start="{" data-end="}">
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aa00be33cb01b7e9cdee9ecebfa54c171"> 111</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#aa00be33cb01b7e9cdee9ecebfa54c171">hasGetId</a>()</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> {</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classcomms_1_1Message.html#a37efad282638409ff120b999954c2117">hasMsgIdType</a>() && InterfaceOptions::HasMsgIdInfo;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> }</div>
</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div>
<div class="foldopen" id="foldopen00119" data-start="{" data-end="}">
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a1cab88111f9e395e71f8a8eb05c99fb5"> 119</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#a1cab88111f9e395e71f8a8eb05c99fb5">hasRead</a>()</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> {</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordflow">return</span> InterfaceOptions::HasReadIterator;</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> }</div>
</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
<div class="foldopen" id="foldopen00127" data-start="{" data-end="}">
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aa7a317a10acda2cd7affd8b69a7b459a"> 127</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#aa7a317a10acda2cd7affd8b69a7b459a">hasWrite</a>()</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> {</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="keywordflow">return</span> InterfaceOptions::HasWriteIterator;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> }</div>
</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
<div class="foldopen" id="foldopen00134" data-start="{" data-end="}">
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a133c135fda72ca2257fed0f5427053b4"> 134</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#a133c135fda72ca2257fed0f5427053b4">hasValid</a>()</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> {</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="keywordflow">return</span> InterfaceOptions::HasValid;</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> }</div>
</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
<div class="foldopen" id="foldopen00141" data-start="{" data-end="}">
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aaaded9d46874a89824e91c962524836d"> 141</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#aaaded9d46874a89824e91c962524836d">hasLength</a>()</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> {</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keywordflow">return</span> InterfaceOptions::HasLength;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> }</div>
</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> </div>
<div class="foldopen" id="foldopen00148" data-start="{" data-end="}">
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#ae0929a96d1cb0c12a2b2a383ebd015ef"> 148</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#ae0929a96d1cb0c12a2b2a383ebd015ef">hasRefresh</a>()</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> {</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">return</span> InterfaceOptions::HasRefresh;</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> }</div>
</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
<div class="foldopen" id="foldopen00156" data-start="{" data-end="}">
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aec8ad53f1b5aa5f06a0d47c7d9585783"> 156</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#aec8ad53f1b5aa5f06a0d47c7d9585783">hasDispatch</a>()</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> {</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keywordflow">return</span> InterfaceOptions::HasHandler;</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> }</div>
</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> </div>
<div class="foldopen" id="foldopen00164" data-start="{" data-end="}">
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a57f6dc0452da23c5cdf25ec56b26df80"> 164</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#a57f6dc0452da23c5cdf25ec56b26df80">hasTransportFields</a>()</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> {</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <span class="keywordflow">return</span> InterfaceOptions::HasExtraTransportFields;</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> }</div>
</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </div>
<div class="foldopen" id="foldopen00171" data-start="{" data-end="}">
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#afa8cdb390a3a51811a5a836cff0b7828"> 171</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#afa8cdb390a3a51811a5a836cff0b7828">hasVersionInTransportFields</a>()</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> {</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> <span class="keywordflow">return</span> InterfaceOptions::HasVersionInExtraTransportFields;</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> }</div>
</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> </div>
<div class="foldopen" id="foldopen00179" data-start="{" data-end="}">
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a1d74062683710d3e3807937227a99318"> 179</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> std::size_t <a class="code hl_function" href="classcomms_1_1Message.html#a1d74062683710d3e3807937227a99318">versionIdxInTransportFields</a>()</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> {</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> <span class="keywordflow">return</span> InterfaceOptions::VersionInExtraTransportFields;</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> }</div>
</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> </div>
<div class="foldopen" id="foldopen00186" data-start="{" data-end="}">
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#abcaf6e76e7639112d33a04683a4e1a43"> 186</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#abcaf6e76e7639112d33a04683a4e1a43">hasName</a>()</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> {</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <span class="keywordflow">return</span> InterfaceOptions::HasName;</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> }</div>
</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span><span class="preprocessor">#ifdef FOR_DOXYGEN_DOC_ONLY</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aa7bb56b0758dfa9a8f9be12d3b8295a2"> 196</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#aa7bb56b0758dfa9a8f9be12d3b8295a2">MsgIdType</a> = <span class="keyword">typename</span> BaseImpl::MsgIdType;</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aa99780161941773e6bbe2767675c4a03"> 203</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#aa99780161941773e6bbe2767675c4a03">MsgIdParamType</a> = <span class="keyword">typename</span> BaseImpl::MsgIdParamType;</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> </div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a1bb35fb9379a188ce663079c956b3f80"> 209</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#a1bb35fb9379a188ce663079c956b3f80">Endian</a> = <span class="keyword">typename</span> BaseImpl::Endian;</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a4cd3705f965f28c601858aced3f16c48"> 215</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#a4cd3705f965f28c601858aced3f16c48">Field</a> = BaseImpl::Field;</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> </div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aaac9fd890f4efb1263179c3799d52098"> 223</a></span> <a class="code hl_typedef" href="classcomms_1_1Message.html#aa99780161941773e6bbe2767675c4a03">MsgIdParamType</a> <a class="code hl_function" href="classcomms_1_1Message.html#aaac9fd890f4efb1263179c3799d52098">getId</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a463c7edb3734bffca6c41b9cee3d3f0a"> 230</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#a463c7edb3734bffca6c41b9cee3d3f0a">ReadIterator</a> = TypeProvidedWithOption;</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> </div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a77396db2ec7a29de4bf335af49e1d760"> 243</a></span> <a class="code hl_enumeration" href="namespacecomms.html#a0a259a03d68bce98b4a129fb34aaa2e1">ErrorStatus</a> <a class="code hl_function" href="classcomms_1_1Message.html#a77396db2ec7a29de4bf335af49e1d760">read</a>(<a class="code hl_typedef" href="classcomms_1_1Message.html#a463c7edb3734bffca6c41b9cee3d3f0a">ReadIterator</a>& iter, std::size_t size);</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> </div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aee6698a41e3975ed6047dac727fe9a0c"> 250</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#aee6698a41e3975ed6047dac727fe9a0c">WriteIterator</a> = TypeProvidedWithOption;</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> </div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#ac861cf1ef73973117f7842e567b05a13"> 263</a></span> <a class="code hl_enumeration" href="namespacecomms.html#a0a259a03d68bce98b4a129fb34aaa2e1">ErrorStatus</a> <a class="code hl_function" href="classcomms_1_1Message.html#ac861cf1ef73973117f7842e567b05a13">write</a>(<a class="code hl_typedef" href="classcomms_1_1Message.html#aee6698a41e3975ed6047dac727fe9a0c">WriteIterator</a>& iter, std::size_t size) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aeb62f73f8c7db3745491ce668171af5f"> 270</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#aeb62f73f8c7db3745491ce668171af5f">valid</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> </div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a91dba816185287db6d38a3274743f6cf"> 277</a></span> std::size_t <a class="code hl_function" href="classcomms_1_1Message.html#a91dba816185287db6d38a3274743f6cf">length</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> </div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#adf78ac63decb13777fd7d203de01fdd1"> 295</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#adf78ac63decb13777fd7d203de01fdd1">refresh</a>();</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> </div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a92016715ef5f94e28a8e23ab9a344cdc"> 302</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="classcomms_1_1Message.html#a92016715ef5f94e28a8e23ab9a344cdc">name</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> </div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a30b17e6aee609c0bb061556f4a0979bb"> 307</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#a30b17e6aee609c0bb061556f4a0979bb">Handler</a> = TypeProvidedWithOption;</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> </div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a43d474f5037090d6d749419c51f2e100"> 311</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#a43d474f5037090d6d749419c51f2e100">DispatchRetType</a> = <span class="keyword">typename</span> Handler::RetType;</div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> </div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#af2781055a9fb72a553d56cfd6ac99c5e"> 318</a></span> <a class="code hl_typedef" href="classcomms_1_1Message.html#a43d474f5037090d6d749419c51f2e100">DispatchRetType</a> <a class="code hl_function" href="classcomms_1_1Message.html#af2781055a9fb72a553d56cfd6ac99c5e">dispatch</a>(<a class="code hl_typedef" href="classcomms_1_1Message.html#a30b17e6aee609c0bb061556f4a0979bb">Handler</a>& handler);</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> </div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a1a7c7b92d38774a038fbdedb3e0f99cc"> 325</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#a1a7c7b92d38774a038fbdedb3e0f99cc">TransportFields</a> = FieldsProvidedWithOption;</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> </div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a983703c5c390f872ad0ca84c570903f4"> 339</a></span> <a class="code hl_typedef" href="classcomms_1_1Message.html#a1a7c7b92d38774a038fbdedb3e0f99cc">TransportFields</a>& <a class="code hl_function" href="classcomms_1_1Message.html#a983703c5c390f872ad0ca84c570903f4">transportFields</a>();</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> </div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aa0f45b54cdea082b3979027f30d3e7c9"> 345</a></span> <span class="keyword">const</span> <a class="code hl_typedef" href="classcomms_1_1Message.html#a1a7c7b92d38774a038fbdedb3e0f99cc">TransportFields</a>& <a class="code hl_function" href="classcomms_1_1Message.html#aa0f45b54cdea082b3979027f30d3e7c9">transportFields</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> </div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#adf1cc4a66938068978b802ae5b76a2d1"> 350</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classcomms_1_1Message.html#adf1cc4a66938068978b802ae5b76a2d1">VersionType</a> = <span class="keyword">typename</span> BaseImpl::VersionType;</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> </div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a36f143193052b124cf3591c098b267f0"> 355</a></span> <a class="code hl_typedef" href="classcomms_1_1Message.html#adf1cc4a66938068978b802ae5b76a2d1">VersionType</a>& <a class="code hl_function" href="classcomms_1_1Message.html#a36f143193052b124cf3591c098b267f0">version</a>();</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> </div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a891f8d882aa18112c21f3f0cb6b0e331"> 360</a></span> <span class="keyword">const</span> <a class="code hl_typedef" href="classcomms_1_1Message.html#adf1cc4a66938068978b802ae5b76a2d1">VersionType</a>& <a class="code hl_function" href="classcomms_1_1Message.html#a891f8d882aa18112c21f3f0cb6b0e331">version</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span><span class="preprocessor">#endif </span><span class="comment">// #ifdef FOR_DOXYGEN_DOC_ONLY</span></div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> </div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> </div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span><span class="preprocessor">#ifdef FOR_DOXYGEN_DOC_ONLY</span></div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#aa8e70f9849dc35cc25018207d556b691"> 373</a></span> <span class="keyword">virtual</span> <a class="code hl_typedef" href="classcomms_1_1Message.html#aa99780161941773e6bbe2767675c4a03">MsgIdParamType</a> <a class="code hl_function" href="classcomms_1_1Message.html#aa8e70f9849dc35cc25018207d556b691">getIdImpl</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> </div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a8679fd222f23e632097defc811aefbd6"> 384</a></span> <span class="keyword">virtual</span> <a class="code hl_enumeration" href="namespacecomms.html#a0a259a03d68bce98b4a129fb34aaa2e1">comms::ErrorStatus</a> <a class="code hl_function" href="classcomms_1_1Message.html#a8679fd222f23e632097defc811aefbd6">readImpl</a>(<a class="code hl_typedef" href="classcomms_1_1Message.html#a463c7edb3734bffca6c41b9cee3d3f0a">ReadIterator</a>& iter, std::size_t size);</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> </div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#ae7ae2afc3e5059b9728644dd7034f817"> 395</a></span> <span class="keyword">virtual</span> <a class="code hl_enumeration" href="namespacecomms.html#a0a259a03d68bce98b4a129fb34aaa2e1">comms::ErrorStatus</a> <a class="code hl_function" href="classcomms_1_1Message.html#ae7ae2afc3e5059b9728644dd7034f817">writeImpl</a>(<a class="code hl_typedef" href="classcomms_1_1Message.html#aee6698a41e3975ed6047dac727fe9a0c">WriteIterator</a>& iter, std::size_t size) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span> </div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a7c16f0064741a8fad3ff76a4b5654bf5"> 404</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#a7c16f0064741a8fad3ff76a4b5654bf5">validImpl</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span> </div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#ad7ec1d8f1eb313d3fc4b21febe118f6e"> 415</a></span> <span class="keyword">virtual</span> std::size_t <a class="code hl_function" href="classcomms_1_1Message.html#ad7ec1d8f1eb313d3fc4b21febe118f6e">lengthImpl</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> </div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#af39437bde1292832507e97885fee114f"> 426</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classcomms_1_1Message.html#af39437bde1292832507e97885fee114f">refreshImpl</a>();</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> </div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#ab89e468c618e0f3697c73ffb98bc9d54"> 436</a></span> <span class="keyword">virtual</span> <a class="code hl_typedef" href="classcomms_1_1Message.html#a43d474f5037090d6d749419c51f2e100">DispatchRetType</a> <a class="code hl_function" href="classcomms_1_1Message.html#ab89e468c618e0f3697c73ffb98bc9d54">dispatchImpl</a>(<a class="code hl_typedef" href="classcomms_1_1Message.html#a30b17e6aee609c0bb061556f4a0979bb">Handler</a>& handler);</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> </div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#ab1a086137b376f3b3bfa68b32af607d4"> 442</a></span> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="classcomms_1_1Message.html#ab1a086137b376f3b3bfa68b32af607d4">nameImpl</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"> 443</span> </div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> TIter></div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a5ebf1dd77a1c6458392a9001d187ad45"> 459</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcomms_1_1Message.html#a5ebf1dd77a1c6458392a9001d187ad45">writeData</a>(T value, TIter& iter);</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> </div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span> <span class="keyword">template</span> <std::<span class="keywordtype">size_t</span> TSize, <span class="keyword">typename</span> T, <span class="keyword">typename</span> TIter></div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#abe23293aedd424af62bd5f4d05571b59"> 478</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcomms_1_1Message.html#abe23293aedd424af62bd5f4d05571b59">writeData</a>(T value, TIter& iter);</div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span> </div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"> 495</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> TIter></div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#ac484455094ac1eb1aa189bdc6d527ded"> 496</a></span> <span class="keyword">static</span> T <a class="code hl_function" href="classcomms_1_1Message.html#ac484455094ac1eb1aa189bdc6d527ded">readData</a>(TIter& iter);</div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span> </div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T, std::<span class="keywordtype">size_t</span> TSize, <span class="keyword">typename</span> TIter></div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a51c517d87946dea783a006f34a9868c8"> 515</a></span> <span class="keyword">static</span> T <a class="code hl_function" href="classcomms_1_1Message.html#a51c517d87946dea783a006f34a9868c8">readData</a>(TIter& iter);</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"> 516</span> </div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span><span class="preprocessor">#endif </span><span class="comment">// #ifdef FOR_DOXYGEN_DOC_ONLY</span></div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno"> 518</span>};</div>
</div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"> 519</span> </div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"> 522</span><span class="keyword">template</span> <<span class="keyword">typename</span>... TOptions></div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno"> 523</span><span class="keyword">inline</span></div>
<div class="foldopen" id="foldopen00524" data-start="{" data-end="}">
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"><a class="line" href="namespacecomms.html#ae8e6a06142a4a0684fa58bc780c9fb8a"> 524</a></span><a class="code hl_class" href="classcomms_1_1Message.html">Message</a><TOptions...>& <a class="code hl_function" href="namespacecomms.html#ae8e6a06142a4a0684fa58bc780c9fb8a">toMessage</a>(<a class="code hl_class" href="classcomms_1_1Message.html">Message<TOptions...></a>& msg)</div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"> 525</span>{</div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno"> 526</span> <span class="keywordflow">return</span> msg;</div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"> 527</span>}</div>
</div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"> 528</span> </div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span><span class="keyword">template</span> <<span class="keyword">typename</span>... TOptions></div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span><span class="keyword">inline</span></div>
<div class="foldopen" id="foldopen00533" data-start="{" data-end="}">
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"><a class="line" href="namespacecomms.html#aa1570eb8cd769bea17115377fb10f1c8"> 533</a></span><span class="keyword">const</span> <a class="code hl_class" href="classcomms_1_1Message.html">Message</a><TOptions...>& <a class="code hl_function" href="namespacecomms.html#ae8e6a06142a4a0684fa58bc780c9fb8a">toMessage</a>(<span class="keyword">const</span> <a class="code hl_class" href="classcomms_1_1Message.html">Message<TOptions...></a>& msg)</div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"> 534</span>{</div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"> 535</span> <span class="keywordflow">return</span> msg;</div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span>}</div>
</div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span> </div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
<div class="foldopen" id="foldopen00543" data-start="{" data-end="}">
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"><a class="line" href="namespacecomms.html#a3ed34619c9153ce1e4f5243e63825cb6"> 543</a></span><span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespacecomms.html#a3ed34619c9153ce1e4f5243e63825cb6">isMessage</a>()</div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span>{</div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span> <span class="keywordflow">return</span> details::hasInterfaceOptions<T>();</div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span>}</div>
</div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"> 547</span> </div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"> 556</span><span class="keyword">template</span> <<span class="keyword">typename</span> TMsg, <span class="keyword">typename</span> TDefaultType = std::<span class="keywordtype">int</span>max_t></div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"><a class="line" href="namespacecomms.html#a6e4df982066e6271a25217d483f6034b"> 557</a></span><span class="keyword">using </span><a class="code hl_typedef" href="namespacecomms.html#a6e4df982066e6271a25217d483f6034b">MessageIdType</a> =</div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> <span class="keyword">typename</span> comms::util::LazyDeepConditional<</div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno"> 559</span> TMsg::InterfaceOptions::HasMsgIdType</div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno"> 560</span> >::template Type<</div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno"> 561</span> comms::details::MessageIdTypeRetriever,</div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"> 562</span> comms::util::AliasType,</div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span> TDefaultType, TMsg</div>
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno"> 564</span> >;</div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"> 565</span>} <span class="comment">// namespace comms</span></div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"> 566</span> </div>
<div class="foldopen" id="foldopen00575" data-start="" data-end="">
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#ada784673f02d483a88fcf0c451cb72bd"> 575</a></span><span class="preprocessor">#define COMMS_MSG_TRANSPORT_FIELDS_ACCESS(...) \</span></div>
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"> 576</span><span class="preprocessor"> COMMS_EXPAND(COMMS_DEFINE_TRANSPORT_FIELD_ENUM(__VA_ARGS__)) \</span></div>
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"> 577</span><span class="preprocessor"> COMMS_MSG_TRANSPORT_FIELDS_ACCESS_FUNC { \</span></div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"> 578</span><span class="preprocessor"> auto& msgBase = comms::toMessage(*this); \</span></div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"> 579</span><span class="preprocessor"> using MsgBase = typename std::decay<decltype(msgBase)>::type; \</span></div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno"> 580</span><span class="preprocessor"> static_assert(MsgBase::hasTransportFields(), \</span></div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno"> 581</span><span class="preprocessor"> "Message interface class doesn't define extra transport fields."); \</span></div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"> 582</span><span class="preprocessor"> using TransportFieldsTuple = typename MsgBase::TransportFields; \</span></div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"> 583</span><span class="preprocessor"> static_assert(std::tuple_size<TransportFieldsTuple>::value == TransportFieldIdx_numOfValues, \</span></div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno"> 584</span><span class="preprocessor"> "Invalid number of names for transport fields tuple"); \</span></div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"> 585</span><span class="preprocessor"> return msgBase.transportFields(); \</span></div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span><span class="preprocessor"> } \</span></div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span><span class="preprocessor"> COMMS_MSG_TRANSPORT_FIELDS_ACCESS_CONST_FUNC { \</span></div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"> 588</span><span class="preprocessor"> return comms::toMessage(*this).transportFields(); \</span></div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span><span class="preprocessor"> } \</span></div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"> 590</span><span class="preprocessor"> COMMS_EXPAND(COMMS_DO_TRANSPORT_FIELD_ACC_FUNC(TransportFields, transportFields(), __VA_ARGS__))</span></div>
</div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"> 591</span> </div>
<div class="foldopen" id="foldopen00716" data-start="" data-end="">
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a00912bb201d47afbb0c3e51fff95b338"> 716</a></span><span class="preprocessor">#define COMMS_MSG_TRANSPORT_FIELDS_NAMES(...) \</span></div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno"> 717</span><span class="preprocessor"> COMMS_EXPAND(COMMS_MSG_TRANSPORT_FIELDS_ACCESS(__VA_ARGS__)) \</span></div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno"> 718</span><span class="preprocessor"> COMMS_EXPAND(COMMS_DO_FIELD_TYPEDEF(typename Base::TransportFields, TransportField_, TransportFieldIdx_, __VA_ARGS__))</span></div>
</div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno"> 719</span> </div>
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#a33954a8d8c1b0e04175ada3e840bcb83"> 733</a></span><span class="preprocessor">#define COMMS_MSG_TRANSPORT_FIELD_ALIAS_ACCESS(f_, ...) COMMS_EXPAND(COMMS_DO_ALIAS(transportField_, f_, __VA_ARGS__))</span></div>
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno"> 734</span> </div>
<div class="line"><a id="l00742" name="l00742"></a><span class="lineno"><a class="line" href="Message_8h.html#ad869d496cd7e59771fb13079970cd102"> 742</a></span><span class="preprocessor">#define COMMS_MSG_TRANSPORT_FIELD_ALIAS_ACCESS_NOTEMPLATE(f_, ...) COMMS_EXPAND(COMMS_DO_ALIAS_NOTEMPLATE(transportField_, f_, __VA_ARGS__))</span></div>
<div class="line"><a id="l00743" name="l00743"></a><span class="lineno"> 743</span> </div>
<div class="foldopen" id="foldopen00845" data-start="" data-end="">
<div class="line"><a id="l00845" name="l00845"></a><span class="lineno"><a class="line" href="classcomms_1_1Message.html#adfa416afa2a8a77af9c46b42d3034f3e"> 845</a></span><span class="preprocessor">#define COMMS_MSG_TRANSPORT_FIELD_ALIAS(f_, ...) \</span></div>
<div class="line"><a id="l00846" name="l00846"></a><span class="lineno"> 846</span><span class="preprocessor"> COMMS_EXPAND(COMMS_MSG_TRANSPORT_FIELD_ALIAS_ACCESS(f_, __VA_ARGS__)) \</span></div>
<div class="line"><a id="l00847" name="l00847"></a><span class="lineno"> 847</span><span class="preprocessor"> COMMS_EXPAND(COMMS_DO_ALIAS_TYPEDEF(TransportField_, f_, __VA_ARGS__))</span></div>
</div>
<div class="line"><a id="l00848" name="l00848"></a><span class="lineno"> 848</span> </div>
<div class="foldopen" id="foldopen00856" data-start="" data-end="">
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno"><a class="line" href="Message_8h.html#a6fe96d7272148945853ce61572b3d4b1"> 856</a></span><span class="preprocessor">#define COMMS_MSG_TRANSPORT_FIELD_ALIAS_NOTEMPLATE(f_, ...) \</span></div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno"> 857</span><span class="preprocessor"> COMMS_EXPAND(COMMS_MSG_TRANSPORT_FIELD_ALIAS_ACCESS_NOTEMPLATE(f_, __VA_ARGS__)) \</span></div>
<div class="line"><a id="l00858" name="l00858"></a><span class="lineno"> 858</span><span class="preprocessor"> COMMS_EXPAND(COMMS_DO_ALIAS_TYPEDEF(TransportField_, f_, __VA_ARGS__))</span></div>
</div>
<div class="ttc" id="aAssert_8h_html"><div class="ttname"><a href="Assert_8h.html">Assert.h</a></div><div class="ttdoc">This file contains classes required for generic custom assertion functionality.</div></div>
<div class="ttc" id="aErrorStatus_8h_html"><div class="ttname"><a href="ErrorStatus_8h.html">ErrorStatus.h</a></div><div class="ttdoc">This file contain definition of error statuses used by comms module.</div></div>
<div class="ttc" id="aField_8h_html"><div class="ttname"><a href="Field_8h.html">Field.h</a></div><div class="ttdoc">Contains definition of comms::Field class.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html"><div class="ttname"><a href="classcomms_1_1Message.html">comms::Message</a></div><div class="ttdoc">Main interface class for all the messages.</div><div class="ttdef"><b>Definition</b> Message.h:80</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a133c135fda72ca2257fed0f5427053b4"><div class="ttname"><a href="classcomms_1_1Message.html#a133c135fda72ca2257fed0f5427053b4">comms::Message::hasValid</a></div><div class="ttdeci">static constexpr bool hasValid()</div><div class="ttdoc">Compile type inquiry whether message interface class defines valid() and validImpl() member functions...</div><div class="ttdef"><b>Definition</b> Message.h:134</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a13724033c28237b389725d379d1f5b9f"><div class="ttname"><a href="classcomms_1_1Message.html#a13724033c28237b389725d379d1f5b9f">comms::Message::hasEndian</a></div><div class="ttdeci">static constexpr bool hasEndian()</div><div class="ttdoc">Compile type inquiry whether message interface class defines Endian and Field types.</div><div class="ttdef"><b>Definition</b> Message.h:104</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a1a7c7b92d38774a038fbdedb3e0f99cc"><div class="ttname"><a href="classcomms_1_1Message.html#a1a7c7b92d38774a038fbdedb3e0f99cc">comms::Message::TransportFields</a></div><div class="ttdeci">FieldsProvidedWithOption TransportFields</div><div class="ttdoc">std::tuple of extra fields from transport layers that may affect the way the message fields get seria...</div><div class="ttdef"><b>Definition</b> Message.h:325</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a1bb35fb9379a188ce663079c956b3f80"><div class="ttname"><a href="classcomms_1_1Message.html#a1bb35fb9379a188ce663079c956b3f80">comms::Message::Endian</a></div><div class="ttdeci">typename BaseImpl::Endian Endian</div><div class="ttdoc">Serialisation endian type.</div><div class="ttdef"><b>Definition</b> Message.h:209</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a1cab88111f9e395e71f8a8eb05c99fb5"><div class="ttname"><a href="classcomms_1_1Message.html#a1cab88111f9e395e71f8a8eb05c99fb5">comms::Message::hasRead</a></div><div class="ttdeci">static constexpr bool hasRead()</div><div class="ttdoc">Compile type inquiry whether message interface class defines read() and readImpl() member functions a...</div><div class="ttdef"><b>Definition</b> Message.h:119</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a1d74062683710d3e3807937227a99318"><div class="ttname"><a href="classcomms_1_1Message.html#a1d74062683710d3e3807937227a99318">comms::Message::versionIdxInTransportFields</a></div><div class="ttdeci">static constexpr std::size_t versionIdxInTransportFields()</div><div class="ttdoc">Compile type inquiry of version field index in transport field.</div><div class="ttdef"><b>Definition</b> Message.h:179</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a2e92ee93252dcf912384ade08349dd74"><div class="ttname"><a href="classcomms_1_1Message.html#a2e92ee93252dcf912384ade08349dd74">comms::Message::~Message</a></div><div class="ttdeci">~Message() noexcept=default</div><div class="ttdoc">Destructor.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a30b17e6aee609c0bb061556f4a0979bb"><div class="ttname"><a href="classcomms_1_1Message.html#a30b17e6aee609c0bb061556f4a0979bb">comms::Message::Handler</a></div><div class="ttdeci">TypeProvidedWithOption Handler</div><div class="ttdoc">Type of the message handler object.</div><div class="ttdef"><b>Definition</b> Message.h:307</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a36f143193052b124cf3591c098b267f0"><div class="ttname"><a href="classcomms_1_1Message.html#a36f143193052b124cf3591c098b267f0">comms::Message::version</a></div><div class="ttdeci">VersionType & version()</div><div class="ttdoc">Access to version information.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a37efad282638409ff120b999954c2117"><div class="ttname"><a href="classcomms_1_1Message.html#a37efad282638409ff120b999954c2117">comms::Message::hasMsgIdType</a></div><div class="ttdeci">static constexpr bool hasMsgIdType()</div><div class="ttdoc">Compile type inquiry whether message interface class defines MsgIdType and MsgIdParamType types.</div><div class="ttdef"><b>Definition</b> Message.h:97</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a43d474f5037090d6d749419c51f2e100"><div class="ttname"><a href="classcomms_1_1Message.html#a43d474f5037090d6d749419c51f2e100">comms::Message::DispatchRetType</a></div><div class="ttdeci">typename Handler::RetType DispatchRetType</div><div class="ttdoc">Return type of the dispatch() member function.</div><div class="ttdef"><b>Definition</b> Message.h:311</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a463c7edb3734bffca6c41b9cee3d3f0a"><div class="ttname"><a href="classcomms_1_1Message.html#a463c7edb3734bffca6c41b9cee3d3f0a">comms::Message::ReadIterator</a></div><div class="ttdeci">TypeProvidedWithOption ReadIterator</div><div class="ttdoc">Type of the iterator used for reading message contents from sequence of bytes stored somewhere.</div><div class="ttdef"><b>Definition</b> Message.h:230</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a4cd3705f965f28c601858aced3f16c48"><div class="ttname"><a href="classcomms_1_1Message.html#a4cd3705f965f28c601858aced3f16c48">comms::Message::Field</a></div><div class="ttdeci">BaseImpl::Field Field</div><div class="ttdoc">Type of default base class for all the fields.</div><div class="ttdef"><b>Definition</b> Message.h:215</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a51c517d87946dea783a006f34a9868c8"><div class="ttname"><a href="classcomms_1_1Message.html#a51c517d87946dea783a006f34a9868c8">comms::Message::readData</a></div><div class="ttdeci">static T readData(TIter &iter)</div><div class="ttdoc">Read partial data from input area.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a57f6dc0452da23c5cdf25ec56b26df80"><div class="ttname"><a href="classcomms_1_1Message.html#a57f6dc0452da23c5cdf25ec56b26df80">comms::Message::hasTransportFields</a></div><div class="ttdeci">static constexpr bool hasTransportFields()</div><div class="ttdoc">Compile type inquiry whether message interface class defines transportFields() member functions as we...</div><div class="ttdef"><b>Definition</b> Message.h:164</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a5ebf1dd77a1c6458392a9001d187ad45"><div class="ttname"><a href="classcomms_1_1Message.html#a5ebf1dd77a1c6458392a9001d187ad45">comms::Message::writeData</a></div><div class="ttdeci">static void writeData(T value, TIter &iter)</div><div class="ttdoc">Write data into the output area.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a666cf5c4acf17424d67be09c13212c25"><div class="ttname"><a href="classcomms_1_1Message.html#a666cf5c4acf17424d67be09c13212c25">comms::Message::InterfaceOptions</a></div><div class="ttdeci">details::MessageInterfaceOptionsParser< TOptions... > InterfaceOptions</div><div class="ttdoc">All the options bundled into struct.</div><div class="ttdef"><b>Definition</b> Message.h:86</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a77396db2ec7a29de4bf335af49e1d760"><div class="ttname"><a href="classcomms_1_1Message.html#a77396db2ec7a29de4bf335af49e1d760">comms::Message::read</a></div><div class="ttdeci">ErrorStatus read(ReadIterator &iter, std::size_t size)</div><div class="ttdoc">Read message contents using provided iterator.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a7c16f0064741a8fad3ff76a4b5654bf5"><div class="ttname"><a href="classcomms_1_1Message.html#a7c16f0064741a8fad3ff76a4b5654bf5">comms::Message::validImpl</a></div><div class="ttdeci">virtual bool validImpl() const</div><div class="ttdoc">Pure virtual function used to implement contents validity check.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a8679fd222f23e632097defc811aefbd6"><div class="ttname"><a href="classcomms_1_1Message.html#a8679fd222f23e632097defc811aefbd6">comms::Message::readImpl</a></div><div class="ttdeci">virtual comms::ErrorStatus readImpl(ReadIterator &iter, std::size_t size)</div><div class="ttdoc">Virtual function used to implement read operation.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a891f8d882aa18112c21f3f0cb6b0e331"><div class="ttname"><a href="classcomms_1_1Message.html#a891f8d882aa18112c21f3f0cb6b0e331">comms::Message::version</a></div><div class="ttdeci">const VersionType & version() const</div><div class="ttdoc">Const access to version information.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a91dba816185287db6d38a3274743f6cf"><div class="ttname"><a href="classcomms_1_1Message.html#a91dba816185287db6d38a3274743f6cf">comms::Message::length</a></div><div class="ttdeci">std::size_t length() const</div><div class="ttdoc">Get number of bytes required to serialise this message.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a92016715ef5f94e28a8e23ab9a344cdc"><div class="ttname"><a href="classcomms_1_1Message.html#a92016715ef5f94e28a8e23ab9a344cdc">comms::Message::name</a></div><div class="ttdeci">const char * name() const</div><div class="ttdoc">Get name of the message.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_a983703c5c390f872ad0ca84c570903f4"><div class="ttname"><a href="classcomms_1_1Message.html#a983703c5c390f872ad0ca84c570903f4">comms::Message::transportFields</a></div><div class="ttdeci">TransportFields & transportFields()</div><div class="ttdoc">Get access to extra transport fields.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aa00be33cb01b7e9cdee9ecebfa54c171"><div class="ttname"><a href="classcomms_1_1Message.html#aa00be33cb01b7e9cdee9ecebfa54c171">comms::Message::hasGetId</a></div><div class="ttdeci">static constexpr bool hasGetId()</div><div class="ttdoc">Compile type inquiry whether message interface class defines getId() and getIdImpl() member functions...</div><div class="ttdef"><b>Definition</b> Message.h:111</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aa0f45b54cdea082b3979027f30d3e7c9"><div class="ttname"><a href="classcomms_1_1Message.html#aa0f45b54cdea082b3979027f30d3e7c9">comms::Message::transportFields</a></div><div class="ttdeci">const TransportFields & transportFields() const</div><div class="ttdoc">Const version of transportFields.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aa7a317a10acda2cd7affd8b69a7b459a"><div class="ttname"><a href="classcomms_1_1Message.html#aa7a317a10acda2cd7affd8b69a7b459a">comms::Message::hasWrite</a></div><div class="ttdeci">static constexpr bool hasWrite()</div><div class="ttdoc">Compile type inquiry whether message interface class defines write() and writeImpl() member functions...</div><div class="ttdef"><b>Definition</b> Message.h:127</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aa7bb56b0758dfa9a8f9be12d3b8295a2"><div class="ttname"><a href="classcomms_1_1Message.html#aa7bb56b0758dfa9a8f9be12d3b8295a2">comms::Message::MsgIdType</a></div><div class="ttdeci">typename BaseImpl::MsgIdType MsgIdType</div><div class="ttdoc">Type used for message ID.</div><div class="ttdef"><b>Definition</b> Message.h:196</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aa8e70f9849dc35cc25018207d556b691"><div class="ttname"><a href="classcomms_1_1Message.html#aa8e70f9849dc35cc25018207d556b691">comms::Message::getIdImpl</a></div><div class="ttdeci">virtual MsgIdParamType getIdImpl() const =0</div><div class="ttdoc">Pure virtual function used to retrieve ID of the message.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aa99780161941773e6bbe2767675c4a03"><div class="ttname"><a href="classcomms_1_1Message.html#aa99780161941773e6bbe2767675c4a03">comms::Message::MsgIdParamType</a></div><div class="ttdeci">typename BaseImpl::MsgIdParamType MsgIdParamType</div><div class="ttdoc">Type used for message ID passed as parameter or returned from function.</div><div class="ttdef"><b>Definition</b> Message.h:203</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aaac9fd890f4efb1263179c3799d52098"><div class="ttname"><a href="classcomms_1_1Message.html#aaac9fd890f4efb1263179c3799d52098">comms::Message::getId</a></div><div class="ttdeci">MsgIdParamType getId() const</div><div class="ttdoc">Retrieve ID of the message.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aaaded9d46874a89824e91c962524836d"><div class="ttname"><a href="classcomms_1_1Message.html#aaaded9d46874a89824e91c962524836d">comms::Message::hasLength</a></div><div class="ttdeci">static constexpr bool hasLength()</div><div class="ttdoc">Compile type inquiry whether message interface class defines length() and lengthImpl() member functio...</div><div class="ttdef"><b>Definition</b> Message.h:141</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_ab1a086137b376f3b3bfa68b32af607d4"><div class="ttname"><a href="classcomms_1_1Message.html#ab1a086137b376f3b3bfa68b32af607d4">comms::Message::nameImpl</a></div><div class="ttdeci">virtual const char * nameImpl() const =0</div><div class="ttdoc">Pure virtual function used to retrieve actual message name.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_ab89e468c618e0f3697c73ffb98bc9d54"><div class="ttname"><a href="classcomms_1_1Message.html#ab89e468c618e0f3697c73ffb98bc9d54">comms::Message::dispatchImpl</a></div><div class="ttdeci">virtual DispatchRetType dispatchImpl(Handler &handler)</div><div class="ttdoc">Virtual function used to dispatch message to the handler object for processing.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_abcaf6e76e7639112d33a04683a4e1a43"><div class="ttname"><a href="classcomms_1_1Message.html#abcaf6e76e7639112d33a04683a4e1a43">comms::Message::hasName</a></div><div class="ttdeci">static constexpr bool hasName()</div><div class="ttdoc">Compile type inquiry whether message interface class defines name() and nameImpl() member functions.</div><div class="ttdef"><b>Definition</b> Message.h:186</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_abe23293aedd424af62bd5f4d05571b59"><div class="ttname"><a href="classcomms_1_1Message.html#abe23293aedd424af62bd5f4d05571b59">comms::Message::writeData</a></div><div class="ttdeci">static void writeData(T value, TIter &iter)</div><div class="ttdoc">Write partial data into the output area.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_ac484455094ac1eb1aa189bdc6d527ded"><div class="ttname"><a href="classcomms_1_1Message.html#ac484455094ac1eb1aa189bdc6d527ded">comms::Message::readData</a></div><div class="ttdeci">static T readData(TIter &iter)</div><div class="ttdoc">Read data from input area.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_ac861cf1ef73973117f7842e567b05a13"><div class="ttname"><a href="classcomms_1_1Message.html#ac861cf1ef73973117f7842e567b05a13">comms::Message::write</a></div><div class="ttdeci">ErrorStatus write(WriteIterator &iter, std::size_t size) const</div><div class="ttdoc">Write message contents using provided iterator.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_ad7ec1d8f1eb313d3fc4b21febe118f6e"><div class="ttname"><a href="classcomms_1_1Message.html#ad7ec1d8f1eb313d3fc4b21febe118f6e">comms::Message::lengthImpl</a></div><div class="ttdeci">virtual std::size_t lengthImpl() const</div><div class="ttdoc">Virtual function used to retrieve number of bytes required to serialise this message.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_adf1cc4a66938068978b802ae5b76a2d1"><div class="ttname"><a href="classcomms_1_1Message.html#adf1cc4a66938068978b802ae5b76a2d1">comms::Message::VersionType</a></div><div class="ttdeci">typename BaseImpl::VersionType VersionType</div><div class="ttdoc">Type used for version info.</div><div class="ttdef"><b>Definition</b> Message.h:350</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_adf78ac63decb13777fd7d203de01fdd1"><div class="ttname"><a href="classcomms_1_1Message.html#adf78ac63decb13777fd7d203de01fdd1">comms::Message::refresh</a></div><div class="ttdeci">bool refresh()</div><div class="ttdoc">Refresh to contents of the message.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_ae0929a96d1cb0c12a2b2a383ebd015ef"><div class="ttname"><a href="classcomms_1_1Message.html#ae0929a96d1cb0c12a2b2a383ebd015ef">comms::Message::hasRefresh</a></div><div class="ttdeci">static constexpr bool hasRefresh()</div><div class="ttdoc">Compile type inquiry whether message interface class defines refresh() and refreshImpl() member funct...</div><div class="ttdef"><b>Definition</b> Message.h:148</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_ae7ae2afc3e5059b9728644dd7034f817"><div class="ttname"><a href="classcomms_1_1Message.html#ae7ae2afc3e5059b9728644dd7034f817">comms::Message::writeImpl</a></div><div class="ttdeci">virtual comms::ErrorStatus writeImpl(WriteIterator &iter, std::size_t size) const</div><div class="ttdoc">Virtual function used to implement write operation.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aeb62f73f8c7db3745491ce668171af5f"><div class="ttname"><a href="classcomms_1_1Message.html#aeb62f73f8c7db3745491ce668171af5f">comms::Message::valid</a></div><div class="ttdeci">bool valid() const</div><div class="ttdoc">Check validity of message contents.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aec8ad53f1b5aa5f06a0d47c7d9585783"><div class="ttname"><a href="classcomms_1_1Message.html#aec8ad53f1b5aa5f06a0d47c7d9585783">comms::Message::hasDispatch</a></div><div class="ttdeci">static constexpr bool hasDispatch()</div><div class="ttdoc">Compile type inquiry whether message interface class defines dispatch() and dispatchImpl() member fun...</div><div class="ttdef"><b>Definition</b> Message.h:156</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_aee6698a41e3975ed6047dac727fe9a0c"><div class="ttname"><a href="classcomms_1_1Message.html#aee6698a41e3975ed6047dac727fe9a0c">comms::Message::WriteIterator</a></div><div class="ttdeci">TypeProvidedWithOption WriteIterator</div><div class="ttdoc">Type of the iterator used for writing message contents into sequence of bytes stored somewhere.</div><div class="ttdef"><b>Definition</b> Message.h:250</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_af2781055a9fb72a553d56cfd6ac99c5e"><div class="ttname"><a href="classcomms_1_1Message.html#af2781055a9fb72a553d56cfd6ac99c5e">comms::Message::dispatch</a></div><div class="ttdeci">DispatchRetType dispatch(Handler &handler)</div><div class="ttdoc">Dispatch message to the handler for processing.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_af39437bde1292832507e97885fee114f"><div class="ttname"><a href="classcomms_1_1Message.html#af39437bde1292832507e97885fee114f">comms::Message::refreshImpl</a></div><div class="ttdeci">virtual bool refreshImpl()</div><div class="ttdoc">Virtual function used to bring contents of the message into a consistent state.</div></div>
<div class="ttc" id="aclasscomms_1_1Message_html_afa8cdb390a3a51811a5a836cff0b7828"><div class="ttname"><a href="classcomms_1_1Message.html#afa8cdb390a3a51811a5a836cff0b7828">comms::Message::hasVersionInTransportFields</a></div><div class="ttdeci">static constexpr bool hasVersionInTransportFields()</div><div class="ttdoc">Compile type inquiry whether there is version information inside transport fields.</div><div class="ttdef"><b>Definition</b> Message.h:171</div></div>
<div class="ttc" id="anamespacecomms_html"><div class="ttname"><a href="namespacecomms.html">comms</a></div><div class="ttdoc">Main namespace for all classes / functions of COMMS library.</div></div>
<div class="ttc" id="anamespacecomms_html_a0a259a03d68bce98b4a129fb34aaa2e1"><div class="ttname"><a href="namespacecomms.html#a0a259a03d68bce98b4a129fb34aaa2e1">comms::ErrorStatus</a></div><div class="ttdeci">ErrorStatus</div><div class="ttdoc">Error statuses reported by the Communication module.</div><div class="ttdef"><b>Definition</b> ErrorStatus.h:17</div></div>
<div class="ttc" id="anamespacecomms_html_a3ed34619c9153ce1e4f5243e63825cb6"><div class="ttname"><a href="namespacecomms.html#a3ed34619c9153ce1e4f5243e63825cb6">comms::isMessage</a></div><div class="ttdeci">constexpr bool isMessage()</div><div class="ttdoc">Compile time check of of whether the type is a message.</div><div class="ttdef"><b>Definition</b> Message.h:543</div></div>
<div class="ttc" id="anamespacecomms_html_a6e4df982066e6271a25217d483f6034b"><div class="ttname"><a href="namespacecomms.html#a6e4df982066e6271a25217d483f6034b">comms::MessageIdType</a></div><div class="ttdeci">typename comms::util::LazyDeepConditional< TMsg::InterfaceOptions::HasMsgIdType >::template Type< comms::details::MessageIdTypeRetriever, comms::util::AliasType, TDefaultType, TMsg > MessageIdType</div><div class="ttdoc">Get type of message ID used by interface class.</div><div class="ttdef"><b>Definition</b> Message.h:564</div></div>
<div class="ttc" id="anamespacecomms_html_ae8e6a06142a4a0684fa58bc780c9fb8a"><div class="ttname"><a href="namespacecomms.html#ae8e6a06142a4a0684fa58bc780c9fb8a">comms::toMessage</a></div><div class="ttdeci">Message< TOptions... > & toMessage(Message< TOptions... > &msg)</div><div class="ttdoc">Upcast type of the message object to comms::Message in order to have access to its internal types.</div><div class="ttdef"><b>Definition</b> Message.h:524</div></div>
<div class="ttc" id="atype__traits_8h_html"><div class="ttname"><a href="type__traits_8h.html">type_traits.h</a></div><div class="ttdoc">Replacement to some types from standard type_traits.</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>