iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OSCSender Class Reference

#include <IPlugOSC.h>

Inheritance diagram for OSCSender:
[legend]

Public Member Functions

 OSCSender (const char *destIP="127.0.0.1", int port=8000, OSCLogFunc logFunc=nullptr)
 Construct a new OSCSender object. More...
 
void SetDestination (const char *ip, int port)
 Set the Destination object. More...
 
void SendOSCMessage (OscMessageWrite &msg)
 
- Public Member Functions inherited from OSCInterface
 OSCInterface (OSCLogFunc logFunc=nullptr)
 Construct a new OSCInterface object. More...
 
 OSCInterface (const OSCInterface &)=delete
 
OSCInterfaceoperator= (const OSCInterface &)=delete
 
OSCDeviceCreateReceiver (WDL_String &log, int port=8000)
 Create a Receiver object. More...
 
OSCDeviceCreateSender (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...
 

Additional Inherited Members

- Protected Attributes inherited from OSCInterface
OSCLogFunc mLogFunc
 
WDL_HeapBuf mIncomingEvents
 
WDL_Mutex mIncomingEvents_mutex
 
- Static Protected Attributes inherited from OSCInterface
static std::unique_ptr< TimermTimer
 
static int sInstances = 0
 

Detailed Description

Todo:

Definition at line 154 of file IPlugOSC.h.

Constructor & Destructor Documentation

◆ OSCSender()

OSCSender::OSCSender ( const char *  destIP = "127.0.0.1",
int  port = 8000,
OSCLogFunc  logFunc = nullptr 
)

Construct a new OSCSender object.

Parameters
destIP
port
logFunc

Definition at line 415 of file IPlugOSC.cpp.

References SetDestination().

Member Function Documentation

◆ SendOSCMessage()

void OSCSender::SendOSCMessage ( OscMessageWrite msg)
Parameters
msg

Definition at line 442 of file IPlugOSC.cpp.

References OSCDevice::SendOSC().

◆ SetDestination()

void OSCSender::SetDestination ( const char *  ip,
int  port 
)

Set the Destination object.

Parameters
ip
port

Definition at line 422 of file IPlugOSC.cpp.

References OSCInterface::CreateSender().

Referenced by OSCSender().


The documentation for this class was generated from the following files: