OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
midi_device.hpp
1#pragma once
2
3#include <ossia/network/base/device.hpp>
4#include <ossia/protocols/midi/midi_node.hpp>
5
6namespace ossia::net::midi
7{
8class OSSIA_EXPORT midi_device final
10 , public midi_node
11{
12public:
13 midi_device(std::string name, std::unique_ptr<ossia::net::protocol_base> prot);
14 ~midi_device();
15
17 bool create_full_tree();
18
19 using midi_node::get_name;
20 using midi_node::get_parameter;
21
22 node_base& set_name(std::string n) override;
23
24 const ossia::net::node_base& get_root_node() const override;
25 ossia::net::node_base& get_root_node() override;
26
27 std::unique_ptr<node_base> make_child(const std::string& name) override;
28};
29}
Root of a device tree.
Definition ossia/network/base/device.hpp:58
The node_base class.
Definition node.hpp:48