Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
ola::acn::RootInflator Class Reference
Inheritance diagram for ola::acn::RootInflator:
Inheritance graph
Collaboration diagram for ola::acn::RootInflator:
Collaboration graph

Public Types

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

Public Member Functions

 RootInflator (OnDataCallback *on_data=NULL)
uint32_t Id () const
- Public Member Functions inherited from ola::acn::BaseInflator
 BaseInflator (PDU::vector_size v_size=PDU::FOUR_BYTES)
bool AddInflator (InflatorInterface *inflator)
 Add another inflator as a handler. Ownership is not transferred.
class InflatorInterfaceGetInflator (uint32_t vector) const
 Get the inflator used for a particular vector. More...
virtual unsigned int InflatePDUBlock (HeaderSet *headers, const uint8_t *data, unsigned int len)
 Parse a block of PDU data.

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::acn::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::acn::BaseInflator
static const uint8_t LFLAG_MASK = 0x80
static const uint8_t LENGTH_MASK = 0x0F
- Protected Attributes inherited from ola::acn::BaseInflator
uint32_t m_last_vector
bool m_vector_set
PDU::vector_size m_vector_size
std::map< uint32_t,
InflatorInterface * > 

Constructor & Destructor Documentation

ola::acn::RootInflator::RootInflator ( OnDataCallback on_data = NULL)

The OnDataCallback is a hook for the health checking mechanism

Member Function Documentation

uint32_t ola::acn::RootInflator::Id ( ) const
the id for this inflator

Implements ola::acn::InflatorInterface.

bool ola::acn::RootInflator::PostHeader ( uint32_t  vector,
const HeaderSet headers 

This runs the on_data callback if we have one

Reimplemented from ola::acn::BaseInflator.

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