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
//
// PdDispatcher.h
// libpd
//
// Copyright (c) 2011 Peter Brinkmann (peter.brinkmann@gmail.com)
//
// For information on usage and redistribution, and for a DISCLAIMER OF ALL
// WARRANTIES, see the file, "LICENSE.txt," in this distribution.
//
// Updated 2013, 2018, 2020 Dan Wilcox <danomatika@gmail.com>
//
/// PdReceiverDelegate protocol default implementation
///
/// client code registers one instance of this class with PdBase, then listeners
/// for individual sources will be registered with the dispatcher object
///
/// printing from pd is done via NSLog by default, subclass and override the
/// receivePrint method if you want different printing behavior
/// subclass of PdDispatcher that logs all callbacks,
/// mostly for development and debugging