Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::rdm::SlotDataCollection Class Reference

Detailed Description

Holds information about a set of slots.

Public Types

typedef std::vector< SlotDataSlotDataList
 

Public Member Functions

 SlotDataCollection (const SlotDataList &slot_data)
 
uint16_t SlotCount () const
 The number of slots we have information for.
 
const SlotDataLookup (uint16_t slot) const
 Lookup slot data based on the slot index.
 

Member Function Documentation

◆ Lookup()

const SlotData * ola::rdm::SlotDataCollection::Lookup ( uint16_t slot) const

Lookup slot data based on the slot index.

Returns
A pointer to a SlotData object, or null if no such slot exists.

◆ SlotCount()

uint16_t ola::rdm::SlotDataCollection::SlotCount ( ) const

The number of slots we have information for.

Returns
the number of slots we have information for.

The documentation for this class was generated from the following files: