29 #ifndef INCLUDE_OLA_RDM_MOVINGLIGHTRESPONDER_H_
30 #define INCLUDE_OLA_RDM_MOVINGLIGHTRESPONDER_H_
35 #include <ola/rdm/ResponderPersonality.h>
52 uint16_t StartAddress()
const {
return m_start_address; }
53 uint16_t Footprint()
const {
54 return m_personality_manager.ActivePersonalityFootprint();
61 class RDMOps :
public ResponderOps<MovingLightResponder> {
63 static RDMOps *Instance() {
65 instance =
new RDMOps();
72 static RDMOps *instance;
80 static const Personalities *Instance();
83 explicit Personalities(
const PersonalityList &personalities) :
87 static Personalities *instance;
91 uint16_t m_start_address;
92 std::string m_language;
96 uint32_t m_device_hours;
97 uint32_t m_lamp_hours;
98 uint32_t m_lamp_strikes;
99 rdm_lamp_state m_lamp_state;
100 rdm_lamp_mode m_lamp_on_mode;
101 uint32_t m_device_power_cycles;
102 rdm_display_invert m_display_invert;
103 uint8_t m_display_level;
104 bool m_pan_tilt_swap;
105 rdm_power_state m_power_state;
106 std::string m_device_label;
165 #endif // INCLUDE_OLA_RDM_MOVINGLIGHTRESPONDER_H_