24class MIDIRootComplexUSBPeripheral :
public MIDIRootComplex {
26 using CableArray = std::array<MIDICableUSBUpstream, 3>;
31 MIDIRootComplexUSBPeripheral(
const MIDIRootComplexUSBPeripheral&) =
delete;
32 MIDIRootComplexUSBPeripheral(MIDIRootComplexUSBPeripheral&&) =
delete;
33 MIDIRootComplexUSBPeripheral& operator=(
const MIDIRootComplexUSBPeripheral&) =
delete;
34 MIDIRootComplexUSBPeripheral& operator=(MIDIRootComplexUSBPeripheral&&) =
delete;
36 MIDIRootComplexUSBPeripheral();
37 ~MIDIRootComplexUSBPeripheral()
override;
39 [[nodiscard]]
size_t getNumCables()
const override {
44 [[nodiscard]]
MIDICable* getCable(
size_t index)
override;
45 [[nodiscard]] RootComplexType getType()
const override {
return RootComplexType::RC_USB_PERIPHERAL; }
47 void flush()
override;
48 [[nodiscard]] Error
poll()
override;