midi-communications-macos 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.version +6 -0
  3. data/.yardoc/checksums +9 -0
  4. data/.yardoc/complete +0 -0
  5. data/.yardoc/object_types +0 -0
  6. data/.yardoc/objects/root.dat +0 -0
  7. data/.yardoc/proxy_types +0 -0
  8. data/.yardopts +6 -0
  9. data/LICENSE +159 -668
  10. data/README.md +6 -13
  11. data/doc/MIDICommunicationsMacOS/API/CF.html +124 -0
  12. data/doc/MIDICommunicationsMacOS/API/HostTime.html +124 -0
  13. data/doc/MIDICommunicationsMacOS/API/MIDIPacket.html +137 -0
  14. data/doc/MIDICommunicationsMacOS/API/MIDIPacketList.html +137 -0
  15. data/doc/MIDICommunicationsMacOS/API/MIDISysexSendRequest.html +137 -0
  16. data/doc/MIDICommunicationsMacOS/API.html +912 -0
  17. data/doc/MIDICommunicationsMacOS/Destination.html +1983 -0
  18. data/doc/MIDICommunicationsMacOS/Device.html +1102 -0
  19. data/doc/MIDICommunicationsMacOS/Endpoint.html +1665 -0
  20. data/doc/MIDICommunicationsMacOS/Entity.html +971 -0
  21. data/doc/MIDICommunicationsMacOS/Source.html +1784 -0
  22. data/doc/MIDICommunicationsMacOS/TypeConversion.html +393 -0
  23. data/doc/MIDICommunicationsMacOS.html +214 -0
  24. data/doc/_index.html +250 -0
  25. data/doc/class_list.html +54 -0
  26. data/doc/css/common.css +1 -0
  27. data/doc/css/full_list.css +58 -0
  28. data/doc/css/style.css +503 -0
  29. data/doc/file.README.html +275 -0
  30. data/doc/file_list.html +59 -0
  31. data/doc/frames.html +22 -0
  32. data/doc/index.html +275 -0
  33. data/doc/js/app.js +344 -0
  34. data/doc/js/full_list.js +242 -0
  35. data/doc/js/jquery.js +4 -0
  36. data/doc/method_list.html +542 -0
  37. data/doc/top-level-namespace.html +110 -0
  38. data/lib/midi-communications-macos/api.rb +7 -1
  39. data/lib/midi-communications-macos/destination.rb +86 -20
  40. data/lib/midi-communications-macos/device.rb +52 -18
  41. data/lib/midi-communications-macos/endpoint.rb +31 -5
  42. data/lib/midi-communications-macos/entity.rb +20 -6
  43. data/lib/midi-communications-macos/source.rb +79 -19
  44. data/lib/midi-communications-macos/type_conversion.rb +11 -4
  45. data/lib/midi-communications-macos/version.rb +4 -0
  46. data/lib/midi-communications-macos.rb +39 -1
  47. data/midi-communications-macos.gemspec +14 -10
  48. metadata +84 -4
@@ -0,0 +1,1665 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Module: MIDICommunicationsMacOS::Endpoint
8
+
9
+ &mdash; MIDI Communications macOS API
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "MIDICommunicationsMacOS::Endpoint";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (E)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../MIDICommunicationsMacOS.html" title="MIDICommunicationsMacOS (module)">MIDICommunicationsMacOS</a></span></span>
41
+ &raquo;
42
+ <span class="title">Endpoint</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Module: MIDICommunicationsMacOS::Endpoint
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+ <dl>
73
+ <dt>Extended by:</dt>
74
+ <dd>Forwardable</dd>
75
+ </dl>
76
+
77
+
78
+
79
+
80
+
81
+
82
+ <dl>
83
+ <dt>Included in:</dt>
84
+ <dd><span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span>, <span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span></dd>
85
+ </dl>
86
+
87
+
88
+
89
+ <dl>
90
+ <dt>Defined in:</dt>
91
+ <dd>lib/midi-communications-macos/endpoint.rb</dd>
92
+ </dl>
93
+
94
+ </div>
95
+
96
+ <h2>Overview</h2><div class="docstring">
97
+ <div class="discussion">
98
+ <p>A source or destination of a 16-channel MIDI stream.</p>
99
+
100
+ <p>This module provides shared functionality for both <span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span> (input) and
101
+ <span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span> (output) endpoints. Each endpoint represents a single
102
+ point of MIDI communication within an <span class='object_link'><a href="Entity.html" title="MIDICommunicationsMacOS::Entity (class)">Entity</a></span>.</p>
103
+
104
+
105
+ </div>
106
+ </div>
107
+ <div class="tags">
108
+
109
+
110
+ <p class="tag_title">See Also:</p>
111
+ <ul class="see">
112
+
113
+ <li><a href="https://developer.apple.com/documentation/coremidi/midiendpointref" target="_parent" title="https://developer.apple.com/documentation/coremidi/midiendpointref">https://developer.apple.com/documentation/coremidi/midiendpointref</a></li>
114
+
115
+ </ul>
116
+
117
+ </div>
118
+
119
+
120
+
121
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
122
+ <ul class="summary">
123
+
124
+ <li class="public ">
125
+ <span class="summary_signature">
126
+
127
+ <a href="#enabled-instance_method" title="#enabled (instance method)">#<strong>enabled</strong> &#x21d2; Boolean </a>
128
+
129
+
130
+
131
+ (also: #enabled?)
132
+
133
+ </span>
134
+
135
+
136
+
137
+
138
+ <span class="note title readonly">readonly</span>
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+ <span class="summary_desc"><div class='inline'><p>Whether the endpoint has been initialized.</p>
149
+ </div></span>
150
+
151
+ </li>
152
+
153
+
154
+ <li class="public ">
155
+ <span class="summary_signature">
156
+
157
+ <a href="#entity-instance_method" title="#entity (instance method)">#<strong>entity</strong> &#x21d2; Entity </a>
158
+
159
+
160
+
161
+ </span>
162
+
163
+
164
+
165
+
166
+ <span class="note title readonly">readonly</span>
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ <span class="summary_desc"><div class='inline'><p>The parent entity.</p>
177
+ </div></span>
178
+
179
+ </li>
180
+
181
+
182
+ <li class="public ">
183
+ <span class="summary_signature">
184
+
185
+ <a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong> &#x21d2; Integer </a>
186
+
187
+
188
+
189
+ </span>
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+ <span class="summary_desc"><div class='inline'><p>Unique local numeric ID of the endpoint.</p>
203
+ </div></span>
204
+
205
+ </li>
206
+
207
+
208
+ <li class="public ">
209
+ <span class="summary_signature">
210
+
211
+ <a href="#resource_id-instance_method" title="#resource_id (instance method)">#<strong>resource_id</strong> &#x21d2; Integer </a>
212
+
213
+
214
+
215
+ </span>
216
+
217
+
218
+
219
+
220
+ <span class="note title readonly">readonly</span>
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+ <span class="summary_desc"><div class='inline'><p>Core MIDI resource identifier.</p>
231
+ </div></span>
232
+
233
+ </li>
234
+
235
+
236
+ <li class="public ">
237
+ <span class="summary_signature">
238
+
239
+ <a href="#type-instance_method" title="#type (instance method)">#<strong>type</strong> &#x21d2; Object </a>
240
+
241
+
242
+
243
+ </span>
244
+
245
+
246
+
247
+
248
+ <span class="note title readonly">readonly</span>
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+ <span class="summary_desc"><div class='inline'></div></span>
259
+
260
+ </li>
261
+
262
+
263
+ </ul>
264
+
265
+
266
+
267
+
268
+
269
+ <h2>
270
+ Class Method Summary
271
+ <small><a href="#" class="summary_toggle">collapse</a></small>
272
+ </h2>
273
+
274
+ <ul class="summary">
275
+
276
+ <li class="public ">
277
+ <span class="summary_signature">
278
+
279
+ <a href="#all-class_method" title="all (class method)">.<strong>all</strong> &#x21d2; Array&lt;Destination, Source&gt; </a>
280
+
281
+
282
+
283
+ </span>
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+ <span class="summary_desc"><div class='inline'><p>All endpoints of both types.</p>
294
+ </div></span>
295
+
296
+ </li>
297
+
298
+
299
+ <li class="public ">
300
+ <span class="summary_signature">
301
+
302
+ <a href="#all_by_type-class_method" title="all_by_type (class method)">.<strong>all_by_type</strong> &#x21d2; Hash </a>
303
+
304
+
305
+
306
+ </span>
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+ <span class="summary_desc"><div class='inline'><p>A Hash of :source and :destination endpoints.</p>
317
+ </div></span>
318
+
319
+ </li>
320
+
321
+
322
+ <li class="public ">
323
+ <span class="summary_signature">
324
+
325
+ <a href="#destinations-class_method" title="destinations (class method)">.<strong>destinations</strong> &#x21d2; Array&lt;Destination&gt; </a>
326
+
327
+
328
+
329
+ </span>
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+ <span class="summary_desc"><div class='inline'><p>All destination endpoints.</p>
340
+ </div></span>
341
+
342
+ </li>
343
+
344
+
345
+ <li class="public ">
346
+ <span class="summary_signature">
347
+
348
+ <a href="#first-class_method" title="first (class method)">.<strong>first</strong>(type) &#x21d2; Destination, Source </a>
349
+
350
+
351
+
352
+ </span>
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+ <span class="summary_desc"><div class='inline'><p>Select the first endpoint of the specified type.</p>
363
+ </div></span>
364
+
365
+ </li>
366
+
367
+
368
+ <li class="public ">
369
+ <span class="summary_signature">
370
+
371
+ <a href="#get_class-class_method" title="get_class (class method)">.<strong>get_class</strong>(type) &#x21d2; Class </a>
372
+
373
+
374
+
375
+ </span>
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+ <span class="summary_desc"><div class='inline'><p>Get the class for the given endpoint type name.</p>
386
+ </div></span>
387
+
388
+ </li>
389
+
390
+
391
+ <li class="public ">
392
+ <span class="summary_signature">
393
+
394
+ <a href="#last-class_method" title="last (class method)">.<strong>last</strong>(type) &#x21d2; Destination, Source </a>
395
+
396
+
397
+
398
+ </span>
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+ <span class="summary_desc"><div class='inline'><p>Select the last endpoint of the specified type.</p>
409
+ </div></span>
410
+
411
+ </li>
412
+
413
+
414
+ <li class="public ">
415
+ <span class="summary_signature">
416
+
417
+ <a href="#sources-class_method" title="sources (class method)">.<strong>sources</strong> &#x21d2; Array&lt;Source&gt; </a>
418
+
419
+
420
+
421
+ </span>
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+ <span class="summary_desc"><div class='inline'><p>All source endpoints.</p>
432
+ </div></span>
433
+
434
+ </li>
435
+
436
+
437
+ </ul>
438
+
439
+ <h2>
440
+ Instance Method Summary
441
+ <small><a href="#" class="summary_toggle">collapse</a></small>
442
+ </h2>
443
+
444
+ <ul class="summary">
445
+
446
+ <li class="public ">
447
+ <span class="summary_signature">
448
+
449
+ <a href="#display_name-instance_method" title="#display_name (instance method)">#<strong>display_name</strong> &#x21d2; String </a>
450
+
451
+
452
+
453
+ </span>
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+ <span class="summary_desc"><div class='inline'><p>Formatted display name (delegated to entity).</p>
464
+ </div></span>
465
+
466
+ </li>
467
+
468
+
469
+ <li class="public ">
470
+ <span class="summary_signature">
471
+
472
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(resource_id, entity) &#x21d2; Object </a>
473
+
474
+
475
+
476
+ </span>
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+ <span class="summary_desc"><div class='inline'></div></span>
487
+
488
+ </li>
489
+
490
+
491
+ <li class="public ">
492
+ <span class="summary_signature">
493
+
494
+ <a href="#manufacturer-instance_method" title="#manufacturer (instance method)">#<strong>manufacturer</strong> &#x21d2; String </a>
495
+
496
+
497
+
498
+ </span>
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+ <span class="summary_desc"><div class='inline'><p>Device manufacturer name (delegated to entity).</p>
509
+ </div></span>
510
+
511
+ </li>
512
+
513
+
514
+ <li class="public ">
515
+ <span class="summary_signature">
516
+
517
+ <a href="#model-instance_method" title="#model (instance method)">#<strong>model</strong> &#x21d2; String </a>
518
+
519
+
520
+
521
+ </span>
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+ <span class="summary_desc"><div class='inline'><p>Device model name (delegated to entity).</p>
532
+ </div></span>
533
+
534
+ </li>
535
+
536
+
537
+ <li class="public ">
538
+ <span class="summary_signature">
539
+
540
+ <a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> &#x21d2; String </a>
541
+
542
+
543
+
544
+ </span>
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+ <span class="summary_desc"><div class='inline'><p>Endpoint name (delegated to entity).</p>
555
+ </div></span>
556
+
557
+ </li>
558
+
559
+
560
+ <li class="public ">
561
+ <span class="summary_signature">
562
+
563
+ <a href="#online%3F-instance_method" title="#online? (instance method)">#<strong>online?</strong> &#x21d2; Boolean </a>
564
+
565
+
566
+
567
+ </span>
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+ <span class="summary_desc"><div class='inline'><p>Is this endpoint online?.</p>
578
+ </div></span>
579
+
580
+ </li>
581
+
582
+
583
+ </ul>
584
+
585
+
586
+
587
+
588
+ <div id="instance_attr_details" class="attr_details">
589
+ <h2>Instance Attribute Details</h2>
590
+
591
+
592
+ <span id=""></span>
593
+ <div class="method_details first">
594
+ <h3 class="signature first" id="enabled-instance_method">
595
+
596
+ #<strong>enabled</strong> &#x21d2; <tt>Boolean</tt> <span class="extras">(readonly)</span>
597
+
598
+
599
+
600
+ <span class="aliases">Also known as:
601
+ <span class="names"><span id='enabled?-instance_method'>enabled?</span></span>
602
+ </span>
603
+
604
+
605
+
606
+ </h3><div class="docstring">
607
+ <div class="discussion">
608
+ <p>Returns whether the endpoint has been initialized.</p>
609
+
610
+
611
+ </div>
612
+ </div>
613
+ <div class="tags">
614
+
615
+ <p class="tag_title">Returns:</p>
616
+ <ul class="return">
617
+
618
+ <li>
619
+
620
+
621
+ <span class='type'>(<tt>Boolean</tt>)</span>
622
+
623
+
624
+
625
+ &mdash;
626
+ <div class='inline'><p>whether the endpoint has been initialized</p>
627
+ </div>
628
+
629
+ </li>
630
+
631
+ </ul>
632
+
633
+ </div><table class="source_code">
634
+ <tr>
635
+ <td>
636
+ <pre class="lines">
637
+
638
+
639
+ 24
640
+ 25
641
+ 26</pre>
642
+ </td>
643
+ <td>
644
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 24</span>
645
+
646
+ <span class='kw'>def</span> <span class='id identifier rubyid_enabled'>enabled</span>
647
+ <span class='ivar'>@enabled</span>
648
+ <span class='kw'>end</span></pre>
649
+ </td>
650
+ </tr>
651
+ </table>
652
+ </div>
653
+
654
+
655
+ <span id=""></span>
656
+ <div class="method_details ">
657
+ <h3 class="signature " id="entity-instance_method">
658
+
659
+ #<strong>entity</strong> &#x21d2; <tt><span class='object_link'><a href="Entity.html" title="MIDICommunicationsMacOS::Entity (class)">Entity</a></span></tt> <span class="extras">(readonly)</span>
660
+
661
+
662
+
663
+
664
+
665
+ </h3><div class="docstring">
666
+ <div class="discussion">
667
+ <p>Returns the parent entity.</p>
668
+
669
+
670
+ </div>
671
+ </div>
672
+ <div class="tags">
673
+
674
+ <p class="tag_title">Returns:</p>
675
+ <ul class="return">
676
+
677
+ <li>
678
+
679
+
680
+ <span class='type'>(<tt><span class='object_link'><a href="Entity.html" title="MIDICommunicationsMacOS::Entity (class)">Entity</a></span></tt>)</span>
681
+
682
+
683
+
684
+ &mdash;
685
+ <div class='inline'><p>the parent entity</p>
686
+ </div>
687
+
688
+ </li>
689
+
690
+ </ul>
691
+
692
+ </div><table class="source_code">
693
+ <tr>
694
+ <td>
695
+ <pre class="lines">
696
+
697
+
698
+ 24
699
+ 25
700
+ 26
701
+ 27
702
+ 28</pre>
703
+ </td>
704
+ <td>
705
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 24</span>
706
+
707
+ <span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:enabled</span><span class='comma'>,</span>
708
+ <span class='symbol'>:entity</span><span class='comma'>,</span>
709
+ <span class='symbol'>:id</span><span class='comma'>,</span>
710
+ <span class='symbol'>:resource_id</span><span class='comma'>,</span>
711
+ <span class='symbol'>:type</span></pre>
712
+ </td>
713
+ </tr>
714
+ </table>
715
+ </div>
716
+
717
+
718
+ <span id="id=-instance_method"></span>
719
+ <div class="method_details ">
720
+ <h3 class="signature " id="id-instance_method">
721
+
722
+ #<strong>id</strong> &#x21d2; <tt>Integer</tt>
723
+
724
+
725
+
726
+
727
+
728
+ </h3><div class="docstring">
729
+ <div class="discussion">
730
+ <p>Returns unique local numeric ID of the endpoint.</p>
731
+
732
+
733
+ </div>
734
+ </div>
735
+ <div class="tags">
736
+
737
+ <p class="tag_title">Returns:</p>
738
+ <ul class="return">
739
+
740
+ <li>
741
+
742
+
743
+ <span class='type'>(<tt>Integer</tt>)</span>
744
+
745
+
746
+
747
+ &mdash;
748
+ <div class='inline'><p>unique local numeric ID of the endpoint</p>
749
+ </div>
750
+
751
+ </li>
752
+
753
+ </ul>
754
+
755
+ </div><table class="source_code">
756
+ <tr>
757
+ <td>
758
+ <pre class="lines">
759
+
760
+
761
+ 24
762
+ 25
763
+ 26
764
+ 27
765
+ 28</pre>
766
+ </td>
767
+ <td>
768
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 24</span>
769
+
770
+ <span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:enabled</span><span class='comma'>,</span>
771
+ <span class='symbol'>:entity</span><span class='comma'>,</span>
772
+ <span class='symbol'>:id</span><span class='comma'>,</span>
773
+ <span class='symbol'>:resource_id</span><span class='comma'>,</span>
774
+ <span class='symbol'>:type</span></pre>
775
+ </td>
776
+ </tr>
777
+ </table>
778
+ </div>
779
+
780
+
781
+ <span id=""></span>
782
+ <div class="method_details ">
783
+ <h3 class="signature " id="resource_id-instance_method">
784
+
785
+ #<strong>resource_id</strong> &#x21d2; <tt>Integer</tt> <span class="extras">(readonly)</span>
786
+
787
+
788
+
789
+
790
+
791
+ </h3><div class="docstring">
792
+ <div class="discussion">
793
+ <p>Returns Core MIDI resource identifier.</p>
794
+
795
+
796
+ </div>
797
+ </div>
798
+ <div class="tags">
799
+
800
+ <p class="tag_title">Returns:</p>
801
+ <ul class="return">
802
+
803
+ <li>
804
+
805
+
806
+ <span class='type'>(<tt>Integer</tt>)</span>
807
+
808
+
809
+
810
+ &mdash;
811
+ <div class='inline'><p>Core MIDI resource identifier</p>
812
+ </div>
813
+
814
+ </li>
815
+
816
+ </ul>
817
+
818
+ </div><table class="source_code">
819
+ <tr>
820
+ <td>
821
+ <pre class="lines">
822
+
823
+
824
+ 24
825
+ 25
826
+ 26
827
+ 27
828
+ 28</pre>
829
+ </td>
830
+ <td>
831
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 24</span>
832
+
833
+ <span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:enabled</span><span class='comma'>,</span>
834
+ <span class='symbol'>:entity</span><span class='comma'>,</span>
835
+ <span class='symbol'>:id</span><span class='comma'>,</span>
836
+ <span class='symbol'>:resource_id</span><span class='comma'>,</span>
837
+ <span class='symbol'>:type</span></pre>
838
+ </td>
839
+ </tr>
840
+ </table>
841
+ </div>
842
+
843
+
844
+ <span id=""></span>
845
+ <div class="method_details ">
846
+ <h3 class="signature " id="type-instance_method">
847
+
848
+ #<strong>type</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
849
+
850
+
851
+
852
+
853
+
854
+ </h3><div class="docstring">
855
+ <div class="discussion">
856
+
857
+
858
+ </div>
859
+ </div>
860
+ <div class="tags">
861
+
862
+
863
+ </div><table class="source_code">
864
+ <tr>
865
+ <td>
866
+ <pre class="lines">
867
+
868
+
869
+ 24
870
+ 25
871
+ 26
872
+ 27
873
+ 28</pre>
874
+ </td>
875
+ <td>
876
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 24</span>
877
+
878
+ <span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:enabled</span><span class='comma'>,</span>
879
+ <span class='symbol'>:entity</span><span class='comma'>,</span>
880
+ <span class='symbol'>:id</span><span class='comma'>,</span>
881
+ <span class='symbol'>:resource_id</span><span class='comma'>,</span>
882
+ <span class='symbol'>:type</span></pre>
883
+ </td>
884
+ </tr>
885
+ </table>
886
+ </div>
887
+
888
+ </div>
889
+
890
+
891
+ <div id="class_method_details" class="method_details_list">
892
+ <h2>Class Method Details</h2>
893
+
894
+
895
+ <div class="method_details first">
896
+ <h3 class="signature first" id="all-class_method">
897
+
898
+ .<strong>all</strong> &#x21d2; <tt>Array&lt;<span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span>, <span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span>&gt;</tt>
899
+
900
+
901
+
902
+
903
+
904
+ </h3><div class="docstring">
905
+ <div class="discussion">
906
+ <p>All endpoints of both types</p>
907
+
908
+
909
+ </div>
910
+ </div>
911
+ <div class="tags">
912
+
913
+ <p class="tag_title">Returns:</p>
914
+ <ul class="return">
915
+
916
+ <li>
917
+
918
+
919
+ <span class='type'>(<tt>Array&lt;<span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span>, <span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span>&gt;</tt>)</span>
920
+
921
+
922
+
923
+ </li>
924
+
925
+ </ul>
926
+
927
+ </div><table class="source_code">
928
+ <tr>
929
+ <td>
930
+ <pre class="lines">
931
+
932
+
933
+ 106
934
+ 107
935
+ 108</pre>
936
+ </td>
937
+ <td>
938
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 106</span>
939
+
940
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_all'>all</span>
941
+ <span class='const'><span class='object_link'><a href="Device.html" title="MIDICommunicationsMacOS::Device (class)">Device</a></span></span><span class='period'>.</span><span class='id identifier rubyid_all'><span class='object_link'><a href="Device.html#all-class_method" title="MIDICommunicationsMacOS::Device.all (method)">all</a></span></span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:endpoints</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span>
942
+ <span class='kw'>end</span></pre>
943
+ </td>
944
+ </tr>
945
+ </table>
946
+ </div>
947
+
948
+ <div class="method_details ">
949
+ <h3 class="signature " id="all_by_type-class_method">
950
+
951
+ .<strong>all_by_type</strong> &#x21d2; <tt>Hash</tt>
952
+
953
+
954
+
955
+
956
+
957
+ </h3><div class="docstring">
958
+ <div class="discussion">
959
+ <p>A Hash of :source and :destination endpoints</p>
960
+
961
+
962
+ </div>
963
+ </div>
964
+ <div class="tags">
965
+
966
+ <p class="tag_title">Returns:</p>
967
+ <ul class="return">
968
+
969
+ <li>
970
+
971
+
972
+ <span class='type'>(<tt>Hash</tt>)</span>
973
+
974
+
975
+
976
+ </li>
977
+
978
+ </ul>
979
+
980
+ </div><table class="source_code">
981
+ <tr>
982
+ <td>
983
+ <pre class="lines">
984
+
985
+
986
+ 97
987
+ 98
988
+ 99
989
+ 100
990
+ 101
991
+ 102</pre>
992
+ </td>
993
+ <td>
994
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 97</span>
995
+
996
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_all_by_type'>all_by_type</span>
997
+ <span class='lbrace'>{</span>
998
+ <span class='label'>source:</span> <span class='id identifier rubyid_sources'>sources</span><span class='comma'>,</span>
999
+ <span class='label'>destination:</span> <span class='id identifier rubyid_destinations'>destinations</span>
1000
+ <span class='rbrace'>}</span>
1001
+ <span class='kw'>end</span></pre>
1002
+ </td>
1003
+ </tr>
1004
+ </table>
1005
+ </div>
1006
+
1007
+ <div class="method_details ">
1008
+ <h3 class="signature " id="destinations-class_method">
1009
+
1010
+ .<strong>destinations</strong> &#x21d2; <tt>Array&lt;<span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span>&gt;</tt>
1011
+
1012
+
1013
+
1014
+
1015
+
1016
+ </h3><div class="docstring">
1017
+ <div class="discussion">
1018
+ <p>All destination endpoints</p>
1019
+
1020
+
1021
+ </div>
1022
+ </div>
1023
+ <div class="tags">
1024
+
1025
+ <p class="tag_title">Returns:</p>
1026
+ <ul class="return">
1027
+
1028
+ <li>
1029
+
1030
+
1031
+ <span class='type'>(<tt>Array&lt;<span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span>&gt;</tt>)</span>
1032
+
1033
+
1034
+
1035
+ </li>
1036
+
1037
+ </ul>
1038
+
1039
+ </div><table class="source_code">
1040
+ <tr>
1041
+ <td>
1042
+ <pre class="lines">
1043
+
1044
+
1045
+ 91
1046
+ 92
1047
+ 93</pre>
1048
+ </td>
1049
+ <td>
1050
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 91</span>
1051
+
1052
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_destinations'>destinations</span>
1053
+ <span class='const'><span class='object_link'><a href="Device.html" title="MIDICommunicationsMacOS::Device (class)">Device</a></span></span><span class='period'>.</span><span class='id identifier rubyid_all'><span class='object_link'><a href="Device.html#all-class_method" title="MIDICommunicationsMacOS::Device.all (method)">all</a></span></span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_d'>d</span><span class='op'>|</span> <span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_endpoints'>endpoints</span><span class='lbracket'>[</span><span class='symbol'>:destination</span><span class='rbracket'>]</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span>
1054
+ <span class='kw'>end</span></pre>
1055
+ </td>
1056
+ </tr>
1057
+ </table>
1058
+ </div>
1059
+
1060
+ <div class="method_details ">
1061
+ <h3 class="signature " id="first-class_method">
1062
+
1063
+ .<strong>first</strong>(type) &#x21d2; <tt><span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span></tt>, <tt><span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span></tt>
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+ </h3><div class="docstring">
1070
+ <div class="discussion">
1071
+ <p>Select the first endpoint of the specified type</p>
1072
+
1073
+
1074
+ </div>
1075
+ </div>
1076
+ <div class="tags">
1077
+
1078
+ <p class="tag_title">Returns:</p>
1079
+ <ul class="return">
1080
+
1081
+ <li>
1082
+
1083
+
1084
+ <span class='type'>(<tt><span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span></tt>, <tt><span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span></tt>)</span>
1085
+
1086
+
1087
+
1088
+ </li>
1089
+
1090
+ </ul>
1091
+
1092
+ </div><table class="source_code">
1093
+ <tr>
1094
+ <td>
1095
+ <pre class="lines">
1096
+
1097
+
1098
+ 73
1099
+ 74
1100
+ 75</pre>
1101
+ </td>
1102
+ <td>
1103
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 73</span>
1104
+
1105
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span>
1106
+ <span class='id identifier rubyid_all_by_type'>all_by_type</span><span class='lbracket'>[</span><span class='id identifier rubyid_type'>type</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
1107
+ <span class='kw'>end</span></pre>
1108
+ </td>
1109
+ </tr>
1110
+ </table>
1111
+ </div>
1112
+
1113
+ <div class="method_details ">
1114
+ <h3 class="signature " id="get_class-class_method">
1115
+
1116
+ .<strong>get_class</strong>(type) &#x21d2; <tt>Class</tt>
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+ </h3><div class="docstring">
1123
+ <div class="discussion">
1124
+ <p>Get the class for the given endpoint type name</p>
1125
+
1126
+
1127
+ </div>
1128
+ </div>
1129
+ <div class="tags">
1130
+ <p class="tag_title">Parameters:</p>
1131
+ <ul class="param">
1132
+
1133
+ <li>
1134
+
1135
+ <span class='name'>type</span>
1136
+
1137
+
1138
+ <span class='type'>(<tt>Symbol</tt>)</span>
1139
+
1140
+
1141
+
1142
+ &mdash;
1143
+ <div class='inline'><p>The endpoint type eg :source, :destination</p>
1144
+ </div>
1145
+
1146
+ </li>
1147
+
1148
+ </ul>
1149
+
1150
+ <p class="tag_title">Returns:</p>
1151
+ <ul class="return">
1152
+
1153
+ <li>
1154
+
1155
+
1156
+ <span class='type'>(<tt>Class</tt>)</span>
1157
+
1158
+
1159
+
1160
+ &mdash;
1161
+ <div class='inline'><p>eg Source, Destination</p>
1162
+ </div>
1163
+
1164
+ </li>
1165
+
1166
+ </ul>
1167
+
1168
+ </div><table class="source_code">
1169
+ <tr>
1170
+ <td>
1171
+ <pre class="lines">
1172
+
1173
+
1174
+ 113
1175
+ 114
1176
+ 115
1177
+ 116
1178
+ 117
1179
+ 118</pre>
1180
+ </td>
1181
+ <td>
1182
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 113</span>
1183
+
1184
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_get_class'>get_class</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span>
1185
+ <span class='kw'>case</span> <span class='id identifier rubyid_type'>type</span>
1186
+ <span class='kw'>when</span> <span class='symbol'>:source</span> <span class='kw'>then</span> <span class='const'><span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span></span>
1187
+ <span class='kw'>when</span> <span class='symbol'>:destination</span> <span class='kw'>then</span> <span class='const'><span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span></span>
1188
+ <span class='kw'>end</span>
1189
+ <span class='kw'>end</span></pre>
1190
+ </td>
1191
+ </tr>
1192
+ </table>
1193
+ </div>
1194
+
1195
+ <div class="method_details ">
1196
+ <h3 class="signature " id="last-class_method">
1197
+
1198
+ .<strong>last</strong>(type) &#x21d2; <tt><span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span></tt>, <tt><span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span></tt>
1199
+
1200
+
1201
+
1202
+
1203
+
1204
+ </h3><div class="docstring">
1205
+ <div class="discussion">
1206
+ <p>Select the last endpoint of the specified type</p>
1207
+
1208
+
1209
+ </div>
1210
+ </div>
1211
+ <div class="tags">
1212
+
1213
+ <p class="tag_title">Returns:</p>
1214
+ <ul class="return">
1215
+
1216
+ <li>
1217
+
1218
+
1219
+ <span class='type'>(<tt><span class='object_link'><a href="Destination.html" title="MIDICommunicationsMacOS::Destination (class)">Destination</a></span></tt>, <tt><span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span></tt>)</span>
1220
+
1221
+
1222
+
1223
+ </li>
1224
+
1225
+ </ul>
1226
+
1227
+ </div><table class="source_code">
1228
+ <tr>
1229
+ <td>
1230
+ <pre class="lines">
1231
+
1232
+
1233
+ 79
1234
+ 80
1235
+ 81</pre>
1236
+ </td>
1237
+ <td>
1238
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 79</span>
1239
+
1240
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span>
1241
+ <span class='id identifier rubyid_all_by_type'>all_by_type</span><span class='lbracket'>[</span><span class='id identifier rubyid_type'>type</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span>
1242
+ <span class='kw'>end</span></pre>
1243
+ </td>
1244
+ </tr>
1245
+ </table>
1246
+ </div>
1247
+
1248
+ <div class="method_details ">
1249
+ <h3 class="signature " id="sources-class_method">
1250
+
1251
+ .<strong>sources</strong> &#x21d2; <tt>Array&lt;<span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span>&gt;</tt>
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+ </h3><div class="docstring">
1258
+ <div class="discussion">
1259
+ <p>All source endpoints</p>
1260
+
1261
+
1262
+ </div>
1263
+ </div>
1264
+ <div class="tags">
1265
+
1266
+ <p class="tag_title">Returns:</p>
1267
+ <ul class="return">
1268
+
1269
+ <li>
1270
+
1271
+
1272
+ <span class='type'>(<tt>Array&lt;<span class='object_link'><a href="Source.html" title="MIDICommunicationsMacOS::Source (class)">Source</a></span>&gt;</tt>)</span>
1273
+
1274
+
1275
+
1276
+ </li>
1277
+
1278
+ </ul>
1279
+
1280
+ </div><table class="source_code">
1281
+ <tr>
1282
+ <td>
1283
+ <pre class="lines">
1284
+
1285
+
1286
+ 85
1287
+ 86
1288
+ 87</pre>
1289
+ </td>
1290
+ <td>
1291
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 85</span>
1292
+
1293
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_sources'>sources</span>
1294
+ <span class='const'><span class='object_link'><a href="Device.html" title="MIDICommunicationsMacOS::Device (class)">Device</a></span></span><span class='period'>.</span><span class='id identifier rubyid_all'><span class='object_link'><a href="Device.html#all-class_method" title="MIDICommunicationsMacOS::Device.all (method)">all</a></span></span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_d'>d</span><span class='op'>|</span> <span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_endpoints'>endpoints</span><span class='lbracket'>[</span><span class='symbol'>:source</span><span class='rbracket'>]</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span>
1295
+ <span class='kw'>end</span></pre>
1296
+ </td>
1297
+ </tr>
1298
+ </table>
1299
+ </div>
1300
+
1301
+ </div>
1302
+
1303
+ <div id="instance_method_details" class="method_details_list">
1304
+ <h2>Instance Method Details</h2>
1305
+
1306
+
1307
+ <div class="method_details first">
1308
+ <h3 class="signature first" id="display_name-instance_method">
1309
+
1310
+ #<strong>display_name</strong> &#x21d2; <tt>String</tt>
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+ </h3><div class="docstring">
1317
+ <div class="discussion">
1318
+ <p>Returns formatted display name (delegated to entity).</p>
1319
+
1320
+
1321
+ </div>
1322
+ </div>
1323
+ <div class="tags">
1324
+
1325
+ <p class="tag_title">Returns:</p>
1326
+ <ul class="return">
1327
+
1328
+ <li>
1329
+
1330
+
1331
+ <span class='type'>(<tt>String</tt>)</span>
1332
+
1333
+
1334
+
1335
+ &mdash;
1336
+ <div class='inline'><p>formatted display name (delegated to entity)</p>
1337
+ </div>
1338
+
1339
+ </li>
1340
+
1341
+ </ul>
1342
+
1343
+ </div><table class="source_code">
1344
+ <tr>
1345
+ <td>
1346
+ <pre class="lines">
1347
+
1348
+
1349
+ 38</pre>
1350
+ </td>
1351
+ <td>
1352
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 38</span>
1353
+
1354
+ <span class='id identifier rubyid_def_delegators'>def_delegators</span> <span class='symbol'>:entity</span><span class='comma'>,</span> <span class='symbol'>:manufacturer</span><span class='comma'>,</span> <span class='symbol'>:model</span><span class='comma'>,</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='symbol'>:display_name</span></pre>
1355
+ </td>
1356
+ </tr>
1357
+ </table>
1358
+ </div>
1359
+
1360
+ <div class="method_details ">
1361
+ <h3 class="signature " id="initialize-instance_method">
1362
+
1363
+ #<strong>initialize</strong>(resource_id, entity) &#x21d2; <tt>Object</tt>
1364
+
1365
+
1366
+
1367
+
1368
+
1369
+ </h3><div class="docstring">
1370
+ <div class="discussion">
1371
+
1372
+
1373
+ </div>
1374
+ </div>
1375
+ <div class="tags">
1376
+ <p class="tag_title">Parameters:</p>
1377
+ <ul class="param">
1378
+
1379
+ <li>
1380
+
1381
+ <span class='name'>resource_id</span>
1382
+
1383
+
1384
+ <span class='type'>(<tt>Integer</tt>)</span>
1385
+
1386
+
1387
+
1388
+ </li>
1389
+
1390
+ <li>
1391
+
1392
+ <span class='name'>entity</span>
1393
+
1394
+
1395
+ <span class='type'>(<tt><span class='object_link'><a href="Entity.html" title="MIDICommunicationsMacOS::Entity (class)">Entity</a></span></tt>)</span>
1396
+
1397
+
1398
+
1399
+ </li>
1400
+
1401
+ </ul>
1402
+
1403
+
1404
+ </div><table class="source_code">
1405
+ <tr>
1406
+ <td>
1407
+ <pre class="lines">
1408
+
1409
+
1410
+ 46
1411
+ 47
1412
+ 48
1413
+ 49
1414
+ 50
1415
+ 51
1416
+ 52
1417
+ 53
1418
+ 54
1419
+ 55
1420
+ 56</pre>
1421
+ </td>
1422
+ <td>
1423
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 46</span>
1424
+
1425
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_resource_id'>resource_id</span><span class='comma'>,</span> <span class='id identifier rubyid_entity'>entity</span><span class='rparen'>)</span>
1426
+ <span class='ivar'>@entity</span> <span class='op'>=</span> <span class='id identifier rubyid_entity'>entity</span>
1427
+ <span class='ivar'>@resource_id</span> <span class='op'>=</span> <span class='id identifier rubyid_resource_id'>resource_id</span>
1428
+ <span class='ivar'>@type</span> <span class='op'>=</span> <span class='id identifier rubyid_get_type'>get_type</span>
1429
+ <span class='ivar'>@enabled</span> <span class='op'>=</span> <span class='kw'>false</span>
1430
+
1431
+ <span class='ivar'>@name</span> <span class='op'>=</span> <span class='kw'>nil</span>
1432
+
1433
+ <span class='ivar'>@threads_sync_semaphore</span> <span class='op'>=</span> <span class='const'>Mutex</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
1434
+ <span class='ivar'>@threads_waiting</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1435
+ <span class='kw'>end</span></pre>
1436
+ </td>
1437
+ </tr>
1438
+ </table>
1439
+ </div>
1440
+
1441
+ <div class="method_details ">
1442
+ <h3 class="signature " id="manufacturer-instance_method">
1443
+
1444
+ #<strong>manufacturer</strong> &#x21d2; <tt>String</tt>
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+ </h3><div class="docstring">
1451
+ <div class="discussion">
1452
+ <p>Returns device manufacturer name (delegated to entity).</p>
1453
+
1454
+
1455
+ </div>
1456
+ </div>
1457
+ <div class="tags">
1458
+
1459
+ <p class="tag_title">Returns:</p>
1460
+ <ul class="return">
1461
+
1462
+ <li>
1463
+
1464
+
1465
+ <span class='type'>(<tt>String</tt>)</span>
1466
+
1467
+
1468
+
1469
+ &mdash;
1470
+ <div class='inline'><p>device manufacturer name (delegated to entity)</p>
1471
+ </div>
1472
+
1473
+ </li>
1474
+
1475
+ </ul>
1476
+
1477
+ </div><table class="source_code">
1478
+ <tr>
1479
+ <td>
1480
+ <pre class="lines">
1481
+
1482
+
1483
+ 38</pre>
1484
+ </td>
1485
+ <td>
1486
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 38</span>
1487
+
1488
+ <span class='id identifier rubyid_def_delegators'>def_delegators</span> <span class='symbol'>:entity</span><span class='comma'>,</span> <span class='symbol'>:manufacturer</span><span class='comma'>,</span> <span class='symbol'>:model</span><span class='comma'>,</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='symbol'>:display_name</span></pre>
1489
+ </td>
1490
+ </tr>
1491
+ </table>
1492
+ </div>
1493
+
1494
+ <div class="method_details ">
1495
+ <h3 class="signature " id="model-instance_method">
1496
+
1497
+ #<strong>model</strong> &#x21d2; <tt>String</tt>
1498
+
1499
+
1500
+
1501
+
1502
+
1503
+ </h3><div class="docstring">
1504
+ <div class="discussion">
1505
+ <p>Returns device model name (delegated to entity).</p>
1506
+
1507
+
1508
+ </div>
1509
+ </div>
1510
+ <div class="tags">
1511
+
1512
+ <p class="tag_title">Returns:</p>
1513
+ <ul class="return">
1514
+
1515
+ <li>
1516
+
1517
+
1518
+ <span class='type'>(<tt>String</tt>)</span>
1519
+
1520
+
1521
+
1522
+ &mdash;
1523
+ <div class='inline'><p>device model name (delegated to entity)</p>
1524
+ </div>
1525
+
1526
+ </li>
1527
+
1528
+ </ul>
1529
+
1530
+ </div><table class="source_code">
1531
+ <tr>
1532
+ <td>
1533
+ <pre class="lines">
1534
+
1535
+
1536
+ 38</pre>
1537
+ </td>
1538
+ <td>
1539
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 38</span>
1540
+
1541
+ <span class='id identifier rubyid_def_delegators'>def_delegators</span> <span class='symbol'>:entity</span><span class='comma'>,</span> <span class='symbol'>:manufacturer</span><span class='comma'>,</span> <span class='symbol'>:model</span><span class='comma'>,</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='symbol'>:display_name</span></pre>
1542
+ </td>
1543
+ </tr>
1544
+ </table>
1545
+ </div>
1546
+
1547
+ <div class="method_details ">
1548
+ <h3 class="signature " id="name-instance_method">
1549
+
1550
+ #<strong>name</strong> &#x21d2; <tt>String</tt>
1551
+
1552
+
1553
+
1554
+
1555
+
1556
+ </h3><div class="docstring">
1557
+ <div class="discussion">
1558
+ <p>Returns endpoint name (delegated to entity).</p>
1559
+
1560
+
1561
+ </div>
1562
+ </div>
1563
+ <div class="tags">
1564
+
1565
+ <p class="tag_title">Returns:</p>
1566
+ <ul class="return">
1567
+
1568
+ <li>
1569
+
1570
+
1571
+ <span class='type'>(<tt>String</tt>)</span>
1572
+
1573
+
1574
+
1575
+ &mdash;
1576
+ <div class='inline'><p>endpoint name (delegated to entity)</p>
1577
+ </div>
1578
+
1579
+ </li>
1580
+
1581
+ </ul>
1582
+
1583
+ </div><table class="source_code">
1584
+ <tr>
1585
+ <td>
1586
+ <pre class="lines">
1587
+
1588
+
1589
+ 38</pre>
1590
+ </td>
1591
+ <td>
1592
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 38</span>
1593
+
1594
+ <span class='id identifier rubyid_def_delegators'>def_delegators</span> <span class='symbol'>:entity</span><span class='comma'>,</span> <span class='symbol'>:manufacturer</span><span class='comma'>,</span> <span class='symbol'>:model</span><span class='comma'>,</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='symbol'>:display_name</span></pre>
1595
+ </td>
1596
+ </tr>
1597
+ </table>
1598
+ </div>
1599
+
1600
+ <div class="method_details ">
1601
+ <h3 class="signature " id="online?-instance_method">
1602
+
1603
+ #<strong>online?</strong> &#x21d2; <tt>Boolean</tt>
1604
+
1605
+
1606
+
1607
+
1608
+
1609
+ </h3><div class="docstring">
1610
+ <div class="discussion">
1611
+ <p>Is this endpoint online?</p>
1612
+
1613
+
1614
+ </div>
1615
+ </div>
1616
+ <div class="tags">
1617
+
1618
+ <p class="tag_title">Returns:</p>
1619
+ <ul class="return">
1620
+
1621
+ <li>
1622
+
1623
+
1624
+ <span class='type'>(<tt>Boolean</tt>)</span>
1625
+
1626
+
1627
+
1628
+ </li>
1629
+
1630
+ </ul>
1631
+
1632
+ </div><table class="source_code">
1633
+ <tr>
1634
+ <td>
1635
+ <pre class="lines">
1636
+
1637
+
1638
+ 60
1639
+ 61
1640
+ 62</pre>
1641
+ </td>
1642
+ <td>
1643
+ <pre class="code"><span class="info file"># File 'lib/midi-communications-macos/endpoint.rb', line 60</span>
1644
+
1645
+ <span class='kw'>def</span> <span class='id identifier rubyid_online?'>online?</span>
1646
+ <span class='ivar'>@entity</span><span class='period'>.</span><span class='id identifier rubyid_online?'>online?</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_connect?'>connect?</span>
1647
+ <span class='kw'>end</span></pre>
1648
+ </td>
1649
+ </tr>
1650
+ </table>
1651
+ </div>
1652
+
1653
+ </div>
1654
+
1655
+ </div>
1656
+
1657
+ <div id="footer">
1658
+ Generated on Tue Nov 25 11:37:07 2025 by
1659
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1660
+ 0.9.37 (ruby-3.4.7).
1661
+ </div>
1662
+
1663
+ </div>
1664
+ </body>
1665
+ </html>