JUCE
Typedefs | Functions

Typedefs

using OSCType = char
 The type used for OSC type tags. More...
 
using OSCTypeList = Array< OSCType >
 The type used for OSC type tag strings. More...
 

Functions

template<typename Arg1 , typename... Args>
 OSCMessage::OSCMessage (const OSCAddressPattern &ap, Arg1 &&arg1, Args &&... args)
 Constructs an OSCMessage object with the given address pattern and list of arguments. More...
 
template<typename... Args>
bool OSCSender::send (const OSCAddressPattern &address, Args &&... args)
 Creates a new OSC message with the specified address pattern and list of arguments, and sends it to the target. More...
 
template<typename... Args>
bool OSCSender::sendToIPAddress (const String &targetIPAddress, int targetPortNumber, const OSCAddressPattern &address, Args &&... args)
 Creates a new OSC message with the specified address pattern and list of arguments, and sends it to the target. More...
 

Detailed Description

Typedef Documentation

◆ OSCType

using OSCType = char

The type used for OSC type tags.

◆ OSCTypeList

The type used for OSC type tag strings.

Function Documentation

◆ OSCMessage()

template<typename Arg1 , typename... Args>
OSCMessage::OSCMessage ( const OSCAddressPattern ap,
Arg1 &&  arg1,
Args &&...  args 
)

Constructs an OSCMessage object with the given address pattern and list of arguments.

Parameters
apthe address pattern of the message. This must be a valid OSC address (starting with a forward slash) and may contain OSC wildcard expressions. You can pass in a string literal or a juce String (they will be converted to an OSCAddressPattern automatically).
arg1the first argument of the message.
argsan optional list of further arguments to add to the message.

References gl::arg1.

◆ send()

template<typename... Args>
bool OSCSender::send ( const OSCAddressPattern address,
Args &&...  args 
)

Creates a new OSC message with the specified address pattern and list of arguments, and sends it to the target.

Parameters
addressThe OSC address pattern of the message (you can use a string literal here).
argsThe list of arguments for the message.

References gl::address, and OSCSender::send().

◆ sendToIPAddress()

template<typename... Args>
bool OSCSender::sendToIPAddress ( const String targetIPAddress,
int  targetPortNumber,
const OSCAddressPattern address,
Args &&...  args 
)

Creates a new OSC message with the specified address pattern and list of arguments, and sends it to the target.

Parameters
targetIPAddressThe IP address to send to
targetPortNumberThe target port number
addressThe OSC address pattern of the message (you can use a string literal here).
argsThe list of arguments for the message.

References gl::address, and OSCSender::sendToIPAddress().