A class for receiving OSC data from an OSCReceiver. More...
#include <juce_OSCReceiver.h>
Public Member Functions | |
virtual | ~Listener ()=default |
Destructor. | |
virtual void | oscMessageReceived (const OSCMessage &message)=0 |
Called when the OSCReceiver receives a new OSC message. | |
virtual void | oscBundleReceived (const OSCBundle &) |
Called when the OSCReceiver receives a new OSC bundle. | |
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.
|
virtualdefault |
Destructor.
|
pure virtual |
Called when the OSCReceiver receives a new OSC message.
You must implement this function.
|
virtual |
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.