21 #ifndef INCLUDE_OLA_RDM_RDMREPLY_H_ 22 #define INCLUDE_OLA_RDM_RDMREPLY_H_ 26 #include <ola/rdm/RDMFrame.h> 147 std::auto_ptr<RDMResponse> m_response;
154 #endif // INCLUDE_OLA_RDM_RDMREPLY_H_ RDMStatusCode
RDM Status Codes.
Definition: RDMResponseCodes.h:45
An RDM Command that represents responses (GET, SET or DISCOVER).
Definition: RDMCommand.h:457
bool operator==(const RDMReply &other) const
Test for equality.
Definition: RDMReply.cpp:64
const RDMFrames & Frames() const
The frames that make up this RDM reply.
Definition: RDMReply.h:95
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:234
RDMReply(RDMStatusCode status_code)
Create a new RDMReply from a RDM Response Code.
Definition: RDMReply.cpp:47
const RDMResponse * Response() const
Returns the RDMResponse if there is one.
Definition: RDMReply.h:79
std::vector< RDMFrame > RDMFrames
A vector of RDMFrames.
Definition: RDMFrame.h:113
Enums representing the states of a response. This is generated from the proto file.
std::string ToString() const
Create a human readable string from the RDMReply object.
Definition: RDMReply.cpp:70
RDMStatusCode StatusCode() const
Return the RDMStatusCode for the request.
Definition: RDMReply.h:70
friend std::ostream & operator<<(std::ostream &out, const RDMReply &reply)
Output an RDMReply object to an ostream.
Definition: RDMReply.h:121
The raw data for a RDM message and its associated timing information.
Definition: RDMFrame.h:40
Holds the final state of an RDM request.
Definition: RDMReply.h:43
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
static RDMReply * DUBReply(const RDMFrame &frame)
A helper method to create a RDMReply for a DUB response.
Definition: RDMReply.cpp:95
RDMResponse * MutableResponse()
Returns a pointer to a mutable RDMResponse.
Definition: RDMReply.h:88
static RDMReply * FromFrame(const RDMFrame &frame, const RDMRequest *request=NULL)
A helper method to create a RDMReply from raw frame data.
Definition: RDMReply.cpp:79
Classes that represent RDM commands.