OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
ossia-max/src/device_base.hpp
1#pragma once
2#include <ossia-max/src/node_base.hpp>
3
4namespace ossia
5{
6namespace max_binding
7{
8
9class device_base : public node_base
10{
11public:
12 void on_parameter_created_callback(const ossia::net::parameter_base& param);
13 void on_parameter_deleted_callback(const ossia::net::parameter_base& param);
14 static void on_attribute_modified_callback(
15 ossia::net::node_base& node, const std::string& attribute);
16 void on_unhandled_message_callback(const std::string, const ossia::value& val);
17
18 void
19 on_node_renamed_callback(ossia::net::node_base& node, const std::string& old_name);
20 void on_node_created_callback(ossia::net::node_base& node);
21 void on_node_removing_callback(ossia::net::node_base& node);
22
23 void connect_slots();
24 void disconnect_slots();
25
26 static Nano::Signal<void(device_base*)> on_device_created; // The device being created
27 static Nano::Signal<void(device_base*)> on_device_removing; // The device being removed
28};
29
30} // namespace max
31} // namespace ossia
The node_base class.
Definition node.hpp:48
The parameter_base class.
Definition ossia/network/base/parameter.hpp:48
The value class.
Definition value.hpp:173
Definition git_info.h:7