Operators and utilities for MIDI routing.
More...
|
| MIDI_Pipe & | operator>> (TrueMIDI_Source &source, MIDI_Pipe &pipe) |
| | Connect a source to a pipe (source >> pipe). More...
|
| |
| TrueMIDI_Sink & | operator>> (MIDI_Pipe &pipe, TrueMIDI_Sink &sink) |
| | Connect a pipe to a sink (pipe >> sink). More...
|
| |
| MIDI_Pipe & | operator<< (TrueMIDI_Sink &sink, MIDI_Pipe &pipe) |
| | Connect a sink to a pipe (sink << pipe). More...
|
| |
| TrueMIDI_Source & | operator<< (MIDI_Pipe &pipe, TrueMIDI_Source &source) |
| | Connect a pipe to a source (pipe << source). More...
|
| |
| TrueMIDI_SinkSource & | operator| (BidirectionalMIDI_Pipe &pipe, TrueMIDI_SinkSource &sinksource) |
| | Connect a pipe to a sink+source (pipe | source+sink). More...
|
| |
| BidirectionalMIDI_Pipe & | operator| (TrueMIDI_SinkSource &sinksource, BidirectionalMIDI_Pipe &pipe) |
| | Connect a sink+source to a pipe (source+sink | pipe). More...
|
| |
| template<size_t N, class Pipe > |
| MIDI_Pipe & | operator>> (TrueMIDI_Source &source, MIDI_PipeFactory< N, Pipe > &pipe_fact) |
| |
| template<size_t N, class Pipe > |
| TrueMIDI_Sink & | operator>> (MIDI_PipeFactory< N, Pipe > &pipe_fact, TrueMIDI_Sink &sink) |
| |
| template<size_t N, class Pipe > |
| MIDI_Pipe & | operator<< (TrueMIDI_Sink &sink, MIDI_PipeFactory< N, Pipe > &pipe_fact) |
| |
| template<size_t N, class Pipe > |
| TrueMIDI_Source & | operator<< (MIDI_PipeFactory< N, Pipe > &pipe_fact, TrueMIDI_Source &source) |
| |
| template<size_t N> |
| TrueMIDI_SinkSource & | operator| (BidirectionalMIDI_PipeFactory< N > &pipe_fact, TrueMIDI_SinkSource &sinksource) |
| |
| template<size_t N> |
| BidirectionalMIDI_Pipe & | operator| (TrueMIDI_SinkSource &sinksource, BidirectionalMIDI_PipeFactory< N > &pipe_fact) |
| |
Operators and utilities for MIDI routing.
Allows you to use syntax like:
midiA = Serial1, midiB = Serial2, midiC = Serial3;
midiA >> pipes >> midiB;
midiC >> pipes >> midiB;
midiC << pipes << midiB;
Or for bidirectional connections:
midiA = Serial1, midiB = Serial2, midiC = Serial3;
midiA | pipes | midiB;
midiA | pipes | midiC;
◆ BidirectionalMIDI_Pipe
A bidirectional pipe consists of two unidirectional pipes.
Definition at line 504 of file MIDI_Pipes.hpp.
◆ BidirectionalMIDI_PipeFactory
◆ operator>>() [1/4]
Connect a source to a pipe (source >> pipe).
Definition at line 507 of file MIDI_Pipes.hpp.
◆ operator>>() [2/4]
Connect a pipe to a sink (pipe >> sink).
Definition at line 513 of file MIDI_Pipes.hpp.
◆ operator<<() [1/4]
Connect a sink to a pipe (sink << pipe).
Definition at line 519 of file MIDI_Pipes.hpp.
◆ operator<<() [2/4]
Connect a pipe to a source (pipe << source).
Definition at line 525 of file MIDI_Pipes.hpp.
◆ operator|() [1/4]
Connect a pipe to a sink+source (pipe | source+sink).
Definition at line 531 of file MIDI_Pipes.hpp.
◆ operator|() [2/4]
Connect a sink+source to a pipe (source+sink | pipe).
Definition at line 539 of file MIDI_Pipes.hpp.
◆ operator>>() [3/4]
◆ operator>>() [4/4]
◆ operator<<() [3/4]
◆ operator<<() [4/4]
◆ operator|() [3/4]
◆ operator|() [4/4]