21 #ifndef INCLUDE_OLA_RDM_RESPONDERPERSONALITY_H_
22 #define INCLUDE_OLA_RDM_RESPONDERPERSONALITY_H_
41 Personality(uint16_t footprint,
const string &description);
42 Personality(uint16_t footprint,
const string &description,
45 uint16_t Footprint()
const {
return m_footprint; }
46 string Description()
const {
return m_description; }
50 const SlotData *GetSlotData(uint16_t slot_number)
const {
51 return m_slot_data.
Lookup(slot_number);
68 typedef std::vector<Personality> PersonalityList;
81 const PersonalityList m_personalities;
92 uint8_t PersonalityCount()
const;
93 bool SetActivePersonality(uint8_t personality);
94 uint8_t ActivePersonalityNumber()
const {
return m_active_personality; }
96 uint16_t ActivePersonalityFootprint()
const;
97 const Personality *Lookup(uint8_t personality)
const;
101 uint8_t m_active_personality;
105 #endif // INCLUDE_OLA_RDM_RESPONDERPERSONALITY_H_