Lazy

trait Lazy extends Product

Elements implementing the Lazy trait may participate in the building of a Graph body. They can be added to the current graph by calling Graph.builder.addLazy. Then, when the graph is expanded, the force method is called on those registered elements, allowing them to either spawn new graph elements or actually expand to UGens which can be added to the ugen graph builder argument.

In most cases, lazy elements will expanded to ugens, and thus the subtype Lazy.Expander is the most convenient way to implement this trait, as it already does most of the logic, and provides for GEs expand method.

See also:
Companion:
object
trait Product
trait Equals
class Object
trait Matchable
class Any
trait Expander[U]
trait Lazy[A]
class GEBlock[A]
class ChannelProxy[A]
class ElseGE[A]
class Feed[A]
class Flatten[A]
class LeakDC
class MonoEqP
class PitchAC
class Reduce[A]
class UnzipWindow[A]
trait UGenSource[U, S]
trait ZeroOut
class DebugSink[A]
class Plot1D[A]
class Poll[A]
class Progress
class ProgressFrames[A, L]
class Sheet1D[A]
class UnitBlock
class ElseUnit
class Back[A]
trait IfThenLike[A]
class ElseIfThen[A]
class IfThen[A]
trait Then[A]
trait ElseLike[A]

Value members

Inherited methods

def canEqual(that: Any): Boolean
Inherited from:
Equals
def productArity: Int
Inherited from:
Product
def productElement(n: Int): Any
Inherited from:
Product
def productElementName(n: Int): String
Inherited from:
Product
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def productPrefix: String
Inherited from:
Product