Class

reactify.standard

StandardDep

Related Doc: package standard

Permalink

class StandardDep[T, R] extends StandardVal[T] with Dep[T, R]

Linear Supertypes
Dep[T, R], Var[T], Channel[T], StandardVal[T], Val[T], Reactive[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StandardDep
  2. Dep
  3. Var
  4. Channel
  5. StandardVal
  6. Val
  7. Reactive
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StandardDep(name: Option[String], owner: Var[R], r2TFunction: (R) ⇒ T, t2RFunction: (T) ⇒ R)

    Permalink

Value Members

  1. def !(future: Future[T]): Future[Unit]

    Permalink

    Convenience functionality to assign the result of a future (upon completion) to this Channel

    Convenience functionality to assign the result of a future (upon completion) to this Channel

    Definition Classes
    Channel
  2. final def !=(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def &(that: Var[T]): Var[T]

    Permalink

    Group multiple Vars together

    Group multiple Vars together

    Definition Classes
    Var
  5. def &(that: Channel[T]): Channel[T]

    Permalink

    Group multiple channels together

    Group multiple channels together

    Definition Classes
    Channel
  6. def &(that: Val[T]): Val[T]

    Permalink

    Group multiple Vals together

    Group multiple Vals together

    Definition Classes
    Val
  7. def :=(value: ⇒ T): Unit

    Permalink

    Convenience method to fire a value

    Convenience method to fire a value

    value

    the function value

    Definition Classes
    Channel
    See also

    #set

  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def @=(value: T): Unit

    Permalink

    Convenience method for static (non-functional) invocation.

    Convenience method for static (non-functional) invocation.

    value

    the value

    Definition Classes
    Channel
    See also

    #set

  10. def and(that: Var[T]): Var[T]

    Permalink

    Group multiple Vars together

    Group multiple Vars together

    Definition Classes
    Var
  11. def and(that: Channel[T]): Channel[T]

    Permalink

    Group multiple channels together

    Group multiple channels together

    Definition Classes
    Channel
  12. def and(that: Val[T]): Val[T]

    Permalink

    Group multiple Vals together

    Group multiple Vals together

    Definition Classes
    Val
  13. def apply(): T

    Permalink

    Convenience wrapper around get

    Convenience wrapper around get

    Definition Classes
    Val
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def attach(f: (T) ⇒ Unit, priority: Double = Priority.Normal): Reaction[T]

    Permalink

    Convenience method to create a Reaction to attach to this Reactive

    Convenience method to create a Reaction to attach to this Reactive

    f

    the function reaction

    priority

    the priority in comparison to other reactions (Defaults to Priority.Normal)

    returns

    created Reaction[T]

    Definition Classes
    Reactive
  16. def attachAndFire(f: (T) ⇒ Unit, priority: Double = Priority.Normal): Reaction[T]

    Permalink

    Convenience functionality to attach a Reaction and immediately fire the current state on the Reaction.

    Convenience functionality to attach a Reaction and immediately fire the current state on the Reaction.

    f

    the function reaction

    priority

    the priority in comparison to other reactions (Defaults to Priority.Normal)

    returns

    Reaction[T]

    Definition Classes
    Val
  17. def bind[V](that: Var[V], setNow: BindSet = BindSet.LeftToRight)(implicit t2v: (T) ⇒ V, v2t: (V) ⇒ T): Binding[T, V]

    Permalink

    Convenience method to create a binding between two Vars

    Convenience method to create a binding between two Vars

    V

    the type of the second Var

    that

    the second Var to bind between

    setNow

    the BindSet value (Defaults to LeftToRight)

    t2v

    implicit function conversion from T to V

    v2t

    implicit function conversion from V to T

    returns

    Binding[T, V]

    Definition Classes
    Var
  18. def changes(f: (T, T) ⇒ Unit, priority: Double = Priority.Normal): Reaction[T]

    Permalink

    Convenience method to create a Reaction to monitor changes to this Reactive

    Convenience method to create a Reaction to monitor changes to this Reactive

    f

    the function reaction to receive changes

    priority

    the priority in comparison to other reactions (Defaults to Priority.Normal)

    returns

    created Reaction[T]

    Definition Classes
    Reactive
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def collect[R](f: PartialFunction[T, R]): Channel[R]

    Permalink

    Functional collection of this Channel into another Channel.

    Functional collection of this Channel into another Channel. All values received by this Channel will be collected and forwarded to the new Channel if they are collected by the conversion function.

    R

    the type of the Channel

    f

    conversion partial function

    returns

    Channel[R]

    Definition Classes
    Channel
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def fire(value: T, previous: Option[T], reactions: List[Reaction[T]] = this.reactions()): ReactionStatus

    Permalink

    Fires the value to the Reactions

    Fires the value to the Reactions

    Attributes
    protected
    Definition Classes
    Reactive
  25. def future(condition: (T) ⇒ Boolean = _ => true): Future[T]

    Permalink

    Convenience method to create a Future[T] that will complete upon the next reaction that meets to supplied condition.

    Convenience method to create a Future[T] that will complete upon the next reaction that meets to supplied condition.

    condition

    optional condition that must be true for this to fire (Defaults to accept anything)

    returns

    Future[T]

    Definition Classes
    Reactive
  26. def get: T

    Permalink

    Gets the current value from the current State

    Gets the current value from the current State

    Definition Classes
    Val
  27. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. def map[R](f: (T) ⇒ R): Var[R]

    Permalink

    Functional mapping of this Var into another Var.

    Functional mapping of this Var into another Var.

    R

    the type of the new Var

    f

    conversion function

    returns

    Var[R]

    Definition Classes
    VarChannelVal
  31. def mode: Mode

    Permalink

    Operating mode of this Var.

    Operating mode of this Var. Defaults to Normal

    Definition Classes
    StandardDepVar
  32. val name: Option[String]

    Permalink

    An optional name associated.

    An optional name associated. This is primarily used for distinguishing between instances as well as logging.

    Definition Classes
    StandardDepStandardValReactive
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. def on(f: ⇒ Unit, priority: Double = Priority.Normal): Reaction[T]

    Permalink

    Convenience method to create a Reaction to monitor changes to this Reactive when you don't care about the actual value.

    Convenience method to create a Reaction to monitor changes to this Reactive when you don't care about the actual value.

    f

    the function reaction to invoke in reaction to a value received

    priority

    the priority in comparison to other reactions (Defaults to Priority.Normal)

    returns

    created Reaction[T]

    Definition Classes
    Reactive
  37. def once(f: (T) ⇒ Unit, condition: (T) ⇒ Boolean = _ => true, priority: Double = Priority.Normal): Reaction[T]

    Permalink

    Convenience method to create a Reaction to monitor a single reaction based on an optional condition.

    Convenience method to create a Reaction to monitor a single reaction based on an optional condition.

    f

    the function reaction

    condition

    optional condition that must be true for this to fire (Defaults to accept anything)

    priority

    the priority in comparison to other reactions (Defaults to Priority.Normal)

    returns

    created Reaction[T]

    Definition Classes
    Reactive
  38. val owner: Var[R]

    Permalink
    Definition Classes
    StandardDepDep
  39. def r2T(r: R): T

    Permalink
    Definition Classes
    StandardDepDep
  40. lazy val reactions: Reactions[T]

    Permalink

    Reactions currently associated with this Reactive

    Reactions currently associated with this Reactive

    Definition Classes
    Reactive
  41. def set(value: ⇒ T): Unit

    Permalink

    Public method to fire a value against the Reactions attached to this Channel

    Public method to fire a value against the Reactions attached to this Channel

    value

    the function value

    Definition Classes
    StandardDepChannel
  42. val state: State[T]

    Permalink

    The current State representation

    The current State representation

    Definition Classes
    StandardValVal
  43. def static(value: T): Unit

    Permalink

    Statically sets a value without monitoring effects

    Statically sets a value without monitoring effects

    value

    the value to assign

    Definition Classes
    Var
  44. def status: Option[ReactionStatus]

    Permalink

    If the current thread is reacting to a value currently, status represents the status of the reaction.

    If the current thread is reacting to a value currently, status represents the status of the reaction. This can be set to ReactionStatus.Stop in order to stop propagation. This can also be achieved via stopPropagation().

    Definition Classes
    Reactive
  45. def status_=(status: ReactionStatus): Unit

    Permalink
    Definition Classes
    Reactive
  46. def stopPropagation(): Unit

    Permalink

    Shortcut functionality to call status = ReactionStatus.Stop

    Shortcut functionality to call status = ReactionStatus.Stop

    Definition Classes
    Reactive
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  48. def t2R(t: T): R

    Permalink
    Definition Classes
    StandardDepDep
  49. def toString(): String

    Permalink
    Definition Classes
    VarChannelVal → AnyRef → Any
  50. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Dep[T, R]

Inherited from Var[T]

Inherited from Channel[T]

Inherited from StandardVal[T]

Inherited from Val[T]

Inherited from Reactive[T]

Inherited from AnyRef

Inherited from Any

Ungrouped