Om  1.0.0
A universal framework for multimedia simulation
Public Types | Public Member Functions | Static Public Attributes | List of all members
om::engine::sound::MIDIDeviceBus Class Reference

A class that represents a bus for MIDI device data. More...

#include <omEngineMIDIDeviceBus.h>

Public Types

enum  Type { INPUT = 1, OUTPUT = 2 }
 An enum type which represents the different types of MIDI device bus. More...
 

Public Member Functions

 MIDIDeviceBus ()
 Create a MIDI device bus that has no device assigned. More...
 
 ~MIDIDeviceBus ()
 Destroy this MIDI device bus and its internal data. More...
 
const UTF8String & getDeviceName () const
 Return the name of the device associated with this device bus. More...
 
void setDeviceName (const UTF8String &newDeviceName)
 Set the name of the device associated with this device bus. More...
 
Type getType () const
 Return the type of this MIDI device bus. More...
 
void setType (Type newType)
 Set the type of this MIDI device bus. More...
 

Static Public Attributes

static const om::resources::ResourceType RESOURCE_TYPE
 The resource type for a MIDI device bus. More...
 

Detailed Description

A class that represents a bus for MIDI device data.

Member Enumeration Documentation

An enum type which represents the different types of MIDI device bus.

Enumerator
INPUT 

A MIDI device bus type that represents a group of input device channels.

OUTPUT 

A MIDI device bus type that represents a group of output device channels.

Constructor & Destructor Documentation

om::engine::sound::MIDIDeviceBus::MIDIDeviceBus ( )

Create a MIDI device bus that has no device assigned.

om::engine::sound::MIDIDeviceBus::~MIDIDeviceBus ( )

Destroy this MIDI device bus and its internal data.

Member Function Documentation

const UTF8String& om::engine::sound::MIDIDeviceBus::getDeviceName ( ) const
inline

Return the name of the device associated with this device bus.

void om::engine::sound::MIDIDeviceBus::setDeviceName ( const UTF8String &  newDeviceName)
inline

Set the name of the device associated with this device bus.

Type om::engine::sound::MIDIDeviceBus::getType ( ) const
inline

Return the type of this MIDI device bus.

void om::engine::sound::MIDIDeviceBus::setType ( Type  newType)
inline

Set the type of this MIDI device bus.

Member Data Documentation

const om::resources::ResourceType om::engine::sound::MIDIDeviceBus::RESOURCE_TYPE
static

The resource type for a MIDI device bus.


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