AuralScheduledBase

trait AuralScheduledBase[T <: Txn[T], Target, Elem <: AuralViewBase[T, Target]] extends ObjViewBase[T, Target] with ObservableImpl[T, State]

Common base for AuralGraphemeBase and AuralTimelineBase.

Companion
object
trait ObservableImpl[T, State]
trait ObjViewBase[T, Target]
trait AuralViewBase[T, Target]
trait ViewBase[T]
trait Disposable[T]
trait Observable[T, State]
class Object
trait Matchable
class Any
trait AuralGraphemeBase[T, I, Target, Elem]
trait AuralTimelineBase[T, I, Target, Elem]
AuralScheduledBase[T, Target, Elem]

Type members

Inherited types

type Repr <: Obj[T]
Inherited from
ObjViewBase

Value members

Concrete methods

def dispose()(implicit tx: T): Unit

Sub-classes may override this and call super.dispose() if they wish to free additional observers, e.g. the timeline or grapheme observer.

Sub-classes may override this and call super.dispose() if they wish to free additional observers, e.g. the timeline or grapheme observer.

final
def prepare(timeRef: Option)(implicit tx: T): Unit
final
def run(timeRef: Option, target: Target)(implicit tx: T): Unit

Ensures state is consistent, then checks preparation of children. If all is good, sets internal state to IPlaying and calls processPlay. Next instructs scheduler and sets external state to Playing.

Ensures state is consistent, then checks preparation of children. If all is good, sets internal state to IPlaying and calls processPlay. Next instructs scheduler and sets external state to Playing.

final
def state(implicit tx: T): State
final
def stop()(implicit tx: T): Unit
final
def targetOption(implicit tx: T): Option[Target]

Inherited methods

final protected
def fire(update: State)(implicit tx: T): Unit
Inherited from
ObservableImpl
def obj(implicit tx: T): Repr
Inherited from
AuralViewBase
final
def react(fun: T => State => Unit)(implicit tx: T): Disposable[T]
Inherited from
ObservableImpl
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.

Inherited from
ViewBase
def tpe: Type
Inherited from
ObjViewBase