A base class for all MIDIOutputElements that can be banked. More...
#include <Banks/BankableMIDIOutput.hpp>
Public Member Functions | |
| BankableMIDIOutput (const OutputBank &bank, BankType type) | |
| Create a new BankableMIDIOutput object.  More... | |
| BankableMIDIOutput (const OutputBankConfig &config) | |
| Create a new BankableMIDIOutput object.  More... | |
| RelativeMIDICNChannelAddress | getAddressOffset () const | 
| Get the offset relative to the base address.  More... | |
| 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 | |
| const BankType | type | 
| setting_t | lockedSetting = UNLOCKED | 
Static Private Attributes | |
| constexpr static setting_t | UNLOCKED = NO_SETTING | 
A base class for all MIDIOutputElements that can be banked.
Definition at line 84 of file BankableMIDIOutput.hpp.
      
  | 
  inline | 
Create a new BankableMIDIOutput object.
| bank | The bank to add this element to. | 
| type | What address type to change (address, channel or cable number). | 
Definition at line 94 of file BankableMIDIOutput.hpp.
      
  | 
  inline | 
Create a new BankableMIDIOutput object.
| config | The bank and address type to change. | 
Definition at line 105 of file BankableMIDIOutput.hpp.
      
  | 
  inline | 
Get the offset relative to the base address.
Definition at line 111 of file BankableMIDIOutput.hpp.
      
  | 
  inlineinherited | 
Get the actual bank setting (no matter whether the element is locked or not).
Definition at line 26 of file BankableMIDIOutput.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 BankableMIDIOutput.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 BankableMIDIOutput.hpp.
      
  | 
  inlineinherited | 
Unlock the bank setting.
After unlocking, getSelection will return the actual bank setting again. 
Definition at line 55 of file BankableMIDIOutput.hpp.
      
  | 
  private | 
Definition at line 122 of file BankableMIDIOutput.hpp.
      
  | 
  protectedinherited | 
Definition at line 58 of file BankableMIDIOutput.hpp.
      
  | 
  staticconstexprprivateinherited | 
Definition at line 61 of file BankableMIDIOutput.hpp.
Definition at line 62 of file BankableMIDIOutput.hpp.
 1.8.16