PYMIDIEndpointDescriptor

Inherits from:
NSObject
Conforms to:
NSCoding
NSObject (NSObject)
Declared in:
PYMIDI/PYMIDIEndpointDescriptor.h

Class Description

The PYMIDIEndpointDescriptor class encapsulates all the information necessary to uniquely identify a particular endpoint and can be used to store a reference to an endpoint.

Currently this information consists of the endpoint's name and its internal unique ID, but you should try not depend on this implementation.

Descriptors are rarely created explicitly. Normally you will get the descriptor for an endpoint using the PYMIDIEndpoint descriptor method or by using unarchiving techniques.

Method Types

Creating and initialiazing a PYMIDIEndpointDescriptor
+ descriptorWithName:uniqueID:
- initWithName:UniqueID:
Getting descriptor attributes
- name
- uniqueID

Class Methods

descriptorWithName:uniqueID:

+ (id)descriptorWithName:(NSString*)name uniqueID:(SInt32)uniqueID

Creates and returns a descriptor with the given name and uniqueID.


Instance Methods

initWithName:uniqueID:

- (id)initWithName:(NSString*)name uniqueID:(SInt32)uniqueID

Initializes a newly allocated descriptor with the given name and uniqueID.

See Also: - descriptorWithName:uniqueID:


name

- (NSString*)name

Returns the name of the descriptor.

See Also: - uniqueID


uniqueID

- (SInt32)uniqueID

Returns the unique ID of the descriptor.

See Also: - name