Control Surface master
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
SingleAddressMultipleBanks< N > Class Template Reference

#include <Banks/BankAddresses.hpp>

Detailed Description

template<uint8_t N>
class Bankable::SingleAddressMultipleBanks< N >

Definition at line 25 of file BankAddresses.hpp.

+ Collaboration diagram for SingleAddressMultipleBanks< N >:

Public Member Functions

 SingleAddressMultipleBanks (const Array< OutputBankableMIDIAddress, N > &banks, MIDIAddress address)
 
MIDIAddress getBaseAddress () const
 
MIDIAddress getActiveAddress () const
 
void lock ()
 
void unlock ()
 

Private Attributes

Array< OutputBankableMIDIAddress, N > banks
 
MIDIAddress address
 

Constructor & Destructor Documentation

◆ SingleAddressMultipleBanks()

SingleAddressMultipleBanks ( const Array< OutputBankableMIDIAddress, N > &  banks,
MIDIAddress  address 
)
inline

Definition at line 27 of file BankAddresses.hpp.

Member Function Documentation

◆ getBaseAddress()

MIDIAddress getBaseAddress ( ) const
inline

Definition at line 31 of file BankAddresses.hpp.

◆ getActiveAddress()

MIDIAddress getActiveAddress ( ) const
inline

Definition at line 33 of file BankAddresses.hpp.

◆ lock()

void lock ( )
inline

Definition at line 40 of file BankAddresses.hpp.

◆ unlock()

void unlock ( )
inline

Definition at line 45 of file BankAddresses.hpp.

Member Data Documentation

◆ banks

Array<OutputBankableMIDIAddress, N> banks
private

Definition at line 51 of file BankAddresses.hpp.

◆ address

MIDIAddress address
private

Definition at line 52 of file BankAddresses.hpp.


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