trait Target[S <: Sys[S]] extends Observable[AuralAttribute.Target.S.Tx, 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
- All
Abstract Value Members
- abstract def key: String
- abstract def put(attr: AuralAttribute[S], value: Value)(implicit tx: S.Tx): Unit
-
abstract
def
react(fun: (S.Tx) ⇒ (Value) ⇒ Unit)(implicit tx: S.Tx): Disposable[S.Tx]
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 opaqueDisposableinstance, which may be used to remove the observer eventually (through thedisposemethod).- Definition Classes
- Observable
- abstract def remove(attr: AuralAttribute[S])(implicit tx: S.Tx): Unit
- abstract def valueOption(implicit tx: S.Tx): 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )