Detailed Description
Holds the list of personalities for a class of responder. A single instance is shared between all responders of the same type. Subclass this and use a singleton.
Inherited by ola::rdm::AckTimerResponder::Personalities, ola::rdm::AdvancedDimmerResponder::Personalities, ola::rdm::DimmerSubDevice::Personalities, ola::rdm::DummyResponder::Personalities, and ola::rdm::MovingLightResponder::Personalities.
Public Types |
typedef std::vector< Personality > | PersonalityList |
Constructor & Destructor Documentation
ola::rdm::PersonalityCollection::PersonalityCollection |
( |
const PersonalityList & |
personalities | ) |
|
|
explicit |
Takes ownership of the personalites
ola::rdm::PersonalityCollection::~PersonalityCollection |
( |
| ) |
|
|
virtual |
Member Function Documentation
const Personality * ola::rdm::PersonalityCollection::Lookup |
( |
uint8_t |
personality | ) |
const |
Look up a personality by index
uint8_t ola::rdm::PersonalityCollection::PersonalityCount |
( |
| ) |
const |
- Returns
- the number of personalities
The documentation for this class was generated from the following files: