22 #ifndef PLUGINS_E131_E131_E131NODE_H_
23 #define PLUGINS_E131_E131_E131NODE_H_
31 #include "ola/network/Interface.h"
32 #include "ola/network/Socket.h"
33 #include "plugins/e131/e131/E131Sender.h"
34 #include "plugins/e131/e131/E131Inflator.h"
35 #include "plugins/e131/e131/RootInflator.h"
36 #include "plugins/e131/e131/RootSender.h"
37 #include "plugins/e131/e131/UDPTransport.h"
38 #include "plugins/e131/e131/DMPE131Inflator.h"
46 E131Node(
const std::string &ip_address,
48 bool use_rev2 =
false,
49 bool ignore_preview =
true,
50 uint8_t dscp_value = 0,
57 bool SetSourceName(
unsigned int universe,
const std::string &source);
58 bool SendDMX(uint16_t universe,
60 uint8_t priority = DEFAULT_PRIORITY,
61 bool preview =
false);
65 bool SendDMXWithSequenceOffset(uint16_t universe,
67 int8_t sequence_offset,
68 uint8_t priority = DEFAULT_PRIORITY,
69 bool preview =
false);
71 bool StreamTerminated(uint16_t universe,
73 uint8_t priority = DEFAULT_PRIORITY);
77 bool RemoveHandler(
unsigned int universe);
89 std::string m_preferred_ip;
106 std::map<unsigned int, tx_universe> m_tx_universes;
107 uint8_t *m_send_buffer;
109 tx_universe *SetupOutgoingSettings(
unsigned int universe);
114 static const uint16_t DEFAULT_PRIORITY = 100;
119 #endif // PLUGINS_E131_E131_E131NODE_H_