Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
ola::plugin::e131::RootInflator Class Reference
Inheritance diagram for ola::plugin::e131::RootInflator:
ola::plugin::e131::BaseInflator ola::plugin::e131::InflatorInterface

Public Types

typedef ola::Callback1< void,
const TransportHeader & > 
OnDataCallback

Public Member Functions

 RootInflator (OnDataCallback *on_data=NULL)
uint32_t Id () const
- Public Member Functions inherited from ola::plugin::e131::BaseInflator
 BaseInflator (PDU::vector_size v_size=PDU::FOUR_BYTES)
bool AddInflator (InflatorInterface *inflator)
class InflatorInterfaceGetInflator (uint32_t vector) const
virtual unsigned int InflatePDUBlock (HeaderSet *headers, const uint8_t *data, unsigned int len)

Protected Member Functions

bool DecodeHeader (HeaderSet *headers, const uint8_t *data, unsigned int len, unsigned int &bytes_used)
void ResetHeaderField ()
bool PostHeader (uint32_t vector, const HeaderSet &headers)
- Protected Member Functions inherited from ola::plugin::e131::BaseInflator
virtual void ResetPDUFields ()
bool DecodeLength (const uint8_t *data, unsigned int data_length, unsigned int &pdu_length, unsigned int &bytes_used) const
bool DecodeVector (uint8_t flags, const uint8_t *data, unsigned int length, uint32_t &vector, unsigned int &bytes_used)
bool InflatePDU (HeaderSet *headers, uint8_t flags, const uint8_t *data, unsigned int pdu_len)
virtual bool HandlePDUData (uint32_t vector, const HeaderSet &headers, const uint8_t *data, unsigned int pdu_len)

Additional Inherited Members

- Static Public Attributes inherited from ola::plugin::e131::BaseInflator
static const uint8_t LFLAG_MASK = 0x80
static const uint8_t LENGTH_MASK = 0x0F
- Protected Attributes inherited from ola::plugin::e131::BaseInflator
uint32_t m_last_vector
bool m_vector_set
PDU::vector_size m_vector_size
std::map< uint32_t,
InflatorInterface * > 
m_proto_map

Constructor & Destructor Documentation

ola::plugin::e131::RootInflator::RootInflator ( OnDataCallback on_data = NULL)
inlineexplicit

The OnDataCallback is a hook for the health checking mechanism

Member Function Documentation

bool ola::plugin::e131::RootInflator::PostHeader ( uint32_t  vector,
const HeaderSet headers 
)
protectedvirtual

This runs the on_data callback if we have one

Reimplemented from ola::plugin::e131::BaseInflator.


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