29 #ifndef INCLUDE_OLA_RDM_RESPONDEROPS_H_ 30 #define INCLUDE_OLA_RDM_RESPONDEROPS_H_ 59 template <
class Target>
91 bool include_required_pids =
false);
102 const UID &target_uid,
108 struct InternalParamHandler {
112 typedef std::map<uint16_t, InternalParamHandler> RDMHandlers;
114 bool m_include_required_pids;
115 RDMHandlers m_handlers;
123 #endif // INCLUDE_OLA_RDM_RESPONDEROPS_H_ Definitions and Interfaces to implement an RDMController that sends a single message at a time...
An RDM Command that represents responses (GET, SET or DISCOVER).
Definition: RDMCommand.h:457
RDMResponse *(Target::* RDMHandler)(const RDMRequest *request)
The member function to call on the target to handle a request.
Definition: ResponderOps.h:68
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:234
RDMHandler set_handler
Definition: ResponderOps.h:79
Private helper functions for building RDM responders.
the structure that defines the behaviour for a specific PID.o
Definition: ResponderOps.h:76
Enums representing the states of a response. This is generated from the proto file.
A class which dispatches RDM requests to registered PID handlers.
Definition: ResponderOps.h:60
uint16_t pid
Definition: ResponderOps.h:77
ResponderOps(const ParamHandler param_handlers[], bool include_required_pids=false)
Construct a new ResponderOps object.
Definition: ResponderOpsPrivate.h:49
void HandleRDMRequest(Target *target, const UID &target_uid, uint16_t sub_device, const RDMRequest *request, RDMCallback *on_complete)
Handle a RDMRequest.
Definition: ResponderOpsPrivate.h:68
RDMHandler get_handler
Definition: ResponderOps.h:78
The base class for all 1 argument callbacks.
Definition: Callback.h:982
Represents a RDM UID.
Definition: UID.h:57
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Classes that represent RDM commands.