This file is indexed.

/usr/share/doc/libjuce/apiref/classOSCReceiver.html is in libjuce-doc 4.3.0~repack-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
<!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.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: OSCReceiver Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JUCE
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classOSCReceiver-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OSCReceiver Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A class for receiving OSC data.  
 <a href="classOSCReceiver.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver_1_1Listener.html">Listener</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A class for receiving OSC data from an <a class="el" href="classOSCReceiver.html" title="A class for receiving OSC data. ">OSCReceiver</a>.  <a href="classOSCReceiver_1_1Listener.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html">ListenerWithOSCAddress</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A class for receiving only those OSC messages from an <a class="el" href="classOSCReceiver.html" title="A class for receiving OSC data. ">OSCReceiver</a> that match a given OSC address.  <a href="classOSCReceiver_1_1ListenerWithOSCAddress.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structOSCReceiver_1_1MessageLoopCallback.html">MessageLoopCallback</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use this struct as the template parameter for <a class="el" href="classOSCReceiver_1_1Listener.html" title="A class for receiving OSC data from an OSCReceiver. ">Listener</a> and <a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html" title="A class for receiving only those OSC messages from an OSCReceiver that match a given OSC address...">ListenerWithOSCAddress</a> to receive incoming OSC data on the message thread.  <a href="structOSCReceiver_1_1MessageLoopCallback.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structOSCReceiver_1_1RealtimeCallback.html">RealtimeCallback</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use this struct as the template parameter for <a class="el" href="classOSCReceiver_1_1Listener.html" title="A class for receiving OSC data from an OSCReceiver. ">Listener</a> and <a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html" title="A class for receiving only those OSC messages from an OSCReceiver that match a given OSC address...">ListenerWithOSCAddress</a> to receive incoming OSC data immediately after it arrives, called directly on the network thread that listens to incoming OSC traffic.  <a href="structOSCReceiver_1_1RealtimeCallback.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a4049c6e3f795387cf86c9969a408c0b0"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#a4049c6e3f795387cf86c9969a408c0b0">FormatErrorHandler</a>) (const char *data, int dataSize)</td></tr>
<tr class="memdesc:a4049c6e3f795387cf86c9969a408c0b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">An error handler function for OSC format errors that can be called by the <a class="el" href="classOSCReceiver.html" title="A class for receiving OSC data. ">OSCReceiver</a>.  <a href="#a4049c6e3f795387cf86c9969a408c0b0">More...</a><br /></td></tr>
<tr class="separator:a4049c6e3f795387cf86c9969a408c0b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa5c074f5f924dce01894224c00387507"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#aa5c074f5f924dce01894224c00387507">OSCReceiver</a> ()</td></tr>
<tr class="memdesc:aa5c074f5f924dce01894224c00387507"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new <a class="el" href="classOSCReceiver.html" title="A class for receiving OSC data. ">OSCReceiver</a>.  <a href="#aa5c074f5f924dce01894224c00387507">More...</a><br /></td></tr>
<tr class="separator:aa5c074f5f924dce01894224c00387507"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55b8f099e686711f5aae6e7b616daa1c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#a55b8f099e686711f5aae6e7b616daa1c">~OSCReceiver</a> ()</td></tr>
<tr class="memdesc:a55b8f099e686711f5aae6e7b616daa1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a55b8f099e686711f5aae6e7b616daa1c">More...</a><br /></td></tr>
<tr class="separator:a55b8f099e686711f5aae6e7b616daa1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac257f28515be7a4520e0811b3449239b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#ac257f28515be7a4520e0811b3449239b">connect</a> (int portNumber)</td></tr>
<tr class="memdesc:ac257f28515be7a4520e0811b3449239b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connects to the specified UDP port using a datagram socket, and starts listening to OSC packets arriving on this port.  <a href="#ac257f28515be7a4520e0811b3449239b">More...</a><br /></td></tr>
<tr class="separator:ac257f28515be7a4520e0811b3449239b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb7179630d20e6ddbf48e6ef380c3c67"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#adb7179630d20e6ddbf48e6ef380c3c67">disconnect</a> ()</td></tr>
<tr class="memdesc:adb7179630d20e6ddbf48e6ef380c3c67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnects from the currently used UDP port.  <a href="#adb7179630d20e6ddbf48e6ef380c3c67">More...</a><br /></td></tr>
<tr class="separator:adb7179630d20e6ddbf48e6ef380c3c67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcaed63b17d8749c937363d7e3732a4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#adcaed63b17d8749c937363d7e3732a4f">addListener</a> (<a class="el" href="classOSCReceiver_1_1Listener.html">Listener</a>&lt; <a class="el" href="structOSCReceiver_1_1MessageLoopCallback.html">MessageLoopCallback</a> &gt; *listenerToAdd)</td></tr>
<tr class="memdesc:adcaed63b17d8749c937363d7e3732a4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a listener that listens to OSC messages and bundles.  <a href="#adcaed63b17d8749c937363d7e3732a4f">More...</a><br /></td></tr>
<tr class="separator:adcaed63b17d8749c937363d7e3732a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdd90b61b2a11195dbb96f88099597b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#abdd90b61b2a11195dbb96f88099597b0">addListener</a> (<a class="el" href="classOSCReceiver_1_1Listener.html">Listener</a>&lt; <a class="el" href="structOSCReceiver_1_1RealtimeCallback.html">RealtimeCallback</a> &gt; *listenerToAdd)</td></tr>
<tr class="memdesc:abdd90b61b2a11195dbb96f88099597b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a listener that listens to OSC messages and bundles.  <a href="#abdd90b61b2a11195dbb96f88099597b0">More...</a><br /></td></tr>
<tr class="separator:abdd90b61b2a11195dbb96f88099597b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a291fa22f25c98248f9aa55768de5e3be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#a291fa22f25c98248f9aa55768de5e3be">addListener</a> (<a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html">ListenerWithOSCAddress</a>&lt; <a class="el" href="structOSCReceiver_1_1MessageLoopCallback.html">MessageLoopCallback</a> &gt; *listenerToAdd, <a class="el" href="classOSCAddress.html">OSCAddress</a> addressToMatch)</td></tr>
<tr class="memdesc:a291fa22f25c98248f9aa55768de5e3be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a filtered listener that listens to OSC messages matching the address used to register the listener here.  <a href="#a291fa22f25c98248f9aa55768de5e3be">More...</a><br /></td></tr>
<tr class="separator:a291fa22f25c98248f9aa55768de5e3be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8da81c3ff7833d82a93ab37fcac29dc8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#a8da81c3ff7833d82a93ab37fcac29dc8">addListener</a> (<a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html">ListenerWithOSCAddress</a>&lt; <a class="el" href="structOSCReceiver_1_1RealtimeCallback.html">RealtimeCallback</a> &gt; *listenerToAdd, <a class="el" href="classOSCAddress.html">OSCAddress</a> addressToMatch)</td></tr>
<tr class="memdesc:a8da81c3ff7833d82a93ab37fcac29dc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a filtered listener that listens to OSC messages matching the address used to register the listener here.  <a href="#a8da81c3ff7833d82a93ab37fcac29dc8">More...</a><br /></td></tr>
<tr class="separator:a8da81c3ff7833d82a93ab37fcac29dc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5f88bdb7cf43ad5c285acade967ab7a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#aa5f88bdb7cf43ad5c285acade967ab7a">removeListener</a> (<a class="el" href="classOSCReceiver_1_1Listener.html">Listener</a>&lt; <a class="el" href="structOSCReceiver_1_1MessageLoopCallback.html">MessageLoopCallback</a> &gt; *listenerToRemove)</td></tr>
<tr class="memdesc:aa5f88bdb7cf43ad5c285acade967ab7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a previously-registered listener.  <a href="#aa5f88bdb7cf43ad5c285acade967ab7a">More...</a><br /></td></tr>
<tr class="separator:aa5f88bdb7cf43ad5c285acade967ab7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bdd4a838cabd95d3b6c2e7d5e20a9c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#a9bdd4a838cabd95d3b6c2e7d5e20a9c7">removeListener</a> (<a class="el" href="classOSCReceiver_1_1Listener.html">Listener</a>&lt; <a class="el" href="structOSCReceiver_1_1RealtimeCallback.html">RealtimeCallback</a> &gt; *listenerToRemove)</td></tr>
<tr class="memdesc:a9bdd4a838cabd95d3b6c2e7d5e20a9c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a previously-registered listener.  <a href="#a9bdd4a838cabd95d3b6c2e7d5e20a9c7">More...</a><br /></td></tr>
<tr class="separator:a9bdd4a838cabd95d3b6c2e7d5e20a9c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a576f2d58c162127d12c996906bd021d4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#a576f2d58c162127d12c996906bd021d4">removeListener</a> (<a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html">ListenerWithOSCAddress</a>&lt; <a class="el" href="structOSCReceiver_1_1MessageLoopCallback.html">MessageLoopCallback</a> &gt; *listenerToRemove)</td></tr>
<tr class="memdesc:a576f2d58c162127d12c996906bd021d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a previously-registered listener.  <a href="#a576f2d58c162127d12c996906bd021d4">More...</a><br /></td></tr>
<tr class="separator:a576f2d58c162127d12c996906bd021d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cf4ff609310fd56a8060aed84dd40b5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#a1cf4ff609310fd56a8060aed84dd40b5">removeListener</a> (<a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html">ListenerWithOSCAddress</a>&lt; <a class="el" href="structOSCReceiver_1_1RealtimeCallback.html">RealtimeCallback</a> &gt; *listenerToRemove)</td></tr>
<tr class="memdesc:a1cf4ff609310fd56a8060aed84dd40b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a previously-registered listener.  <a href="#a1cf4ff609310fd56a8060aed84dd40b5">More...</a><br /></td></tr>
<tr class="separator:a1cf4ff609310fd56a8060aed84dd40b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a359a06dccc72bbc7fb4cba8d23d7f04c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOSCReceiver.html#a359a06dccc72bbc7fb4cba8d23d7f04c">registerFormatErrorHandler</a> (<a class="el" href="classOSCReceiver.html#a4049c6e3f795387cf86c9969a408c0b0">FormatErrorHandler</a> handler)</td></tr>
<tr class="memdesc:a359a06dccc72bbc7fb4cba8d23d7f04c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Installs a custom error handler which is called in case the receiver encounters a stream it cannot parse as an OSC bundle or OSC message.  <a href="#a359a06dccc72bbc7fb4cba8d23d7f04c">More...</a><br /></td></tr>
<tr class="separator:a359a06dccc72bbc7fb4cba8d23d7f04c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class for receiving OSC data. </p>
<p>An <a class="el" href="classOSCReceiver.html" title="A class for receiving OSC data. ">OSCReceiver</a> object allows you to receive OSC bundles and messages. It can connect to a network port, receive incoming OSC packets from the network via UDP, parse them, and forward the included <a class="el" href="classOSCMessage.html" title="An OSC Message. ">OSCMessage</a> and <a class="el" href="classOSCBundle.html" title="An OSC bundle. ">OSCBundle</a> objects to its listeners. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a4049c6e3f795387cf86c9969a408c0b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4049c6e3f795387cf86c9969a408c0b0">&sect;&nbsp;</a></span>FormatErrorHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* OSCReceiver::FormatErrorHandler) (const char *data, int dataSize)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An error handler function for OSC format errors that can be called by the <a class="el" href="classOSCReceiver.html" title="A class for receiving OSC data. ">OSCReceiver</a>. </p>
<p>The arguments passed are the pointer to and the data of the buffer that the <a class="el" href="classOSCReceiver.html" title="A class for receiving OSC data. ">OSCReceiver</a> has failed to parse. </p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa5c074f5f924dce01894224c00387507"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5c074f5f924dce01894224c00387507">&sect;&nbsp;</a></span>OSCReceiver()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OSCReceiver::OSCReceiver </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs a new <a class="el" href="classOSCReceiver.html" title="A class for receiving OSC data. ">OSCReceiver</a>. </p>

</div>
</div>
<a id="a55b8f099e686711f5aae6e7b616daa1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55b8f099e686711f5aae6e7b616daa1c">&sect;&nbsp;</a></span>~OSCReceiver()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OSCReceiver::~OSCReceiver </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac257f28515be7a4520e0811b3449239b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac257f28515be7a4520e0811b3449239b">&sect;&nbsp;</a></span>connect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool OSCReceiver::connect </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>portNumber</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Connects to the specified UDP port using a datagram socket, and starts listening to OSC packets arriving on this port. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the connection was successful; false otherwise. </dd></dl>

</div>
</div>
<a id="adb7179630d20e6ddbf48e6ef380c3c67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb7179630d20e6ddbf48e6ef380c3c67">&sect;&nbsp;</a></span>disconnect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool OSCReceiver::disconnect </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disconnects from the currently used UDP port. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the disconnection was successful; false otherwise. </dd></dl>

</div>
</div>
<a id="adcaed63b17d8749c937363d7e3732a4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcaed63b17d8749c937363d7e3732a4f">&sect;&nbsp;</a></span>addListener() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OSCReceiver::addListener </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOSCReceiver_1_1Listener.html">Listener</a>&lt; <a class="el" href="structOSCReceiver_1_1MessageLoopCallback.html">MessageLoopCallback</a> &gt; *&#160;</td>
          <td class="paramname"><em>listenerToAdd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a listener that listens to OSC messages and bundles. </p>
<p>This listener will be called on the application's message loop. </p>

</div>
</div>
<a id="abdd90b61b2a11195dbb96f88099597b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abdd90b61b2a11195dbb96f88099597b0">&sect;&nbsp;</a></span>addListener() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OSCReceiver::addListener </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOSCReceiver_1_1Listener.html">Listener</a>&lt; <a class="el" href="structOSCReceiver_1_1RealtimeCallback.html">RealtimeCallback</a> &gt; *&#160;</td>
          <td class="paramname"><em>listenerToAdd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a listener that listens to OSC messages and bundles. </p>
<p>This listener will be called in real-time directly on the network thread that receives OSC data. </p>

</div>
</div>
<a id="a291fa22f25c98248f9aa55768de5e3be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a291fa22f25c98248f9aa55768de5e3be">&sect;&nbsp;</a></span>addListener() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OSCReceiver::addListener </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html">ListenerWithOSCAddress</a>&lt; <a class="el" href="structOSCReceiver_1_1MessageLoopCallback.html">MessageLoopCallback</a> &gt; *&#160;</td>
          <td class="paramname"><em>listenerToAdd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOSCAddress.html">OSCAddress</a>&#160;</td>
          <td class="paramname"><em>addressToMatch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a filtered listener that listens to OSC messages matching the address used to register the listener here. </p>
<p>The listener will be called on the application's message loop. </p>

</div>
</div>
<a id="a8da81c3ff7833d82a93ab37fcac29dc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8da81c3ff7833d82a93ab37fcac29dc8">&sect;&nbsp;</a></span>addListener() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OSCReceiver::addListener </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html">ListenerWithOSCAddress</a>&lt; <a class="el" href="structOSCReceiver_1_1RealtimeCallback.html">RealtimeCallback</a> &gt; *&#160;</td>
          <td class="paramname"><em>listenerToAdd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOSCAddress.html">OSCAddress</a>&#160;</td>
          <td class="paramname"><em>addressToMatch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a filtered listener that listens to OSC messages matching the address used to register the listener here. </p>
<p>The listener will be called on the application's message loop. </p>

</div>
</div>
<a id="aa5f88bdb7cf43ad5c285acade967ab7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5f88bdb7cf43ad5c285acade967ab7a">&sect;&nbsp;</a></span>removeListener() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OSCReceiver::removeListener </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOSCReceiver_1_1Listener.html">Listener</a>&lt; <a class="el" href="structOSCReceiver_1_1MessageLoopCallback.html">MessageLoopCallback</a> &gt; *&#160;</td>
          <td class="paramname"><em>listenerToRemove</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes a previously-registered listener. </p>

</div>
</div>
<a id="a9bdd4a838cabd95d3b6c2e7d5e20a9c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bdd4a838cabd95d3b6c2e7d5e20a9c7">&sect;&nbsp;</a></span>removeListener() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OSCReceiver::removeListener </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOSCReceiver_1_1Listener.html">Listener</a>&lt; <a class="el" href="structOSCReceiver_1_1RealtimeCallback.html">RealtimeCallback</a> &gt; *&#160;</td>
          <td class="paramname"><em>listenerToRemove</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes a previously-registered listener. </p>

</div>
</div>
<a id="a576f2d58c162127d12c996906bd021d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a576f2d58c162127d12c996906bd021d4">&sect;&nbsp;</a></span>removeListener() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OSCReceiver::removeListener </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html">ListenerWithOSCAddress</a>&lt; <a class="el" href="structOSCReceiver_1_1MessageLoopCallback.html">MessageLoopCallback</a> &gt; *&#160;</td>
          <td class="paramname"><em>listenerToRemove</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes a previously-registered listener. </p>

</div>
</div>
<a id="a1cf4ff609310fd56a8060aed84dd40b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cf4ff609310fd56a8060aed84dd40b5">&sect;&nbsp;</a></span>removeListener() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OSCReceiver::removeListener </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOSCReceiver_1_1ListenerWithOSCAddress.html">ListenerWithOSCAddress</a>&lt; <a class="el" href="structOSCReceiver_1_1RealtimeCallback.html">RealtimeCallback</a> &gt; *&#160;</td>
          <td class="paramname"><em>listenerToRemove</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes a previously-registered listener. </p>

</div>
</div>
<a id="a359a06dccc72bbc7fb4cba8d23d7f04c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a359a06dccc72bbc7fb4cba8d23d7f04c">&sect;&nbsp;</a></span>registerFormatErrorHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OSCReceiver::registerFormatErrorHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOSCReceiver.html#a4049c6e3f795387cf86c9969a408c0b0">FormatErrorHandler</a>&#160;</td>
          <td class="paramname"><em>handler</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Installs a custom error handler which is called in case the receiver encounters a stream it cannot parse as an OSC bundle or OSC message. </p>
<p>By default (i.e. if you never use this method), in case of a parsing error nothing happens and the invalid packet is simply discarded. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__OSCReceiver_8h.html">juce_OSCReceiver.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content &copy ROLI Ltd.</small></address><br/>
</body>
</html>