AuralTimelineAttribute

final
class AuralTimelineAttribute[T <: Txn[T], I <: Txn[I]](val key: String, objH: Source[T, Timeline[T]], observer: Observer[T], val tree: SkipOctree[I, LongPoint2DLike, LongSquare, (T)])(implicit val context: AuralContext[T], val iSys: T => I) extends AuralTimelineBase[T, I, Target[T], AuralAttribute[T]] with AuralAttribute[T] with Observer[T]
Companion
object
trait Observer[T]
trait ObservableImpl[T, State]
trait ObjViewBase[T, Target[T]]
trait AuralViewBase[T, Target[T]]
trait ViewBase[T]
trait Disposable[T]
trait Observable[T, State]
class Object
trait Matchable
class Any

Type members

Types

Inherited types

type Repr = Timeline[T]
Inherited from
AuralTimelineBase

Value members

Concrete methods

def attrNumChannelsChanged(attr: Elem)(implicit tx: T): Unit
override
def dispose()(implicit tx: T): Unit
Definition Classes
def obj(implicit tx: T): Timeline[T]
def preferredNumChannels(implicit tx: T): Int

Inherited methods

final
def addObject(id: Ident[T], span: SpanLikeObj[T], obj: Obj[T])(implicit tx: T): Unit
Inherited from
AuralTimelineBase
final protected
def fire(update: State)(implicit tx: T): Unit
Inherited from
ObservableImpl
final
def getView(timed: Timed[T])(implicit tx: T): Option[AuralAttribute[T]]
Inherited from
AuralTimelineBase
final
def getViewById(id: Ident[T])(implicit tx: T): Option[AuralAttribute[T]]
Inherited from
AuralTimelineBase
def init(tl: Timeline[T])(implicit tx: T): AuralTimelineAttribute[T, I]

Initializes the object.

Initializes the object.

Value Params
tl

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

Inherited from
AuralTimelineBase
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 removeObject(id: Ident[T], span: SpanLikeObj[T], obj: Obj[T])(implicit tx: T): Unit
Inherited from
AuralTimelineBase
final
def run(timeRef: Option, target: Target[T])(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[T]]
Inherited from
AuralScheduledBase
final override
def tpe: Type
Definition Classes
Inherited from
AuralTimelineBase
final
def views(implicit tx: T): Set[AuralAttribute[T]]
Inherited from
AuralTimelineBase

Concrete fields

val key: String