21 #ifndef PLUGINS_DUMMY_DUMMYPORT_H_
22 #define PLUGINS_DUMMY_DUMMYPORT_H_
32 #include "olad/Port.h"
45 : number_of_dimmers(1),
46 dimmer_sub_device_count(4),
47 number_of_moving_lights(1),
48 number_of_dummy_responders(1),
49 number_of_ack_timer_responders(0),
50 number_of_advanced_dimmers(0),
51 number_of_sensor_responders(1) {
54 uint8_t number_of_dimmers;
55 uint16_t dimmer_sub_device_count;
56 uint8_t number_of_moving_lights;
57 uint8_t number_of_dummy_responders;
58 uint8_t number_of_ack_timer_responders;
59 uint8_t number_of_advanced_dimmers;
60 uint8_t number_of_sensor_responders;
67 bool WriteDMX(
const DmxBuffer &buffer, uint8_t priority);
68 string Description()
const {
return "Dummy Port"; }
76 unsigned int expected_count;
77 unsigned int current_count;
80 } broadcast_request_tracker;
82 typedef map<UID, ola::rdm::RDMControllerInterface*> ResponderMap;
85 ResponderMap m_responders;
88 void HandleBroadcastAck(broadcast_request_tracker *tracker,
89 ola::rdm::rdm_response_code code,
91 const std::vector<std::string> &packets);
95 static const unsigned int kStartAddress = 0xffffff00;
100 #endif // PLUGINS_DUMMY_DUMMYPORT_H_