28 #ifndef INCLUDE_OLA_RDM_DIMMERSUBDEVICE_H_
29 #define INCLUDE_OLA_RDM_DIMMERSUBDEVICE_H_
35 #include "ola/rdm/ResponderPersonality.h"
52 uint16_t total_sub_devices);
56 uint16_t Footprint()
const {
57 return m_personality_manager.ActivePersonalityFootprint();
60 bool SetDmxStartAddress(uint16_t start_address);
62 uint16_t GetDmxStartAddress()
const {
63 return m_start_address;
72 static RDMOps *Instance() {
74 instance =
new RDMOps();
81 static RDMOps *instance;
89 static const Personalities *Instance();
92 explicit Personalities(
const PersonalityList &personalities) :
96 static Personalities *instance;
100 const uint16_t m_sub_device_number;
101 const uint16_t m_sub_device_count;
102 uint16_t m_start_address;
104 uint8_t m_identify_mode;
128 #endif // INCLUDE_OLA_RDM_DIMMERSUBDEVICE_H_