Inherits from MIKMIDIObject : NSObject
Declared in MIKMIDIEntity.h

Overview

MIKMIDIEntity represents a logical grouping of endpoints within a MIDI device. It essentially acts as a simple container for endpoints.

As part of MIKMIDIDevice’s support for wrapping virtual endpoints, an MIKMIDIEntity can also be created using virtual MIDI endpoints.

Tasks

  • + entityWithVirtualEndpoints:

    Convenience method for creating a “virtual” MIKMIDIEntity instance from one or more virtual endpoints. This method is typically not called directly by clients of MIKMIDI. Rather it’s used by MIKMIDIDevice’s internal machinery for creating virtual devices.

  • – initWithVirtualEndpoints:

    Creates and initializes a “virtual” MIKMIDIEntity instance from one or more virtual endpoints. This method is typically not called directly by clients of MIKMIDI. Rather it’s used by MIKMIDIDevice’s internal machinery for creating virtual devices.

  •   device

    The device that contains the receiver. May be nil if the receiver is a virtual entity not contained by a virtual device.

    property
  •   sources

    The source (input) endpoints contained by the receiver. An array of MIKMIDISourceEndpoint instances.

    property
  •   destinations

    The destination (output) endpoints contained by the receiver. An array of MIKMIDIDestinationEndpoint instances.

    property

Properties

destinations

@property (nonatomic, readonly) NSArray *destinations
Discussion

The destination (output) endpoints contained by the receiver. An array of MIKMIDIDestinationEndpoint instances.

Declared In

MIKMIDIEntity.h

device

@property (nonatomic, weak, readonly) MIKMIDIDevice *device
Discussion

The device that contains the receiver. May be nil if the receiver is a virtual entity not contained by a virtual device.

Declared In

MIKMIDIEntity.h

sources

@property (nonatomic, readonly) NSArray *sources
Discussion

The source (input) endpoints contained by the receiver. An array of MIKMIDISourceEndpoint instances.

Declared In

MIKMIDIEntity.h

Class Methods

entityWithVirtualEndpoints:

+ (instancetype)entityWithVirtualEndpoints:(NSArray *)endpoints
Discussion

Convenience method for creating a “virtual” MIKMIDIEntity instance from one or more virtual endpoints. This method is typically not called directly by clients of MIKMIDI. Rather it’s used by MIKMIDIDevice’s internal machinery for creating virtual devices.

Parameters

endpoints

An array of one or more virtual endpoints, including both source and destination endpoints.

Return Value

An initialized MIKMIDIEntity instance.

Declared In

MIKMIDIEntity.h

Instance Methods

initWithVirtualEndpoints:

- (instancetype)initWithVirtualEndpoints:(NSArray *)endpoints
Discussion

Creates and initializes a “virtual” MIKMIDIEntity instance from one or more virtual endpoints. This method is typically not called directly by clients of MIKMIDI. Rather it’s used by MIKMIDIDevice’s internal machinery for creating virtual devices.

Parameters

endpoints

An array of one or more virtual endpoints, including both source and destination endpoints.

Return Value

An initialized MIKMIDIEntity instance.

Declared In

MIKMIDIEntity.h