OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
ossia-max/src/explorer.hpp
1#pragma once
2#include <ossia-max/src/object_base.hpp>
3#include <ossia-max/src/search_filter.hpp>
4
5#include <set>
6
7namespace ossia
8{
9namespace max_binding
10{
11
12#define MAX_NUM_ITEMS 256
13
14#pragma mark -
15#pragma mark t_explorer structure declaration
16
17struct explorer
18 : object_base
19 , search_sort_filter
20{
21 using is_explorer = std::true_type;
22
23 // argument variables
24 long m_highlight{};
25 t_symbol* m_method{};
26
27 std::set<ossia::net::device_base*> m_devices;
28
29 // ctor / dtor
30 explorer();
31 ~explorer();
32
33 bool register_node(std::vector<std::shared_ptr<matcher>>& node);
34 bool unregister();
35
36 static void
37 explore_mess_cb(ossia::max_binding::explorer* x, t_symbol* s, long argc, t_atom* argv);
38 static void free(ossia::max_binding::explorer* x);
39 static t_max_err
40 notify(explorer* x, t_symbol* s, t_symbol* msg, void* sender, void* data);
41 static void assist(explorer* x, void* b, long m, long a, char* s);
42};
43} // max namespace
44} // ossia namespace
45
46#pragma mark -
47#pragma mark ossia_explorer class declaration
48
49extern "C" {
50void* ossia_explorer_new(t_symbol* s, long argc, t_atom* argv);
51}
Definition git_info.h:7