Control Surface  1.1.1
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
RelativeMIDICNChannelAddress Class Reference

A class for saving an offset to a MIDI address. More...

#include <Def/MIDICNChannelAddress.hpp>

Collaboration diagram for RelativeMIDICNChannelAddress:

Public Member Functions

constexpr RelativeMIDICNChannelAddress ()
 
constexpr RelativeMIDICNChannelAddress (int deltaAddress, int deltaChannel=0, int deltaCableNumber=0)
 
constexpr bool isValid () const
 

Private Attributes

RawMIDICNChannelAddress addresses
 

Detailed Description

A class for saving an offset to a MIDI address.

It can be added to a MIDICNChannelAddress.

Definition at line 58 of file MIDICNChannelAddress.hpp.

Constructor & Destructor Documentation

◆ RelativeMIDICNChannelAddress() [1/2]

constexpr RelativeMIDICNChannelAddress ( )
inlineconstexpr

Definition at line 62 of file MIDICNChannelAddress.hpp.

◆ RelativeMIDICNChannelAddress() [2/2]

constexpr RelativeMIDICNChannelAddress ( int  deltaAddress,
int  deltaChannel = 0,
int  deltaCableNumber = 0 
)
inlineconstexpr

Definition at line 63 of file MIDICNChannelAddress.hpp.

Member Function Documentation

◆ isValid()

constexpr bool isValid ( ) const
inlineconstexpr

Definition at line 72 of file MIDICNChannelAddress.hpp.

Member Data Documentation

◆ addresses

RawMIDICNChannelAddress addresses
private

Definition at line 75 of file MIDICNChannelAddress.hpp.


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