Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
RelativeMIDIAddress Class Reference

#include <Def/MIDIAddress.hpp>

Detailed Description

A class for saving an offset to a MIDI address.

It can be added to a MIDIAddress.

Definition at line 113 of file MIDIAddress.hpp.

+ Collaboration diagram for RelativeMIDIAddress:

Public Member Functions

constexpr RelativeMIDIAddress ()
 
constexpr RelativeMIDIAddress (int deltaAddress, int deltaChannel=0, int deltaCableNumber=0)
 
constexpr bool isValid () const
 
RelativeMIDIAddressoperator+= (RelativeMIDIAddress that)
 Compound addition.
 

Private Attributes

RawMIDIAddress addresses
 

Constructor & Destructor Documentation

◆ RelativeMIDIAddress() [1/2]

constexpr RelativeMIDIAddress ( )
inlineconstexpr

Definition at line 117 of file MIDIAddress.hpp.

◆ RelativeMIDIAddress() [2/2]

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

Definition at line 118 of file MIDIAddress.hpp.

Member Function Documentation

◆ isValid()

constexpr bool isValid ( ) const
inlineconstexpr

Definition at line 126 of file MIDIAddress.hpp.

◆ operator+=()

Compound addition.

Element-wise addition, result is valid if both operands were valid.

Definition at line 5 of file MIDIAddress.cpp.

Member Data Documentation

◆ addresses

RawMIDIAddress addresses
private

Definition at line 133 of file MIDIAddress.hpp.


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