Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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< 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

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.
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: