29 #ifndef INCLUDE_OLA_RDM_RDMCONTROLLERINTERFACE_H_
30 #define INCLUDE_OLA_RDM_RDMCONTROLLERINTERFACE_H_
34 #include <ola/rdm/RDMReply.h>
35 #include <ola/rdm/RDMResponseCodes.h>
59 inline void RunRDMCallback(RDMCallback *callback, RDMStatusCode status_code) {
61 callback->Run(&reply);
96 RDMCallback *on_complete) = 0;
126 #endif // INCLUDE_OLA_RDM_RDMCONTROLLERINTERFACE_H_
ola::BaseCallback1< void, RDMReply * > RDMCallback
The callback run when a RDM request completes.
Definition: RDMControllerInterface.h:52
The interface that can send RDM commands, as well as perform discovery operations.
Definition: RDMControllerInterface.h:104
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:233
virtual void RunFullDiscovery(RDMDiscoveryCallback *callback)=0
Start a full discovery operation.
virtual void RunIncrementalDiscovery(RDMDiscoveryCallback *callback)=0
Start an incremental discovery operation.
The base class for all 1 argument callbacks.
Definition: Callback.h:982
Holds the final state of an RDM request.
Definition: RDMReply.h:43
The interface that can send RDMRequest.
Definition: RDMControllerInterface.h:73
void RunRDMCallback(RDMCallback *callback, RDMStatusCode status_code)
A helper message to run a RDMCallback with the given status code.
Definition: RDMControllerInterface.h:59
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
ola::BaseCallback1< void, const ola::rdm::UIDSet & > RDMDiscoveryCallback
The callback run when a discovery operation completes.
Definition: RDMControllerInterface.h:68
virtual void SendRDMRequest(RDMRequest *request, RDMCallback *on_complete)=0
Send a RDM command.
Classes that represent RDM commands.