OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
osc_messages.hpp
1#pragma once
3#include <ossia/network/base/node.hpp>
4#include <ossia/network/base/parameter.hpp>
5#include <ossia/network/base/parameter_data.hpp>
6#include <ossia/network/osc/detail/osc.hpp>
7#include <ossia/network/osc/detail/osc_fwd.hpp>
8
9#include <oscpack/osc/OscOutboundPacketStream.h>
10
11#include <memory>
12#include <vector>
13
14namespace ossia::net
15{
16
17constexpr int max_osc_message_size = 65507;
18
19struct buffer_packed_osc_stream
20{
21 std::unique_ptr<char[]> buffer;
22 oscpack::OutboundPacketStream stream;
23};
24
25// returns the node if it was already learned
26OSSIA_EXPORT
28osc_learn(ossia::net::node_base* n, const oscpack::ReceivedMessage& m);
29
30}
The node_base class.
Definition node.hpp:48