21 #ifndef PLUGINS_DUMMY_DUMMYPORT_H_
22 #define PLUGINS_DUMMY_DUMMYPORT_H_
33 #include "olad/Port.h"
44 : number_of_dimmers(1),
45 dimmer_sub_device_count(4),
46 number_of_moving_lights(1),
47 number_of_dummy_responders(1),
48 number_of_ack_timer_responders(0),
49 number_of_advanced_dimmers(1),
50 number_of_sensor_responders(1),
51 number_of_network_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;
61 uint8_t number_of_network_responders;
89 unsigned int expected_count;
90 unsigned int current_count;
93 } broadcast_request_tracker;
99 ResponderMap m_responders;
102 void HandleBroadcastAck(broadcast_request_tracker *tracker,
107 static const unsigned int kStartAddress = 0xffffff00;
112 #endif // PLUGINS_DUMMY_DUMMYPORT_H_
Definitions and Interfaces to implement an RDMController that sends a single message at a time...
DummyPort(class DummyDevice *parent, const Options &options, unsigned int id)
Definition: DummyPort.cpp:73
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:233
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
A RDM unique identifier (UID).
Constants used throughout OLA.
A class used to hold a single universe of DMX data.
Definition: DummyPort.h:41
Definition: DummyDevice.h:35
The base class for all 1 argument callbacks.
Definition: Callback.h:982
Holds the final state of an RDM request.
Definition: RDMReply.h:43
The interface that can send RDMRequest.
Definition: RDMControllerInterface.h:73
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition: DummyPort.cpp:113
Various constants used in RDM.
Represents a RDM UID.
Definition: UID.h:57
void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition: DummyPort.cpp:127
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
void SendRDMRequest(ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *callback)
Handle an RDMRequest, subclasses can implement this to support RDM.
Definition: DummyPort.cpp:135
Definition: DummyPort.h:39
std::string Description() const
Fetch the string description for a Port.
Definition: DummyPort.h:77
void RunIncrementalDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition: DummyPort.cpp:131