Open Lighting Architecture
0.9.4
|
An RDM response of type DISCOVER_COMMAND.
Public Member Functions | |
RDMDiscoveryResponse (const UID &source, const UID &destination, uint8_t transaction_number, uint8_t port_id, uint8_t message_count, uint16_t sub_device, uint16_t param_id, const uint8_t *data, unsigned int length) | |
virtual void | Print (CommandPrinter *printer, bool summarize, bool unpack_param_data) const |
Used to print the data in an RDM Command to a CommandPrinter. | |
Public Member Functions inherited from ola::rdm::RDMResponse | |
RDMResponse (const UID &source, const UID &destination, uint8_t transaction_number, uint8_t response_type, uint8_t message_count, uint16_t sub_device, RDMCommand::RDMCommandClass command_class, uint16_t param_id, const uint8_t *data, unsigned int length) | |
uint8_t | ResponseType () const |
RDMCommandClass | CommandClass () const |
a virtual method to return the current CommmandClass. | |
Public Member Functions inherited from ola::rdm::RDMCommand | |
bool | operator== (const RDMCommand &other) const |
Equality Operator. | |
rdm_message_type | CommandType () const |
Used as a quick way to determine if the command is a request or a response. | |
void | Write (ola::io::OutputStream *stream) const |
Write this RDMCommand to an OutputStream. | |
const UID & | SourceUID () const |
Returns the Source UID of the RDMCommand. | |
const UID & | DestinationUID () const |
Returns the Destination UID of the RDMCommand. | |
uint8_t | TransactionNumber () const |
Returns the Transaction Number of the RDMCommand. | |
uint8_t | MessageCount () const |
Returns the Message Count of the RDMCommand. | |
uint16_t | SubDevice () const |
Returns the SubDevice of the RDMCommand. | |
uint8_t | PortIdResponseType () const |
Returns the Port ID of the RDMCommand. | |
uint16_t | ParamId () const |
Returns the Parameter ID of the RDMCommand. | |
uint8_t * | ParamData () const |
Returns the Parameter Data of the RDMCommand. | |
unsigned int | ParamDataSize () const |
Returns the Size of the Parameter Data of the RDMCommand. | |
std::string | ToString () const |
Create a string from the RDMCommand object. |
Static Public Member Functions | |
static RDMDiscoveryResponse * | InflateFromData (const uint8_t *data, unsigned int length) |
static RDMDiscoveryResponse * | InflateFromData (const std::string &data) |
Static Public Member Functions inherited from ola::rdm::RDMResponse | |
static RDMResponse * | InflateFromData (const uint8_t *data, unsigned int length, rdm_response_code *response_code, const RDMRequest *request=NULL) |
static RDMResponse * | InflateFromData (const uint8_t *data, unsigned int length, rdm_response_code *response_code, const RDMRequest *request, uint8_t transaction_number) |
static RDMResponse * | InflateFromData (const std::string &data, rdm_response_code *response_code, const RDMRequest *request=NULL) |
static RDMResponse * | InflateFromData (const std::string &data, rdm_response_code *response_code, const RDMRequest *request, uint8_t transaction_number) |
static RDMResponse * | CombineResponses (const RDMResponse *response1, const RDMResponse *response2) |
Static Public Member Functions inherited from ola::rdm::RDMCommand | |
static RDMCommand * | Inflate (const uint8_t *data, unsigned int length) |
Additional Inherited Members | |
Public Types inherited from ola::rdm::RDMCommand | |
enum | RDMCommandClass { DISCOVER_COMMAND = 0x10, DISCOVER_COMMAND_RESPONSE = 0x11, GET_COMMAND = 0x20, GET_COMMAND_RESPONSE = 0x21, SET_COMMAND = 0x30, SET_COMMAND_RESPONSE = 0x31, INVALID_COMMAND = 0xff } |
A set of values representing CommandClasses in E1.20. More... | |
Static Public Attributes inherited from ola::rdm::RDMResponse | |
static const unsigned int | MAX_OVERFLOW_SIZE = 4 << 10 |
Protected Member Functions inherited from ola::rdm::RDMCommand | |
RDMCommand (const UID &source, const UID &destination, uint8_t transaction_number, uint8_t port_id, uint8_t message_count, uint16_t sub_device, uint16_t param_id, const uint8_t *data, unsigned int length) | |
void | SetParamData (const uint8_t *data, unsigned int length) |
Static Protected Member Functions inherited from ola::rdm::RDMCommand | |
static rdm_response_code | VerifyData (const uint8_t *data, unsigned int length, RDMCommandHeader *command_message) |
static RDMCommandClass | ConvertCommandClass (uint8_t command_type) |
Protected Attributes inherited from ola::rdm::RDMCommand | |
uint8_t | m_port_id |
Friends inherited from ola::rdm::RDMCommand |
|
inlinevirtual |
Used to print the data in an RDM Command to a CommandPrinter.
printer | CommandPrinter which will use the information |
summarize | enable a one line summary |
unpack_param_data | if the summary isn't enabled, this controls if we unpack and display parameter data |
Reimplemented from ola::rdm::RDMResponse.