Open Lighting Architecture
Latest Git
|
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.
Public Types | |
typedef std::vector< Personality > | PersonalityList |
Public Member Functions | |
PersonalityCollection (const PersonalityList &personalities) | |
virtual | ~PersonalityCollection () |
uint8_t | PersonalityCount () const |
const Personality * | Lookup (uint8_t personality) const |
typedef std::vector<Personality> ola::rdm::PersonalityCollection::PersonalityList |
The data type that stores the list of personalities for a responder.
|
explicit |
Takes ownership of the personalites
|
virtual |
Clean up
const Personality * ola::rdm::PersonalityCollection::Lookup | ( | uint8_t | personality | ) | const |
Look up a personality by index
uint8_t ola::rdm::PersonalityCollection::PersonalityCount | ( | ) | const |