OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
osc::sender< ValueWriter > Class Template Reference

The sender class. More...

Detailed Description

template<typename ValueWriter>
class osc::sender< ValueWriter >

The sender class.

Sends OSC packets to a given address on an UDP port.

Public Member Functions

 sender (const ossia::net::network_logger &l, const std::string &ip, const int port)
 
template<typename... Args>
void send (const ossia::net::parameter_base &address, Args &&... args)
 
template<typename... Args>
void send (const ossia::net::full_parameter_data &address, Args &&... args)
 
template<typename... Args>
void send (const std::string &address, Args &&... args)
 
template<typename... Args>
void send (std::string_view address, Args &&... args)
 
const std::string & ip () const
 
int port () const
 
int localPort () const
 
oscpack::UdpTransmitSocket & socket ()