OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
ossia-max/src/view.hpp
1#pragma once
2#include <ossia-max/src/node_base.hpp>
3
4namespace ossia
5{
6namespace max_binding
7{
8
9class device_base;
10
11class view : public node_base
12{
13public:
14 using is_view = std::true_type;
15
16 void do_registration();
17 void unregister();
18
19 ossia::safe_set<ossia::net::device_base*> m_devices{};
20
21 void on_node_created_callback(ossia::net::node_base& node);
22 void on_node_renamed_callback(ossia::net::node_base& node, const std::string&);
23 void on_device_created(ossia::max_binding::device_base* device);
24 void on_device_removing(ossia::max_binding::device_base* device);
25
26 static void* create(t_symbol*, long, t_atom*);
27 static void destroy(ossia::max_binding::view*);
28};
29
30} // max namespace
31} // ossia namespace
The node_base class.
Definition node.hpp:48
Definition git_info.h:7