Package

de.sciss.lucre

event

Permalink

package event

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. event
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Caching extends AnyRef

    Permalink

    A marker trait for events that maintain a cache.

    A marker trait for events that maintain a cache. Events mixing in this trait are guaranteed to participate in the pullUpdate phase, even if no live observer is attached to them.

  2. trait Dummy[S <: Sys[S], +A] extends EventLike[S, A]

    Permalink
  3. trait Event[S <: Sys[S], +A] extends EventLike[S, A] with Writable

    Permalink

    Event is not sealed in order to allow you define traits inheriting from it, while the concrete implementations should extend either of Event.Constant or Event.Node (which itself is sealed and split into Event.Invariant and Event.Mutating.

  4. trait EventLike[S <: Sys[S], +A] extends Observable[event.EventLike.S.Tx, A]

    Permalink
  5. trait Map[S <: Sys[S], K, Repr[~ <: Sys[~]] <: Elem[~]] extends Obj[S] with Publisher[S, Update[S, K, Repr]]

    Permalink
  6. trait Node[S <: Sys[S]] extends Elem[S] with Mutable[event.Node.S.ID, event.Node.S.Tx]

    Permalink

     XXX TODO -- this documentation is outdated.

     XXX TODO -- this documentation is outdated.

    An Event.Node is most similar to EScala's EventNode class. It represents an observable object and can also act as an observer itself. It adds the Reactor functionality in the form of a proxy, forwarding to internally stored Targets. It also provides a final implementation of the Writable and Disposable traits, asking sub classes to provide methods writeData and disposeData. That way it is ensured that the sealed Reactor trait is written first as the Targets stub, providing a means for partial deserialization during the push phase of event propagation.

    This trait also implements equals and hashCode in terms of the id inherited from the targets.

  7. trait Observable[Tx, +A] extends AnyRef

    Permalink
  8. trait Observer[S <: Sys[S], -A] extends Disposable[event.Observer.S.Tx]

    Permalink
  9. trait Publisher[S <: Sys[S], +A] extends AnyRef

    Permalink
  10. sealed trait Pull[S <: Sys[S]] extends AnyRef

    Permalink
  11. trait ReactionMap[S <: Sys[S]] extends AnyRef

    Permalink
  12. sealed trait Targets[S <: Sys[S]] extends Mutable[event.Targets.S.ID, event.Targets.S.Tx]

    Permalink

    An abstract trait unifying invariant and mutating targets.

    An abstract trait unifying invariant and mutating targets. This object is responsible for keeping track of the dependents of an event source which is defined as the outer object, sharing the same id as its targets. As a Reactor, it has a method to propagate a fired event.

Value Members

  1. object Dummy

    Permalink
  2. object Event

    Permalink
  3. object Map extends Type

    Permalink
  4. object Observer

    Permalink
  5. object Push

    Permalink
  6. object ReactionMap

    Permalink
  7. object Targets

    Permalink
  8. var showLog: Boolean

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped