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, Bang[S]], 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. AnyRef
  15. 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

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

    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 isSource(pull: Pull[S]): Boolean

    Definition Classes
    EventLike
  8. abstract def node: Bang[S] with Node[S]

    Definition Classes
    EventVirtualNodeSelector
  9. abstract def pullUpdate(pull: Pull[S])(implicit tx: S.Tx): Option[Unit]

    Definition Classes
    EventLike
  10. abstract def react[A1 >: Unit](fun: (A1) ⇒ Unit)(implicit tx: S.Tx): Observer[S, A1, Bang[S]]

    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 Observer instance, which may be used to remove the observer eventually (through the observer's remove method), or to add the observer to other events of the same type (using the observer's add method).

    Note that the caller should not call add on the resulting observer to register this event, as this is already done as part of the call to react.

    Definition Classes
    EventLike
  11. abstract def reactTx[A1 >: Unit](fun: (S.Tx) ⇒ (A1) ⇒ Unit)(implicit tx: S.Tx): Observer[S, A1, Bang[S]]

    Like react, but passing in a transaction as first function argument.

    Like react, but passing in a transaction as first function argument.

    Definition Classes
    EventLike
  12. abstract def targets: Targets[S]

    Attributes
    protected
    Definition Classes
    Node
  13. 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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. final def devirtualize[A1, R1](reader: Reader[S, R1])(implicit tx: S.Tx): Event[S, A1, R1 with Node[S]]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

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

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

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

    Definition Classes
    Selector
  30. 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, Bang[S]]

Inherited from AnyRef

Inherited from Any

Ungrouped