Open Lighting Architecture  Latest Git
Public Member Functions | Public Attributes | List of all members
ola::rdm::ResponseStatus Class Reference

Detailed Description

Represents the state of a response and/or any error codes.

RDM Handlers should first check for error being non-empty as this represents an underlying transport error. Then the response_code should be checked to catch invalid responses, timeouts etc. Finally, the value of response_type should be checked against the rdm_response_type codes.

Collaboration diagram for ola::rdm::ResponseStatus:
Collaboration graph
[legend]

Public Member Functions

bool WasAcked () const
 
bool WasNacked () const
 
uint16_t NackReason () const
 
unsigned int AckTimer () const
 

Public Attributes

std::string error
 
RDMStatusCode response_code
 
uint8_t response_type
 
uint8_t message_count
 
uint16_t m_param
 
bool set_command
 
uint16_t pid_value
 

Member Data Documentation

◆ m_param

uint16_t ola::rdm::ResponseStatus::m_param

Number of queued messages

◆ message_count

uint8_t ola::rdm::ResponseStatus::message_count

The RDM response type


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