The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mac::CoreMIDI::Entity - Encapsulates a CoreMIDI Entity

METHODS

my $dev = $self->GetParent()

Returns parent device for this entity.

my @src = $self->GetSources()

Returns a list of source endpoints for this entity.

my $n = $self->GetNumberOfSources()

Returns the number of sources.

my $src = $self->GetSource($i)

Returns the $i'th source (starting from 0).

my @dest = $self->GetDestinations()

Returns a list of destination endpoints for this entity.

my $n = $self->GetNumberOfDestinations()

Returns the number of destinations.

my $dest = $self->GetDestination($i)

Returns the $i'th destination (starting from 0).

SEE ALSO

Mac::CoreMIDI

AUTHOR

Christian Renz, <crenz @ web42.com>

COPYRIGHT AND LICENSE

Copyright 2004-2005 Christian Renz, <crenz @ web42.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.