Om  1.0.0
A universal framework for multimedia simulation
Public Attributes | List of all members
om::sound::devices::MIDIDeviceDelegate Class Reference

A class that contains function objects that recieve MIDIDevice events. More...

#include <omSoundMIDIDeviceDelegate.h>

Public Attributes

MIDIInputCallback inputCallback
 A function object that is called whenever the device provides input MIDI messages. More...
 
Function< void(MIDIDevice &device)> added
 A function object that is called whenever the MIDI device is added to the system. More...
 
Function< void(MIDIDevice &device)> removed
 A function object that is called whenever the MIDI device is removed from the system. More...
 

Detailed Description

A class that contains function objects that recieve MIDIDevice events.

Any device-related event that might be processed has an appropriate callback function object. Each callback function is called by the device whenever such an event is received. If a callback function in the delegate is not initialized, the device simply ignores it.

Member Data Documentation

MIDIInputCallback om::sound::devices::MIDIDeviceDelegate::inputCallback

A function object that is called whenever the device provides input MIDI messages.

Function<void ( MIDIDevice& device )> om::sound::devices::MIDIDeviceDelegate::added

A function object that is called whenever the MIDI device is added to the system.

Function<void ( MIDIDevice& device )> om::sound::devices::MIDIDeviceDelegate::removed

A function object that is called whenever the MIDI device is removed from the system.


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