Public Types |
enum | vector_size { ONE_BYTE = 1,
TWO_BYTES = 2,
FOUR_BYTES = 4
} |
Public Member Functions |
| PDU (unsigned int vector, vector_size size=FOUR_BYTES) |
virtual unsigned int | Size () const |
virtual unsigned int | VectorSize () const |
virtual unsigned int | HeaderSize () const =0 |
virtual unsigned int | DataSize () const =0 |
void | SetVector (unsigned int vector) |
virtual bool | Pack (uint8_t *data, unsigned int *length) const |
virtual bool | PackHeader (uint8_t *data, unsigned int *length) const =0 |
virtual bool | PackData (uint8_t *data, unsigned int *length) const =0 |
virtual void | Write (OutputStream *stream) const |
virtual void | PackHeader (OutputStream *stream) const =0 |
virtual void | PackData (OutputStream *stream) const =0 |
Static Public Attributes |
static const uint8_t | VFLAG_MASK = 0x40 |
static const uint8_t | HFLAG_MASK = 0x20 |
static const uint8_t | DFLAG_MASK = 0x10 |
Member Function Documentation
Prepend the flags and lenth to an OutputBufferInterface.
Prepend the flags and lenth to an OutputBufferInterface.
void ola::plugin::e131::PDU::Write |
( |
OutputStream * |
stream | ) |
const |
|
virtual |
Write the PDU to an OutputStream
Write this PDU to an OutputStream.
The documentation for this class was generated from the following files:
- plugins/e131/e131/PDU.h
- plugins/e131/e131/PDU.cpp