Control Surface main
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 <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()

Selectable ( setting_t  initialSelection = 0)
inlineprotected

Definition at line 13 of file Selectable.hpp.

Member Function Documentation

◆ select()

virtual void select ( setting_t  setting)
pure virtual

◆ validateSetting()

static setting_t validateSetting ( setting_t  setting)
inlinestatic

Definition at line 19 of file Selectable.hpp.

◆ getInitialSelection()

setting_t getInitialSelection ( ) const
inline

Definition at line 33 of file Selectable.hpp.

◆ setInitialSelection()

void setInitialSelection ( setting_t  initialSelection)
inline

Definition at line 35 of file Selectable.hpp.

Member Data Documentation

◆ initialSelection

setting_t initialSelection
private

Definition at line 40 of file Selectable.hpp.


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