Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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()

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

Definition at line 18 of file Chords.hpp.

Member Function Documentation

◆ begin()

template<uint8_t N>
const int8_t * begin ( ) const
inlineoverridevirtual

Implements IChord.

Definition at line 19 of file Chords.hpp.

◆ end()

template<uint8_t N>
const int8_t * end ( ) const
inlineoverridevirtual

Implements IChord.

Definition at line 20 of file Chords.hpp.

◆ operator+() [1/2]

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

Definition at line 23 of file Chords.hpp.

◆ operator+() [2/2]

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

Definition at line 27 of file Chords.hpp.

◆ getOffsets()

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

Definition at line 31 of file Chords.hpp.

Member Data Documentation

◆ offsets

template<uint8_t N>
Array<int8_t, N> offsets
private

Definition at line 34 of file Chords.hpp.


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