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();
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;
Definitions and Interfaces to implement an RDMController that sends a single message at a time.
Various constants used in RDM.
A framework for building RDM responders.
A RDM unique identifier (UID).
The base class for all 1 argument callbacks.
Definition Callback.h:982
Definition MovingLightResponder.h:46
MovingLightResponder(const UID &uid)
Definition MovingLightResponder.cpp:224
void SendRDMRequest(RDMRequest *request, RDMCallback *callback)
Send a RDM command.
Definition MovingLightResponder.cpp:248
Definition ResponderPersonality.h:65
std::vector< Personality > PersonalityList
Definition ResponderPersonality.h:68
Definition ResponderPersonality.h:91
The interface that can send RDMRequest.
Definition RDMControllerInterface.h:73
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition RDMCommand.h:234
An RDM Command that represents responses (GET, SET or DISCOVER).
Definition RDMCommand.h:457
A class which dispatches RDM requests to registered PID handlers.
Definition ResponderOps.h:60
Represents a RDM UID.
Definition UID.h:57
The namespace containing all OLA symbols.
Definition Credentials.cpp:44
the structure that defines the behaviour for a specific PID.o
Definition ResponderOps.h:76