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
- Alphabetic
- By Inheritance
- StaticSystem
- Serializable
- Product
- Equals
- ComponentWithInternalStructure
- WithStaticSystem
- Stateful
- Component
- Named
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val components: List[Component]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def extend[T](ext: T)(implicit extId: StaticSystemExtensionId[T]): StaticSystem
- def extensionOpt[T](implicit extId: StaticSystemExtensionId[T]): Option[T]
- val extensions: Map[StaticSystemExtensionId[_], Any]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val inputContacts: Set[Contact[_]]
- Definition Classes
- StaticSystem → Component
- val inputs: List[Contact[_]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isOutputContact(c: Contact[_]): Boolean
Contacts that should be processed by SignalsProcessor.
- val name: String
- Definition Classes
- StaticSystem → Named
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val outputContacts: Set[Contact[_]]
- Definition Classes
- StaticSystem → Component
- val outputs: List[Contact[_]]
- val privateStateHandles: List[StateHandle[_]]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- lazy val s0: Map[Contact[_], Any]
Initial state of the system.
Initial state of the system.
- Definition Classes
- StaticSystem → Stateful
- lazy val staticSubsystems: List[StaticSystem]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toStaticSystem: StaticSystem
- Definition Classes
- StaticSystem → WithStaticSystem
- def toString(): String
- Definition Classes
- Named → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated