case class StaticSystem(inputs: List[Contact[_]], outputs: List[Contact[_]], privateStateHandles: List[StateHandle[_]], components: List[Component], name: String, extensions: Map[StaticSystemExtensionId[_], Any] = Map()) extends Component with Named with Stateful[Map[Contact[_], Any]] with ComponentWithInternalStructure with Product with Serializable

The core class for SynapseGrid. Contains an immutable description of a system.

inputs

input contacts of the system. Within the system it is prohibited to send signals on them.

outputs

output contacts of the system. Within the system it is prohibited to connect outgoing links to these contacts. This is due to the fact that the signals that come to output contacts are not processed within the system. They are delayed for processing by the outer system.

privateStateHandles

state identifiers for variables available within the system. The system itself is immutable and it is prohibited to save state somewhere in closures or global vars (due to thread unsafety). Instead the system's internal state is "provided" by runtime system in the form of map stateHandle->value. updates of states can be done only in a purely functional way.

components

inner parts of the system - links, subsystems and other blocks. They have inputs and outputs.

name

the system's name extension methods: unhandledExceptionHandler - user-defined exception handler. It can recover from exception by returning repaired Context, log it or rethrow. index - ContactsIndex styles - ContactsStyles

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StaticSystem
  2. Serializable
  3. Product
  4. Equals
  5. ComponentWithInternalStructure
  6. WithStaticSystem
  7. Stateful
  8. Component
  9. Named
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StaticSystem(inputs: List[Contact[_]], outputs: List[Contact[_]], privateStateHandles: List[StateHandle[_]], components: List[Component], name: String, extensions: Map[StaticSystemExtensionId[_], Any] = Map())

    inputs

    input contacts of the system. Within the system it is prohibited to send signals on them.

    outputs

    output contacts of the system. Within the system it is prohibited to connect outgoing links to these contacts. This is due to the fact that the signals that come to output contacts are not processed within the system. They are delayed for processing by the outer system.

    privateStateHandles

    state identifiers for variables available within the system. The system itself is immutable and it is prohibited to save state somewhere in closures or global vars (due to thread unsafety). Instead the system's internal state is "provided" by runtime system in the form of map stateHandle->value. updates of states can be done only in a purely functional way.

    components

    inner parts of the system - links, subsystems and other blocks. They have inputs and outputs.

    name

    the system's name extension methods: unhandledExceptionHandler - user-defined exception handler. It can recover from exception by returning repaired Context, log it or rethrow. index - ContactsIndex styles - ContactsStyles

Type Members

  1. type StateType = Map[Contact[_], Any]
    Definition Classes
    Stateful

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. def allContacts: Seq[Contact[_]]

    All contacts, available at this system's level.

    All contacts, available at this system's level. This is a stable sequence of contacts.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. val components: List[Component]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def extend[T](ext: T)(implicit extId: StaticSystemExtensionId[T]): StaticSystem
  10. def extensionOpt[T](implicit extId: StaticSystemExtensionId[T]): Option[T]
  11. val extensions: Map[StaticSystemExtensionId[_], Any]
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. lazy val inputContacts: Set[Contact[_]]
    Definition Classes
    StaticSystemComponent
  14. val inputs: List[Contact[_]]
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isOutputContact(c: Contact[_]): Boolean

    Contacts that should be processed by SignalsProcessor.

  17. val name: String
    Definition Classes
    StaticSystemNamed
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. lazy val outputContacts: Set[Contact[_]]
    Definition Classes
    StaticSystemComponent
  22. val outputs: List[Contact[_]]
  23. val privateStateHandles: List[StateHandle[_]]
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. lazy val s0: Map[Contact[_], Any]

    Initial state of the system.

    Initial state of the system.

    Definition Classes
    StaticSystemStateful
  26. lazy val staticSubsystems: List[StaticSystem]
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toStaticSystem: StaticSystem
    Definition Classes
    StaticSystemWithStaticSystem
  29. def toString(): String
    Definition Classes
    Named → AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WithStaticSystem

Inherited from Stateful[Map[Contact[_], Any]]

Inherited from Component

Inherited from Named

Inherited from AnyRef

Inherited from Any

Ungrouped