trait Target[T <: Txn[T]] extends Observable[T, Value]
An AuralAttribute.Target
describes the mechanism by which
the attribute inputs can contribute their values. It is internally
connected to the process's node. One or multiple inputs then
supply their values by calling put
and detach themselves by
calling remove
. The target automatically manages summing multiple
inputs. While the Value
parameter for put
corresponds to
a particular attribute input, its valueOption
gives the
overall signal output as sent to the node. For instance,
a stream input will have a bus to which is writes, whereas
the target itself may provide a bus from which this node reads.
It is possible for an attribute to call put
repeatedly, the
target will then automatically dispose the previous value it
had associated with that attribute.
- Alphabetic
- By Inheritance
- Target
- Observable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def put(attr: AuralAttribute[T], value: Value)(implicit tx: T): Unit
- abstract def react(fun: (T) => (Value) => Unit)(implicit tx: T): Disposable[T]
Registers a live observer with this observable.
Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type
A
, and the method generates an opaqueDisposable
instance, which may be used to remove the observer eventually (through thedispose
method).- Definition Classes
- Observable
- abstract def remove(attr: AuralAttribute[T])(implicit tx: T): Unit
It is allowed to call this with an attribute that was already removed (this is a no-op).
- abstract def valueOption(implicit tx: T): Option[Value]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated