de.sciss.synth.proc.impl

AuralTimelineBase

trait AuralTimelineBase[S <: Sys[S], I <: Sys[I], Target, Elem <: AuralView[S, Target]] extends AuralScheduledBase[S, Target, Elem] with ObservableImpl[S, State]

Self Type
AuralTimelineBase[S, I, Target, Elem]
Linear Supertypes
AuralScheduledBase[S, Target, Elem], ObservableImpl[S, State], Observable[S.Tx, State], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AuralTimelineBase
  2. AuralScheduledBase
  3. ObservableImpl
  4. Observable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type ElemHandle = AuralTimelineBase.ElemHandle[S, Elem]

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  2. final class IPlaying extends ITimedState

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  3. final class IPreparing extends ITimedState

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  4. sealed trait ITimedState extends InternalState

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  5. sealed trait InternalState extends Disposable[S.Tx]

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  6. type PrepareResult = (ViewID, SpanLike, Obj[S])

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  7. type ViewID = S.ID

    An opaque type passed into playView that may be used by an overriding implementation.

    An opaque type passed into playView that may be used by an overriding implementation. Otherwise it may simply be set to Unit.

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase

Abstract Value Members

  1. implicit abstract val context: AuralContext[S]

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  2. abstract def iSys: (S.Tx) ⇒ I.Tx

    Attributes
    protected
  3. abstract def makeViewElem(obj: Obj[S])(implicit tx: S.Tx): Elem

    Attributes
    protected
  4. abstract def obj: Source[S.Tx, Timeline[S]]

  5. abstract def tree: SkipOctree[I, TwoDim, (SpanLike, IndexedSeq[(Source[S.Tx, S.ID], Elem)])]

    Attributes
    protected
  6. abstract def viewPlaying(h: ElemHandle)(implicit tx: S.Tx): Unit

    A notification method that may be used to fire an event such as AuralObj.Timeline.ViewAdded.

    A notification method that may be used to fire an event such as AuralObj.Timeline.ViewAdded.

    Attributes
    protected
  7. abstract def viewStopped(h: ElemHandle)(implicit tx: S.Tx): Unit

    A notification method that may be used to fire an event such as AuralObj.Timeline.ViewRemoved.

    A notification method that may be used to fire an event such as AuralObj.Timeline.ViewRemoved.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object IStopped extends InternalState with Product with Serializable

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  7. final def addObject(id: S.ID, span: SpanLikeObj[S], obj: Obj[S])(implicit tx: S.Tx): Unit

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. final def checkReschedule(h: ElemHandle, currentOffset: Long, oldTarget: Long, elemPlays: Boolean)(implicit tx: S.Tx): Boolean

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  10. final def childPreparedOrRemoved(childView: Elem)(implicit tx: S.Tx): Unit

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def dispose()(implicit tx: S.Tx): Unit

    Sub-classes may override this and call super.dispose() if they wish to free additional observers, e.

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

    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  13. final def elemAdded(vid: ViewID, span: SpanLike, obj: Obj[S])(implicit tx: S.Tx): Unit

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  14. def elemFromHandle(h: ElemHandle): Elem

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  15. final def elemRemoved(h: ElemHandle, elemPlays: Boolean)(implicit tx: S.Tx): Unit

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def fire(update: State)(implicit tx: S.Tx): Unit

    Attributes
    protected
    Definition Classes
    ObservableImpl
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. final def getView(timed: Timed[S])(implicit tx: S.Tx): Option[Elem]

  22. final def getViewById(id: S.ID)(implicit tx: S.Tx): Option[Elem]

  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def init(tl: Timeline[S])(implicit tx: S.Tx): AuralTimelineBase.this.type

    Initializes the object.

    Initializes the object.

    tl

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

  25. final def internalState(implicit tx: S.Tx): InternalState

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  26. final def internalState_=(value: InternalState)(implicit tx: S.Tx): Unit

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. final def mkView(tid: S.ID, span: SpanLike, obj: Obj[S])(implicit tx: S.Tx): ElemHandle

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  29. final def modelEventAfter(offset: Long)(implicit tx: S.Tx): Long

    Report the next interesting frame greater than the given frame for which gridReached (internal) and processPrepare will be called.

    Report the next interesting frame greater than the given frame for which gridReached (internal) and processPrepare will be called. If no such event exists, the method must return Long.MaxValue.

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. final def play(timeRef: Option, target: Target)(implicit tx: S.Tx): Unit

    Ensures state is consistent, then checks preparation of children.

    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.

    Definition Classes
    AuralScheduledBase
  34. final def playView(h: ElemHandle, timeRef: Option, target: Target)(implicit tx: S.Tx): Unit

    Should be called from processPlay.

    Should be called from processPlay. It calls play on the view and adds it to the list of playing views. Note: timeRef must already have been updated through appropriate intersection.

    Sub-classes may override this if they call super.playView

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  35. final def prepare(timeRef: Option)(implicit tx: S.Tx): Unit

    Definition Classes
    AuralScheduledBase
  36. final def prepareSpan()(implicit tx: S.Tx): Span

    Note: the prepare span will always start from current-frame and have a duration of at least LOOK_STOP.

    Note: the prepare span will always start from current-frame and have a duration of at least LOOK_STOP. I.e. during playback it contains the current play position.

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  37. final def processEvent(play: IPlaying, timeRef: TimeRef)(implicit tx: S.Tx): Unit

    Called when a next interesting frame has been reached.

    Called when a next interesting frame has been reached. The method should look for and invoke the events such as starting or stopping a view.

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  38. final def processPlay(timeRef: TimeRef, target: Target)(implicit tx: S.Tx): Unit

    Called during play.

    Called during play. Sub-classes should intersect the current elements and for each of them call playView.

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  39. final def processPrepare(span: Span, timeRef: TimeRef, initial: Boolean)(implicit tx: S.Tx): Iterator[(ViewID, SpanLike, Obj[S])]

    Called during preparation of armed elements.

    Called during preparation of armed elements. This happens either during initial prepare or during grid-events. Given the prepareSpan, the sub-class should

    - find the elements using an intersect - for each build a view and store it somewhere - for each view call prepareChild - accumulate the results of prepareChild into a Map that is returned.

    The map will become part of IPreparing. (NOT: The returned Boolean indicates if elements were found (true) or not (false)).

    initial

    if true this is an initial preparation which means the method must include views that start before prepareSpan if their span overlaps with prepareSpan. If false this is a follow up from gridReached and the search must be restricted to views that start no earlier than prepareSpan.

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  40. final def react(fun: (S.Tx) ⇒ (State) ⇒ Unit)(implicit tx: S.Tx): Disposable[S.Tx]

    Definition Classes
    ObservableImpl → Observable
  41. final def removeObject(id: S.ID, span: SpanLikeObj[S], obj: Obj[S])(implicit tx: S.Tx): Unit

  42. final def scheduledEvent()(implicit tx: S.Tx): Scheduled

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  43. final def scheduledGrid()(implicit tx: S.Tx): Scheduled

    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  44. final def state(implicit tx: S.Tx): State

    Definition Classes
    AuralScheduledBase
  45. final def stop()(implicit tx: S.Tx): Unit

    Definition Classes
    AuralScheduledBase
  46. final def stopView(h: ElemHandle)(implicit tx: S.Tx): Unit

    Should be called from processEvent for views that should be stopped and disposed.

    Should be called from processEvent for views that should be stopped and disposed. The caller is responsible for removing the view also from a view-tree if such structure is maintained. NOT: This method ends by calling viewRemoved.

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  47. final def stopViews()(implicit tx: S.Tx): Unit

    Stops and disposes all currently playing views.

    Stops and disposes all currently playing views.

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  49. final def targetOption(implicit tx: S.Tx): Option[Target]

    Definition Classes
    AuralScheduledBase
  50. def toString(): String

    Definition Classes
    AnyRef → Any
  51. final def typeID: Int

  52. final def viewEventAfter(offset: Long)(implicit tx: S.Tx): Long

    Report the next interesting frame greater than the given frame for which eventReached (internal) and processEvent will be called.

    Report the next interesting frame greater than the given frame for which eventReached (internal) and processEvent will be called. If no such event exists, the method must return Long.MaxValue.

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  53. final def views(implicit tx: S.Tx): Set[Elem]

  54. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AuralScheduledBase[S, Target, Elem]

Inherited from ObservableImpl[S, State]

Inherited from Observable[S.Tx, State]

Inherited from AnyRef

Inherited from Any

Ungrouped