28 #ifndef INCLUDE_OLA_RDM_ACKTIMERRESPONDER_H_
29 #define INCLUDE_OLA_RDM_ACKTIMERRESPONDER_H_
31 #include <ola/Clock.h>
35 #include <ola/rdm/ResponderPersonality.h>
61 static RDMOps *Instance() {
63 instance =
new RDMOps();
70 static RDMOps *instance;
78 static const Personalities *Instance();
81 explicit Personalities(
const PersonalityList &personalities) :
85 static Personalities *instance;
89 typedef std::queue<class QueuedResponse*> ResponseQueue;
93 typedef std::vector<class QueuedResponse*> PendingResponses;
96 uint16_t m_start_address;
100 ResponseQueue m_queued_messages;
101 PendingResponses m_upcoming_queued_messages;
102 std::auto_ptr<class QueuedResponse> m_last_queued_message;
105 uint16_t Footprint()
const {
106 return m_personality_manager.ActivePersonalityFootprint();
109 uint8_t QueuedMessageCount()
const;
110 void QueueAnyNewMessages();
131 static const uint16_t ACK_TIMER_MS;
135 #endif // INCLUDE_OLA_RDM_ACKTIMERRESPONDER_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:456
Definition: AckTimerResponder.cpp:103
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:233
A RDM unique identifier (UID).
A class which dispatches RDM requests to registered PID handlers.
Definition: ResponderOps.h:60
Definition: AckTimerResponder.h:48
Definition: ResponderPersonality.h:89
Used to get the current time.
Definition: Clock.h:221
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
~AckTimerResponder()
Definition: AckTimerResponder.cpp:158
AckTimerResponder(const UID &uid)
Definition: AckTimerResponder.cpp:148
void SendRDMRequest(RDMRequest *request, RDMCallback *callback)
Send a RDM command.
Definition: AckTimerResponder.cpp:169