2#include <ossia/detail/config.hpp>
4#include <ossia/detail/timer.hpp>
5#include <ossia/network/base/protocol.hpp>
6#include <ossia/network/common/complex_type.hpp>
7#include <ossia/network/context.hpp>
8#include <ossia/network/domain/domain.hpp>
9#include <ossia/protocols/artnet/dmx_buffer.hpp>
21 dmx_protocol_base(ossia::net::network_context_ptr,
const dmx_config& conf);
33 dmx_buffer& buffer() noexcept {
return m_buffer; }
36 ossia::net::network_context_ptr m_context;
44class OSSIA_EXPORT dmx_output_protocol_base :
public dmx_protocol_base
47 dmx_output_protocol_base(ossia::net::network_context_ptr,
const dmx_config& conf);
48 void stop_processing();
54class OSSIA_EXPORT dmx_input_protocol_base :
public dmx_protocol_base
57 using dmx_protocol_base::dmx_protocol_base;
60 void create_channel_map();
61 void on_dmx(
const uint8_t* dmx,
int count);
64 std::array<dmx_parameter*, 512> m_cache;
Root of a device tree.
Definition ossia/network/base/device.hpp:58
The node_base class.
Definition node.hpp:48
The parameter_base class.
Definition ossia/network/base/parameter.hpp:48
The protocol_base class.
Definition protocol.hpp:40
The value class.
Definition value.hpp:173
Full information about a parameter.
Definition parameter_data.hpp:61