Open Lighting Architecture
0.9.1
|
This visitor builds a message based on a vector of strings from a Descriptor.
ola::rdm::StringMessageBuilder::~StringMessageBuilder | ( | ) |
Clean up
const ola::messaging::Message * ola::rdm::StringMessageBuilder::GetMessage | ( | const std::vector< std::string > & | inputs, |
const class ola::messaging::Descriptor * | descriptor | ||
) |
Get the Message object that this Builder created
This method is not re-entrant.
descriptor | The descriptor to use to build the Message |
|
virtual |
This is a noop since we handle decending ourselfs in Visit()
Implements ola::messaging::FieldDescriptorVisitor.
|
virtual |
Bool values can be true,false,0,1
Implements ola::messaging::FieldDescriptorVisitor.
|
virtual |
IPV4 Addresses
Implements ola::messaging::FieldDescriptorVisitor.
|
virtual |
MAC Addresses
Implements ola::messaging::FieldDescriptorVisitor.
|
virtual |
UIDs.
Implements ola::messaging::FieldDescriptorVisitor.
|
virtual |
Handle strings
Implements ola::messaging::FieldDescriptorVisitor.
void ola::rdm::StringMessageBuilder::Visit | ( | const ola::messaging::UInt8FieldDescriptor * | descriptor | ) |
uint8
|
virtual |
Visit a group
Implements ola::messaging::FieldDescriptorVisitor.