PLbindefParEnvironment Environment made by PLbindefPar to play and set its sources
Part of: miSCellaneous
Inherits from: PLbindefEnvironment
Instances of this class are made as side effect of PLbindefPar creation, assigned to PLbindefPar's name in an Environment of choice (by default the current one) and used as player interface and to set PLbindefPar's sources in condensed syntax. They are not thought to be created explicitely though. A PLbindefParEnvironment stores the sources passed with keys as well as the "unfolded" sources of single PLbindef streams. This is done by assigning PLbindefEnvironments to every Integer index of the PLbindefPar and updating them additionally. See PLbindefPar for examples.
See also: PLx suite, PLbindefPar, PLbindef, PLbindefEnvironment
Creation / Class Methods
*new (n, proto, parent, know, name, num, plbindef)
Creates a new PLbindefParEnvironment object with arguments of IdentityDictionary. In contrast to the latter know defaults to true, which allows setting sources of the PLbindefPar in object prototyping style. name is used for the corresponding key of the PLbindefPar. num is the number of parallel patterns in the PLbindefPar.
plbindef is the corresponding PLbindefPar. Normally not be used explicitely.
Instance Methods
put (key, obj)
Associates obj with Symbol key and updates PLbindefPar's source as well as the stored PLbindefEnvironments depending on the class of obj. For a SequenceableCollection items are assigned in the PLbindefEnvironments of corresponding indices (method 'wrapAt' is used for handling cases of smaller collections). Other passed objects are assigned in all PLbindefEnvironments.
value (...args)
Expects key/value pairs and applies put. Optionally the first arg can be an Integer or a collection of Integers, specifying the PLbindefs to be set.
num
Getter for PLbindefPar's size.