![]() |
Deluge Firmware 1.3.0
Build date: 2025.11.26
|
#include <midi_root_complex.h>

Classes | |
| class | CableIterator |
| class | CableSet |
Public Member Functions | |
| MIDIRootComplex (const MIDIRootComplex &)=delete | |
| MIDIRootComplex (MIDIRootComplex &&)=delete | |
| MIDIRootComplex & | operator= (const MIDIRootComplex &)=delete |
| MIDIRootComplex & | operator= (MIDIRootComplex &&)=delete |
| virtual RootComplexType | getType () const =0 |
| virtual size_t | getNumCables () const =0 |
| virtual MIDICable * | getCable (size_t cableIdx)=0 |
| CableSet | getCables () |
| virtual void | flush ()=0 |
| Flush as much data as possible from any internal buffers to hardware queues. | |
| virtual Error | poll ()=0 |
| Poll the root complex, calling back in to the MIDI engine for any new messages. | |
Represents a group of cables we can do I/O on.
The name is meant to be analogous to a "root complex" in a PCIe device hierarchy, which represents the physical bridge to the PCIe bus by the bus controller. Similarly, this class represents the interface from the Deluge software to a MIDI device connection.
|
pure virtual |
Flush as much data as possible from any internal buffers to hardware queues.
Implemented in DINRootComplex, MIDIRootComplexUSBHosted, and MIDIRootComplexUSBPeripheral.
|
nodiscardpure virtual |
Poll the root complex, calling back in to the MIDI engine for any new messages.
Implemented in DINRootComplex, MIDIRootComplexUSBHosted, and MIDIRootComplexUSBPeripheral.