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_ 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
Definition: MovingLightResponder.h:46
void SendRDMRequest(RDMRequest *request, RDMCallback *callback)
Send a RDM command.
Definition: MovingLightResponder.cpp:248
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:234
A RDM unique identifier (UID).
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
MovingLightResponder(const UID &uid)
Definition: MovingLightResponder.cpp:224