JUCE
|
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... | |
using OSCType = char |
The type used for OSC type tags.
using OSCTypeList = Array<OSCType> |
The type used for OSC type tag strings.
OSCMessage::OSCMessage | ( | const OSCAddressPattern & | ap, |
Arg1 && | arg1, | ||
Args &&... | args | ||
) |
Constructs an OSCMessage object with the given address pattern and list of arguments.
ap | the 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). |
arg1 | the first argument of the message. |
args | an optional list of further arguments to add to the message. |
References gl::arg1.
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.
address | The OSC address pattern of the message (you can use a string literal here). |
args | The list of arguments for the message. |
References gl::address, and OSCSender::send().
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.
targetIPAddress | The IP address to send to |
targetPortNumber | The target port number |
address | The OSC address pattern of the message (you can use a string literal here). |
args | The list of arguments for the message. |
References gl::address, and OSCSender::sendToIPAddress().