21 #ifndef LIBS_ACN_ROOTINFLATOR_H_ 22 #define LIBS_ACN_ROOTINFLATOR_H_ 28 #include "libs/acn/BaseInflator.h" 41 OLA_WARN <<
"VECTOR_ROOT_NULL contained data of size " << len;
58 AddInflator(&m_null_inflator);
61 uint32_t
Id()
const {
return 0; }
65 bool DecodeHeader(
HeaderSet *headers,
const uint8_t *data,
66 unsigned int len,
unsigned int *bytes_used);
68 void ResetHeaderField();
69 bool PostHeader(uint32_t vector,
const HeaderSet &headers);
74 std::auto_ptr<OnDataCallback> m_on_data;
78 #endif // LIBS_ACN_ROOTINFLATOR_H_
The inflator interface.
Definition: BaseInflator.h:42
An abstract PDU inflator.
Definition: BaseInflator.h:64
uint32_t Id() const
Definition: RootInflator.h:35
#define OLA_WARN
Definition: Logging.h:75
Definition: RootInflator.h:33
#define OLA_UNUSED
Mark unused arguments & types.
Definition: Macro.h:62
Definition: RootInflator.h:48
unsigned int InflatePDUBlock(HeaderSet *headers, const uint8_t *data, unsigned int len)
Parse a block of PDU data.
Definition: RootInflator.h:37
uint32_t Id() const
Definition: RootInflator.h:61
Definition: ACNVectors.h:49
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
RootInflator(OnDataCallback *on_data=NULL)
Definition: RootInflator.h:55
Header file for OLA Logging.
A 1 argument callback which can be called multiple times.
Definition: Callback.h:992