A class for receiving OSC data from an OSCReceiver. More...
#include <juce_OSCReceiver.h>
Public Member Functions | |
virtual | ~Listener () |
Destructor. More... | |
virtual void | oscBundleReceived (const OSCBundle &) |
Called when the OSCReceiver receives a new OSC bundle. More... | |
virtual void | oscMessageReceived (const OSCMessage &message)=0 |
Called when the OSCReceiver receives a new OSC message. More... | |
A class for receiving OSC data from an OSCReceiver.
The template argument CallbackType determines how the callback will be called and has to be either MessageLoopCallback or RealtimeCallback. If not specified, MessageLoopCallback will be used by default.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Called when the OSCReceiver receives a new OSC bundle.
If you are not interested in OSC bundles, just ignore this method. The default implementation provided here will simply do nothing.
|
pure virtual |
Called when the OSCReceiver receives a new OSC message.
You must implement this function.