29#ifndef INCLUDE_OLA_RDM_RDMAPIIMPLINTERFACE_H_
30#define INCLUDE_OLA_RDM_RDMAPIIMPLINTERFACE_H_
55 uint8_t response_type;
62 bool WasAcked()
const {
63 return (error.empty() && response_code == RDM_COMPLETED_OK &&
64 response_type == RDM_ACK);
67 bool WasNacked()
const {
68 return (error.empty() && response_code == RDM_COMPLETED_OK &&
69 response_type == RDM_NACK_REASON);
73 uint16_t NackReason()
const {
return m_param; }
76 unsigned int AckTimer()
const {
return 100 *
m_param; }
100 unsigned int universe,
104 const uint8_t *data = NULL,
105 unsigned int data_length = 0) = 0;
110 unsigned int universe,
114 const uint8_t *data = NULL,
115 unsigned int data_length = 0) = 0;
119 unsigned int universe,
123 const uint8_t *data = NULL,
124 unsigned int data_length = 0) = 0;
Various constants used in RDM.
Enums representing the states of a response. This is generated from the proto file.
A RDM unique identifier (UID).
A 2 argument callback which deletes itself after it's run.
Definition Callback.h:1907
A 3 argument callback which deletes itself after it's run.
Definition Callback.h:2850
This is the interface for an RDMAPI implementation.
Definition RDMAPIImplInterface.h:83
Represents the state of a response and/or any error codes.
Definition RDMAPIImplInterface.h:51
uint8_t message_count
Definition RDMAPIImplInterface.h:56
uint16_t m_param
Definition RDMAPIImplInterface.h:57
Represents a RDM UID.
Definition UID.h:57
RDMStatusCode
RDM Status Codes.
Definition RDMResponseCodes.h:45
The namespace containing all OLA symbols.
Definition Credentials.cpp:44