Class/Object

de.sciss.synth.proc.impl

AuralTimelineAttribute

Related Docs: object AuralTimelineAttribute | package impl

Permalink

final class AuralTimelineAttribute[S <: Sys[S], I <: Sys[I]] extends AuralTimelineBase[S, I, Target[S], AuralAttribute[S]] with AuralAttribute[S] with Observer[S]

Self Type
AuralTimelineAttribute[S, I]
Linear Supertypes
Observer[S], AuralAttribute[S], AuralTimelineBase[S, I, Target[S], AuralAttribute[S]], AuralScheduledBase[S, Target[S], AuralAttribute[S]], ObservableImpl[S, State], ObjViewBase[S, Target[S]], ViewBase[S, Target[S]], Disposable[S.Tx], Observable[S.Tx, State], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuralTimelineAttribute
  2. Observer
  3. AuralAttribute
  4. AuralTimelineBase
  5. AuralScheduledBase
  6. ObservableImpl
  7. ObjViewBase
  8. ViewBase
  9. Disposable
  10. Observable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AuralTimelineAttribute(key: String, objH: Source[S.Tx, Timeline[S]], observer: Observer[S], tree: SkipOctree[I, TwoDim, Leaf[S]])(implicit context: AuralContext[S], iSys: (S.Tx) ⇒ I.Tx)

    Permalink

Type Members

  1. type Elem = AuralAttribute[S]

    Permalink
  2. type ElemHandle = AuralTimelineBase.ElemHandle[S, AuralAttribute[S]]

    Permalink
    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  3. final class IPlaying extends ITimedState

    Permalink
    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  4. final class IPreparing extends ITimedState

    Permalink
    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  5. sealed trait ITimedState extends InternalState

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

    Permalink
    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  7. type Model = Obj[S]

    Permalink

    An opaque type coming out of processPrepare and ending up in mkView and elemAdded.

    An opaque type coming out of processPrepare and ending up in mkView and elemAdded. Typically Obj[S].

    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  8. type PrepareResult = (ViewId, SpanLike, Model)

    Permalink
    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  9. type ViewId = S.Id

    Permalink

    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

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object IStopped extends InternalState with Product with Serializable

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

    Permalink
    Definition Classes
    AuralTimelineBase
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def attrNumChannelsChanged(attr: Elem)(implicit tx: S.Tx): Unit

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

    Permalink
    Attributes
    protected
    Definition Classes
    AuralTimelineBaseAuralScheduledBase
  9. final def childPreparedOrRemoved(childView: AuralAttribute[S])(implicit tx: S.Tx): Unit

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. implicit val context: AuralContext[S]

    Permalink
    Attributes
    protected
    Definition Classes
    AuralTimelineAttributeAuralScheduledBase
  12. def dispose()(implicit tx: S.Tx): Unit

    Permalink

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

    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
    AuralTimelineAttributeAuralTimelineBaseAuralScheduledBase → Disposable
  13. final def elemAdded(vid: ViewId, span: SpanLike, obj: Model)(implicit tx: S.Tx): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AuralScheduledBase
  14. def elemFromHandle(h: ElemHandle): AuralAttribute[S]

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AuralTimelineBase
  22. final def getViewById(id: S.Id)(implicit tx: S.Tx): Option[AuralAttribute[S]]

    Permalink
    Definition Classes
    AuralTimelineBase
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. implicit val iSys: (S.Tx) ⇒ I.Tx

    Permalink
    Attributes
    protected
    Definition Classes
    AuralTimelineAttributeAuralTimelineBase
  25. def init(tl: Timeline[S])(implicit tx: S.Tx): AuralTimelineAttribute.this.type

    Permalink

    Initializes the object.

    Initializes the object.

    tl

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

    Definition Classes
    AuralTimelineBase
  26. final def internalState(implicit tx: S.Tx): InternalState

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

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

    Permalink
    Definition Classes
    Any
  29. val key: String

    Permalink
    Definition Classes
    AuralTimelineAttributeAuralAttribute
  30. def makeViewElem(obj: Obj[S])(implicit tx: S.Tx): Elem

    Permalink
    Attributes
    protected
    Definition Classes
    AuralTimelineAttributeAuralTimelineBase
  31. final def mkView(tid: S.Id, span: SpanLike, obj: Obj[S])(implicit tx: S.Tx): ElemHandle

    Permalink

    Should create a new view for the given object and return a handle to it.

    Should create a new view for the given object and return a handle to it. As a side effect should also memorize the view in a view-tree, if such structure is maintained, for later retrieval in viewEventAfter

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

    Permalink

    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
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. val objH: Source[S.Tx, Timeline[S]]

    Permalink

    The view must store a handle to its underlying model.

    The view must store a handle to its underlying model.

    Definition Classes
    AuralTimelineAttributeAuralTimelineBaseObjViewBase
  37. final def playView(h: ElemHandle, timeRef: Option, target: Target[S])(implicit tx: S.Tx): Unit

    Permalink

    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
  38. def preferredNumChannels(implicit tx: S.Tx): Int

    Permalink

    Or -1 if the number of channels cannot be determined.

    Or -1 if the number of channels cannot be determined.

    Definition Classes
    AuralTimelineAttributeAuralAttribute
  39. final def prepare(timeRef: Option)(implicit tx: S.Tx): Unit

    Permalink
    Definition Classes
    AuralScheduledBaseViewBase
  40. final def prepareSpan()(implicit tx: S.Tx): Span

    Permalink

    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
  41. final def processEvent(play: IPlaying, timeRef: TimeRef)(implicit tx: S.Tx): Unit

    Permalink

    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
  42. final def processPlay(timeRef: TimeRef, target: Target[S])(implicit tx: S.Tx): Unit

    Permalink

    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
  43. final def processPrepare(span: Span, timeRef: TimeRef, initial: Boolean)(implicit tx: S.Tx): Iterator[PrepareResult]

    Permalink

    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.

    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
  44. final def react(fun: (S.Tx) ⇒ (State) ⇒ Unit)(implicit tx: S.Tx): Disposable[S.Tx]

    Permalink
    Definition Classes
    ObservableImpl → Observable
  45. def reactNow(fun: (S.Tx) ⇒ (State) ⇒ Unit)(implicit tx: S.Tx): Disposable[S.Tx]

    Permalink
    Definition Classes
    ViewBase
  46. final def removeObject(id: S.Id, span: SpanLikeObj[S], obj: Obj[S])(implicit tx: S.Tx): Unit

    Permalink
    Definition Classes
    AuralTimelineBase
  47. final def run(timeRef: Option, target: Target[S])(implicit tx: S.Tx): Unit

    Permalink

    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
    AuralScheduledBaseViewBase
  48. final def scheduledEvent()(implicit tx: S.Tx): Scheduled

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

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

    Permalink
    Definition Classes
    AuralScheduledBaseViewBase
  51. final def stop()(implicit tx: S.Tx): Unit

    Permalink
    Definition Classes
    AuralScheduledBaseViewBase
  52. final def stopView(h: ElemHandle)(implicit tx: S.Tx): Unit

    Permalink

    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
  53. final def stopViews()(implicit tx: S.Tx): Unit

    Permalink

    Stops and disposes all currently playing views.

    Stops and disposes all currently playing views.

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

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

    Permalink
    Definition Classes
    AuralScheduledBase
  56. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  57. final def tpe: Type

    Permalink
    Definition Classes
    AuralTimelineBaseObjViewBase
  58. val tree: SkipOctree[I, TwoDim, Leaf[S]]

    Permalink
    Attributes
    protected
    Definition Classes
    AuralTimelineAttributeAuralTimelineBase
  59. final def viewEventAfter(offset: Long)(implicit tx: S.Tx): Long

    Permalink

    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
  60. def viewPlaying(h: ElemHandle)(implicit tx: S.Tx): Unit

    Permalink

    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
    Definition Classes
    AuralTimelineAttributeAuralTimelineBase
  61. def viewStopped(h: ElemHandle)(implicit tx: S.Tx): Unit

    Permalink

    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
    Definition Classes
    AuralTimelineAttributeAuralTimelineBase
  62. final def views(implicit tx: S.Tx): Set[AuralAttribute[S]]

    Permalink
    Definition Classes
    AuralTimelineBase
  63. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Observer[S]

Inherited from AuralAttribute[S]

Inherited from AuralTimelineBase[S, I, Target[S], AuralAttribute[S]]

Inherited from AuralScheduledBase[S, Target[S], AuralAttribute[S]]

Inherited from ObservableImpl[S, State]

Inherited from ObjViewBase[S, Target[S]]

Inherited from ViewBase[S, Target[S]]

Inherited from Disposable[S.Tx]

Inherited from Observable[S.Tx, State]

Inherited from AnyRef

Inherited from Any

Ungrouped