Class

ru.primetalk.synapse.core.ext.SystemBuilderApi

SystemBuilderC

Related Doc: package SystemBuilderApi

Permalink

class SystemBuilderC extends SystemBuilder

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SystemBuilderC
  2. SystemBuilder
  3. WithStaticSystem
  4. OuterInterfaceBuilder
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SystemBuilderC(name: String = "")

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addComponent[T <: SystemBuilderApi.Component](component: T): T

    Permalink

    Adds a self contained component.

    Adds a self contained component. NB: The state of the component is not managed!

    Definition Classes
    SystemBuilder
  5. def addLink[T1, T2](link: SystemBuilderApi.Link[T1, T2, T1, T2]): SystemBuilderApi.Contact[T2]

    Permalink

    Definition Classes
    SystemBuilder
  6. def addLink[T1, T2](from: SystemBuilderApi.Contact[T1], to: SystemBuilderApi.Contact[T2], name: String, info: SystemBuilderApi.LinkInfo[T1, T2]): SystemBuilderApi.Contact[T2]

    Permalink
    Definition Classes
    SystemBuilder
  7. def addStateHandle[S](sh: SystemBuilderApi.StateHandle[S]): SystemBuilderApi.StateHandle[S]

    Permalink

    Add StateHandle to the system

    Add StateHandle to the system

    Definition Classes
    SystemBuilder
  8. def addSubsystem[T](system: T, sharedStateHandles: SystemBuilderApi.StateHandle[_]*)(implicit ev: (T) ⇒ SystemBuilderApi.StaticSystem): T

    Permalink

    Subsystem.

    Subsystem. It can have a few input contacts (any number), however, it will process signals by one.

    If the subsystem has output contacts (it usually has), then the result of subsystem processing will appear on the same contacts of the parent system.

    sharedStateHandles

    a collection of state handles that is shared between the parent and the child system. Whenever the system gets a signal, shared state values are copied into it's internal state.

    Definition Classes
    SystemBuilder
  9. def addSubsystems(subsystems: SystemBuilderApi.StaticSystem*): Unit

    Permalink

    Adds a few subsystems at once.

    Adds a few subsystems at once. Useful for super systems construction.

    Definition Classes
    SystemBuilder
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def complete(): components.StaticSystem

    Permalink

    Makes the builder unmodifiable and returns completed static system.

    Makes the builder unmodifiable and returns completed static system.

    Definition Classes
    SystemBuilder
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def extend[T <: SystemBuilderExtension](implicit extensionId: SystemBuilderExtensionId[T]): T

    Permalink
    Definition Classes
    SystemBuilder
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def findInput(name: String): Option[SystemBuilderApi.Contact[_]]

    Permalink
    Definition Classes
    SystemBuilder
  18. def findOutput(name: String): Option[SystemBuilderApi.Contact[_]]

    Permalink
    Definition Classes
    SystemBuilder
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def handleExceptions(handler: SystemBuilderApi.UnhandledProcessingExceptionHandler): Unit

    Permalink
    Definition Classes
    SystemBuilder
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def input[T](name: String): components.Contact[T]

    Permalink

    Create contact and add it to the builder as an input

    Create contact and add it to the builder as an input

    Definition Classes
    SystemBuilderOuterInterfaceBuilder
  23. def inputs(lc: SystemBuilderApi.Contact[_]*): Unit

    Permalink
    Definition Classes
    SystemBuilder
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def minDistance(c1: SystemBuilderApi.Contact[_], c2: SystemBuilderApi.Contact[_]): Int

    Permalink

    Calculates the number of transitions from c1 to that contact.

    Calculates the number of transitions from c1 to that contact. If the contact is not reachable then the distance is equals = -1

    Definition Classes
    SystemBuilder
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def newSubsystem[T](name: String)(implicit outerBuilder: (OuterInterfaceBuilder) ⇒ T, definitionBuilder: (T) ⇒ SystemBuilderApi.StaticSystem): T

    Permalink

    Creates subsystem and adds it to this system as a component.

    Creates subsystem and adds it to this system as a component.

    T

    outer system's interface type

    name

    the name of the component

    outerBuilder

    function that creates outer interface of the system of type T

    definitionBuilder

    function that constructs StaticSystem for type T.

    returns

    outer system's interface

    Definition Classes
    SystemBuilder
  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. def output[T](name: String): components.Contact[T]

    Permalink

    Create contact and add it to the builder as an output

    Create contact and add it to the builder as an output

    Definition Classes
    SystemBuilderOuterInterfaceBuilder
  31. def outputs(lc: SystemBuilderApi.Contact[_]*): Unit

    Permalink
    Definition Classes
    SystemBuilder
  32. def predecessors(c: SystemBuilderApi.Contact[_]): List[SystemBuilderApi.Contact[_]]

    Permalink

    returns one step successors from the given contact

    returns one step successors from the given contact

    Definition Classes
    SystemBuilder
  33. def readOnly(): Unit

    Permalink

    Sets this builder to the read only mode.

    Sets this builder to the read only mode. Subsequent modifications will lead to exceptions.

    Definition Classes
    SystemBuilder
  34. implicit def sb: SystemBuilder

    Permalink
  35. def setSystemName(name: String): Unit

    Permalink

    Changes the name of the component.

    Changes the name of the component.

    Definition Classes
    SystemBuilderOuterInterfaceBuilder
  36. def state[S](name: String, initialValue: S): SystemBuilderApi.StateHandle[S]

    Permalink

    Create StateHandle and add it to the system

    Create StateHandle and add it to the system

    Definition Classes
    SystemBuilder
  37. def successors(c: SystemBuilderApi.Contact[_]): List[SystemBuilderApi.Contact[_]]

    Permalink

    returns one step successors from the given contact

    returns one step successors from the given contact

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

    Permalink
    Definition Classes
    AnyRef
  39. def systemName: String

    Permalink
    Definition Classes
    SystemBuilder
  40. def systemName_=(name: String): Unit

    Permalink
    Definition Classes
    SystemBuilder
  41. def toStaticSystem: components.StaticSystem

    Permalink

    Constructs the current version of static system.

    Constructs the current version of static system.

    Definition Classes
    SystemBuilderWithStaticSystem
  42. def toString(): String

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

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

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

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

Inherited from SystemBuilder

Inherited from OuterInterfaceBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped