-
... forceBoot(onBoot, server, algaServerOptions, clock) } *initClass { paramsArgs = IdentityDictionary(10); } *addParamArgs { | param, value | if(paramsArgs[currentNode] == nil, { paramsArgs[currentNode] = IdentityDictionary() }); paramsArgs[cu ...
-
... ] !? { prefs[\shortcuts][\cvwidgeteditor] !? { scPrefs = true }}}; allEditors = IdentityDictionary.new; this.shortcuts = IdentityDictionary.new; // "prefs[\cvwidgeteditor]: %\n".postf(prefs[\shortcuts].cvwidgeteditor); if(scPrefs == false, ...
-
... ... startPath| var w; action = a; listViews=[]; selectedIndices=[]; attributes=IdentityDictionary(); // the attributes of the ListViews view = Window.new(title,Window.flipY(Rect(100,100,colWidth,400) ) ).front; view.layout_(GridLayout().hS ...
-
+ IdentityDictionary { atKeys { |keys| inform("atKeys is deprecated, use atAll."); ^if (keys.isSequenceableCollection) { keys.collect { |key| this.at(key) } } { this.at(keys) } } atDefinedKeys { |keys| ^if (keys.isSequenceableCollection) { ...
-
... onaries to IdentityDictionaries // casts keys into Symbols // returns a "known" IdentityDictionary *convertJsonDictionary { |dict| dict = dict.asAssociations.collectAs( class: IdentityDictionary, function: { |pair| pair.key.asSymbol -> this ...
-
... thName, "w").init(name); } init{ |name| examples = Array.new; instanceMethods = IdentityDictionary.new; classMethods = IdentityDictionary.new; if ( name.notNil ){ this.classname = name }; } classname_{ |name| classname = name; this.createCl ...
-
... , <storedSizes; classvar <running = false; var <key, <spec; *initClass { dict = IdentityDictionary(); specs = IdentityDictionary(); storedSpecs = IdentityDictionary(); storedSizes = IdentityDictionary(); } *register { |key, spec| if( key.is ...
-
... (rebuild); } *initClass { var algaSynthDescLib = SynthDescLib(\alga); servers = IdentityDictionary(1); schedulers = IdentityDictionary(1); clocks = IdentityDictionary(1); parGroups = IdentityDictionary(1); supernovas = IdentityDictionary(1) ...
-
EventDispatcher { var events; *new { ^super.new.init; } init { events = IdentityDictionary.new; } // Method to subscribe to an event subscribe { |eventName, action| events[eventName] = events[eventName] ?? { Set.new }; events[eventName].add ...
-
... lBusWatchers; var <aliveThread, <>updateFreq = 2; *initClass { allBusWatchers = IdentityDictionary.new; CmdPeriod.add(this); } *cmdPeriod { allBusWatchers.do(_.clear) } *newFrom { arg server; var res; res = allBusWatchers.at(server.name); i ...