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;
73 uint8_t PersonalityCount()
const;
75 const Personality *Lookup(uint8_t personality)
const;
81 const PersonalityList m_personalities;
95 uint8_t PersonalityCount()
const;
96 bool SetActivePersonality(uint8_t personality);
97 uint8_t ActivePersonalityNumber()
const {
return m_active_personality; }
99 uint16_t ActivePersonalityFootprint()
const;
100 std::string ActivePersonalityDescription()
const;
101 const Personality *Lookup(uint8_t personality)
const;
105 uint8_t m_active_personality;
111 #endif // INCLUDE_OLA_RDM_RESPONDERPERSONALITY_H_ Definition: ResponderPersonality.h:65
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
Personality(uint16_t footprint, const std::string &description)
Definition: ResponderPersonality.cpp:40
const SlotData * Lookup(uint16_t slot) const
Lookup slot data based on the slot index.
Definition: ResponderSlotData.cpp:99
Holds information about a set of slots.
Definition: ResponderSlotData.h:151
Definition: ResponderPersonality.h:90
Holds the information about DMX slots.
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Header file for OLA Logging.
Holds information about a single DMX slot.
Definition: ResponderSlotData.h:44
std::vector< Personality > PersonalityList
Definition: ResponderPersonality.h:68
Definition: ResponderPersonality.h:38