Navigation
API > API/Plugins > API/Plugins/MIDIDevice
| Name | UMIDIDeviceController |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Public/MIDIDeviceController.h |
| Include Path | #include "MIDIDeviceController.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UMIDIDeviceController : public UMIDIDeviceControllerBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMIDIDeviceControllerBase → UMIDIDeviceController
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UMIDIDeviceController() |
Destructor that shuts down the device if it's still in use | MIDIDeviceController.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnMIDIEvent | FOnMIDIEvent | Register with this to find out about incoming MIDI events from this device | MIDIDeviceController.h |
|
Functions
Public
Overridden from UMIDIDeviceControllerBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDeviceName() |
The name of this device. This name comes from the MIDI hardware, any might not be unique | MIDIDeviceController.h | |
virtual int32 GetMIDIBufferSize() |
Size of the MIDI buffer in bytes | MIDIDeviceController.h | |
virtual void ProcessIncomingMIDIEvents () |
Called every frame by UMIDIDeviceManager to poll for new MIDI events and broadcast them out to subscribers of OnMIDIEvent. | MIDIDeviceController.h | |
virtual void ShutdownDevice() |
Called during destruction to clean up this device. Don't call this directly. | MIDIDeviceController.h | |
virtual void StartupDevice
(
const int32 InitDeviceID, |
Called from UMIDIDeviceManager after the controller is created to get it ready to use. | MIDIDeviceController.h |