Open Lighting Architecture
0.9.6
|
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 |
|
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 |