Open Lighting Architecture  0.9.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::rdm::MessageSerializer Class Reference

Detailed Description

This visitor serializes the message.

Inheritance diagram for ola::rdm::MessageSerializer:
ola::messaging::MessageVisitor

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 *)

Member Function Documentation

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


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