Control Surface pin-t-adl
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
Chord< N > Class Template Reference

#include <MIDI_Constants/Chords/Chords.hpp>

Detailed Description

template<uint8_t N>
class Chord< N >

Definition at line 16 of file Chords.hpp.

+ Inheritance diagram for Chord< N >:
+ Collaboration diagram for Chord< N >:

Public Member Functions

 Chord (const Array< int8_t, N > &offsets)
 
const int8_t * begin () const override
 
const int8_t * end () const override
 
template<uint8_t M>
Chord< N+M > operator+ (const Chord< M > &rhs) const
 
Chord< N+1 > operator+ (int8_t rhs) const
 
const Array< int8_t, N > getOffsets () const
 

Private Attributes

Array< int8_t, N > offsets
 

Constructor & Destructor Documentation

◆ Chord()

Chord ( const Array< int8_t, N > &  offsets)
inline

Definition at line 18 of file Chords.hpp.

Member Function Documentation

◆ begin()

const int8_t * begin ( ) const
inlineoverridevirtual

Implements IChord.

Definition at line 19 of file Chords.hpp.

◆ end()

const int8_t * end ( ) const
inlineoverridevirtual

Implements IChord.

Definition at line 20 of file Chords.hpp.

◆ operator+() [1/2]

Chord< N+M > operator+ ( const Chord< M > &  rhs) const
inline

Definition at line 23 of file Chords.hpp.

◆ operator+() [2/2]

Chord< N+1 > operator+ ( int8_t  rhs) const
inline

Definition at line 27 of file Chords.hpp.

◆ getOffsets()

const Array< int8_t, N > getOffsets ( ) const
inline

Definition at line 29 of file Chords.hpp.

Member Data Documentation

◆ offsets

Array<int8_t, N> offsets
private

Definition at line 32 of file Chords.hpp.


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