4#include <AH/STL/type_traits>
20 static_assert(std::is_unsigned<setting_t>::value,
21 "Error: setting_t should be an unsigned integer type.");
23 ERROR(F(
"Error: Setting ")
25 << F(
" is not less than the number of settings (") << N
uint8_t setting_t
The type used for Selectors.
#define BEGIN_CS_NAMESPACE
setting_t initialSelection
setting_t getInitialSelection() const
Selectable(setting_t initialSelection=0)
void setInitialSelection(setting_t initialSelection)
static setting_t validateSetting(setting_t setting)
virtual void select(setting_t setting)=0