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
Serializable, Serializable, Product, Equals, ComponentWithInternalStructure, WithStaticSystem, Stateful[Map[Contact[_], Any]], Component, Named, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StaticSystem
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ComponentWithInternalStructure
  7. WithStaticSystem
  8. Stateful
  9. Component
  10. Named
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. lazy val inputContacts: Set[Contact[_]]
    Definition Classes
    StaticSystemComponent
  15. val inputs: List[Contact[_]]
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isOutputContact(c: Contact[_]): Boolean

    Contacts that should be processed by SignalsProcessor.

  18. val name: String
    Definition Classes
    StaticSystemNamed
  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. lazy val outputContacts: Set[Contact[_]]
    Definition Classes
    StaticSystemComponent
  23. val outputs: List[Contact[_]]
  24. val privateStateHandles: List[StateHandle[_]]
  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(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

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