29#ifndef INCLUDE_OLA_RDM_RDMCOMMANDSERIALIZER_H_
30#define INCLUDE_OLA_RDM_RDMCOMMANDSERIALIZER_H_
33#include <ola/io/ByteString.h>
34#include <ola/io/IOStack.h>
58 ola::io::ByteString *output);
67 ola::io::ByteString *output);
106 enum { MAX_PARAM_DATA_LENGTH = 231 };
109 static const unsigned int CHECKSUM_LENGTH = 2;
Classes that represent RDM commands.
A RDM unique identifier (UID).
The base class that all RDM requests & responses inherit from.
Definition RDMCommand.h:59
Serializes RDMCommands.
Definition RDMCommandSerializer.h:49
static bool PackWithStartCode(const RDMCommand &command, ola::io::ByteString *output)
Serialize a RDMCommand to a ByteString, with the RDM Start Code.
Definition RDMCommandSerializer.cpp:68
static bool Write(const RDMCommand &command, ola::io::IOStack *stack)
Write the binary representation of an RDMCommand to an IOStack.
Definition RDMCommandSerializer.cpp:102
static unsigned int RequiredSize(const RDMCommand &command)
Return the number of bytes required to store the serialized version of the RDMCommand.
Definition RDMCommandSerializer.cpp:34
static bool Pack(const RDMCommand &command, ola::io::ByteString *output)
Serialize a RDMCommand to a ByteString, without the RDM Start Code.
Definition RDMCommandSerializer.cpp:43
The namespace containing all OLA symbols.
Definition Credentials.cpp:44
Definition RDMPacket.h:44