![]() |
Open Lighting Architecture 0.10.9
|
Holds information about a single DMX slot.
Public Member Functions | |
| rdm_slot_type | SlotType () const |
| The Slot Type. Used in the SLOT_INFO message. | |
| uint16_t | SlotIDDefinition () const |
| The Slot ID Definition. Used in the SLOT_INFO message. This can either be a rdm_slot_definition for a primary slot, or the index of the primary slot in the case of a secondary slot. | |
| uint8_t | DefaultSlotValue () const |
| The default slot value. Used in the DEFAULT_SLOT_VALUE message. | |
| bool | HasDescription () const |
| true if there is a description for this slot, false otherwise. | |
| std::string | Description () const |
| The slot description. Used in the SLOT_DESCRIPTION message. | |
Static Public Member Functions | |
| static SlotData | PrimarySlot (rdm_slot_definition slot_definition, uint8_t default_slot_value) |
| Create a new Primary slot. | |
| static SlotData | PrimarySlot (rdm_slot_definition slot_definition, uint8_t default_slot_value, const std::string &description) |
| Create a new Primary slot with a description. | |
| static SlotData | SecondarySlot (rdm_slot_type slot_type, uint16_t primary_slot, uint8_t default_slot_value) |
| Create a new Secondary slot. | |
| static SlotData | SecondarySlot (rdm_slot_type slot_type, uint16_t primary_slot, uint8_t default_slot_value, const std::string &description) |
| Create a new Secondary slot with a description. | |
|
inline |
The default slot value. Used in the DEFAULT_SLOT_VALUE message.
|
inline |
The slot description. Used in the SLOT_DESCRIPTION message.
|
inline |
true if there is a description for this slot, false otherwise.
|
static |
Create a new Primary slot.
| slot_definition | the slot id definition. |
| default_slot_value | the default value for the slot |
|
static |
Create a new Primary slot with a description.
| slot_definition | the slot id definition. |
| default_slot_value | the default value for the slot |
| description | the slot description |
|
static |
Create a new Secondary slot.
| slot_type | the secondary slot type |
| primary_slot | the primary slot index. |
| default_slot_value | the default value for the slot |
|
static |
Create a new Secondary slot with a description.
| slot_type | the secondary slot type |
| primary_slot | the primary slot index. |
| default_slot_value | the default value for the slot |
| description | the slot description |
|
inline |
The Slot ID Definition. Used in the SLOT_INFO message. This can either be a rdm_slot_definition for a primary slot, or the index of the primary slot in the case of a secondary slot.
|
inline |
The Slot Type. Used in the SLOT_INFO message.