29 #ifndef INCLUDE_OLA_RDM_MOVINGLIGHTRESPONDER_H_
30 #define INCLUDE_OLA_RDM_MOVINGLIGHTRESPONDER_H_
36 #include "ola/rdm/ResponderPersonality.h"
51 uint16_t StartAddress()
const {
return m_start_address; }
52 uint16_t Footprint()
const {
53 return m_personality_manager.ActivePersonalityFootprint();
60 class RDMOps :
public ResponderOps<MovingLightResponder> {
62 static RDMOps *Instance() {
64 instance =
new RDMOps();
71 static RDMOps *instance;
79 static const Personalities *Instance();
82 explicit Personalities(
const PersonalityList &personalities) :
86 static Personalities *instance;
90 uint16_t m_start_address;
95 uint32_t m_device_hours;
96 uint32_t m_lamp_hours;
97 uint32_t m_lamp_strikes;
98 rdm_lamp_state m_lamp_state;
99 rdm_lamp_mode m_lamp_on_mode;
100 uint32_t m_device_power_cycles;
101 rdm_display_invert m_display_invert;
102 uint8_t m_display_level;
103 bool m_pan_tilt_swap;
104 rdm_power_state m_power_state;
105 string m_device_label;
164 #endif // INCLUDE_OLA_RDM_MOVINGLIGHTRESPONDER_H_