#include <Banks/BankAddresses.hpp>
 Inheritance diagram for ManyAddresses< NumBanks >:
 Collaboration diagram for ManyAddresses< NumBanks >:Public Member Functions | |
| ManyAddresses (const Bank< NumBanks > &bank, const Array< MIDIAddress, NumBanks > &addresses) | |
| Constructor.  More... | |
| MIDIAddress | getActiveAddress () const | 
| setting_t | getRawBankSetting () const | 
| Get the actual bank setting (no matter whether the element is locked or not).  More... | |
| setting_t | getSelection () const | 
| Get the bank setting.  More... | |
| void | lock () | 
| Lock the bank setting.  More... | |
| void | unlock () | 
| Unlock the bank setting.  More... | |
Protected Attributes | |
| const OutputBank & | bank | 
Private Attributes | |
| Array< MIDIAddress, NumBanks > | addresses | 
| setting_t | lockedSetting = UNLOCKED | 
Static Private Attributes | |
| constexpr static setting_t | UNLOCKED = NO_SETTING | 
| NumBanks | The number of bank settings the bank has. | 
Definition at line 106 of file BankAddresses.hpp.
      
  | 
  inline | 
Constructor.
| bank | The bank to add this element to. | 
| addresses | The list of alternative addresses. | 
Definition at line 116 of file BankAddresses.hpp.
      
  | 
  inline | 
Definition at line 120 of file BankAddresses.hpp.
      
  | 
  inlineinherited | 
Get the actual bank setting (no matter whether the element is locked or not).
Definition at line 26 of file BankableAddresses.hpp.
      
  | 
  inlineinherited | 
Get the bank setting.
If the element is locked, the bank setting from the moment it was locked is returned.
Definition at line 34 of file BankableAddresses.hpp.
      
  | 
  inlineinherited | 
Lock the bank setting.
As long as it's locked, getSelection will return the current setting, independent from the actual bank setting. 
Definition at line 44 of file BankableAddresses.hpp.
      
  | 
  inlineinherited | 
Unlock the bank setting.
After unlocking, getSelection will return the actual bank setting again.
Definition at line 55 of file BankableAddresses.hpp.
      
  | 
  private | 
Definition at line 123 of file BankAddresses.hpp.
      
  | 
  protectedinherited | 
Definition at line 58 of file BankableAddresses.hpp.
      
  | 
  staticconstexprprivateinherited | 
Definition at line 61 of file BankableAddresses.hpp.
Definition at line 62 of file BankableAddresses.hpp.