OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
dense_protocol_configuration.hpp
1
#pragma once
2
#include <ossia/detail/config.hpp>
3
4
namespace
ossia::net
5
{
6
struct
dense_configuration
7
{
8
std::chrono::microseconds interval{};
9
};
10
11
struct
dense_packet
12
{
13
// All the OSC addresses's values sorted
14
struct
15
{
16
uint32_t protocol_code{};
17
} header;
18
19
unsigned
char
data[1248];
20
21
// protocol:
22
// int, float, etc..: as-is
23
// vec: uint16 type + uint16 sz + N elements
24
// map: uint16 type + uint16 sz + N [k:v]
25
};
26
static_assert
(
sizeof
(dense_packet) + 28 <= 1280);
27
28
}
src
ossia
protocols
dense
dense_protocol_configuration.hpp
Generated on Mon Mar 31 2025 23:58:29 for OSSIA by
1.9.8