PLbindefEnvironment:
Filter:
miSCellaneous_lib/Classes (extension) | Libraries > miSCellaneous > PLx suite | Streams-Patterns-Events > PLx suite

PLbindefEnvironment
ExtensionExtension

Environment made by PLbindef to play and set its sources

Description

Instances of this class are made as side effect of PLbindef creation, assigned to PLbindef's name in an Environment of choice (by default the current one) and used as player interface as well as for setting PLbindef's sources in condensed prototyping syntax. They are not thought to be created explicitely though. See PLbindef for examples.

Class Methods

.new

Creates a new PLbindefEnvironment object with arguments of IdentityDictionary. In contrast to the latter know defaults to true, which allows setting sources of the PLbindef in object prototyping style. name is used for the corresponding key of the PLbindef. Normally not to be used explicitely.

Instance Methods

.put

Associates obj with Symbol key and updates PLbindef's source.

.superPut

Associates obj with Symbol key mimicing IdentityDictionary: -put.

.value

Expects key/value pairs and applies put.

.name

Getter for PLbindef's key.

.plbindef

Getter for the corrresponding PLbindef.

.play

Plays all corresponding PLbindefs with passed arguments, which might be arrays. In this case wrapped indexing is applied.

.isPlaying

Indicates if the corresponding PLbindef is playing.

.reset

Resets the corresponding PLbindef.

.stop

Stops the corresponding PLbindef.

.clear

Clears the corresponding PLbindef.

.remove

Removes the corresponding PLbindef.