summaryrefslogtreecommitdiff
path: root/docs/CAmSerializer_8h_source.html
blob: 65cecdb4ae2f34ec0a0d7e8dc49d8e73b6d81bc8 (plain)
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
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/>
<title>AudioManager: AudioManagerUtilities/include/CAmSerializer.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
   <div id="projectname">AudioManager
   &#160;<span id="projectnumber">7.5.11</span>
   </div>
   <div id="projectbrief">Native Application Runtime Environment</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </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">
$(document).ready(function(){initNavTree('CAmSerializer_8h_source.html','');});
</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)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></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">CAmSerializer.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="CAmSerializer_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef CAMSERIALIZER_H_</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CAMSERIALIZER_H_</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;pthread.h&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;deque&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;cassert&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;stdexcept&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;unistd.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="CAmDltWrapper_8h.html">CAmDltWrapper.h</a>&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="CAmSocketHandler_8h.html">CAmSocketHandler.h</a>&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">namespace </span>am</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;{</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html">   49</a></span>&#160;<span class="keyword">class </span><a class="code" href="classam_1_1CAmSerializer.html">CAmSerializer</a></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;{</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keyword">class </span>CAmDelegate</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    {</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        <span class="keyword">typedef</span> <span class="keyword">enum</span>:<span class="keywordtype">bool</span> {</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;            SyncCallType = <span class="keyword">false</span>,</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;            AsyncCallType = <span class="keyword">true</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        } CallType;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="keyword">virtual</span> ~CAmDelegate()</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        {};</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="keyword">virtual</span> CallType call(<span class="keywordtype">int</span>* pipe)=0;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    };</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class </span>Class, <span class="keyword">typename</span> Method, <span class="keyword">typename</span> Tuple, <span class="keywordtype">bool</span> Done, <span class="keywordtype">int</span> Total, <span class="keywordtype">int</span>... N&gt;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keyword">class </span>CAmDelegateAsyncImpl : <span class="keyword">public</span> CAmDelegate</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    {</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        Class mInstance;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        Method mMethod;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        Tuple mArguments;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classam_1_1CAmSerializer.html">CAmSerializer</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">void</span> call(Class instance, Method method, Tuple &amp;&amp; arguments)</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        {</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;            CAmDelegateAsyncImpl&lt;Class, Method, Tuple, Total == 1 + <span class="keyword">sizeof</span>...(N), Total, N..., <span class="keyword">sizeof</span>...(N)&gt;::call(instance, method, std::forward&lt;Tuple&gt;(arguments));</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        }</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        CAmDelegateAsyncImpl(Class instance, Method method,  Tuple &amp;&amp; arguments)</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        {</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            mInstance = instance;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;            mMethod = method;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            mArguments = std::move(arguments);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        }</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        CallType call(<span class="keywordtype">int</span>* pipe)</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        {</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;            (void) pipe;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;            call(mInstance, mMethod, std::forward&lt;Tuple&gt;(mArguments));</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;            <span class="keywordflow">return</span> (AsyncCallType);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        };</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    };</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class </span>Class, <span class="keyword">typename</span> Method, <span class="keyword">typename</span> Tuple, <span class="keywordtype">int</span> Total, <span class="keywordtype">int</span>... N&gt;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keyword">class </span>CAmDelegateAsyncImpl&lt;Class, Method, Tuple, true, Total, N...&gt; : <span class="keyword">public</span> CAmDelegate</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    {</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        Class mInstance;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        Method mMethod;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        Tuple mArguments;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classam_1_1CAmSerializer.html">CAmSerializer</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">void</span> call(Class instance, Method method, Tuple &amp;&amp; t)</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        {</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;            (*instance.*method)(std::get&lt;N&gt;(std::forward&lt;Tuple&gt;(t))...);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        }</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        CAmDelegateAsyncImpl(Class instance, Method method,  Tuple &amp;&amp; arguments)</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        {</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;            mInstance = instance;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            mMethod = method;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;            mArguments = std::move(arguments);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        }</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        CallType call(<span class="keywordtype">int</span>* pipe)</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        {</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;            (void) pipe;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;            call(mInstance, mMethod, std::forward&lt;Tuple&gt;(mArguments));</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;            <span class="keywordflow">return</span> (AsyncCallType);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        };</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    };</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class </span>Class, <span class="keyword">typename</span> Method, <span class="keyword">typename</span> Return, <span class="keyword">typename</span> Tuple, <span class="keywordtype">bool</span> Done, <span class="keywordtype">int</span> Total, <span class="keywordtype">int</span>... N&gt;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="keyword">class </span>CAmDelegateSyncImpl : <span class="keyword">public</span> CAmDelegate</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    {</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        Class mInstance;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        Method mMethod;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;        Tuple mArguments;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        Return mReturn;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classam_1_1CAmSerializer.html">CAmSerializer</a>;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">void</span> call(Class instance,Method method, Return &amp; result, Tuple &amp;&amp; arguments)</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        {</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;            CAmDelegateSyncImpl&lt;Class, Method, Return, Tuple, Total == 1 + <span class="keyword">sizeof</span>...(N), Total, N..., <span class="keyword">sizeof</span>...(N)&gt;::call(instance, method, result, std::forward&lt;Tuple&gt;(arguments));</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        }</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        CAmDelegateSyncImpl(Class instance, Method method,  Tuple &amp;&amp; arguments)</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        {</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;            mInstance = instance;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;            mMethod = method;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;            mArguments = std::move(arguments);</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        }</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        CallType call(<span class="keywordtype">int</span>* pipe)</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        {</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            call(mInstance, mMethod, mReturn, std::forward&lt;Tuple&gt;(mArguments));</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;            ssize_t result(-1);</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;            result = write(pipe[1], <span class="keyword">this</span>, <span class="keyword">sizeof</span>(<span class="keyword">this</span>));</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;            <span class="keywordflow">if</span> (result == -1)</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;                <a class="code" href="namespaceam.html#ab00ba22db19413e2040c2ab246f220c6">logError</a>(<span class="stringliteral">&quot;CAmSerializer: Problem writing into pipe! Error No:&quot;</span>,errno);</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;            <span class="keywordflow">return</span> (SyncCallType);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        };</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    };</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class </span>Class, <span class="keyword">typename</span> Method, <span class="keyword">typename</span> Return, <span class="keyword">typename</span> Tuple, <span class="keywordtype">int</span> Total, <span class="keywordtype">int</span>... N&gt;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <span class="keyword">class </span>CAmDelegateSyncImpl&lt;Class, Method, Return, Tuple, true, Total, N...&gt; : <span class="keyword">public</span> CAmDelegate</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    {</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        Class mInstance;</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        Method mMethod;</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        Tuple mArguments;</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        Return mReturn;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classam_1_1CAmSerializer.html">CAmSerializer</a>;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">void</span> call(Class instance, Method method, Return &amp; result, Tuple &amp;&amp; t)</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        {</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;            result = (*instance.*method)(std::get&lt;N&gt;(t)...);</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        }</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        CAmDelegateSyncImpl(Class instance, Method method,  Tuple &amp;&amp; arguments)</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        {</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;            mInstance = instance;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;            mMethod = method;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;            mArguments = std::move(arguments);</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        }</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        CallType call(<span class="keywordtype">int</span>* pipe)</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        {</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;            call(mInstance, mMethod, mReturn, std::forward&lt;Tuple&gt;(mArguments));</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;            ssize_t result(-1);</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;            result = write(pipe[1], <span class="keyword">this</span>, <span class="keyword">sizeof</span>(<span class="keyword">this</span>));</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;            <span class="keywordflow">if</span> (result == -1)</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;                <a class="code" href="namespaceam.html#ab00ba22db19413e2040c2ab246f220c6">logError</a>(<span class="stringliteral">&quot;CAmSerializer: Problem writing into pipe! Error No:&quot;</span>,errno);</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;            <span class="keywordflow">return</span> (SyncCallType);</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        };</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    };</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <span class="keyword">typedef</span> CAmDelegate* CAmDelegagePtr; </div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Class, <span class="keyword">typename</span> Method, <span class="keyword">typename</span> Tuple&gt;</div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">  210</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(Class intsance, Method method, Tuple &amp; arguments)</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    {</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        <span class="keyword">typedef</span> <span class="keyword">typename</span> std::decay&lt;Tuple&gt;::type ttype;</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        <span class="keyword">typedef</span> CAmDelegateAsyncImpl&lt;Class, Method, Tuple, 0 == std::tuple_size&lt;ttype&gt;::value, std::tuple_size&lt;ttype&gt;::value&gt; AsyncDelegate;</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        AsyncDelegate *pImp = <span class="keyword">new</span> AsyncDelegate(intsance, method, std::forward&lt;Tuple&gt;(arguments));</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        send(pImp);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <span class="comment">//Do not delete the pointer. It will be deleted automatically later.</span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    }</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Class, <span class="keyword">typename</span> Method, <span class="keyword">typename</span> Return, <span class="keyword">typename</span> Tuple&gt;</div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">  223</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(Class intsance, Method method, Return &amp; result, Tuple &amp; arguments)</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    {</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        <span class="keyword">typedef</span> <span class="keyword">typename</span> std::decay&lt;Tuple&gt;::type ttype;</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        <span class="keyword">typedef</span> CAmDelegateSyncImpl&lt;Class, Method, Return, Tuple, 0 == std::tuple_size&lt;ttype&gt;::value, std::tuple_size&lt;ttype&gt;::value&gt; SyncDelegate;</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        SyncDelegate *pImp = <span class="keyword">new</span> SyncDelegate(intsance, method, std::forward&lt;Tuple&gt;(arguments));</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        send(pImp);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;        <span class="keywordtype">int</span> numReads;</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        SyncDelegate *p = NULL;</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        <span class="keywordflow">if</span> ((numReads = read(mReturnPipe[0], &amp;p, <span class="keyword">sizeof</span>(p))) == -1)</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        {</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;            <a class="code" href="namespaceam.html#ab00ba22db19413e2040c2ab246f220c6">logError</a>(<span class="stringliteral">&quot;CAmSerializer::doSyncCall could not read pipe!&quot;</span>);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;            <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;CAmSerializer Could not read pipe!&quot;</span>);</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        }</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        result = std::move(pImp-&gt;mReturn);</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        arguments = std::move(pImp-&gt;mArguments);</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        <span class="comment">//Delete the pointer.</span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        <span class="keyword">delete</span> pImp;</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    }</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> send(CAmDelegagePtr p)</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    {</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        <span class="keywordflow">if</span> (write(mPipe[1], &amp;p, <span class="keyword">sizeof</span>(p)) == -1)</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        {</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;            <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;could not write to pipe !&quot;</span>);</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        }</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    }</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    <span class="keywordtype">int</span> mPipe[2]; </div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <span class="keywordtype">int</span> mReturnPipe[2]; </div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    std::deque&lt;CAmDelegagePtr&gt; mListDelegatePoiters; </div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a4096aa0d7c4ab433dd1241047da6b871">  264</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classam_1_1CAmSerializer.html#a4096aa0d7c4ab433dd1241047da6b871">getListDelegatePoiters</a>()</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;    {</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        <span class="keywordflow">return</span> mListDelegatePoiters.size();</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    }</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;     <span class="keyword">template</span>&lt;<span class="keyword">class </span>TClass, <span class="keyword">class </span>TRet, <span class="keyword">class </span>... TArgs&gt;</div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a2fab9510c9ab7140e7bd240ce0d13439">  291</a></span>&#160;     <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmSerializer.html#a2fab9510c9ab7140e7bd240ce0d13439">syncCall</a>(TClass* instance, TRet (TClass::*method)(TArgs ...), TRet &amp; result,  TArgs &amp; ... arguments)</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;     {</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(arguments...);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, method, result, t);</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        std::tie(arguments...) = t;</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;     }</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class </span>TClass, <span class="keyword">class </span>TRet, <span class="keyword">class </span>... TArgs&gt;</div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a3921451d5ab04e5a98bb044a418fc970">  318</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmSerializer.html#a3921451d5ab04e5a98bb044a418fc970">asyncCall</a>(TClass* instance, TRet (TClass::*method)(TArgs ...),  TArgs &amp; ... arguments)</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    {</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(arguments...);</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, method, t);</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    }</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass&gt;</div>
<div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#abf1b9c4474b8b6f0cbc0a3d074628ebe">  342</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#abf1b9c4474b8b6f0cbc0a3d074628ebe">asyncCall</a>(TClass* instance, <span class="keywordtype">void</span> (TClass::*<span class="keyword">function</span>)())</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;    {</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple();</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    }</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ&gt;</div>
<div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#af7e594c5d17b63be64d8e2131f70ac4c">  369</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#af7e594c5d17b63be64d8e2131f70ac4c">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ), Targ argument)</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    {</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument);</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    }</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ&gt;</div>
<div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#ad1a32c4221bb663c649490b3e33c4113">  396</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#ad1a32c4221bb663c649490b3e33c4113">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ&amp;), Targ&amp; argument)</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;    {</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument);</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    }</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1&gt;</div>
<div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a0ff2c1494a0f97ad864dd94228617e29">  413</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a0ff2c1494a0f97ad864dd94228617e29">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ argument, Targ1 argument1), Targ argument, Targ1 argument1)</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    {</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1);</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;    }</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1&gt;</div>
<div class="line"><a name="l00430"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#ad6c1e2120c7cc813d691cd06c1e6e167">  430</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#ad6c1e2120c7cc813d691cd06c1e6e167">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ&amp; argument, Targ1 argument1), Targ&amp; argument, Targ1 argument1)</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    {</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1);</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    }</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1&gt;</div>
<div class="line"><a name="l00447"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#aa44e01daec345006987b2c64861cef25">  447</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#aa44e01daec345006987b2c64861cef25">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ argument, Targ1&amp; argument1), Targ argument, Targ1&amp; argument1)</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;    {</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1);</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;    }</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1&gt;</div>
<div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#ad68f0659e1157316bd1ba52482f85819">  464</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#ad68f0659e1157316bd1ba52482f85819">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ&amp; argument, Targ1&amp; argument1), Targ&amp; argument, Targ1&amp; argument1)</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;    {</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1);</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;    }</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2&gt;</div>
<div class="line"><a name="l00474"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a399a981fe7f343287bdc4dc67a7f9dd2">  474</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a399a981fe7f343287bdc4dc67a7f9dd2">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ argument, Targ1 argument1, Targ2 argument2), Targ argument, Targ1 argument1, Targ2 argument2)</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;    {</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1, argument2);</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;    }</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2&gt;</div>
<div class="line"><a name="l00484"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a3b4863944ef2f01a18c1702d03252fa6">  484</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a3b4863944ef2f01a18c1702d03252fa6">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ&amp; argument, Targ1 argument1, Targ2 argument2), Targ&amp; argument, Targ1 argument1, Targ2 argument2)</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;    {</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1, argument2);</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;    }</div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2&gt;</div>
<div class="line"><a name="l00495"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#ac3cbeb7681c86f1d05570a8cbf73e992">  495</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#ac3cbeb7681c86f1d05570a8cbf73e992">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ argument, Targ1&amp; argument1, Targ2 argument2), Targ argument, Targ1&amp; argument1, Targ2 argument2)</div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;    {</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1, argument2);</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;    }</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2&gt;</div>
<div class="line"><a name="l00505"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#afb2ce11f1dae3b1466ee1527cf668b4d">  505</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#afb2ce11f1dae3b1466ee1527cf668b4d">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ argument, Targ1 argument1, Targ2&amp; argument2), Targ argument, Targ1 argument1, Targ2&amp; argument2)</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    {</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1, argument2);</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;    }</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2&gt;</div>
<div class="line"><a name="l00515"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a0129e92393f2bc057bcec737e185f1e4">  515</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a0129e92393f2bc057bcec737e185f1e4">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ argument, Targ1&amp; argument1, Targ2&amp; argument2), Targ argument, Targ1&amp; argument1, Targ2&amp; argument2)</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;    {</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1, argument2);</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;    }</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2&gt;</div>
<div class="line"><a name="l00525"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a36a85164f8c8b28292463f460f358f8b">  525</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a36a85164f8c8b28292463f460f358f8b">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ&amp; argument, Targ1&amp; argument1, Targ2&amp; argument2), Targ&amp; argument, Targ1&amp; argument1, Targ2&amp; argument2)</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;    {</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1, argument2);</div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;    }</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2&gt;</div>
<div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#ade7e2206e17a39785a355d541c5e1a71">  535</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#ade7e2206e17a39785a355d541c5e1a71">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ&amp; argument, Targ1&amp; argument1, Targ2 argument2), Targ&amp; argument, Targ1&amp; argument1, Targ2 argument2)</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;    {</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1, argument2);</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;    }</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2&gt;</div>
<div class="line"><a name="l00545"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a9cba8ffa840271f142238c03145efa21">  545</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a9cba8ffa840271f142238c03145efa21">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ&amp; argument, Targ1 argument1, Targ2&amp; argument2), Targ&amp; argument, Targ1 argument1, Targ2&amp; argument2)</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;    {</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1, argument2);</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;    }</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2, <span class="keyword">class</span> Targ3&gt;</div>
<div class="line"><a name="l00555"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a1e1c5057e1297aaae2712d9d93542ab6">  555</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a1e1c5057e1297aaae2712d9d93542ab6">asyncCall</a>(TClass1* instance, <span class="keywordtype">void</span> (TClass1::*<span class="keyword">function</span>)(Targ argument, Targ1 argument1, Targ2 argument2, Targ3 argument3), Targ argument, Targ1 argument1, Targ2 argument2, Targ3 argument3)</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;    {</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument,argument1, argument2,argument3);</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">doAsyncCall</a>(instance, <span class="keyword">function</span>, t);</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;    }</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> TretVal&gt;</div>
<div class="line"><a name="l00584"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a20cc2e297a35f390a04c0527d356225b">  584</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a20cc2e297a35f390a04c0527d356225b">syncCall</a>(TClass1* instance, TretVal (TClass1::*<span class="keyword">function</span>)(), TretVal&amp; retVal)</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;    {</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple();</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, <span class="keyword">function</span>, retVal, t);</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;    }</div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> TretVal, <span class="keyword">class</span> TargCall, <span class="keyword">class</span> Targ&gt;</div>
<div class="line"><a name="l00617"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a048a13fa186ec19c744ec52e8f2fc57e">  617</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a048a13fa186ec19c744ec52e8f2fc57e">syncCall</a>(TClass1* instance, TretVal (TClass1::*<span class="keyword">function</span>)(TargCall), TretVal&amp; retVal, Targ&amp; argument)</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;    {</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument);</div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, <span class="keyword">function</span>, retVal, t);</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;        std::tie(argument) = t;</div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;    }</div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> TretVal, <span class="keyword">class</span> TargCall, <span class="keyword">class</span> Targ&gt;</div>
<div class="line"><a name="l00628"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a607134672df681195429f730146bde12">  628</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a607134672df681195429f730146bde12">syncCall</a>(TClass1* instance, TretVal (TClass1::*<span class="keyword">function</span>)(TargCall) <span class="keyword">const</span>, TretVal&amp; retVal, Targ&amp; argument)</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;    {</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument);</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, <span class="keyword">function</span>, retVal, t);</div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;        std::tie(argument) = t;</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;    }</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> TretVal, <span class="keyword">class</span> TargCall, <span class="keyword">class</span> Targ1Call, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1&gt;</div>
<div class="line"><a name="l00639"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#aac61f9a14ffa661e4ad86c933ab023e6">  639</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#aac61f9a14ffa661e4ad86c933ab023e6">syncCall</a>(TClass1* instance, TretVal (TClass1::*<span class="keyword">function</span>)(TargCall, Targ1Call), TretVal&amp; retVal, Targ&amp; argument, Targ1&amp; argument1)</div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;    {</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument, argument1);</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, <span class="keyword">function</span>, retVal, t);</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;        std::tie(argument, argument1) = t;</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;    }</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> TretVal, <span class="keyword">class</span> TargCall, <span class="keyword">class</span> Targ1Call, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1&gt;</div>
<div class="line"><a name="l00649"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#ab2f3ec888554b4205a228d2f9fa1240d">  649</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#ab2f3ec888554b4205a228d2f9fa1240d">syncCall</a>(TClass1* instance, TretVal (TClass1::*<span class="keyword">function</span>)(TargCall, Targ1Call) <span class="keyword">const</span>, TretVal&amp; retVal, Targ&amp; argument, Targ1&amp; argument1)</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;    {</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument, argument1);</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, <span class="keyword">function</span>, retVal, t);</div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;        std::tie(argument, argument1) = t;</div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;    }</div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;</div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> TretVal, <span class="keyword">class</span> TargCall, <span class="keyword">class</span> TargCall1, <span class="keyword">class</span> TargCall2, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2&gt;</div>
<div class="line"><a name="l00660"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a1ba3bd4db4884a35f1d97c8ef0ce42e9">  660</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a1ba3bd4db4884a35f1d97c8ef0ce42e9">syncCall</a>(TClass1* instance, TretVal (TClass1::*<span class="keyword">function</span>)(TargCall, TargCall1, TargCall2), TretVal&amp; retVal, Targ&amp; argument, Targ1&amp; argument1, Targ2&amp; argument2)</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;    {</div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument, argument1, argument2);</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, <span class="keyword">function</span>, retVal, t);</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;        std::tie(argument, argument1,argument2) = t;</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;    }</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;   <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> TretVal, <span class="keyword">class</span> TargCall, <span class="keyword">class</span> TargCall1, <span class="keyword">class</span> TargCall2, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2&gt;</div>
<div class="line"><a name="l00671"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a336bfffecb851d34837e732cc187d7bf">  671</a></span>&#160;   <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a336bfffecb851d34837e732cc187d7bf">syncCall</a>(TClass1* instance, TretVal (TClass1::*<span class="keyword">function</span>)(TargCall, TargCall1, TargCall2) <span class="keyword">const</span>, TretVal&amp; retVal, Targ&amp; argument, Targ1&amp; argument1, Targ2&amp; argument2)</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;   {</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;       <span class="keyword">auto</span> t = std::make_tuple(argument, argument1, argument2);</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;       <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, <span class="keyword">function</span>, retVal, t);</div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;       std::tie(argument, argument1,argument2) = t;</div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;   }</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;</div>
<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> TretVal, <span class="keyword">class</span> TargCall, <span class="keyword">class</span> TargCall1, <span class="keyword">class</span> TargCall2, <span class="keyword">class</span> TargCall3, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2, <span class="keyword">class</span> Targ3&gt;</div>
<div class="line"><a name="l00682"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#ae0fb76f06adf7ec61da67b4546510158">  682</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#ae0fb76f06adf7ec61da67b4546510158">syncCall</a>(TClass1* instance, TretVal (TClass1::*<span class="keyword">function</span>)(TargCall, TargCall1, TargCall2, TargCall3), TretVal&amp; retVal, Targ&amp; argument, Targ1&amp; argument1, Targ2&amp; argument2, Targ3&amp; argument3)</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;    {</div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;       <span class="keyword">auto</span> t = std::make_tuple(argument, argument1, argument2, argument3);</div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;       <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, <span class="keyword">function</span>, retVal, t);</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;       std::tie(argument, argument1,argument2, argument3) = t;</div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;    }</div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> TretVal, <span class="keyword">class</span> TargCall, <span class="keyword">class</span> TargCall1, <span class="keyword">class</span> TargCall2, <span class="keyword">class</span> TargCall3, <span class="keyword">class</span> TargCall4, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2, <span class="keyword">class</span> Targ3, <span class="keyword">class</span> Targ4&gt;</div>
<div class="line"><a name="l00693"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#aa324fa2c84f00c9790e3453197a3e5ad">  693</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#aa324fa2c84f00c9790e3453197a3e5ad">syncCall</a>(TClass1* instance, TretVal (TClass1::*<span class="keyword">function</span>)(TargCall, TargCall1, TargCall2, TargCall3, TargCall4), TretVal&amp; retVal, Targ&amp; argument, Targ1&amp; argument1, Targ2&amp; argument2, Targ3&amp; argument3, Targ4&amp; argument4)</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;    {</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument, argument1, argument2, argument3, argument4);</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, <span class="keyword">function</span>, retVal, t);</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;        std::tie(argument, argument1,argument2, argument3, argument4) = t;</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;    }</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;</div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> TClass1, <span class="keyword">class</span> TretVal, <span class="keyword">class</span> TargCall, <span class="keyword">class</span> TargCall1, <span class="keyword">class</span> TargCall2, <span class="keyword">class</span> TargCall3, <span class="keyword">class</span> TargCall4, <span class="keyword">class</span> TargCall5, <span class="keyword">class</span> Targ, <span class="keyword">class</span> Targ1, <span class="keyword">class</span> Targ2, <span class="keyword">class</span> Targ3, <span class="keyword">class</span> Targ4, <span class="keyword">class</span> Targ5&gt;</div>
<div class="line"><a name="l00704"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a61f16785f9e57be8694565afd9b25c99">  704</a></span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="classam_1_1CAmSerializer.html#a61f16785f9e57be8694565afd9b25c99">syncCall</a>(TClass1* instance, TretVal (TClass1::*<span class="keyword">function</span>)(TargCall, TargCall1, TargCall2, TargCall3, TargCall4, TargCall5), TretVal&amp; retVal, Targ&amp; argument, Targ1&amp; argument1, Targ2&amp; argument2, Targ3&amp; argument3, Targ4&amp; argument4, Targ5&amp; argument5)</div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;    {</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;        <span class="keyword">auto</span> t = std::make_tuple(argument, argument1, argument2, argument3, argument4, argument5);</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;        <a class="code" href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">doSyncCall</a>(instance, <span class="keyword">function</span>, retVal, t);</div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;        std::tie(argument, argument1,argument2, argument3, argument4, argument5) = t;</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;    }</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;</div>
<div class="line"><a name="l00714"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a56fbe8fa7b4e43825b2cbff44b9b13fc">  714</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmSerializer.html#a56fbe8fa7b4e43825b2cbff44b9b13fc">receiverCallback</a>(<span class="keyword">const</span> pollfd pollfd, <span class="keyword">const</span> <a class="code" href="namespaceam.html#af782e2735b1adf1e43a9d530cee340aa">sh_pollHandle_t</a> handle, <span class="keywordtype">void</span>* userData)</div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;    {</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;        (void) handle;</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;        (void) userData;</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;        <span class="keywordtype">int</span> numReads;</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;        CAmDelegagePtr listPointers[3];</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;        <span class="keywordflow">if</span> ((numReads = read(pollfd.fd, &amp;listPointers, <span class="keyword">sizeof</span>(listPointers))) == -1)</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;        {</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;            <a class="code" href="namespaceam.html#ab00ba22db19413e2040c2ab246f220c6">logError</a>(<span class="stringliteral">&quot;CAmSerializer::receiverCallback could not read pipe!&quot;</span>);</div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;            <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;CAmSerializer Could not read pipe!&quot;</span>);</div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;        }</div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;        mListDelegatePoiters.assign(listPointers, listPointers + (numReads / <span class="keyword">sizeof</span>(CAmDelegagePtr)));</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;    }</div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;</div>
<div class="line"><a name="l00731"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a4625fc98ad399f0218b9dee30598de52">  731</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classam_1_1CAmSerializer.html#a4625fc98ad399f0218b9dee30598de52">checkerCallback</a>(<span class="keyword">const</span> <a class="code" href="namespaceam.html#af782e2735b1adf1e43a9d530cee340aa">sh_pollHandle_t</a> handle, <span class="keywordtype">void</span>* userData)</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;    {</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;        (void) handle;</div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;        (void) userData;</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;        <span class="keywordflow">if</span> (mListDelegatePoiters.empty())</div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;            <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;    }</div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;</div>
<div class="line"><a name="l00743"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a3d9f723013263b08a9a9aef951e4115d">  743</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classam_1_1CAmSerializer.html#a3d9f723013263b08a9a9aef951e4115d">dispatcherCallback</a>(<span class="keyword">const</span> <a class="code" href="namespaceam.html#af782e2735b1adf1e43a9d530cee340aa">sh_pollHandle_t</a> handle, <span class="keywordtype">void</span>* userData)</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;    {</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;        (void) handle;</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;        (void) userData;</div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;        CAmDelegagePtr delegatePoiter = mListDelegatePoiters.front();</div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;        mListDelegatePoiters.pop_front();</div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;        <span class="keywordflow">if</span> (delegatePoiter-&gt;call(mReturnPipe))</div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;            <span class="keyword">delete</span> delegatePoiter;</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;        <span class="keywordflow">if</span> (mListDelegatePoiters.empty())</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;            <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;    }</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;</div>
<div class="line"><a name="l00756"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#aa964393eaa6bb23692e707298cf4c626">  756</a></span>&#160;    <a class="code" href="classam_1_1TAmShPollFired.html">TAmShPollFired&lt;CAmSerializer&gt;</a> <a class="code" href="classam_1_1CAmSerializer.html#aa964393eaa6bb23692e707298cf4c626">receiverCallbackT</a>;</div>
<div class="line"><a name="l00757"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#ae300365862abdb441c7b3a8ba2c2f06e">  757</a></span>&#160;    <a class="code" href="classam_1_1TAmShPollDispatch.html">TAmShPollDispatch&lt;CAmSerializer&gt;</a> <a class="code" href="classam_1_1CAmSerializer.html#ae300365862abdb441c7b3a8ba2c2f06e">dispatcherCallbackT</a>;</div>
<div class="line"><a name="l00758"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a1f511d99586a5e7487c8a167d9b1d7a6">  758</a></span>&#160;    <a class="code" href="classam_1_1TAmShPollCheck.html">TAmShPollCheck&lt;CAmSerializer&gt;</a> <a class="code" href="classam_1_1CAmSerializer.html#a1f511d99586a5e7487c8a167d9b1d7a6">checkerCallbackT</a>;</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;</div>
<div class="line"><a name="l00764"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a9db44dbd78b8c680e0a2cb6cec55887d">  764</a></span>&#160;    <a class="code" href="classam_1_1CAmSerializer.html#a9db44dbd78b8c680e0a2cb6cec55887d">CAmSerializer</a>(<a class="code" href="classam_1_1CAmSocketHandler.html">CAmSocketHandler</a> *iSocketHandler) :</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;            mPipe(), <span class="comment">//</span></div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;            mReturnPipe(),<span class="comment">//</span></div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;            mListDelegatePoiters(), <span class="comment">//</span></div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;            <a class="code" href="classam_1_1CAmSerializer.html#aa964393eaa6bb23692e707298cf4c626">receiverCallbackT</a>(this, &amp;<a class="code" href="classam_1_1CAmSerializer.html">CAmSerializer</a>::<a class="code" href="classam_1_1CAmSerializer.html#a56fbe8fa7b4e43825b2cbff44b9b13fc">receiverCallback</a>), <span class="comment">//</span></div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;            <a class="code" href="classam_1_1CAmSerializer.html#ae300365862abdb441c7b3a8ba2c2f06e">dispatcherCallbackT</a>(this, &amp;<a class="code" href="classam_1_1CAmSerializer.html">CAmSerializer</a>::<a class="code" href="classam_1_1CAmSerializer.html#a3d9f723013263b08a9a9aef951e4115d">dispatcherCallback</a>), <span class="comment">//</span></div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;            <a class="code" href="classam_1_1CAmSerializer.html#a1f511d99586a5e7487c8a167d9b1d7a6">checkerCallbackT</a>(this, &amp;<a class="code" href="classam_1_1CAmSerializer.html">CAmSerializer</a>::<a class="code" href="classam_1_1CAmSerializer.html#a4625fc98ad399f0218b9dee30598de52">checkerCallback</a>)</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;    {</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;        assert(NULL!=iSocketHandler);</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;        <span class="keywordflow">if</span> (pipe(mPipe) == -1)</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;        {</div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;            <a class="code" href="namespaceam.html#ab00ba22db19413e2040c2ab246f220c6">logError</a>(<span class="stringliteral">&quot;CAmSerializer could not create pipe!&quot;</span>);</div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;            <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;CAmSerializer Could not open pipe!&quot;</span>);</div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;        }</div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;</div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;        <span class="keywordflow">if</span> (pipe(mReturnPipe) == -1)</div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;        {</div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;            <a class="code" href="namespaceam.html#ab00ba22db19413e2040c2ab246f220c6">logError</a>(<span class="stringliteral">&quot;CAmSerializer could not create mReturnPipe!&quot;</span>);</div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;            <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;CAmSerializer Could not open mReturnPipe!&quot;</span>);</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;        }</div>
<div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;        <span class="keywordtype">short</span> <span class="keyword">event</span> = 0;</div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;        <a class="code" href="namespaceam.html#af782e2735b1adf1e43a9d530cee340aa">sh_pollHandle_t</a> handle;</div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;        <span class="keyword">event</span> |= POLLIN;</div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;        iSocketHandler-&gt;<a class="code" href="classam_1_1CAmSocketHandler.html#ace2198a9522679b4a680c43755bb9b44">addFDPoll</a>(mPipe[0], event, NULL, &amp;<a class="code" href="classam_1_1CAmSerializer.html#aa964393eaa6bb23692e707298cf4c626">receiverCallbackT</a>, &amp;<a class="code" href="classam_1_1CAmSerializer.html#a1f511d99586a5e7487c8a167d9b1d7a6">checkerCallbackT</a>, &amp;<a class="code" href="classam_1_1CAmSerializer.html#ae300365862abdb441c7b3a8ba2c2f06e">dispatcherCallbackT</a>, NULL, handle);</div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;    }</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;</div>
<div class="line"><a name="l00792"></a><span class="lineno"><a class="line" href="classam_1_1CAmSerializer.html#a85de8ad38d51c00ec43523d33f6b5e1f">  792</a></span>&#160;    <a class="code" href="classam_1_1CAmSerializer.html#a85de8ad38d51c00ec43523d33f6b5e1f">~CAmSerializer</a>()</div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;    {</div>
<div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;        close(mPipe[0]);</div>
<div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;        close(mPipe[1]);</div>
<div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;        close(mReturnPipe[0]);</div>
<div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;        close(mReturnPipe[1]);</div>
<div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;    }</div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;};</div>
<div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;} <span class="comment">/* namespace am */</span></div>
<div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* CAMSERIALIZER_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_afb2ce11f1dae3b1466ee1527cf668b4d"><div class="ttname"><a href="classam_1_1CAmSerializer.html#afb2ce11f1dae3b1466ee1527cf668b4d">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 argument1, Targ2 &amp;argument2), Targ argument, Targ1 argument1, Targ2 &amp;argument2)</div><div class="ttdoc">calls a function with three arguments asynchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00505">CAmSerializer.h:505</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html"><div class="ttname"><a href="classam_1_1CAmSerializer.html">am::CAmSerializer</a></div><div class="ttdoc">magic class that does the serialization of functions calls The constructor must be called within the ...</div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00049">CAmSerializer.h:49</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a9cba8ffa840271f142238c03145efa21"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a9cba8ffa840271f142238c03145efa21">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ &amp;argument, Targ1 argument1, Targ2 &amp;argument2), Targ &amp;argument, Targ1 argument1, Targ2 &amp;argument2)</div><div class="ttdoc">calls a function with three arguments asynchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00545">CAmSerializer.h:545</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_ae0fb76f06adf7ec61da67b4546510158"><div class="ttname"><a href="classam_1_1CAmSerializer.html#ae0fb76f06adf7ec61da67b4546510158">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass1 *instance, TretVal(TClass1::*function)(TargCall, TargCall1, TargCall2, TargCall3), TretVal &amp;retVal, Targ &amp;argument, Targ1 &amp;argument1, Targ2 &amp;argument2, Targ3 &amp;argument3)</div><div class="ttdoc">calls a function with four arguments synchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00682">CAmSerializer.h:682</a></div></div>
<div class="ttc" id="classam_1_1TAmShPollCheck_html"><div class="ttname"><a href="classam_1_1TAmShPollCheck.html">am::TAmShPollCheck</a></div><div class="ttdoc">template for a callback </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00449">CAmSocketHandler.h:449</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a36a85164f8c8b28292463f460f358f8b"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a36a85164f8c8b28292463f460f358f8b">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ &amp;argument, Targ1 &amp;argument1, Targ2 &amp;argument2), Targ &amp;argument, Targ1 &amp;argument1, Targ2 &amp;argument2)</div><div class="ttdoc">calls a function with three arguments asynchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00525">CAmSerializer.h:525</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a2fab9510c9ab7140e7bd240ce0d13439"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a2fab9510c9ab7140e7bd240ce0d13439">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass *instance, TRet(TClass::*method)(TArgs...), TRet &amp;result, TArgs &amp;...arguments)</div><div class="ttdoc">calls a function with variadic arguments threadsafe </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00291">CAmSerializer.h:291</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a4096aa0d7c4ab433dd1241047da6b871"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a4096aa0d7c4ab433dd1241047da6b871">am::CAmSerializer::getListDelegatePoiters</a></div><div class="ttdeci">int getListDelegatePoiters()</div><div class="ttdoc">get the size of delegate pointers </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00264">CAmSerializer.h:264</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a399a981fe7f343287bdc4dc67a7f9dd2"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a399a981fe7f343287bdc4dc67a7f9dd2">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 argument1, Targ2 argument2), Targ argument, Targ1 argument1, Targ2 argument2)</div><div class="ttdoc">calls a function with three arguments asynchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00474">CAmSerializer.h:474</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_ade7e2206e17a39785a355d541c5e1a71"><div class="ttname"><a href="classam_1_1CAmSerializer.html#ade7e2206e17a39785a355d541c5e1a71">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ &amp;argument, Targ1 &amp;argument1, Targ2 argument2), Targ &amp;argument, Targ1 &amp;argument1, Targ2 argument2)</div><div class="ttdoc">calls a function with three arguments asynchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00535">CAmSerializer.h:535</a></div></div>
<div class="ttc" id="classam_1_1TAmShPollFired_html"><div class="ttname"><a href="classam_1_1TAmShPollFired.html">am::TAmShPollFired</a></div><div class="ttdoc">make private, not public template for a callback </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00429">CAmSocketHandler.h:429</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a61f16785f9e57be8694565afd9b25c99"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a61f16785f9e57be8694565afd9b25c99">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass1 *instance, TretVal(TClass1::*function)(TargCall, TargCall1, TargCall2, TargCall3, TargCall4, TargCall5), TretVal &amp;retVal, Targ &amp;argument, Targ1 &amp;argument1, Targ2 &amp;argument2, Targ3 &amp;argument3, Targ4 &amp;argument4, Targ5 &amp;argument5)</div><div class="ttdoc">calls a function with six arguments synchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00704">CAmSerializer.h:704</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a1f511d99586a5e7487c8a167d9b1d7a6"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a1f511d99586a5e7487c8a167d9b1d7a6">am::CAmSerializer::checkerCallbackT</a></div><div class="ttdeci">TAmShPollCheck&lt; CAmSerializer &gt; checkerCallbackT</div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00758">CAmSerializer.h:758</a></div></div>
<div class="ttc" id="classam_1_1CAmSocketHandler_html"><div class="ttname"><a href="classam_1_1CAmSocketHandler.html">am::CAmSocketHandler</a></div><div class="ttdoc">The am::CAmSocketHandler implements a mainloop for the AudioManager. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00094">CAmSocketHandler.h:94</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_ad68f0659e1157316bd1ba52482f85819"><div class="ttname"><a href="classam_1_1CAmSerializer.html#ad68f0659e1157316bd1ba52482f85819">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ &amp;argument, Targ1 &amp;argument1), Targ &amp;argument, Targ1 &amp;argument1)</div><div class="ttdoc">calls a function with two arguments asynchronously threadsafe, both arguments are references...</div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00464">CAmSerializer.h:464</a></div></div>
<div class="ttc" id="namespaceam_html_af782e2735b1adf1e43a9d530cee340aa"><div class="ttname"><a href="namespaceam.html#af782e2735b1adf1e43a9d530cee340aa">am::sh_pollHandle_t</a></div><div class="ttdeci">uint16_t sh_pollHandle_t</div><div class="ttdoc">this is a handle for a filedescriptor to be used with the SocketHandler </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00037">CAmSocketHandler.h:37</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a3b4863944ef2f01a18c1702d03252fa6"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a3b4863944ef2f01a18c1702d03252fa6">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ &amp;argument, Targ1 argument1, Targ2 argument2), Targ &amp;argument, Targ1 argument1, Targ2 argument2)</div><div class="ttdoc">calls a function with three arguments asynchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00484">CAmSerializer.h:484</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_ae562e3e7cf9f5dfef4b1ddedc5f04e80"><div class="ttname"><a href="classam_1_1CAmSerializer.html#ae562e3e7cf9f5dfef4b1ddedc5f04e80">am::CAmSerializer::doAsyncCall</a></div><div class="ttdeci">void doAsyncCall(Class intsance, Method method, Tuple &amp;arguments)</div><div class="ttdoc">instantiates a async delegate with given arguments and sends the delegate pointer over the pipe ...</div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00210">CAmSerializer.h:210</a></div></div>
<div class="ttc" id="CAmDltWrapper_8h_html"><div class="ttname"><a href="CAmDltWrapper_8h.html">CAmDltWrapper.h</a></div><div class="ttdoc">SPDX license identifier: MPL-2.0. </div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_aa324fa2c84f00c9790e3453197a3e5ad"><div class="ttname"><a href="classam_1_1CAmSerializer.html#aa324fa2c84f00c9790e3453197a3e5ad">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass1 *instance, TretVal(TClass1::*function)(TargCall, TargCall1, TargCall2, TargCall3, TargCall4), TretVal &amp;retVal, Targ &amp;argument, Targ1 &amp;argument1, Targ2 &amp;argument2, Targ3 &amp;argument3, Targ4 &amp;argument4)</div><div class="ttdoc">calls a function with five arguments synchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00693">CAmSerializer.h:693</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_ad1a32c4221bb663c649490b3e33c4113"><div class="ttname"><a href="classam_1_1CAmSerializer.html#ad1a32c4221bb663c649490b3e33c4113">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ &amp;), Targ &amp;argument)</div><div class="ttdoc">calls a function with one argument called by reference asynchronously threadsafe </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00396">CAmSerializer.h:396</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a20cc2e297a35f390a04c0527d356225b"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a20cc2e297a35f390a04c0527d356225b">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass1 *instance, TretVal(TClass1::*function)(), TretVal &amp;retVal)</div><div class="ttdoc">calls a synchronous function with no arguments threadsafe </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00584">CAmSerializer.h:584</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a607134672df681195429f730146bde12"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a607134672df681195429f730146bde12">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass1 *instance, TretVal(TClass1::*function)(TargCall) const, TretVal &amp;retVal, Targ &amp;argument)</div><div class="ttdoc">calls a function with one argument synchronous threadsafe for const functions. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00628">CAmSerializer.h:628</a></div></div>
<div class="ttc" id="classam_1_1CAmSocketHandler_html_ace2198a9522679b4a680c43755bb9b44"><div class="ttname"><a href="classam_1_1CAmSocketHandler.html#ace2198a9522679b4a680c43755bb9b44">am::CAmSocketHandler::addFDPoll</a></div><div class="ttdeci">am_Error_e addFDPoll(const int fd, const short event, IAmShPollPrepare *prepare, IAmShPollFired *fired, IAmShPollCheck *check, IAmShPollDispatch *dispatch, void *userData, sh_pollHandle_t &amp;handle)</div><div class="ttdoc">Adds a filedescriptor to the polling loop. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8cpp_source.html#l00195">CAmSocketHandler.cpp:195</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a048a13fa186ec19c744ec52e8f2fc57e"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a048a13fa186ec19c744ec52e8f2fc57e">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass1 *instance, TretVal(TClass1::*function)(TargCall), TretVal &amp;retVal, Targ &amp;argument)</div><div class="ttdoc">calls a function with one argument synchronous threadsafe </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00617">CAmSerializer.h:617</a></div></div>
<div class="ttc" id="classam_1_1TAmShPollDispatch_html"><div class="ttname"><a href="classam_1_1TAmShPollDispatch.html">am::TAmShPollDispatch</a></div><div class="ttdoc">template for a callback </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00469">CAmSocketHandler.h:469</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a9db44dbd78b8c680e0a2cb6cec55887d"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a9db44dbd78b8c680e0a2cb6cec55887d">am::CAmSerializer::CAmSerializer</a></div><div class="ttdeci">CAmSerializer(CAmSocketHandler *iSocketHandler)</div><div class="ttdoc">The constructor must be called in the mainthread context ! </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00764">CAmSerializer.h:764</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a1ba3bd4db4884a35f1d97c8ef0ce42e9"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a1ba3bd4db4884a35f1d97c8ef0ce42e9">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass1 *instance, TretVal(TClass1::*function)(TargCall, TargCall1, TargCall2), TretVal &amp;retVal, Targ &amp;argument, Targ1 &amp;argument1, Targ2 &amp;argument2)</div><div class="ttdoc">calls a function with three arguments synchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00660">CAmSerializer.h:660</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_afd463682be766b28756ca2764f297ee3"><div class="ttname"><a href="classam_1_1CAmSerializer.html#afd463682be766b28756ca2764f297ee3">am::CAmSerializer::doSyncCall</a></div><div class="ttdeci">void doSyncCall(Class intsance, Method method, Return &amp;result, Tuple &amp;arguments)</div><div class="ttdoc">instantiates a sync delegate with given arguments and sends the delegate pointer over the pipe ...</div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00223">CAmSerializer.h:223</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_abf1b9c4474b8b6f0cbc0a3d074628ebe"><div class="ttname"><a href="classam_1_1CAmSerializer.html#abf1b9c4474b8b6f0cbc0a3d074628ebe">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass *instance, void(TClass::*function)())</div><div class="ttdoc">calls a function with no arguments threadsafe </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00342">CAmSerializer.h:342</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_ae300365862abdb441c7b3a8ba2c2f06e"><div class="ttname"><a href="classam_1_1CAmSerializer.html#ae300365862abdb441c7b3a8ba2c2f06e">am::CAmSerializer::dispatcherCallbackT</a></div><div class="ttdeci">TAmShPollDispatch&lt; CAmSerializer &gt; dispatcherCallbackT</div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00757">CAmSerializer.h:757</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_ac3cbeb7681c86f1d05570a8cbf73e992"><div class="ttname"><a href="classam_1_1CAmSerializer.html#ac3cbeb7681c86f1d05570a8cbf73e992">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 &amp;argument1, Targ2 argument2), Targ argument, Targ1 &amp;argument1, Targ2 argument2)</div><div class="ttdoc">calls a function with three arguments asynchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00495">CAmSerializer.h:495</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a1e1c5057e1297aaae2712d9d93542ab6"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a1e1c5057e1297aaae2712d9d93542ab6">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 argument1, Targ2 argument2, Targ3 argument3), Targ argument, Targ1 argument1, Targ2 argument2, Targ3 argument3)</div><div class="ttdoc">calls a function with four arguments asynchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00555">CAmSerializer.h:555</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a3921451d5ab04e5a98bb044a418fc970"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a3921451d5ab04e5a98bb044a418fc970">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass *instance, TRet(TClass::*method)(TArgs...), TArgs &amp;...arguments)</div><div class="ttdoc">calls a function with variadic arguments threadsafe </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00318">CAmSerializer.h:318</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_ab2f3ec888554b4205a228d2f9fa1240d"><div class="ttname"><a href="classam_1_1CAmSerializer.html#ab2f3ec888554b4205a228d2f9fa1240d">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass1 *instance, TretVal(TClass1::*function)(TargCall, Targ1Call) const, TretVal &amp;retVal, Targ &amp;argument, Targ1 &amp;argument1)</div><div class="ttdoc">calls a function with two arguments synchronously threadsafe const. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00649">CAmSerializer.h:649</a></div></div>
<div class="ttc" id="CAmSocketHandler_8h_html"><div class="ttname"><a href="CAmSocketHandler_8h.html">CAmSocketHandler.h</a></div><div class="ttdoc">SPDX license identifier: MPL-2.0. </div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_ad6c1e2120c7cc813d691cd06c1e6e167"><div class="ttname"><a href="classam_1_1CAmSerializer.html#ad6c1e2120c7cc813d691cd06c1e6e167">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ &amp;argument, Targ1 argument1), Targ &amp;argument, Targ1 argument1)</div><div class="ttdoc">calls a function with two arguments asynchronously threadsafe, first argument is a reference...</div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00430">CAmSerializer.h:430</a></div></div>
<div class="ttc" id="namespaceam_html_ab00ba22db19413e2040c2ab246f220c6"><div class="ttname"><a href="namespaceam.html#ab00ba22db19413e2040c2ab246f220c6">am::logError</a></div><div class="ttdeci">void logError(T value, TArgs...args)</div><div class="ttdoc">logs given values with errorlevel with the default context </div><div class="ttdef"><b>Definition:</b> <a href="CAmDltWrapper_8h_source.html#l00416">CAmDltWrapper.h:416</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a0ff2c1494a0f97ad864dd94228617e29"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a0ff2c1494a0f97ad864dd94228617e29">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 argument1), Targ argument, Targ1 argument1)</div><div class="ttdoc">calls a function with two arguments asynchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00413">CAmSerializer.h:413</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a56fbe8fa7b4e43825b2cbff44b9b13fc"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a56fbe8fa7b4e43825b2cbff44b9b13fc">am::CAmSerializer::receiverCallback</a></div><div class="ttdeci">void receiverCallback(const pollfd pollfd, const sh_pollHandle_t handle, void *userData)</div><div class="ttdoc">receiver callback for sockethandling, for more, see CAmSocketHandler </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00714">CAmSerializer.h:714</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a4625fc98ad399f0218b9dee30598de52"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a4625fc98ad399f0218b9dee30598de52">am::CAmSerializer::checkerCallback</a></div><div class="ttdeci">bool checkerCallback(const sh_pollHandle_t handle, void *userData)</div><div class="ttdoc">checker callback for sockethandling, for more, see CAmSocketHandler </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00731">CAmSerializer.h:731</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_aa964393eaa6bb23692e707298cf4c626"><div class="ttname"><a href="classam_1_1CAmSerializer.html#aa964393eaa6bb23692e707298cf4c626">am::CAmSerializer::receiverCallbackT</a></div><div class="ttdeci">TAmShPollFired&lt; CAmSerializer &gt; receiverCallbackT</div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00756">CAmSerializer.h:756</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a3d9f723013263b08a9a9aef951e4115d"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a3d9f723013263b08a9a9aef951e4115d">am::CAmSerializer::dispatcherCallback</a></div><div class="ttdeci">bool dispatcherCallback(const sh_pollHandle_t handle, void *userData)</div><div class="ttdoc">dispatcher callback for sockethandling, for more, see CAmSocketHandler </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00743">CAmSerializer.h:743</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a0129e92393f2bc057bcec737e185f1e4"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a0129e92393f2bc057bcec737e185f1e4">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 &amp;argument1, Targ2 &amp;argument2), Targ argument, Targ1 &amp;argument1, Targ2 &amp;argument2)</div><div class="ttdoc">calls a function with three arguments asynchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00515">CAmSerializer.h:515</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a336bfffecb851d34837e732cc187d7bf"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a336bfffecb851d34837e732cc187d7bf">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass1 *instance, TretVal(TClass1::*function)(TargCall, TargCall1, TargCall2) const, TretVal &amp;retVal, Targ &amp;argument, Targ1 &amp;argument1, Targ2 &amp;argument2)</div><div class="ttdoc">calls a const function with three arguments synchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00671">CAmSerializer.h:671</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_a85de8ad38d51c00ec43523d33f6b5e1f"><div class="ttname"><a href="classam_1_1CAmSerializer.html#a85de8ad38d51c00ec43523d33f6b5e1f">am::CAmSerializer::~CAmSerializer</a></div><div class="ttdeci">~CAmSerializer()</div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00792">CAmSerializer.h:792</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_aa44e01daec345006987b2c64861cef25"><div class="ttname"><a href="classam_1_1CAmSerializer.html#aa44e01daec345006987b2c64861cef25">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 &amp;argument1), Targ argument, Targ1 &amp;argument1)</div><div class="ttdoc">calls a function with two arguments asynchronously threadsafe, second argument is a reference...</div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00447">CAmSerializer.h:447</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_aac61f9a14ffa661e4ad86c933ab023e6"><div class="ttname"><a href="classam_1_1CAmSerializer.html#aac61f9a14ffa661e4ad86c933ab023e6">am::CAmSerializer::syncCall</a></div><div class="ttdeci">void syncCall(TClass1 *instance, TretVal(TClass1::*function)(TargCall, Targ1Call), TretVal &amp;retVal, Targ &amp;argument, Targ1 &amp;argument1)</div><div class="ttdoc">calls a function with two arguments synchronously threadsafe. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00639">CAmSerializer.h:639</a></div></div>
<div class="ttc" id="classam_1_1CAmSerializer_html_af7e594c5d17b63be64d8e2131f70ac4c"><div class="ttname"><a href="classam_1_1CAmSerializer.html#af7e594c5d17b63be64d8e2131f70ac4c">am::CAmSerializer::asyncCall</a></div><div class="ttdeci">void asyncCall(TClass1 *instance, void(TClass1::*function)(Targ), Targ argument)</div><div class="ttdoc">calls a function with one arguments asynchronously threadsafe </div><div class="ttdef"><b>Definition:</b> <a href="CAmSerializer_8h_source.html#l00369">CAmSerializer.h:369</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_789817cd9c9d85c1fb6b4cda55b71a5f.html">AudioManagerUtilities</a></li><li class="navelem"><a class="el" href="dir_6fd9bed21473e96783399bf9493172af.html">include</a></li><li class="navelem"><a class="el" href="CAmSerializer_8h.html">CAmSerializer.h</a></li>
    <li class="footer">Generated on Fri Sep 30 2016 14:27:21 for AudioManager by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>