This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Selectable< N > Class Template Referenceabstract

#include <Selectable.hpp>

Inheritance diagram for Selectable< N >:
Collaboration diagram for Selectable< N >:

Public Member Functions

virtual void select (setting_t setting)=0
setting_t getInitialSelection () const
void setInitialSelection (setting_t initialSelection)

Static Public Member Functions

static setting_t validateSetting (setting_t setting)

Protected Member Functions

 Selectable (setting_t initialSelection=0)

Private Attributes

setting_t initialSelection

Detailed Description

template<setting_t N>
class Selectable< N >

Definition at line 11 of file Selectable.hpp.

Constructor & Destructor Documentation

◆ Selectable()

template<setting_t N>
Selectable< N >::Selectable ( setting_t  initialSelection = 0)

Definition at line 13 of file Selectable.hpp.

Member Function Documentation

◆ select()

template<setting_t N>
virtual void Selectable< N >::select ( setting_t  setting)
pure virtual

◆ validateSetting()

template<setting_t N>
static setting_t Selectable< N >::validateSetting ( setting_t  setting)

Definition at line 19 of file Selectable.hpp.

◆ getInitialSelection()

template<setting_t N>
setting_t Selectable< N >::getInitialSelection ( ) const

Definition at line 33 of file Selectable.hpp.

◆ setInitialSelection()

template<setting_t N>
void Selectable< N >::setInitialSelection ( setting_t  initialSelection)

Definition at line 35 of file Selectable.hpp.

Member Data Documentation

◆ initialSelection

template<setting_t N>
setting_t Selectable< N >::initialSelection

Definition at line 40 of file Selectable.hpp.

The documentation for this class was generated from the following file: