28 #ifndef INCLUDE_OLA_RDM_DIMMERSUBDEVICE_H_ 29 #define INCLUDE_OLA_RDM_DIMMERSUBDEVICE_H_ 34 #include <ola/rdm/ResponderPersonality.h> 53 uint16_t total_sub_devices);
57 uint16_t Footprint()
const {
58 return m_personality_manager.ActivePersonalityFootprint();
61 bool SetDmxStartAddress(uint16_t start_address);
63 uint16_t GetDmxStartAddress()
const {
64 return m_start_address;
73 static RDMOps *Instance() {
75 instance =
new RDMOps();
82 static RDMOps *instance;
90 static const Personalities *Instance();
93 explicit Personalities(
const PersonalityList &personalities) :
97 static Personalities *instance;
101 const uint16_t m_sub_device_number;
102 const uint16_t m_sub_device_count;
103 uint16_t m_start_address;
105 uint8_t m_identify_mode;
129 #endif // INCLUDE_OLA_RDM_DIMMERSUBDEVICE_H_ Definitions and Interfaces to implement an RDMController that sends a single message at a time...
Definition: ResponderPersonality.h:65
An RDM Command that represents responses (GET, SET or DISCOVER).
Definition: RDMCommand.h:457
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:234
A RDM unique identifier (UID).
DimmerSubDevice(const UID &uid, uint16_t sub_device_number, uint16_t total_sub_devices)
Definition: DimmerSubDevice.cpp:98
void SendRDMRequest(RDMRequest *request, RDMCallback *callback)
Send a RDM command.
Definition: DimmerSubDevice.cpp:113
A class which dispatches RDM requests to registered PID handlers.
Definition: ResponderOps.h:60
Definition: ResponderPersonality.h:90
The base class for all 1 argument callbacks.
Definition: Callback.h:982
The interface that can send RDMRequest.
Definition: RDMControllerInterface.h:73
A framework for building RDM responders.
Various constants used in RDM.
Represents a RDM UID.
Definition: UID.h:57
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: DimmerSubDevice.h:45