21 #ifndef INCLUDE_OLA_RDM_RESPONDERPERSONALITY_H_
22 #define INCLUDE_OLA_RDM_RESPONDERPERSONALITY_H_
40 Personality(uint16_t footprint,
const std::string &description);
41 Personality(uint16_t footprint,
const std::string &description,
44 uint16_t Footprint()
const {
return m_footprint; }
45 std::string Description()
const {
return m_description; }
49 const SlotData *GetSlotData(uint16_t slot_number)
const {
50 return m_slot_data.
Lookup(slot_number);
55 std::string m_description;
67 typedef std::vector<Personality> PersonalityList;
80 const PersonalityList m_personalities;
94 uint8_t PersonalityCount()
const;
95 bool SetActivePersonality(uint8_t personality);
96 uint8_t ActivePersonalityNumber()
const {
return m_active_personality; }
98 uint16_t ActivePersonalityFootprint()
const;
99 std::string ActivePersonalityDescription()
const;
100 const Personality *Lookup(uint8_t personality)
const;
104 uint8_t m_active_personality;
110 #endif // INCLUDE_OLA_RDM_RESPONDERPERSONALITY_H_