Control Surface new-input
MIDI Control Surface library for Arduino
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.
Examples
Dual-MIDI-Interface.ino, and MIDI_Pipes-Routing.ino.

Definition at line 645 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
 

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