26 OscSender(
int port, std::string ip_address=std::string(
"127.0.0.1"));
40 void setup(
int port, std::string ip_address=std::string(
"127.0.0.1"));
111 void send(
const oscpkt::Message& extMsg);
113 std::unique_ptr<UdpClient> socket;
115 std::unique_ptr<oscpkt::Message> msg;
116 std::unique_ptr<oscpkt::PacketWriter> pw;
118 std::unique_ptr<AuxTaskNonRT> send_task;
119 void send_task_func(
void* buf,
int size);
void send()
Sends the message.
Definition: OscSender.cpp:61
OscSender & newMessage(std::string address)
Creates a new OSC message.
Definition: OscSender.cpp:35
OscSender & add(int payload)
Adds an int argument to a message.
Definition: OscSender.cpp:40
void setup(int port, std::string ip_address=std::string("127.0.0.1"))
Initialises OscSender.
Definition: OscSender.cpp:22
Definition: UdpClient.h:5
Definition: AuxTaskNonRT.h:20
OscSender provides functions for sending OSC messages from Bela.
Definition: OscSender.h:23