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

#include <MIDI_Outputs/ProgramChanger.hpp>

Detailed Description

template<setting_t N>
class ProgramChanger< N >
Examples
Program-Changer.ino.

Definition at line 10 of file ProgramChanger.hpp.

+ Inheritance diagram for ProgramChanger< N >:
+ Collaboration diagram for ProgramChanger< N >:

Public Member Functions

 ProgramChanger (const Array< uint8_t, N > &programs, MIDIChannelCable channelCN)
 
void select (setting_t setting) override
 
setting_t getInitialSelection () const
 
void setInitialSelection (setting_t initialSelection)
 

Static Public Member Functions

static setting_t validateSetting (setting_t setting)
 

Private Attributes

Array< uint8_t, N > programs
 
MIDIChannelCable channelCN
 
setting_t initialSelection
 

Constructor & Destructor Documentation

◆ ProgramChanger()

template<setting_t N>
ProgramChanger ( const Array< uint8_t, N > & programs,
MIDIChannelCable channelCN )
inline

Definition at line 12 of file ProgramChanger.hpp.

Member Function Documentation

◆ select()

template<setting_t N>
void select ( setting_t setting)
inlineoverridevirtual

Implements Selectable< N >.

Definition at line 16 of file ProgramChanger.hpp.

◆ validateSetting()

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

Definition at line 19 of file Selectable.hpp.

◆ getInitialSelection()

template<setting_t N>
setting_t getInitialSelection ( ) const
inlineinherited

Definition at line 33 of file Selectable.hpp.

◆ setInitialSelection()

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

Definition at line 35 of file Selectable.hpp.

Member Data Documentation

◆ programs

template<setting_t N>
Array<uint8_t, N> programs
private

Definition at line 22 of file ProgramChanger.hpp.

◆ channelCN

template<setting_t N>
MIDIChannelCable channelCN
private

Definition at line 23 of file ProgramChanger.hpp.

◆ initialSelection

template<setting_t N>
setting_t initialSelection
privateinherited

Definition at line 40 of file Selectable.hpp.


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