21 #ifndef PLUGINS_E131_E131_E133HEADER_H_
22 #define PLUGINS_E131_E131_E133HEADER_H_
42 m_endpoint(endpoint) {
46 const std::string Source()
const {
return m_source; }
47 uint32_t Sequence()
const {
return m_sequence; }
48 uint16_t Endpoint()
const {
return m_endpoint; }
50 bool operator==(
const E133Header &other)
const {
51 return m_source == other.m_source &&
52 m_sequence == other.m_sequence &&
53 m_endpoint == other.m_endpoint;
56 enum { SOURCE_NAME_LEN = 64 };
59 char source[SOURCE_NAME_LEN];
63 } __attribute__((packed));
74 #endif // PLUGINS_E131_E131_E133HEADER_H_