Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Selectable< N > Class Template Referenceabstract

#include <Selectors/Selectable.hpp>

Detailed Description

template<setting_t N>
class Selectable< N >

Definition at line 11 of file 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
 

Constructor & Destructor Documentation

◆ Selectable()

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

Definition at line 13 of file Selectable.hpp.

Member Function Documentation

◆ select()

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

◆ validateSetting()

template<setting_t N>
static setting_t validateSetting ( setting_t setting)
inlinestatic

Definition at line 19 of file Selectable.hpp.

◆ getInitialSelection()

template<setting_t N>
setting_t getInitialSelection ( ) const
inline

Definition at line 33 of file Selectable.hpp.

◆ setInitialSelection()

template<setting_t N>
void setInitialSelection ( setting_t initialSelection)
inline

Definition at line 35 of file Selectable.hpp.

Member Data Documentation

◆ initialSelection

template<setting_t N>
setting_t initialSelection
private

Definition at line 40 of file Selectable.hpp.


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