3#include <ossia/detail/optional.hpp>
5#include <ossia-pd/src/parameter_base.hpp>
10class remote :
public parameter_base
13 using is_view = std::true_type;
17 bool register_node(
const std::vector<t_matcher>& node);
18 bool do_registration(
const std::vector<t_matcher>& node);
21 ossia::net::device_base* m_dev{};
27 void on_parameter_created_callback(
const ossia::net::parameter_base& addr);
28 static void update_attribute(
29 remote* x, ossia::string_view attribute,
const ossia::net::node_base* node);
30 static void bind(remote* x, t_symbol* address);
32 remote* x, t_floatarg xpos, t_floatarg ypos, t_floatarg shift, t_floatarg ctrl,
35 notify(remote* x, t_symbol* s, t_symbol* msg,
void* sender,
void* data);
37 static void destroy(remote* x);
38 static void* create(t_symbol* name,
int argc, t_atom* argv);
40 static ossia::safe_set<remote*>& quarantine();
42 static void get_mess_cb(remote* x, t_symbol* s);
43 static void get_unit(remote* x);
44 static void get_mute(remote* x);
45 static void get_rate(remote* x);
46 static void get_enable(remote* x);
48 void on_device_deleted(
const ossia::net::node_base&);