AuralTimelineBase

trait AuralTimelineBase[T <: Txn[T], I <: Txn[I], Target, Elem <: AuralViewBase[T, Target]] extends AuralScheduledBase[T, Target, Elem] with ObservableImpl[T, State]
Companion
object
trait AuralScheduledBase[T, Target, Elem]
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
AuralTimelineBase[T, I, Target, Elem]

Type members

Types

type Repr = Timeline[T]

Value members

Concrete methods

final
def addObject(id: Ident[T], span: SpanLikeObj[T], obj: Obj[T])(implicit tx: T): Unit
override
def dispose()(implicit tx: T): Unit
Definition Classes
AuralScheduledBase -> Disposable
final
def getView(timed: Timed[T])(implicit tx: T): Option[Elem]
final
def getViewById(id: Ident[T])(implicit tx: T): Option[Elem]
def init(tl: Timeline[T])(implicit tx: T): AuralTimelineBase[T, I, Target, Elem]

Initializes the object.

Initializes the object.

Value Params
tl

the timeline to listen to. If null (yes, ugly), requires manual additional of views

final
def removeObject(id: Ident[T], span: SpanLikeObj[T], obj: Obj[T])(implicit tx: T): Unit
final override
def tpe: Type
Definition Classes
final
def views(implicit tx: T): Set[Elem]

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 prepare(timeRef: Option)(implicit tx: T): Unit
Inherited from
AuralScheduledBase
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
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.

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