29#ifndef INCLUDE_OLA_RDM_RESPONDEROPS_H_
30#define INCLUDE_OLA_RDM_RESPONDEROPS_H_
59template <
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;
Classes that represent RDM commands.
Definitions and Interfaces to implement an RDMController that sends a single message at a time.
Enums representing the states of a response. This is generated from the proto file.
Private helper functions for building RDM responders.
The base class for all 1 argument callbacks.
Definition Callback.h:982
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition RDMCommand.h:234
An RDM Command that represents responses (GET, SET or DISCOVER).
Definition RDMCommand.h:457
A class which dispatches RDM requests to registered PID handlers.
Definition ResponderOps.h:60
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
RDMResponse *(Target::*) RDMHandler(const RDMRequest *request)
The member function to call on the target to handle a request.
Definition ResponderOps.h:68
Represents a RDM UID.
Definition UID.h:57
The namespace containing all OLA symbols.
Definition Credentials.cpp:44
the structure that defines the behaviour for a specific PID.o
Definition ResponderOps.h:76
uint16_t pid
Definition ResponderOps.h:77
RDMHandler get_handler
Definition ResponderOps.h:78
RDMHandler set_handler
Definition ResponderOps.h:79