PLbindefEnvironment Environment made by PLbindef to play and set its sources
Part of: miSCellaneous
Inherits from: Environment
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.
See also: PLx suite, PLbindef, PLbindefPar, PLbindefParEnvironment
Creation / Class Methods
*new (n, proto, parent, know, name)
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 (key, obj)
Associates obj with Symbol key and updates PLbindef's source.
superPut (key, obj)
Associates obj with Symbol key, mimicing IdentityDictionary::put.
value (...args)
Expects key/value pairs and applies put.
name
Getter for PLbindef's name.
plbindef
Getter for the corrresponding PLbindef.
play (clock, protoEvent, quant, doReset)
Plays the corresponding PLbindef with passed arguments.
isPlaying
Indicates if the corresponding PLbindef is playing.
resume
Resumes the corresponding PLbindef.
reset
Resets the corresponding PLbindef.
stop
Stops the corresponding PLbindef.
clear
Clears the corresponding PLbindef.