Control Surface new-input
MIDI Control Surface library for Arduino
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 109 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. More...
 

Private Attributes

RawMIDIAddress addresses
 

Member Function Documentation

◆ operator+=()

RelativeMIDIAddress & operator+= ( RelativeMIDIAddress  that)

Compound addition.

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

Definition at line 5 of file MIDIAddress.cpp.


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