org.digimead.digi.ctrl.lib.base.AppComponent

StateContainer

class StateContainer extends SyncVar[State] with Publisher[State] with Logging

Linear Supertypes
Publisher[State], SyncVar[State], Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. StateContainer
  2. Publisher
  3. SyncVar
  4. Logging
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StateContainer()

Type Members

  1. type Filter = (State) ⇒ Boolean

    Definition Classes
    Publisher
  2. abstract type Pub <: Publisher[State]

    Definition Classes
    Publisher
  3. type Sub = Subscriber[State, Pub]

    Definition Classes
    Publisher

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. def activateSubscription(sub: Sub): Unit

    Definition Classes
    Publisher
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def freeBusy(): Unit

    Annotations
    @Loggable()
  13. def get(): State

    Definition Classes
    StateContainerSyncVar
  14. def get(timeout: Long): Option[State]

    Waits for this SyncVar to become defined at least for timeout milliseconds (possibly more), and gets its value.

    Waits for this SyncVar to become defined at least for timeout milliseconds (possibly more), and gets its value.

    timeout

    the amount of milliseconds to wait, 0 means forever

    returns

    None if variable is undefined after timeout, Some(value) otherwise

    Definition Classes
    SyncVar
  15. def get(timeout: Long, guard: (State) ⇒ Boolean): Option[State]

    Waits for this SyncVar to become defined at least for timeout milliseconds (possibly more), and gets its value (if guard return true).

    Waits for this SyncVar to become defined at least for timeout milliseconds (possibly more), and gets its value (if guard return true).

    timeout

    the amount of milliseconds to wait, 0 means forever

    returns

    None if variable is undefined after timeout, Some(value) otherwise

    Definition Classes
    SyncVar
  16. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  18. def isBusy(): Boolean

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def isSet: Boolean

    Definition Classes
    SyncVar
  21. implicit val log: RichLogger

    Attributes
    protected[lib]
    Definition Classes
    Logging
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. def publish(event: State): Unit

    Attributes
    protected
    Definition Classes
    Publisher
  26. def put(x: State, timeout: Long, signalAll: Boolean): Unit

    Definition Classes
    SyncVar
  27. def put(x: State, timeout: Long): Unit

    Definition Classes
    SyncVar
  28. def put(x: State, signalAll: Boolean): Unit

    Definition Classes
    SyncVar
  29. def put(x: State): Unit

    Definition Classes
    SyncVar
  30. def removeSubscription(sub: Sub): Unit

    Definition Classes
    Publisher
  31. def removeSubscriptions(): Unit

    Definition Classes
    Publisher
  32. def resetBusyCounter(): Unit

  33. val self: Pub

    Attributes
    protected
    Definition Classes
    Publisher
  34. def set(newState: State, signalAll: Boolean = true): Unit

    Definition Classes
    StateContainerSyncVar
  35. def subscribe(sub: Sub, filter: (State) ⇒ Boolean): Unit

    Definition Classes
    Publisher
  36. def subscribe(sub: Sub): Unit

    Definition Classes
    Publisher
  37. def suspendSubscription(sub: Sub): Unit

    Definition Classes
    Publisher
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def take(): State

    Definition Classes
    SyncVar
  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. def unset(signalAll: Boolean = true): Unit

    Definition Classes
    SyncVar
  42. val value: AtomicReference[Option[State]]

    Attributes
    protected
    Definition Classes
    SyncVar
  43. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. def waitMeasuringElapsed(fName: String, timeout: Long): Long

    Waits timeout millis.

    Waits timeout millis. If timeout <= 0 just returns 0. If the system clock went backward, it will return 0, so it never returns negative results.

    Attributes
    protected
    Definition Classes
    SyncVar
  47. def waitUnset(timeout: Long): Boolean

    Definition Classes
    SyncVar

Inherited from Publisher[State]

Inherited from SyncVar[State]

Inherited from Logging

Inherited from AnyRef

Inherited from Any