de.sciss.lucre.event

Bang

sealed trait Bang[S <: Sys[S]] extends Trigger[S, Unit, Bang[S]] with Node[S]

A simple event implementation for an imperative (trigger) event that fires "bangs" or impulses, using the Unit type as event type parameter. The apply method of the companion object builds a Bang which also implements the Observable trait, so that the bang can be connected to a live view (e.g. a GUI).

Linear Supertypes
Node[S], VirtualNode[S], Reactor[S], Mutable[S.ID, S.Tx], Disposable[S.Tx], Writable, Identifiable[S.ID], Trigger[S, Unit, Bang[S]], Event[S, Unit, Bang[S]], VirtualNodeSelector[S], Selector[S], EventLike[S, Unit], Observable[S.Tx, Unit], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Bang
  2. Node
  3. VirtualNode
  4. Reactor
  5. Mutable
  6. Disposable
  7. Writable
  8. Identifiable
  9. Trigger
  10. Event
  11. VirtualNodeSelector
  12. Selector
  13. EventLike
  14. Observable
  15. AnyRef
  16. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def --->(r: Selector[S])(implicit tx: S.Tx): Unit

     Connects the given selector to this event.

     Connects the given selector to this event. That is, this event will adds the selector to its propagation targets.

    Definition Classes
    EventLike
  2. abstract def -/->(r: Selector[S])(implicit tx: S.Tx): Unit

     Disconnects the given selector from this event.

     Disconnects the given selector from this event. That is, this event will remove the selector from its propagation targets.

    Definition Classes
    EventLike
  3. abstract def apply()(implicit tx: S.Tx): Unit

    A parameterless convenience version of the Trigger's apply method.

  4. abstract def apply(update: Unit)(implicit tx: S.Tx): Unit

    Definition Classes
    Trigger
  5. abstract def cookie: Int

    Attributes
    protected
    Definition Classes
    Selector
  6. abstract def disposeData()(implicit tx: S.Tx): Unit

    Attributes
    protected
    Definition Classes
    Node
  7. abstract def node: Bang[S] with Node[S]

    Definition Classes
    EventVirtualNodeSelector
  8. abstract def react(fun: (S.Tx) ⇒ (Unit) ⇒ Unit)(implicit tx: S.Tx): Disposable[S.Tx]

    Registers a live observer with this event.

    Registers a live observer with this event. The method is called with the observing function which receives the event's update messages, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

    Definition Classes
    EventLikeObservable
  9. abstract def targets: Targets[S]

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

    Attributes
    protected
    Definition Classes
    Node

Concrete Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def devirtualize[A1, R1](reader: Reader[S, R1])(implicit tx: S.Tx): Event[S, A1, R1 with Node[S]]

    Definition Classes
    EventVirtualNodeSelector
  7. final def dispose()(implicit tx: S.Tx): Unit

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

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

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

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

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

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

    Definition Classes
    Node → Identifiable
  14. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

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

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

    Definition Classes
    Node → Writable
  26. final def writeSelector(out: DataOutput): Unit

    Definition Classes
    Selector
  27. final def writeSelectorData(out: DataOutput): Unit

    Attributes
    protected
    Definition Classes
    VirtualNodeSelectorSelector

Inherited from Node[S]

Inherited from VirtualNode[S]

Inherited from Reactor[S]

Inherited from Mutable[S.ID, S.Tx]

Inherited from Disposable[S.Tx]

Inherited from Writable

Inherited from Identifiable[S.ID]

Inherited from Trigger[S, Unit, Bang[S]]

Inherited from Event[S, Unit, Bang[S]]

Inherited from VirtualNodeSelector[S]

Inherited from Selector[S]

Inherited from EventLike[S, Unit]

Inherited from Observable[S.Tx, Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped