Open Lighting Architecture  Latest Git
Public Types | Public Member Functions | Static Public Attributes | List of all members
ola::acn::E131Header Class Reference
Inheritance diagram for ola::acn::E131Header:
Inheritance graph
[legend]

Public Types

enum  { SOURCE_NAME_LEN = 64 }
 
typedef struct e131_pdu_header_s e131_pdu_header
 

Public Member Functions

 E131Header (const std::string &source, uint8_t priority, uint8_t sequence, uint16_t universe, bool is_preview=false, bool has_terminated=false, bool is_rev2=false)
 
const std::string Source () const
 
uint8_t Priority () const
 
uint8_t Sequence () const
 
uint16_t Universe () const
 
bool PreviewData () const
 
bool StreamTerminated () const
 
bool UsingRev2 () const
 
bool operator== (const E131Header &other) const
 
 PACK (struct e131_pdu_header_s { char source[SOURCE_NAME_LEN];uint8_t priority;uint16_t reserved;uint8_t sequence;uint8_t options;uint16_t universe;})
 

Static Public Attributes

static const uint8_t PREVIEW_DATA_MASK = 0x80
 
static const uint8_t STREAM_TERMINATED_MASK = 0x40
 

The documentation for this class was generated from the following file: