Class: PortModel

Environment: Siren
Superclass: Model
Category: Music-Support
Instance variables: name status device in out
Class instance variables: blockSize devices in instance mutex out properties rate
useSingleton

initialize-release

initialize
no-op

mutex support

critical: aBlock
Execute the given block as a critical section

accessing

device

device: aValue

in

in: aValue

name

name: aValue

out

out: aValue

status

status: aValue

MetaClass: PortModel class

Instance variables: instance devices in out properties useSingleton rate
blockSize mutex

instance creation

concreteClass
Answer the class to use for ports

default
Answer a new instance, or the singleton

instance
Answer a new instance, or the singleton

new
Answer a new instance, or the singleton

release
Release the unique instance

class initialization

initialize
Set up the defaults for the class constants.

initializeData
Set up the defaults for the class constants.

class var accessing

blockSize

blockSize: value

devices

devices: anArr

in

in: value

instance: value

mutex

out

out: value

properties

properties: anArr

rate

rate: value

resetDevices
Flush the device list

sampleRate

sampleRate: value