trait AuralAttribute[T <: Txn[T]] extends AuralViewBase[T, Target[T]]
An AuralAttribute is the aural view of an object that is used as an input to another object,
patched into that other object's attribute map. When the sink is run, it in turn calls run
on the aural attribute, passing it a Target
instance, to which the aural attribute can then
attach itself.
- Alphabetic
- By Inheritance
- AuralAttribute
- AuralViewBase
- ViewBase
- Disposable
- Observable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type Repr <: Form[T]
- Definition Classes
- AuralViewBase
Abstract Value Members
- abstract def dispose()(implicit tx: T): Unit
- Definition Classes
- Disposable
- abstract def key: String
The key into the sink's attribute map.
- abstract def obj(implicit tx: T): Repr
- Definition Classes
- AuralViewBase
- abstract def preferredNumChannels(implicit tx: T): Int
Or
-1
if the number of channels cannot be determined. - abstract def prepare(timeRef: Option)(implicit tx: T): Unit
Prepares the view to be able to
run
.Prepares the view to be able to
run
.- timeRef
an optional context of temporal position
- Definition Classes
- AuralViewBase
- abstract def react(fun: (T) => (State) => 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 run(timeRef: Option, target: Target[T])(implicit tx: T): Unit
Runs the view, whatever that means for the particular object.
Runs the view, whatever that means for the particular object. If the object is not prepared and needs preparing, the view will take care of running the
prepare
step (without mapping anyattr
map).- Definition Classes
- AuralViewBase
- abstract def state(implicit tx: T): State
- Definition Classes
- ViewBase
- abstract def stop()(implicit tx: T): Unit
- Definition Classes
- ViewBase
- abstract def targetOption(implicit tx: T): Option[Target[T]]
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 reactNow(fun: (T) => (State) => Unit)(implicit tx: T): Disposable[T]
Like
react
, but also invokes the function with the current state immediately.Like
react
, but also invokes the function with the current state immediately.- Definition Classes
- ViewBase
- 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