Open Lighting Architecture: ola::rdm::SlotDataCollection Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
ola::rdm::SlotDataCollection Class Reference

## Detailed Description

Holds information about a set of slots.

## Public Types
typedef std::vector< SlotData > | SlotDataList

## Public Member Functions
| SlotDataCollection (const SlotDataList &slot_data)
uint16_t | SlotCount () const
| The number of slots we have information for.
const SlotData * | Lookup (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:

- include/ola/rdm/ResponderSlotData.h
- common/rdm/ResponderSlotData.cpp