Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Protected Attributes | Private Member Functions | List of all members
BankSettingChangeCallback Class Reference

#include <Banks/Bank.hpp>

Detailed Description

Callback class for Bankable objects that need to be notified when the active setting of their Bank changes.

Definition at line 68 of file Bank.hpp.

+ Inheritance diagram for BankSettingChangeCallback:
+ Collaboration diagram for BankSettingChangeCallback:

Protected Attributes

BankSettingChangeCallbacknext
 
BankSettingChangeCallbackprevious
 

Private Member Functions

virtual void onBankSettingChange ()
 A function to be executed each time the bank setting changes.
 

Member Function Documentation

◆ onBankSettingChange()

virtual void onBankSettingChange ( )
inlineprivatevirtual

A function to be executed each time the bank setting changes.

Think of an LED that indicates whether a track is muted or not. If this LED is bankable, let's say with 4 tracks per bank, 2 banks, and a base address of 3, then this LED object keeps the state of tracks 3 and 7. When the bank setting is 0, the LED displays the state of track 3, when the bank setting is 1, the LED displays the state of track 7. To know when to update the LED, this callback is used.

Reimplemented in VPotRingLEDs< BankSize >, VULEDs< BankSize, NumLEDs >, NoteCCKPLED< Type, BankSize >, NoteCCKPLEDBar< Type, BankSize, NumLEDs >, NoteCCKPLEDPWM< Type, BankSize >, NoteCCKPRangeFastLED< Type, BankSize, RangeLen, ColorMapper >, NoteCCKPRangeLEDs< Type, BankSize, RangeLen >, VPotRing< BankSize >, VU< BankSize >, NoteCCKPRange< Type, BankSize, RangeLen >, NoteCCKPValue< Type, BankSize >, and PBValue< BankSize >.

Definition at line 81 of file Bank.hpp.

Member Data Documentation

◆ next

BankSettingChangeCallback * next
protectedinherited

Definition at line 320 of file LinkedList.hpp.

◆ previous

BankSettingChangeCallback * previous
protectedinherited

Definition at line 321 of file LinkedList.hpp.


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