Mercurial > hg > touchkeys
comparison Source/TouchKeys/Osc.h @ 9:f943785252fc
First prototype of TouchKeys OSC emulation. Not fully working yet, especially with mappings, but contains the basic mechanics.
author | Andrew McPherson <andrewm@eecs.qmul.ac.uk> |
---|---|
date | Wed, 20 Nov 2013 00:38:15 +0000 |
parents | 36fe60d0aadb |
children | dfff66c07936 |
comparison
equal
deleted
inserted
replaced
8:2832beb744bb | 9:f943785252fc |
---|---|
73 | 73 |
74 public: | 74 public: |
75 OscMessageSource() {} | 75 OscMessageSource() {} |
76 | 76 |
77 protected: | 77 protected: |
78 bool addListener(const string& path, OscHandler *object); // Add a listener object for a specific path | 78 bool addListener(const string& path, OscHandler *object, |
79 bool matchSubpath = false); // Add a listener object for a specific path | |
79 bool removeListener(const string& path, OscHandler *object); // Remove a listener object from a specific path | 80 bool removeListener(const string& path, OscHandler *object); // Remove a listener object from a specific path |
80 bool removeListener(OscHandler *object); // Remove a listener object from all paths | 81 bool removeListener(OscHandler *object); // Remove a listener object from all paths |
81 | 82 |
82 void updateListeners(); // Propagate changes to the listeners to the main object | 83 void updateListeners(); // Propagate changes to the listeners to the main object |
83 | 84 |