Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MIDI_PipeFactory< N, Pipe > Struct Template Reference

#include <MIDI_Interfaces/MIDI_Pipes.hpp>

Detailed Description

template<size_t N, class Pipe = MIDI_Pipe>
struct MIDI_PipeFactory< N, Pipe >

Class that produces multiple MIDI_Pipes.

Template Parameters
NThe maximum number of pipes it can produce.
PipeThe type of pipes to produce.
See also
MIDI Routing
Routing MIDI messages (MIDI tutorial)
Examples
Dual-MIDI-Interface.ino, MIDI-Monitor-OLED.ino, and MIDI_Pipes-Routing.ino.

Definition at line 659 of file MIDI_Pipes.hpp.

+ Collaboration diagram for MIDI_PipeFactory< N, Pipe >:

Public Member Functions

Pipe & getNext ()
 
Pipe & operator[] (size_t i)
 
const Pipe & operator[] (size_t i) const
 

Public Attributes

Pipe pipes [N]
 
size_t index = 0
 

Member Function Documentation

◆ getNext()

template<size_t N, class Pipe = MIDI_Pipe>
Pipe & getNext ( )
inline

Definition at line 663 of file MIDI_Pipes.hpp.

◆ operator[]() [1/2]

template<size_t N, class Pipe = MIDI_Pipe>
Pipe & operator[] ( size_t i)
inline

Definition at line 668 of file MIDI_Pipes.hpp.

◆ operator[]() [2/2]

template<size_t N, class Pipe = MIDI_Pipe>
const Pipe & operator[] ( size_t i) const
inline

Definition at line 669 of file MIDI_Pipes.hpp.

Member Data Documentation

◆ pipes

template<size_t N, class Pipe = MIDI_Pipe>
Pipe pipes[N]

Definition at line 660 of file MIDI_Pipes.hpp.

◆ index

template<size_t N, class Pipe = MIDI_Pipe>
size_t index = 0

Definition at line 661 of file MIDI_Pipes.hpp.


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