Open Lighting Architecture
Latest Git
|
This visitor serializes the message.
Public Member Functions | |
MessageSerializer (unsigned int initial_size=INITIAL_BUFFER_SIZE) | |
const uint8_t * | SerializeMessage (const ola::messaging::Message *message, unsigned int *length) |
void | Visit (const ola::messaging::BoolMessageField *) |
void | Visit (const ola::messaging::IPV4MessageField *) |
void | Visit (const ola::messaging::MACMessageField *) |
void | Visit (const ola::messaging::UIDMessageField *) |
void | Visit (const ola::messaging::StringMessageField *) |
void | Visit (const ola::messaging::BasicMessageField< uint8_t > *) |
void | Visit (const ola::messaging::BasicMessageField< uint16_t > *) |
void | Visit (const ola::messaging::BasicMessageField< uint32_t > *) |
void | Visit (const ola::messaging::BasicMessageField< int8_t > *) |
void | Visit (const ola::messaging::BasicMessageField< int16_t > *) |
void | Visit (const ola::messaging::BasicMessageField< int32_t > *) |
void | Visit (const ola::messaging::GroupMessageField *) |
void | PostVisit (const ola::messaging::GroupMessageField *) |
const uint8_t * ola::rdm::MessageSerializer::SerializeMessage | ( | const ola::messaging::Message * | message, |
unsigned int * | length | ||
) |
Serialize a message and return a pointer to the message in memory