A class that groups Bankable BankableMIDIOutputs and BankableMIDIInputs, and allows the user to change the addresses of these elements.
More...
#include <Bank.hpp>
◆ Bank()
Construct a new Bank object.
- Parameters
-
tracksPerBank | The number of addresses/tracks to skip for each bank setting.
Must be strictly positive. |
initialSelection | The initial bank setting. |
Definition at line 90 of file Bank.hpp.
◆ select()
◆ getNumberOfBanks()
template<setting_t N>
constexpr static uint8_t Bank< N >::getNumberOfBanks |
( |
| ) |
|
|
inlinestaticconstexpr |
Get the number of Banks.
Definition at line 107 of file Bank.hpp.
◆ add()
◆ remove()
◆ validateSetting()
◆ getInitialSelection()
◆ setInitialSelection()
◆ getSelection()
virtual setting_t OutputBank::getSelection |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ getTracksPerBank()
uint8_t OutputBank::getTracksPerBank |
( |
| ) |
const |
|
inlineinherited |
Get the number of tracks per bank.
This is the number of addresses/tracks to skip for each bank setting.
Definition at line 55 of file Bank.hpp.
◆ getOffset()
uint8_t OutputBank::getOffset |
( |
| ) |
const |
|
inlineinherited |
Get the offset (number of banks times the index of the selected bank)
Definition at line 61 of file Bank.hpp.
◆ inputBankables
A linked list of all BankableMIDIInput elements that have been added to this bank, and that should be updated when the bank setting changes.
The list is updated automatically when BankableMIDIInput elements are created or destroyed.
Definition at line 138 of file Bank.hpp.
◆ initialSelection
◆ tracksPerBank
uint8_t OutputBank::tracksPerBank |
|
privateinherited |
◆ bankSetting
The documentation for this class was generated from the following file: