Open Lighting Architecture  0.9.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 resonse_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.

Public Member Functions

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

Public Attributes

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

Member Data Documentation

uint16_t ola::rdm::ResponseStatus::m_param

Number of queued messages

uint8_t ola::rdm::ResponseStatus::message_count

The RDM response type


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