-
Notifications
You must be signed in to change notification settings - Fork 0
/
al___o_s_c_8hpp_source.html
553 lines (551 loc) · 108 KB
/
al___o_s_c_8hpp_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
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
<!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=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Allolib: al_OSC.hpp 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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">Allolib
 <span id="projectnumber">1.0</span>
</div>
<div id="projectbrief">C++ Components For Interactive Multimedia</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('al___o_s_c_8hpp_source.html',''); initResizable(); });
/* @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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">al_OSC.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef INCLUDE_AL_OSC_HPP</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define INCLUDE_AL_OSC_HPP</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/* Allocore --</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Multimedia / virtual environment application class library</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"></span> </div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> Copyright (C) 2009. AlloSphere Research Group, Media Arts & Technology,</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> UCSB. Copyright (C) 2012. The Regents of the University of California. All</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> rights reserved.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"></span> </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> modification, are permitted provided that the following conditions are</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> met:</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"></span> </div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"></span> </div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> Redistributions in binary form must reproduce the above</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> copyright notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> documentation and/or other materials provided with the</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> distribution.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"></span> </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> Neither the name of the University of California nor the names</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> of its contributors may be used to endorse or promote products derived from</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> this software without specific prior written permission.</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"></span> </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"></span> </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> File description:</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> Objects for reading, writing, sending, and receiving</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> OSC (Open Sound Control) packets.</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"></span> </div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"> File author(s):</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> Lance Putnam, 2010, [email protected]</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> Graham Wakefield, 2010, [email protected]</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> Keehong Youn, 2017, [email protected]</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment">*/</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#include <memory></span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#include <string></span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#include <vector></span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#include "al/system/al_Thread.hpp"</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor">#include "al/system/al_Time.hpp"</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">namespace </span><a class="code" href="namespaceal.html">al</a> {</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="namespaceal_1_1osc.html"> 59</a></span> <span class="keyword">namespace </span>osc {</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structal_1_1osc_1_1_blob.html"> 64</a></span> <span class="keyword">struct </span><a class="code" href="structal_1_1osc_1_1_blob.html">Blob</a> {</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="structal_1_1osc_1_1_blob.html">Blob</a>() {}</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">explicit</span> <a class="code" href="structal_1_1osc_1_1_blob.html">Blob</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *data_, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> size_)</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  : data(data_), size(size_) {}</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *data;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> size;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> };</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="namespaceal_1_1osc.html#accb2efcc953c31c94b5a08e38c29e21a"> 80</a></span> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="namespaceal_1_1osc.html#accb2efcc953c31c94b5a08e38c29e21a">TimeTag</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html"> 85</a></span> <span class="keyword">class </span><a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> {</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a440f932666cd0aaeb3aae695727f7a38"> 88</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a440f932666cd0aaeb3aae695727f7a38">Packet</a>(<span class="keywordtype">int</span> <a class="code" href="classal_1_1osc_1_1_packet.html#abf2a9778778b46cdace9fb55dab1f8ee">size</a> = 1024);</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a8376d988829a1bfdbe0fa0f059abb1e9"> 92</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a8376d988829a1bfdbe0fa0f059abb1e9">Packet</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *contents, <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_packet.html#abf2a9778778b46cdace9fb55dab1f8ee">size</a>);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  ~<a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a>();</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#ad180abe4468b5c4633236fb2253c9267"> 96</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classal_1_1osc_1_1_packet.html#ad180abe4468b5c4633236fb2253c9267">data</a>() <span class="keyword">const</span>; </div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a0b4e5beb76862fef9e48e253e24d8c74"> 97</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classal_1_1osc_1_1_packet.html#a0b4e5beb76862fef9e48e253e24d8c74">isMessage</a>() <span class="keyword">const</span>; </div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a3dd53ec87489963a25d4cae0d5de29c3"> 98</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classal_1_1osc_1_1_packet.html#a3dd53ec87489963a25d4cae0d5de29c3">isBundle</a>() <span class="keyword">const</span>; </div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a41694fa77ad2488ba0300ace91551e38"> 101</a></span>  <span class="keywordtype">void</span> <a class="code" href="classal_1_1osc_1_1_packet.html#a41694fa77ad2488ba0300ace91551e38">printRaw</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#abf2a9778778b46cdace9fb55dab1f8ee"> 104</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_packet.html#abf2a9778778b46cdace9fb55dab1f8ee">size</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a84b3f5ab37cf9237f1b3e5aaa595f663"> 107</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a84b3f5ab37cf9237f1b3e5aaa595f663">beginBundle</a>(<a class="code" href="namespaceal_1_1osc.html#accb2efcc953c31c94b5a08e38c29e21a">TimeTag</a> timeTag = 1);</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a28876c8c15e20e3e26b48d04f83b3842"> 110</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a28876c8c15e20e3e26b48d04f83b3842">endBundle</a>();</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763"> 113</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">beginMessage</a>(<span class="keyword">const</span> std::string &addressPattern);</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018"> 116</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">endMessage</a>();</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b"> 119</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">addMessage</a>(<span class="keyword">const</span> std::string &addr) {</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">beginMessage</a>(addr);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">endMessage</a>();</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  }</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#ae798637dc438ddb8b974d8d66c413045"> 125</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> A> <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#ae798637dc438ddb8b974d8d66c413045">addMessage</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a) {</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">beginMessage</a>(addr);</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  (*this) << a;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">endMessage</a>();</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  }</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B></div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a9d015199f59b91e84eaa8ca78fb9e476"> 133</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a9d015199f59b91e84eaa8ca78fb9e476">addMessage</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b) {</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">beginMessage</a>(addr);</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  (*this) << a << b;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">endMessage</a>();</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  }</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  </div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B, <span class="keyword">class</span> C></div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a7c44292b659f23773691a8a3d124966b"> 141</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a7c44292b659f23773691a8a3d124966b">addMessage</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b,</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">const</span> C &c) {</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">beginMessage</a>(addr);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  (*this) << a << b << c;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">endMessage</a>();</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B, <span class="keyword">class</span> C, <span class="keyword">class</span> D></div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#abf55aa36b5eb5d35c8ace8237d4b481a"> 150</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#abf55aa36b5eb5d35c8ace8237d4b481a">addMessage</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b,</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">const</span> C &c, <span class="keyword">const</span> D &d) {</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">beginMessage</a>(addr);</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  (*this) << a << b << c << d;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">endMessage</a>();</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  }</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B, <span class="keyword">class</span> C, <span class="keyword">class</span> D, <span class="keyword">class</span> E></div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a809700e5e372a3705601fd0a5407bb79"> 159</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a809700e5e372a3705601fd0a5407bb79">addMessage</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b,</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keyword">const</span> C &c, <span class="keyword">const</span> D &d, <span class="keyword">const</span> E &e) {</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">beginMessage</a>(addr);</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  (*this) << a << b << c << d << e;</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">endMessage</a>();</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  }</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B, <span class="keyword">class</span> C, <span class="keyword">class</span> D, <span class="keyword">class</span> E, <span class="keyword">class</span> F></div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#ab746d4d783b049332dc0713c0d51e0e7"> 168</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#ab746d4d783b049332dc0713c0d51e0e7">addMessage</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b,</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">const</span> C &c, <span class="keyword">const</span> D &d, <span class="keyword">const</span> E &e, <span class="keyword">const</span> F &f) {</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">beginMessage</a>(addr);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  (*this) << a << b << c << d << e << f;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">endMessage</a>();</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  }</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B, <span class="keyword">class</span> C, <span class="keyword">class</span> D, <span class="keyword">class</span> E, <span class="keyword">class</span> F, <span class="keyword">class</span> G></div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a5ab6c4052a3eb3ee7e7f9d271c4811f5"> 177</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a5ab6c4052a3eb3ee7e7f9d271c4811f5">addMessage</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b,</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">const</span> C &c, <span class="keyword">const</span> D &d, <span class="keyword">const</span> E &e, <span class="keyword">const</span> F &f,</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">const</span> G &g) {</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">beginMessage</a>(addr);</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  (*this) << a << b << c << d << e << f << g;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">endMessage</a>();</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  }</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keyword">template</span> <<span class="keyword">class </span>A, <span class="keyword">class </span>B, <span class="keyword">class </span>C, <span class="keyword">class </span>D, <span class="keyword">class </span>E, <span class="keyword">class </span>F, <span class="keyword">class </span>G,</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">class </span>H></div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a997b2f459b9e7a12b3ccf050145c2222"> 188</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a997b2f459b9e7a12b3ccf050145c2222">addMessage</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b,</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keyword">const</span> C &c, <span class="keyword">const</span> D &d, <span class="keyword">const</span> E &e, <span class="keyword">const</span> F &f, <span class="keyword">const</span> G &g,</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keyword">const</span> H &h) {</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">beginMessage</a>(addr);</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  (*this) << a << b << c << d << e << f << g << h;</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">endMessage</a>();</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  }</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  </div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a723bef9c804a59d2e99f1f1efb1ac1d1"> 196</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a723bef9c804a59d2e99f1f1efb1ac1d1">operator<<</a>(<span class="keywordtype">int</span> v); </div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a603a494ec38dc8a8595660a9298ef1d1"> 197</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a603a494ec38dc8a8595660a9298ef1d1">operator<<</a>(<span class="keywordtype">unsigned</span> v); </div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#ad48ebdaada81cef4d5ca63275f613470"> 198</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#ad48ebdaada81cef4d5ca63275f613470">operator<<</a>(<span class="keywordtype">float</span> v); </div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a226ea71e33d652f46e0993802be4ef10"> 199</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a226ea71e33d652f46e0993802be4ef10">operator<<</a>(<span class="keywordtype">double</span> v); </div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a91940e6be87a606b58523a2a56e72bd6"> 200</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a91940e6be87a606b58523a2a56e72bd6">operator<<</a>(<span class="keywordtype">char</span> v); </div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a4f23c34a2bdf0e0495cc86a1619dea68"> 201</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a4f23c34a2bdf0e0495cc86a1619dea68">operator<<</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *v); </div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a3640f394450f3d4d835dc49a026b305e"> 202</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a3640f394450f3d4d835dc49a026b305e">operator<<</a>(<span class="keyword">const</span> std::string &v); </div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a5d498ff87b451b383037bc615ef6f7b8"> 203</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a5d498ff87b451b383037bc615ef6f7b8">operator<<</a>(<span class="keyword">const</span> <a class="code" href="structal_1_1osc_1_1_blob.html">Blob</a> &v); </div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet.html#a9809d78d984c4fd4af5028d83cb5bb10"> 206</a></span>  <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &<a class="code" href="classal_1_1osc_1_1_packet.html#a9809d78d984c4fd4af5028d83cb5bb10">clear</a>();</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  </div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keyword">class </span>Impl;</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  Impl *mImpl;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  std::vector<char> mData;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> };</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  </div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html"> 217</a></span> <span class="keyword">class </span><a class="code" href="classal_1_1osc_1_1_message.html">Message</a> {</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#a180eeb9b95df5cd572e0ff4742ec9eb3"> 224</a></span>  <a class="code" href="classal_1_1osc_1_1_message.html#a180eeb9b95df5cd572e0ff4742ec9eb3">Message</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *message, <span class="keywordtype">int</span> size, <span class="keyword">const</span> <a class="code" href="namespaceal_1_1osc.html#accb2efcc953c31c94b5a08e38c29e21a">TimeTag</a> &<a class="code" href="classal_1_1osc_1_1_message.html#a1118451bf43c22da7c311ebd84543929">timeTag</a> = 1,</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *senderAddr = <span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  ~<a class="code" href="classal_1_1osc_1_1_message.html">Message</a>();</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  </div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#a47a481542b6192c0b3db20e0b8ff02ea"> 229</a></span>  <span class="keywordtype">void</span> <a class="code" href="classal_1_1osc_1_1_message.html#a47a481542b6192c0b3db20e0b8ff02ea">print</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  </div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#a1118451bf43c22da7c311ebd84543929"> 235</a></span>  <span class="keyword">const</span> <a class="code" href="namespaceal_1_1osc.html#accb2efcc953c31c94b5a08e38c29e21a">TimeTag</a> &<a class="code" href="classal_1_1osc_1_1_message.html#a1118451bf43c22da7c311ebd84543929">timeTag</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mTimeTag; }</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#aca7af6a3c6a2898548fec13dae781ffd"> 238</a></span>  <span class="keyword">const</span> std::string &<a class="code" href="classal_1_1osc_1_1_message.html#aca7af6a3c6a2898548fec13dae781ffd">addressPattern</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mAddressPattern; }</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  </div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keyword">const</span> std::string senderAddress()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> std::string(mSenderAddr); }</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  </div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#a66e9ed2f37109688757e4ae22dac4303"> 243</a></span>  <span class="keyword">const</span> std::string &<a class="code" href="classal_1_1osc_1_1_message.html#a66e9ed2f37109688757e4ae22dac4303">typeTags</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mTypeTags; }</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  </div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#a847176a74e3f95d38fdbf2c7650c729f"> 246</a></span>  <a class="code" href="classal_1_1osc_1_1_message.html">Message</a> &<a class="code" href="classal_1_1osc_1_1_message.html#a847176a74e3f95d38fdbf2c7650c729f">resetStream</a>();</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  </div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#a5fe683a5fac47aa1008d50222cabdb27"> 248</a></span>  <a class="code" href="classal_1_1osc_1_1_message.html">Message</a> &<a class="code" href="classal_1_1osc_1_1_message.html#a5fe683a5fac47aa1008d50222cabdb27">operator>></a>(<span class="keywordtype">int</span> &v); </div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#ae329cbacab31643d62113292dc577a53"> 249</a></span>  <a class="code" href="classal_1_1osc_1_1_message.html">Message</a> &<a class="code" href="classal_1_1osc_1_1_message.html#ae329cbacab31643d62113292dc577a53">operator>></a>(<span class="keywordtype">float</span> &v); </div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#ad2d4c36127f84eb60040d068896fb52c"> 250</a></span>  <a class="code" href="classal_1_1osc_1_1_message.html">Message</a> &<a class="code" href="classal_1_1osc_1_1_message.html#ad2d4c36127f84eb60040d068896fb52c">operator>></a>(<span class="keywordtype">double</span> &v); </div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#a228a860bf033b647049c9e77a972063b"> 251</a></span>  <a class="code" href="classal_1_1osc_1_1_message.html">Message</a> &<a class="code" href="classal_1_1osc_1_1_message.html#a228a860bf033b647049c9e77a972063b">operator>></a>(<span class="keywordtype">char</span> &v); </div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <a class="code" href="classal_1_1osc_1_1_message.html">Message</a> &</div>
<div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#a89a75be348f1499434fe5e04c41456b6"> 253</a></span>  <a class="code" href="classal_1_1osc_1_1_message.html#a89a75be348f1499434fe5e04c41456b6">operator>></a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *&v); </div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <a class="code" href="classal_1_1osc_1_1_message.html">Message</a> &</div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#ad655e5f03d810cbe9fb0bb0cdd7ee549"> 255</a></span>  <a class="code" href="classal_1_1osc_1_1_message.html#ad655e5f03d810cbe9fb0bb0cdd7ee549">operator>></a>(std::string &v); </div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message.html#abbca2522fabea8816b81eb11d957b1c8"> 256</a></span>  <a class="code" href="classal_1_1osc_1_1_message.html">Message</a> &<a class="code" href="classal_1_1osc_1_1_message.html#abbca2522fabea8816b81eb11d957b1c8">operator>></a>(<a class="code" href="structal_1_1osc_1_1_blob.html">Blob</a> &v); </div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  </div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keyword">class </span>Impl;</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  Impl *mImpl;</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  std::string mAddressPattern;</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  std::string mTypeTags;</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <a class="code" href="namespaceal_1_1osc.html#accb2efcc953c31c94b5a08e38c29e21a">TimeTag</a> mTimeTag;</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordtype">char</span> mSenderAddr[32];</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> };</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  </div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet_handler.html"> 271</a></span> <span class="keyword">class </span><a class="code" href="classal_1_1osc_1_1_packet_handler.html">PacketHandler</a> {</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keyword">virtual</span> ~<a class="code" href="classal_1_1osc_1_1_packet_handler.html">PacketHandler</a>() {}</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  </div>
<div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_packet_handler.html#a37b43eb16458215567414512f3d21b4c"> 276</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classal_1_1osc_1_1_packet_handler.html#a37b43eb16458215567414512f3d21b4c">onMessage</a>(<a class="code" href="classal_1_1osc_1_1_message.html">Message</a> &m) = 0;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> };</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  </div>
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message_consumer.html"> 286</a></span> <span class="keyword">class </span><a class="code" href="classal_1_1osc_1_1_message_consumer.html">MessageConsumer</a> {</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keyword">virtual</span> ~<a class="code" href="classal_1_1osc_1_1_message_consumer.html">MessageConsumer</a>() {}</div>
<div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_message_consumer.html#a3ea0097b78913fe922e641a9328256dd"> 290</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classal_1_1osc_1_1_message_consumer.html#a3ea0097b78913fe922e641a9328256dd">consumeMessage</a>(<a class="code" href="classal_1_1osc_1_1_message.html">Message</a> &m, std::string rootOSCPath) = 0;</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> };</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  </div>
<div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html"> 296</a></span> <span class="keyword">class </span><a class="code" href="classal_1_1osc_1_1_send.html">Send</a> : <span class="keyword">public</span> <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> {</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keyword">class </span>SocketSender;</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  std::unique_ptr<SocketSender> socketSender;</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  std::string mAddress = <span class="stringliteral">""</span>;</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  uint16_t mPort = 0;</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  </div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <a class="code" href="classal_1_1osc_1_1_send.html">Send</a>();</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <a class="code" href="classal_1_1osc_1_1_send.html">Send</a>(<span class="keywordtype">int</span> <a class="code" href="classal_1_1osc_1_1_packet.html#abf2a9778778b46cdace9fb55dab1f8ee">size</a>);</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  </div>
<div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#a816e0685a8553b02e7a6bad80f7c9d0d"> 311</a></span>  <a class="code" href="classal_1_1osc_1_1_send.html#a816e0685a8553b02e7a6bad80f7c9d0d">Send</a>(uint16_t port, <span class="keyword">const</span> <span class="keywordtype">char</span> *address = <span class="stringliteral">"localhost"</span>, al_sec timeout = 0,</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordtype">int</span> <a class="code" href="classal_1_1osc_1_1_packet.html#abf2a9778778b46cdace9fb55dab1f8ee">size</a> = 1024);</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  </div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  ~<a class="code" href="classal_1_1osc_1_1_send.html">Send</a>();</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  </div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordtype">bool</span> open(uint16_t port, <span class="keyword">const</span> <span class="keywordtype">char</span> *address);</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  </div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="keyword">const</span> std::string &address()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mAddress; }</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  uint16_t port()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mPort; }</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  </div>
<div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8"> 322</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">send</a>();</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  </div>
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#ad7266a9bc1709e116c3a8408afe939fe"> 325</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#ad7266a9bc1709e116c3a8408afe939fe">send</a>(<span class="keyword">const</span> <a class="code" href="classal_1_1osc_1_1_packet.html">Packet</a> &p);</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  </div>
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#a9fbf781415655883cfec17315f3337a9"> 328</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#a9fbf781415655883cfec17315f3337a9">send</a>(<span class="keyword">const</span> std::string &addr) {</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">addMessage</a>(addr);</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">send</a>();</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  }</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  </div>
<div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#ab2997e84310bff7fb12238df7796e626"> 334</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> A> <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#ab2997e84310bff7fb12238df7796e626">send</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a) {</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">addMessage</a>(addr, a);</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">send</a>();</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  }</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  </div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B></div>
<div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#a3325c49d4396c2975efed3dcf6fcb303"> 341</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#a3325c49d4396c2975efed3dcf6fcb303">send</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b) {</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">addMessage</a>(addr, a, b);</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">send</a>();</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  }</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  </div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B, <span class="keyword">class</span> C></div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#a1e0bb22c537565ff166e899f548c40d7"> 348</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#a1e0bb22c537565ff166e899f548c40d7">send</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b, <span class="keyword">const</span> C &c) {</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">addMessage</a>(addr, a, b, c);</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">send</a>();</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  }</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  </div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B, <span class="keyword">class</span> C, <span class="keyword">class</span> D></div>
<div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#aad5fc40855abfa05a1ac4d64be8e365d"> 355</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#aad5fc40855abfa05a1ac4d64be8e365d">send</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b, <span class="keyword">const</span> C &c,</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keyword">const</span> D &d) {</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">addMessage</a>(addr, a, b, c, d);</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">send</a>();</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  }</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  </div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B, <span class="keyword">class</span> C, <span class="keyword">class</span> D, <span class="keyword">class</span> E></div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#a2348ab889015cd9710619d770e85738f"> 363</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#a2348ab889015cd9710619d770e85738f">send</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b, <span class="keyword">const</span> C &c,</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="keyword">const</span> D &d, <span class="keyword">const</span> E &e) {</div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">addMessage</a>(addr, a, b, c, d, e);</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">send</a>();</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  }</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  </div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B, <span class="keyword">class</span> C, <span class="keyword">class</span> D, <span class="keyword">class</span> E, <span class="keyword">class</span> F></div>
<div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#ad8773ac0873d3276e66d92a364d1317f"> 371</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#ad8773ac0873d3276e66d92a364d1317f">send</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b, <span class="keyword">const</span> C &c,</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <span class="keyword">const</span> D &d, <span class="keyword">const</span> E &e, <span class="keyword">const</span> F &f) {</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">addMessage</a>(addr, a, b, c, d, e, f);</div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">send</a>();</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  }</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  </div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keyword">template</span> <<span class="keyword">class</span> A, <span class="keyword">class</span> B, <span class="keyword">class</span> C, <span class="keyword">class</span> D, <span class="keyword">class</span> E, <span class="keyword">class</span> F, <span class="keyword">class</span> G></div>
<div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#adaf8bcf77142f069455c56c26862269d"> 379</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#adaf8bcf77142f069455c56c26862269d">send</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b, <span class="keyword">const</span> C &c,</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <span class="keyword">const</span> D &d, <span class="keyword">const</span> E &e, <span class="keyword">const</span> F &f, <span class="keyword">const</span> G &g) {</div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">addMessage</a>(addr, a, b, c, d, e, f, g);</div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">send</a>();</div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  }</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="keyword">template</span> <<span class="keyword">class </span>A, <span class="keyword">class </span>B, <span class="keyword">class </span>C, <span class="keyword">class </span>D, <span class="keyword">class </span>E, <span class="keyword">class </span>F, <span class="keyword">class </span>G,</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keyword">class </span>H></div>
<div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_send.html#a474b048fb9a45bbec9b6993ea80343a4"> 387</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classal_1_1osc_1_1_send.html#a474b048fb9a45bbec9b6993ea80343a4">send</a>(<span class="keyword">const</span> std::string &addr, <span class="keyword">const</span> A &a, <span class="keyword">const</span> B &b, <span class="keyword">const</span> C &c,</div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <span class="keyword">const</span> D &d, <span class="keyword">const</span> E &e, <span class="keyword">const</span> F &f, <span class="keyword">const</span> G &g, <span class="keyword">const</span> H &h) {</div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <a class="code" href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">addMessage</a>(addr, a, b, c, d, e, f, g, h);</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">send</a>();</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  }</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span> };</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  </div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  </div>
<div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_recv.html"> 399</a></span> <span class="keyword">class </span><a class="code" href="classal_1_1osc_1_1_recv.html">Recv</a> {</div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <span class="keyword">class </span>SocketReceiver;</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  std::unique_ptr<SocketReceiver> socketReceiver;</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  </div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <a class="code" href="classal_1_1osc_1_1_recv.html">Recv</a>();</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  </div>
<div class="line"><a name="l00411"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_recv.html#ac77fbe445ac2366ffaf4036dcf5466c1"> 411</a></span>  <a class="code" href="classal_1_1osc_1_1_recv.html#ac77fbe445ac2366ffaf4036dcf5466c1">Recv</a>(uint16_t port, <span class="keyword">const</span> <span class="keywordtype">char</span> *address = <span class="stringliteral">""</span>, al_sec timeout = 0);</div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  </div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <span class="keyword">virtual</span> ~<a class="code" href="classal_1_1osc_1_1_recv.html">Recv</a>();</div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  </div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <span class="keywordtype">bool</span> open(uint16_t port, <span class="keyword">const</span> <span class="keywordtype">char</span> *address = <span class="stringliteral">""</span>, al_sec timeout = 0);</div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  </div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <span class="keywordtype">bool</span> isOpen() { <span class="keywordflow">return</span> mOpen; }</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  </div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keyword">const</span> std::string &address()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mAddress; }</div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  uint16_t port()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mPort; }</div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  </div>
<div class="line"><a name="l00423"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_recv.html#a8f0c4144d472e2669539fd5255ba40f7"> 423</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classal_1_1osc_1_1_recv.html#a8f0c4144d472e2669539fd5255ba40f7">background</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mBackground; }</div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  </div>
<div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_recv.html#ad976b1a9b7d7f27c65c688e56c5534da"> 426</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classal_1_1osc_1_1_recv.html#ad976b1a9b7d7f27c65c688e56c5534da">data</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> &mBuffer[0]; }</div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  </div>
<div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_recv.html#a77793941ec8e0e4fccff4760c6cd6a58"> 429</a></span>  <span class="keywordtype">void</span> <a class="code" href="classal_1_1osc_1_1_recv.html#a77793941ec8e0e4fccff4760c6cd6a58">bufferSize</a>(<span class="keywordtype">int</span> n) { mBuffer.resize(n); }</div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  </div>
<div class="line"><a name="l00432"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_recv.html#affbd82d03439caf03009c1e08ec0f22c"> 432</a></span>  <a class="code" href="classal_1_1osc_1_1_recv.html">Recv</a> &<a class="code" href="classal_1_1osc_1_1_recv.html#affbd82d03439caf03009c1e08ec0f22c">handler</a>(<a class="code" href="classal_1_1osc_1_1_packet_handler.html">PacketHandler</a> &v) {</div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  mHandlers.clear();</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <span class="keywordflow">return</span> <a class="code" href="classal_1_1osc_1_1_recv.html#a2300712343142229cfea92716a5c711a">appendHandler</a>(v);</div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  }</div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  </div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_recv.html#a2300712343142229cfea92716a5c711a"> 438</a></span>  <a class="code" href="classal_1_1osc_1_1_recv.html">Recv</a> &<a class="code" href="classal_1_1osc_1_1_recv.html#a2300712343142229cfea92716a5c711a">appendHandler</a>(<a class="code" href="classal_1_1osc_1_1_packet_handler.html">PacketHandler</a> &v) {</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  mHandlers.push_back(&v);</div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  }</div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  </div>
<div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_recv.html#aad96956ac37e12f709c061497203a137"> 446</a></span>  <span class="keywordtype">int</span> <a class="code" href="classal_1_1osc_1_1_recv.html#aad96956ac37e12f709c061497203a137">recv</a>();</div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  </div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  </div>
<div class="line"><a name="l00452"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_recv.html#a218b030167329cde8eb1d0d86d58b9e3"> 452</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classal_1_1osc_1_1_recv.html#a218b030167329cde8eb1d0d86d58b9e3">start</a>();</div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  </div>
<div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="classal_1_1osc_1_1_recv.html#a37144d73a00adfa0901cdc27cadfa337"> 455</a></span>  <span class="keywordtype">void</span> <a class="code" href="classal_1_1osc_1_1_recv.html#a37144d73a00adfa0901cdc27cadfa337">stop</a>();</div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  </div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  <span class="keywordtype">void</span> parse(<span class="keyword">const</span> <span class="keywordtype">char</span> *packet, <span class="keywordtype">int</span> size, <span class="keyword">const</span> <span class="keywordtype">char</span> *senderAddr);</div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <span class="keywordtype">void</span> loop();</div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  </div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> portAvailable(uint16_t port, <span class="keyword">const</span> <span class="keywordtype">char</span> *address = <span class="stringliteral">""</span>);</div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  </div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keyword">static</span> std::vector<std::shared_ptr<Message>></div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  parse(<span class="keyword">const</span> <span class="keywordtype">char</span> *packet, <span class="keywordtype">int</span> size, <a class="code" href="namespaceal_1_1osc.html#accb2efcc953c31c94b5a08e38c29e21a">TimeTag</a> timeTag = 1,</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *senderAddr = <span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  </div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  std::vector<PacketHandler *> mHandlers;</div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  std::vector<char> mBuffer;</div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  <a class="code" href="classal_1_1_thread.html">al::Thread</a> mThread;</div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <span class="keywordtype">bool</span> mBackground;</div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  std::string mAddress = <span class="stringliteral">""</span>;</div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  uint16_t mPort = 0;</div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <span class="keywordtype">bool</span> mOpen{<span class="keyword">false</span>};</div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> };</div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  </div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span> } <span class="comment">// namespace osc</span></div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span> } <span class="comment">// namespace al</span></div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  </div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span> <span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassal_1_1_thread_html"><div class="ttname"><a href="classal_1_1_thread.html">al::Thread</a></div><div class="ttdef"><b>Definition:</b> <a href="al___thread_8hpp_source.html#l00078">al_Thread.hpp:78</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_consumer_html"><div class="ttname"><a href="classal_1_1osc_1_1_message_consumer.html">al::osc::MessageConsumer</a></div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00286">al_OSC.hpp:286</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_consumer_html_a3ea0097b78913fe922e641a9328256dd"><div class="ttname"><a href="classal_1_1osc_1_1_message_consumer.html#a3ea0097b78913fe922e641a9328256dd">al::osc::MessageConsumer::consumeMessage</a></div><div class="ttdeci">virtual bool consumeMessage(Message &m, std::string rootOSCPath)=0</div><div class="ttdoc">Returns true if message was consumed by this class.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html"><div class="ttname"><a href="classal_1_1osc_1_1_message.html">al::osc::Message</a></div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00217">al_OSC.hpp:217</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_a1118451bf43c22da7c311ebd84543929"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#a1118451bf43c22da7c311ebd84543929">al::osc::Message::timeTag</a></div><div class="ttdeci">const TimeTag & timeTag() const</div><div class="ttdoc">Get time tag.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00235">al_OSC.hpp:235</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_a180eeb9b95df5cd572e0ff4742ec9eb3"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#a180eeb9b95df5cd572e0ff4742ec9eb3">al::osc::Message::Message</a></div><div class="ttdeci">Message(const char *message, int size, const TimeTag &timeTag=1, const char *senderAddr=nullptr)</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_a228a860bf033b647049c9e77a972063b"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#a228a860bf033b647049c9e77a972063b">al::osc::Message::operator>></a></div><div class="ttdeci">Message & operator>>(char &v)</div><div class="ttdoc">Extract next stream element as char.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_a47a481542b6192c0b3db20e0b8ff02ea"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#a47a481542b6192c0b3db20e0b8ff02ea">al::osc::Message::print</a></div><div class="ttdeci">void print() const</div><div class="ttdoc">Pretty-print message information.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_a5fe683a5fac47aa1008d50222cabdb27"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#a5fe683a5fac47aa1008d50222cabdb27">al::osc::Message::operator>></a></div><div class="ttdeci">Message & operator>>(int &v)</div><div class="ttdoc">Extract next stream element as integer.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_a66e9ed2f37109688757e4ae22dac4303"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#a66e9ed2f37109688757e4ae22dac4303">al::osc::Message::typeTags</a></div><div class="ttdeci">const std::string & typeTags() const</div><div class="ttdoc">Get type tags.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00243">al_OSC.hpp:243</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_a847176a74e3f95d38fdbf2c7650c729f"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#a847176a74e3f95d38fdbf2c7650c729f">al::osc::Message::resetStream</a></div><div class="ttdeci">Message & resetStream()</div><div class="ttdoc">Reset stream for converting from raw message bytes to types.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_a89a75be348f1499434fe5e04c41456b6"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#a89a75be348f1499434fe5e04c41456b6">al::osc::Message::operator>></a></div><div class="ttdeci">Message & operator>>(const char *&v)</div><div class="ttdoc">Extract next stream element as C-string.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_abbca2522fabea8816b81eb11d957b1c8"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#abbca2522fabea8816b81eb11d957b1c8">al::osc::Message::operator>></a></div><div class="ttdeci">Message & operator>>(Blob &v)</div><div class="ttdoc">Extract next stream element as Blob.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_aca7af6a3c6a2898548fec13dae781ffd"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#aca7af6a3c6a2898548fec13dae781ffd">al::osc::Message::addressPattern</a></div><div class="ttdeci">const std::string & addressPattern() const</div><div class="ttdoc">Get address pattern.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00238">al_OSC.hpp:238</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_ad2d4c36127f84eb60040d068896fb52c"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#ad2d4c36127f84eb60040d068896fb52c">al::osc::Message::operator>></a></div><div class="ttdeci">Message & operator>>(double &v)</div><div class="ttdoc">Extract next stream element as double.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_ad655e5f03d810cbe9fb0bb0cdd7ee549"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#ad655e5f03d810cbe9fb0bb0cdd7ee549">al::osc::Message::operator>></a></div><div class="ttdeci">Message & operator>>(std::string &v)</div><div class="ttdoc">Extract next stream element as string.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_message_html_ae329cbacab31643d62113292dc577a53"><div class="ttname"><a href="classal_1_1osc_1_1_message.html#ae329cbacab31643d62113292dc577a53">al::osc::Message::operator>></a></div><div class="ttdeci">Message & operator>>(float &v)</div><div class="ttdoc">Extract next stream element as float.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_handler_html"><div class="ttname"><a href="classal_1_1osc_1_1_packet_handler.html">al::osc::PacketHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00271">al_OSC.hpp:271</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_handler_html_a37b43eb16458215567414512f3d21b4c"><div class="ttname"><a href="classal_1_1osc_1_1_packet_handler.html#a37b43eb16458215567414512f3d21b4c">al::osc::PacketHandler::onMessage</a></div><div class="ttdeci">virtual void onMessage(Message &m)=0</div><div class="ttdoc">Called for each message contained in packet.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html">al::osc::Packet</a></div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00085">al_OSC.hpp:85</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a0b4e5beb76862fef9e48e253e24d8c74"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a0b4e5beb76862fef9e48e253e24d8c74">al::osc::Packet::isMessage</a></div><div class="ttdeci">bool isMessage() const</div><div class="ttdoc">Whether packet is a message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a19ab57284f010b963ed3c2fc7cb49763"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a19ab57284f010b963ed3c2fc7cb49763">al::osc::Packet::beginMessage</a></div><div class="ttdeci">Packet & beginMessage(const std::string &addressPattern)</div><div class="ttdoc">Start a new message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a226ea71e33d652f46e0993802be4ef10"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a226ea71e33d652f46e0993802be4ef10">al::osc::Packet::operator<<</a></div><div class="ttdeci">Packet & operator<<(double v)</div><div class="ttdoc">Add double to message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a28876c8c15e20e3e26b48d04f83b3842"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a28876c8c15e20e3e26b48d04f83b3842">al::osc::Packet::endBundle</a></div><div class="ttdeci">Packet & endBundle()</div><div class="ttdoc">End bundle.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a3640f394450f3d4d835dc49a026b305e"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a3640f394450f3d4d835dc49a026b305e">al::osc::Packet::operator<<</a></div><div class="ttdeci">Packet & operator<<(const std::string &v)</div><div class="ttdoc">Add string to message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a3847dd04a2e8e9b9168c5ff7b1cc561b"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a3847dd04a2e8e9b9168c5ff7b1cc561b">al::osc::Packet::addMessage</a></div><div class="ttdeci">Packet & addMessage(const std::string &addr)</div><div class="ttdoc">Add zero argument message.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00119">al_OSC.hpp:119</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a3dd53ec87489963a25d4cae0d5de29c3"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a3dd53ec87489963a25d4cae0d5de29c3">al::osc::Packet::isBundle</a></div><div class="ttdeci">bool isBundle() const</div><div class="ttdoc">Whether packet is a bundle.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a41694fa77ad2488ba0300ace91551e38"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a41694fa77ad2488ba0300ace91551e38">al::osc::Packet::printRaw</a></div><div class="ttdeci">void printRaw() const</div><div class="ttdoc">Pretty-print raw packet bytes.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a440f932666cd0aaeb3aae695727f7a38"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a440f932666cd0aaeb3aae695727f7a38">al::osc::Packet::Packet</a></div><div class="ttdeci">Packet(int size=1024)</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a4f23c34a2bdf0e0495cc86a1619dea68"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a4f23c34a2bdf0e0495cc86a1619dea68">al::osc::Packet::operator<<</a></div><div class="ttdeci">Packet & operator<<(const char *v)</div><div class="ttdoc">Add C-string to message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a5ab6c4052a3eb3ee7e7f9d271c4811f5"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a5ab6c4052a3eb3ee7e7f9d271c4811f5">al::osc::Packet::addMessage</a></div><div class="ttdeci">Packet & addMessage(const std::string &addr, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f, const G &g)</div><div class="ttdoc">Add seven argument message.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00177">al_OSC.hpp:177</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a5d498ff87b451b383037bc615ef6f7b8"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a5d498ff87b451b383037bc615ef6f7b8">al::osc::Packet::operator<<</a></div><div class="ttdeci">Packet & operator<<(const Blob &v)</div><div class="ttdoc">Add Blob to message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a603a494ec38dc8a8595660a9298ef1d1"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a603a494ec38dc8a8595660a9298ef1d1">al::osc::Packet::operator<<</a></div><div class="ttdeci">Packet & operator<<(unsigned v)</div><div class="ttdoc">Add integer to message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a723bef9c804a59d2e99f1f1efb1ac1d1"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a723bef9c804a59d2e99f1f1efb1ac1d1">al::osc::Packet::operator<<</a></div><div class="ttdeci">Packet & operator<<(int v)</div><div class="ttdoc">Add integer to message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a7c44292b659f23773691a8a3d124966b"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a7c44292b659f23773691a8a3d124966b">al::osc::Packet::addMessage</a></div><div class="ttdeci">Packet & addMessage(const std::string &addr, const A &a, const B &b, const C &c)</div><div class="ttdoc">Add three argument message.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00141">al_OSC.hpp:141</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a809700e5e372a3705601fd0a5407bb79"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a809700e5e372a3705601fd0a5407bb79">al::osc::Packet::addMessage</a></div><div class="ttdeci">Packet & addMessage(const std::string &addr, const A &a, const B &b, const C &c, const D &d, const E &e)</div><div class="ttdoc">Add five argument message.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00159">al_OSC.hpp:159</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a8376d988829a1bfdbe0fa0f059abb1e9"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a8376d988829a1bfdbe0fa0f059abb1e9">al::osc::Packet::Packet</a></div><div class="ttdeci">Packet(const char *contents, size_t size)</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a84b3f5ab37cf9237f1b3e5aaa595f663"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a84b3f5ab37cf9237f1b3e5aaa595f663">al::osc::Packet::beginBundle</a></div><div class="ttdeci">Packet & beginBundle(TimeTag timeTag=1)</div><div class="ttdoc">Begin a new bundle.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a91940e6be87a606b58523a2a56e72bd6"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a91940e6be87a606b58523a2a56e72bd6">al::osc::Packet::operator<<</a></div><div class="ttdeci">Packet & operator<<(char v)</div><div class="ttdoc">Add char to message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a9809d78d984c4fd4af5028d83cb5bb10"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a9809d78d984c4fd4af5028d83cb5bb10">al::osc::Packet::clear</a></div><div class="ttdeci">Packet & clear()</div><div class="ttdoc">Clear current packet contents.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a997b2f459b9e7a12b3ccf050145c2222"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a997b2f459b9e7a12b3ccf050145c2222">al::osc::Packet::addMessage</a></div><div class="ttdeci">Packet & addMessage(const std::string &addr, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f, const G &g, const H &h)</div><div class="ttdoc">Add eight argument message.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00188">al_OSC.hpp:188</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_a9d015199f59b91e84eaa8ca78fb9e476"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#a9d015199f59b91e84eaa8ca78fb9e476">al::osc::Packet::addMessage</a></div><div class="ttdeci">Packet & addMessage(const std::string &addr, const A &a, const B &b)</div><div class="ttdoc">Add two argument message.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00133">al_OSC.hpp:133</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_ab746d4d783b049332dc0713c0d51e0e7"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#ab746d4d783b049332dc0713c0d51e0e7">al::osc::Packet::addMessage</a></div><div class="ttdeci">Packet & addMessage(const std::string &addr, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f)</div><div class="ttdoc">Add six argument message.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00168">al_OSC.hpp:168</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_abf2a9778778b46cdace9fb55dab1f8ee"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#abf2a9778778b46cdace9fb55dab1f8ee">al::osc::Packet::size</a></div><div class="ttdeci">size_t size() const</div><div class="ttdoc">Get number of bytes of current packet data.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_abf55aa36b5eb5d35c8ace8237d4b481a"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#abf55aa36b5eb5d35c8ace8237d4b481a">al::osc::Packet::addMessage</a></div><div class="ttdeci">Packet & addMessage(const std::string &addr, const A &a, const B &b, const C &c, const D &d)</div><div class="ttdoc">Add four argument message.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00150">al_OSC.hpp:150</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_ad180abe4468b5c4633236fb2253c9267"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#ad180abe4468b5c4633236fb2253c9267">al::osc::Packet::data</a></div><div class="ttdeci">const char * data() const</div><div class="ttdoc">Get raw packet data.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_ad48ebdaada81cef4d5ca63275f613470"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#ad48ebdaada81cef4d5ca63275f613470">al::osc::Packet::operator<<</a></div><div class="ttdeci">Packet & operator<<(float v)</div><div class="ttdoc">Add float to message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_ae798637dc438ddb8b974d8d66c413045"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#ae798637dc438ddb8b974d8d66c413045">al::osc::Packet::addMessage</a></div><div class="ttdeci">Packet & addMessage(const std::string &addr, const A &a)</div><div class="ttdoc">Add one argument message.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00125">al_OSC.hpp:125</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_packet_html_aed9bfb4ec4330c076a5c9ac0f6f76018"><div class="ttname"><a href="classal_1_1osc_1_1_packet.html#aed9bfb4ec4330c076a5c9ac0f6f76018">al::osc::Packet::endMessage</a></div><div class="ttdeci">Packet & endMessage()</div><div class="ttdoc">End message.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_recv_html"><div class="ttname"><a href="classal_1_1osc_1_1_recv.html">al::osc::Recv</a></div><div class="ttdoc">Socket for receiving OSC packets.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00399">al_OSC.hpp:399</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_recv_html_a218b030167329cde8eb1d0d86d58b9e3"><div class="ttname"><a href="classal_1_1osc_1_1_recv.html#a218b030167329cde8eb1d0d86d58b9e3">al::osc::Recv::start</a></div><div class="ttdeci">bool start()</div><div class="ttdoc">Begin a background thread to poll the socket.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_recv_html_a2300712343142229cfea92716a5c711a"><div class="ttname"><a href="classal_1_1osc_1_1_recv.html#a2300712343142229cfea92716a5c711a">al::osc::Recv::appendHandler</a></div><div class="ttdeci">Recv & appendHandler(PacketHandler &v)</div><div class="ttdoc">Add a packet handler to list. All handlers get all messages.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00438">al_OSC.hpp:438</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_recv_html_a37144d73a00adfa0901cdc27cadfa337"><div class="ttname"><a href="classal_1_1osc_1_1_recv.html#a37144d73a00adfa0901cdc27cadfa337">al::osc::Recv::stop</a></div><div class="ttdeci">void stop()</div><div class="ttdoc">Stop the background polling.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_recv_html_a77793941ec8e0e4fccff4760c6cd6a58"><div class="ttname"><a href="classal_1_1osc_1_1_recv.html#a77793941ec8e0e4fccff4760c6cd6a58">al::osc::Recv::bufferSize</a></div><div class="ttdeci">void bufferSize(int n)</div><div class="ttdoc">Set size of internal buffer.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00429">al_OSC.hpp:429</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_recv_html_a8f0c4144d472e2669539fd5255ba40f7"><div class="ttname"><a href="classal_1_1osc_1_1_recv.html#a8f0c4144d472e2669539fd5255ba40f7">al::osc::Recv::background</a></div><div class="ttdeci">bool background() const</div><div class="ttdoc">Whether background polling is activated.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00423">al_OSC.hpp:423</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_recv_html_aad96956ac37e12f709c061497203a137"><div class="ttname"><a href="classal_1_1osc_1_1_recv.html#aad96956ac37e12f709c061497203a137">al::osc::Recv::recv</a></div><div class="ttdeci">int recv()</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_recv_html_ac77fbe445ac2366ffaf4036dcf5466c1"><div class="ttname"><a href="classal_1_1osc_1_1_recv.html#ac77fbe445ac2366ffaf4036dcf5466c1">al::osc::Recv::Recv</a></div><div class="ttdeci">Recv(uint16_t port, const char *address="", al_sec timeout=0)</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_recv_html_ad976b1a9b7d7f27c65c688e56c5534da"><div class="ttname"><a href="classal_1_1osc_1_1_recv.html#ad976b1a9b7d7f27c65c688e56c5534da">al::osc::Recv::data</a></div><div class="ttdeci">const char * data() const</div><div class="ttdoc">Get current received packet data.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00426">al_OSC.hpp:426</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_recv_html_affbd82d03439caf03009c1e08ec0f22c"><div class="ttname"><a href="classal_1_1osc_1_1_recv.html#affbd82d03439caf03009c1e08ec0f22c">al::osc::Recv::handler</a></div><div class="ttdeci">Recv & handler(PacketHandler &v)</div><div class="ttdoc">Set packet handling routine.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00432">al_OSC.hpp:432</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html"><div class="ttname"><a href="classal_1_1osc_1_1_send.html">al::osc::Send</a></div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00296">al_OSC.hpp:296</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_a1e0bb22c537565ff166e899f548c40d7"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#a1e0bb22c537565ff166e899f548c40d7">al::osc::Send::send</a></div><div class="ttdeci">size_t send(const std::string &addr, const A &a, const B &b, const C &c)</div><div class="ttdoc">Send three argument message immediately.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00348">al_OSC.hpp:348</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_a2348ab889015cd9710619d770e85738f"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#a2348ab889015cd9710619d770e85738f">al::osc::Send::send</a></div><div class="ttdeci">size_t send(const std::string &addr, const A &a, const B &b, const C &c, const D &d, const E &e)</div><div class="ttdoc">Send five argument message immediately.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00363">al_OSC.hpp:363</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_a3325c49d4396c2975efed3dcf6fcb303"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#a3325c49d4396c2975efed3dcf6fcb303">al::osc::Send::send</a></div><div class="ttdeci">size_t send(const std::string &addr, const A &a, const B &b)</div><div class="ttdoc">Send two argument message immediately.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00341">al_OSC.hpp:341</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_a474b048fb9a45bbec9b6993ea80343a4"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#a474b048fb9a45bbec9b6993ea80343a4">al::osc::Send::send</a></div><div class="ttdeci">size_t send(const std::string &addr, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f, const G &g, const H &h)</div><div class="ttdoc">Send eight argument message immediately.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00387">al_OSC.hpp:387</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_a5dbd4318e85441f6e06788a9b315efb8"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#a5dbd4318e85441f6e06788a9b315efb8">al::osc::Send::send</a></div><div class="ttdeci">size_t send()</div><div class="ttdoc">Send and clear current packet contents.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_a816e0685a8553b02e7a6bad80f7c9d0d"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#a816e0685a8553b02e7a6bad80f7c9d0d">al::osc::Send::Send</a></div><div class="ttdeci">Send(uint16_t port, const char *address="localhost", al_sec timeout=0, int size=1024)</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_a9fbf781415655883cfec17315f3337a9"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#a9fbf781415655883cfec17315f3337a9">al::osc::Send::send</a></div><div class="ttdeci">size_t send(const std::string &addr)</div><div class="ttdoc">Send zero argument message immediately.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00328">al_OSC.hpp:328</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_aad5fc40855abfa05a1ac4d64be8e365d"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#aad5fc40855abfa05a1ac4d64be8e365d">al::osc::Send::send</a></div><div class="ttdeci">size_t send(const std::string &addr, const A &a, const B &b, const C &c, const D &d)</div><div class="ttdoc">Send four argument message immediately.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00355">al_OSC.hpp:355</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_ab2997e84310bff7fb12238df7796e626"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#ab2997e84310bff7fb12238df7796e626">al::osc::Send::send</a></div><div class="ttdeci">size_t send(const std::string &addr, const A &a)</div><div class="ttdoc">Send one argument message immediately.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00334">al_OSC.hpp:334</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_ad7266a9bc1709e116c3a8408afe939fe"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#ad7266a9bc1709e116c3a8408afe939fe">al::osc::Send::send</a></div><div class="ttdeci">size_t send(const Packet &p)</div><div class="ttdoc">Send a packet.</div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_ad8773ac0873d3276e66d92a364d1317f"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#ad8773ac0873d3276e66d92a364d1317f">al::osc::Send::send</a></div><div class="ttdeci">size_t send(const std::string &addr, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f)</div><div class="ttdoc">Send six argument message immediately.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00371">al_OSC.hpp:371</a></div></div>
<div class="ttc" id="aclassal_1_1osc_1_1_send_html_adaf8bcf77142f069455c56c26862269d"><div class="ttname"><a href="classal_1_1osc_1_1_send.html#adaf8bcf77142f069455c56c26862269d">al::osc::Send::send</a></div><div class="ttdeci">size_t send(const std::string &addr, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f, const G &g)</div><div class="ttdoc">Send seven argument message immediately.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00379">al_OSC.hpp:379</a></div></div>
<div class="ttc" id="anamespaceal_1_1osc_html_accb2efcc953c31c94b5a08e38c29e21a"><div class="ttname"><a href="namespaceal_1_1osc.html#accb2efcc953c31c94b5a08e38c29e21a">al::osc::TimeTag</a></div><div class="ttdeci">unsigned long long TimeTag</div><div class="ttdoc">Time tag.</div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00080">al_OSC.hpp:80</a></div></div>
<div class="ttc" id="anamespaceal_html"><div class="ttname"><a href="namespaceal.html">al</a></div><div class="ttdef"><b>Definition:</b> <a href="al___app_8hpp_source.html#l00023">al_App.hpp:23</a></div></div>
<div class="ttc" id="astructal_1_1osc_1_1_blob_html"><div class="ttname"><a href="structal_1_1osc_1_1_blob.html">al::osc::Blob</a></div><div class="ttdef"><b>Definition:</b> <a href="al___o_s_c_8hpp_source.html#l00064">al_OSC.hpp:64</a></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_e6bb53534ac0e427887cf7a94c0c004e.html">C:</a></li><li class="navelem"><a class="el" href="dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html">Users</a></li><li class="navelem"><a class="el" href="dir_d934af30b392b1c85e577a193a4f44d7.html">Andres</a></li><li class="navelem"><a class="el" href="dir_e68da7aceac684d2d8b9f1b11e1c2d97.html">source</a></li><li class="navelem"><a class="el" href="dir_fcc7705357f5b24b756c781e261be61a.html">repos</a></li><li class="navelem"><a class="el" href="dir_c3c6d9593ff25ad9938aa507653e60f1.html">casm_viewer</a></li><li class="navelem"><a class="el" href="dir_62b775495639e85334a47dd0b350fd78.html">external</a></li><li class="navelem"><a class="el" href="dir_b57b95b4f0b0651157add3c4117135ea.html">tinc</a></li><li class="navelem"><a class="el" href="dir_a51c8fbca25ad649a2e41de73b4ed7a8.html">external</a></li><li class="navelem"><a class="el" href="dir_f6b0d4003da5aa0ecdbed61a62e8b0a3.html">allolib</a></li><li class="navelem"><a class="el" href="dir_1a17cbf7a13c3de19497337dcee9a11d.html">include</a></li><li class="navelem"><a class="el" href="dir_c24702039c85b0e1007cbbfcdd096437.html">al</a></li><li class="navelem"><a class="el" href="dir_804e367d15e2efc9656e557337a0e9c1.html">protocol</a></li><li class="navelem"><b>al_OSC.hpp</b></li>
<li class="footer">Generated on Thu Apr 8 2021 13:24:23 for Allolib by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>