iPlug2 - C++ Audio Plug-in Framework
|
#include <IPlugOSC.h>
Public Member Functions | |
OSCInterface (OSCLogFunc logFunc=nullptr) | |
Construct a new OSCInterface object. More... | |
OSCInterface (const OSCInterface &)=delete | |
OSCInterface & | operator= (const OSCInterface &)=delete |
OSCDevice * | CreateReceiver (WDL_String &log, int port=8000) |
Create a Receiver object. More... | |
OSCDevice * | CreateSender (WDL_String &log, const char *ip="127.0.0.1", int port=8000) |
Create a Sender object. More... | |
virtual void | OnOSCMessage (OscMessageRead &msg) |
void | SetLogFunc (OSCLogFunc logFunc) |
Set the Log Func object. More... | |
Protected Attributes | |
OSCLogFunc | mLogFunc |
WDL_HeapBuf | mIncomingEvents |
WDL_Mutex | mIncomingEvents_mutex |
Static Protected Attributes | |
static std::unique_ptr< Timer > | mTimer |
static int | sInstances = 0 |
Definition at line 97 of file IPlugOSC.h.
OSCInterface::OSCInterface | ( | OSCLogFunc | logFunc = nullptr | ) |
Construct a new OSCInterface object.
logFunc |
Definition at line 290 of file IPlugOSC.cpp.
|
virtual |
Definition at line 301 of file IPlugOSC.cpp.
OSCDevice * OSCInterface::CreateReceiver | ( | WDL_String & | log, |
int | port = 8000 |
||
) |
Create a Receiver object.
log | |
port |
Definition at line 309 of file IPlugOSC.cpp.
References OSCDevice::AddInstance().
Referenced by OSCReceiver::SetReceivePort().
OSCDevice * OSCInterface::CreateSender | ( | WDL_String & | log, |
const char * | ip = "127.0.0.1" , |
||
int | port = 8000 |
||
) |
Create a Sender object.
log | |
port |
Definition at line 367 of file IPlugOSC.cpp.
References OSCDevice::AddInstance().
Referenced by OSCSender::SetDestination().
|
inlinevirtual |
|
inline |
|
protected |
Definition at line 149 of file IPlugOSC.h.
|
protected |
Definition at line 150 of file IPlugOSC.h.
|
protected |
Definition at line 146 of file IPlugOSC.h.
|
staticprotected |
Definition at line 147 of file IPlugOSC.h.
|
staticprotected |
Definition at line 148 of file IPlugOSC.h.