29 #ifndef INCLUDE_OLA_RDM_RESPONDERSLOTDATA_H_ 30 #define INCLUDE_OLA_RDM_RESPONDERSLOTDATA_H_ 90 uint8_t default_slot_value);
101 uint8_t default_slot_value,
102 const std::string &description);
113 uint16_t primary_slot,
114 uint8_t default_slot_value);
126 uint16_t primary_slot,
127 uint8_t default_slot_value,
128 const std::string &description);
133 uint8_t default_slot_value);
137 uint8_t default_slot_value,
138 const std::string &description);
142 uint8_t m_default_slot_value;
143 bool m_has_description;
144 std::string m_description;
153 typedef std::vector<SlotData> SlotDataList;
162 uint16_t SlotCount()
const;
168 const SlotData *Lookup(uint16_t slot)
const;
171 SlotDataList m_slot_data;
175 #endif // INCLUDE_OLA_RDM_RESPONDERSLOTDATA_H_ uint8_t DefaultSlotValue() const
The default slot value. Used in the DEFAULT_SLOT_VALUE message.
Definition: ResponderSlotData.h:67
rdm_slot_type
The RDM slot types, from table C-1 of the standard.
Definition: RDMEnums.h:511
static SlotData SecondarySlot(rdm_slot_type slot_type, uint16_t primary_slot, uint8_t default_slot_value)
Create a new Secondary slot.
Definition: ResponderSlotData.cpp:51
rdm_slot_definition
The RDM slot definitions, from table C-2 of the standard.
Definition: RDMEnums.h:527
uint16_t SlotIDDefinition() const
The Slot ID Definition. Used in the SLOT_INFO message. This can either be a rdm_slot_definition for a...
Definition: ResponderSlotData.h:60
static SlotData PrimarySlot(rdm_slot_definition slot_definition, uint8_t default_slot_value)
Create a new Primary slot.
Definition: ResponderSlotData.cpp:34
std::string Description() const
The slot description. Used in the SLOT_DESCRIPTION message.
Definition: ResponderSlotData.h:80
Holds information about a set of slots.
Definition: ResponderSlotData.h:151
bool HasDescription() const
true if there is a description for this slot, false otherwise.
Definition: ResponderSlotData.h:73
Various constants used in RDM.
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
rdm_slot_type SlotType() const
The Slot Type. Used in the SLOT_INFO message.
Definition: ResponderSlotData.h:51
Holds information about a single DMX slot.
Definition: ResponderSlotData.h:44