de.sciss.lucre.bitemp.BiGroup

Modifiable

trait Modifiable[S <: Sys[S], Elem, U] extends BiGroup[S, Elem, U]

Linear Supertypes
BiGroup[S, Elem, U], Node[S], VirtualNode[S], Reactor[S], Mutable[ID, Tx], Disposable[Tx], Writable, Identifiable[ID], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Modifiable
  2. BiGroup
  3. Node
  4. VirtualNode
  5. Reactor
  6. Mutable
  7. Disposable
  8. Writable
  9. Identifiable
  10. AnyRef
  11. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def add(span: Expr[S, SpanLike], elem: Elem)(implicit tx: Tx): TimedElem[S, Elem]

  2. abstract def changed: EventLike[S, Update[S, Elem, U], BiGroup[S, Elem, U]]

    Definition Classes
    BiGroup
  3. abstract def clear()(implicit tx: Tx): Unit

  4. abstract def debugList()(implicit tx: Tx): List[(SpanLike, Elem)]

    Definition Classes
    BiGroup
  5. abstract def disposeData()(implicit tx: Tx): Unit

    Attributes
    protected
    Definition Classes
    Node
  6. abstract def eventsAt(time: Long)(implicit tx: Tx): (Iterator[Tx, (SpanLike, IndexedSeq[TimedElem[S, Elem]])], Iterator[Tx, (SpanLike, IndexedSeq[TimedElem[S, Elem]])])

    Queries all elements which produce an event (starting or stopping) at a given time.

    Queries all elements which produce an event (starting or stopping) at a given time.

    time

    the time instant for which to gather the events

    returns

    a tuple of two iterators. the first iterator (_1) contains the events which start at the query time, the second iterator (_2) contains the event which stop at the query time

    Definition Classes
    BiGroup
  7. abstract def intersect(span: SpanLike)(implicit tx: Tx): Iterator[Tx, (SpanLike, IndexedSeq[TimedElem[S, Elem]])]

    Queries all elements intersecting a given time span.

    Queries all elements intersecting a given time span. That is, returns an iterator of all elements whose span contains or partly overlaps the query span. (span start < query.stop && span.stop > query.start)

    This methods makes no guarantees about the ordering of the returned iterator.

    span

    the the span to search within (this may be a half-bounded interval or even Span.All)

    returns

    a (possibly empty) iterator of the intersecting elements

    Definition Classes
    BiGroup
  8. abstract def intersect(time: Long)(implicit tx: Tx): Iterator[Tx, (SpanLike, IndexedSeq[TimedElem[S, Elem]])]

    Queries all elements intersecting a given point in time.

    Queries all elements intersecting a given point in time. That is, returns an iterator of all elements whose span contains the time point (span start <= time && span.stop > time)

    This methods makes no guarantees about the ordering of the returned iterator.

    time

    the point in time to search at

    returns

    a (possibly empty) iterator of the intersecting elements

    Definition Classes
    BiGroup
  9. abstract def modifiableOption: Option[Modifiable[S, Elem, U]]

    Definition Classes
    BiGroup
  10. abstract def nearestEventAfter(time: Long)(implicit tx: Tx): Option[Long]

    Queries the closest event (an element's span starting or stopping) later than the given time

    Queries the closest event (an element's span starting or stopping) later than the given time

    time

    the query time

    returns

    a time, greater than the query time, at which the next event occurs, or None if there are no events after the query time

    Definition Classes
    BiGroup
  11. abstract def nearestEventBefore(time: Long)(implicit tx: Tx): Option[Long]

    Queries the closest event (an element's span starting or stopping) earlier than the given time

    Queries the closest event (an element's span starting or stopping) earlier than the given time

    time

    the query time

    returns

    a time, smaller than the query time, at which the previous event occurs, or None if there are no events before the query time

    Definition Classes
    BiGroup
  12. abstract def rangeSearch(start: SpanLike, stop: SpanLike)(implicit tx: Tx): Iterator[Tx, (SpanLike, IndexedSeq[TimedElem[S, Elem]])]

    Performs a range query according to separate intervals for the allowed start and stop positions of the element spans.

    Performs a range query according to separate intervals for the allowed start and stop positions of the element spans. That is, returns an iterator of all elements whose span satisfies the constraints given for start and stop positions (start.contains( elem.span.start ) && stop.contains( elem.span.stop ))

    Both for the start and stop constraint, half-bounded or unbounded (Span.All) intervals can be used. Examples

    • to find all elements which start between 10 (inclusive) and 20 (exclusive), use start = Span( 10, 20 ), stop = Span.All.
    • to find all elements which start before (<) 10 and stop from (>=) 20, use start = Span.until( 10 ), stop = Span.from( 20 ).

    This methods makes no guarantees about the ordering of the returned iterator.

    start

    the constraint for the start position of the spans of the elements filtered.

    stop

    the constraint for the stop position of the spans of the elements filtered.

    returns

    a (possibly empty) iterator of the intersecting elements

    Definition Classes
    BiGroup
  13. abstract def remove(span: Expr[S, SpanLike], elem: Elem)(implicit tx: Tx): Boolean

  14. abstract def targets: Targets[S]

    Attributes
    protected
    Definition Classes
    Node
  15. abstract def writeData(out: DataOutput): Unit

    Attributes
    protected
    Definition Classes
    Node

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Definition Classes
    Node → Disposable
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(that: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    Reactor → AnyRef → Any
  14. final def id: ID

    Definition Classes
    Node → Identifiable
  15. final def invalidate()(implicit tx: Tx): Unit

    Attributes
    protected
    Definition Classes
    Node
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def isInvalid(implicit tx: Tx): Boolean

    Attributes
    protected
    Definition Classes
    Node
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    Node → AnyRef → Any
  23. final def validated()(implicit tx: Tx): Unit

    Attributes
    protected
    Definition Classes
    Node
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. final def write(out: DataOutput): Unit

    Definition Classes
    Node → Writable

Inherited from BiGroup[S, Elem, U]

Inherited from Node[S]

Inherited from VirtualNode[S]

Inherited from Reactor[S]

Inherited from Mutable[ID, Tx]

Inherited from Disposable[Tx]

Inherited from Writable

Inherited from Identifiable[ID]

Inherited from AnyRef

Inherited from Any