Package

ru.primetalk.synapse

core

Permalink

package core

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. core
  2. SwitcherDsl
  3. BaseTypedSystemApi
  4. SystemConvertingApi
  5. AutomataDsl
  6. ManagedStatesDsl
  7. AccumulationDsl
  8. ContinuationDsl
  9. EncapsulationApi
  10. FilesApi
  11. ComponentNavigationApi
  12. SignalProcessingDsl
  13. SignalProcessingSimpleApi
  14. SignalProcessingApi0
  15. RuntimeSystemApi
  16. ContactsIndexExt
  17. RuntimeComponentApi
  18. StaticSystemApi
  19. BaseTypedSystemDsl
  20. SystemRendererApi
  21. TryDsl
  22. SystemBuilderDsl
  23. DevNullExt
  24. AuxNumberingExt
  25. ContactStyleExt
  26. NextLabelExt
  27. SystemBuilderApi
  28. ExceptionHandlingExt
  29. TrellisApi
  30. SignalsApi
  31. ContactsDsl
  32. ComponentsApi
  33. AnyRef
  34. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractTypedSystem extends AnyRef

    Permalink
    Definition Classes
    BaseTypedSystemApi
  2. class AutomataBuilder[State] extends AnyRef

    Permalink

    The builder creates a state machine with State type of state.

    The builder creates a state machine with State type of state.

    Definition Classes
    AutomataDsl
  3. class AuxContactNumberingExt extends SystemBuilderExtension

    Permalink
    Definition Classes
    AuxNumberingExt
  4. abstract class BaseTypedSystem extends WithStaticSystem

    Permalink

    A very convenient way to define a StaticSystem is by implementing BaseTypedSystem.

    A very convenient way to define a StaticSystem is by implementing BaseTypedSystem.

    Why is it so? We define both the outer world interface (inputs and outputs) and implementation (in defineSystem). Both are declared altogether, in the same class.

    However there is another way for system's construction, which provides better decomposition. It is described in comment to TypedSystemConstructor

    Definition Classes
    BaseTypedSystemApi
  5. implicit class CollectingContact[T] extends AnyRef

    Permalink
    Definition Classes
    AccumulationDsl
  6. type Component = core.components.Component

    Permalink
    Definition Classes
    ComponentsApi
  7. case class ComponentDescriptor(component: SystemConvertingApi.Component, path: SystemConvertingApi.SystemPath = List(), parentSystem: SystemConvertingApi.StaticSystem) extends Product with Serializable

    Permalink

    Describes component within a system.

    Describes component within a system.

    The path is used in hierarchical subsystem transformations. The parentSystem is used in red-links processing.

    Definition Classes
    SystemConvertingApi
  8. type ComponentDescriptorConverter = PartialFunction[ComponentDescriptor, core.runtime.SystemConvertingApi.RuntimeComponent]

    Permalink

    ComponentDescriptorConverter is for complex components with internal structure.

    ComponentDescriptorConverter is for complex components with internal structure.

    Definition Classes
    SystemConvertingApi
  9. class ComponentDescriptorConverterProxy extends ComponentDescriptorConverter

    Permalink

    Converter proxy is used to construct functional converter with recursive internal structure (with data structure loop).

    Converter proxy is used to construct functional converter with recursive internal structure (with data structure loop).

    The target can be assigned after the object was constructed. Thus a recursive structure becomes possible.

    Definition Classes
    SystemConvertingApi
  10. type ComponentWithInternalStructure = core.components.ComponentWithInternalStructure

    Permalink
    Definition Classes
    ComponentsApi
  11. type Contact[T] = core.components.Contact[T]

    Permalink
    Definition Classes
    ComponentsApi
  12. implicit class ContactExtractor[T] extends AnyRef

    Permalink

    Extractor of contacts' data from result.

    Extractor of contacts' data from result.

    Definition Classes
    SignalsApi
  13. implicit class ContactOps[T] extends AnyRef

    Permalink

    New methods available on contacts that construct links.

    New methods available on contacts that construct links.

    Definition Classes
    SystemBuilderDsl
  14. implicit class ContactPairOps[Key, T] extends AnyRef

    Permalink

    Miscellaneous operations with prefixed data.

    Miscellaneous operations with prefixed data.

    Definition Classes
    SystemBuilderDsl
  15. trait ContactStyle extends AnyRef

    Permalink
    Definition Classes
    ContactStyleExt
  16. class ContactStyleExtension extends SystemBuilderExtension

    Permalink
    Definition Classes
    ContactStyleExt
  17. case class ContactStyleStaticExtension(styles: Map[ContactStyleExt.Contact[_], ContactStyle]) extends Product with Serializable

    Permalink
    Definition Classes
    ContactStyleExt
  18. type ContactToSubscribersMap = Map[core.runtime.RuntimeSystemApi.Contact[_], List[core.runtime.RuntimeSystemApi.RuntimeComponent]]

    Permalink

    A dictionary of handlers for signals that appear on contacts.

    A dictionary of handlers for signals that appear on contacts.

    Definition Classes
    RuntimeSystemApi
  19. implicit class ContactTryOps[T] extends AnyRef

    Permalink

    New methods available on contacts that construct links.

    New methods available on contacts that construct links.

    Definition Classes
    TryDsl
  20. class ContactWithState[T1, S] extends AnyRef

    Permalink
    Definition Classes
    SystemBuilderDsl
  21. trait ContactsIndex extends AnyRef

    Permalink

    ContactsIndex is used mainly in Distributed systems for obtaining serializable versions of signals (SignalDist).

    ContactsIndex is used mainly in Distributed systems for obtaining serializable versions of signals (SignalDist). Every system has lazy val index.

    Definition Classes
    ContactsIndexExt
  22. case class ContactsIndexImpl(contacts: Seq[ContactsIndexExt.Contact[_]]) extends ContactsIndex with Product with Serializable

    Permalink
    Definition Classes
    ContactsIndexExt
  23. type Context = Map[core.runtime.TrellisApi.Contact[_], _]

    Permalink

    The context for system is a map from state handles to values.

    The context for system is a map from state handles to values.

    Definition Classes
    TrellisApi
  24. class DevNullExtension extends SystemBuilderExtension

    Permalink
    Definition Classes
    DevNullExt
  25. implicit class DirectLinkBuilderOps[T1, T2 >: T1] extends AnyRef

    Permalink
    Definition Classes
    SystemBuilderDsl
  26. case class DynamicSystem(inputContacts: Set[RuntimeSystemApi.Contact[_]], outputContacts: Set[RuntimeSystemApi.Contact[_]], name: String, receive: RuntimeSystemApi.SimpleSignalProcessor, index: RuntimeSystemApi.ContactsIndex) extends Named with Component with SimpleSignalProcessor with Product with Serializable

    Permalink

    Dynamic system.

    Dynamic system. The state is kept inside the system. All complex logic is implemented within receive function. Dynamic system can be added to StaticSystem as a simple component ("black box"). The processing of the dynamic system is done within a single step of the outer system processor.

    Definition Classes
    RuntimeSystemApi
  27. class DynamicSystemBuffered extends AnyRef

    Permalink

    A class that allows to use Dynamic system in a more comfortable way.

    A class that allows to use Dynamic system in a more comfortable way. One can send any data on any input of the dynamic system and the results are kept in output buffer. Occasionally one may read output signals (clearing them out if neccessary).

    Definition Classes
    RuntimeSystemApi
  28. class EmbeddedOuterInterfaceBuilder extends OuterInterfaceBuilder

    Permalink
    Definition Classes
    EncapsulationApi
  29. abstract class EncapsulationBuilder[Outer] extends AnyRef

    Permalink

    Usage: see defineEncapsulation

    Usage: see defineEncapsulation

    Definition Classes
    EncapsulationApi
  30. type FCont[T1, T2] = (T1) ⇒ Continuation[T1, T2]

    Permalink
    Definition Classes
    ContinuationDsl
  31. type FlatMapLink[-T1, +T2] = core.components.FlatMapLink[T1, T2]

    Permalink
    Definition Classes
    ComponentsApi
  32. implicit class ImplContLinkBuilder[T1, T2] extends AnyRef

    Permalink
    Definition Classes
    ContinuationDsl
  33. class LabellingExt extends SystemBuilderExtension

    Permalink

    An extension that adds easy labelling to System builder.

    An extension that adds easy labelling to System builder.

    Definition Classes
    NextLabelExt
  34. type Link[T1, T2, -TL1 >: T1, +TL2 <: T2] = core.components.Link[T1, T2, TL1, TL2]

    Permalink
    Definition Classes
    ComponentsApi
  35. implicit class LinkBuilderOps[T1, T2] extends AnyRef

    Permalink

    DSL methods for creating links between the two given contacts.

    DSL methods for creating links between the two given contacts.

    Definition Classes
    SystemBuilderDsl
  36. type LinkInfo[-T1, +T2] = core.components.LinkInfo[T1, T2]

    Permalink
    Definition Classes
    ComponentsApi
  37. implicit class ManagedRichContact[T] extends AnyRef

    Permalink
    Definition Classes
    ManagedStatesDsl
  38. class ManagedRichState[S] extends AnyRef

    Permalink
    Definition Classes
    ManagedStatesDsl
  39. class ManagedStateSnippet[S] extends AnyRef

    Permalink
    Definition Classes
    ManagedStatesDsl
  40. class MutableComponentConverterBuilder extends AnyRef

    Permalink

    A component converter that can be extended by adding more converters to it.

    A component converter that can be extended by adding more converters to it.

    Definition Classes
    SystemConvertingApi
  41. type Named = core.components.Named

    Permalink
    Definition Classes
    ComponentsApi
  42. type NopLink[-T1, +T2 >: T1] = core.components.NopLink[T1, T2]

    Permalink
    Definition Classes
    ComponentsApi
  43. implicit class OrphanContactsAnalysis extends AnyRef

    Permalink

    Some additional information about the system.

    Some additional information about the system. In particular, one may find orphan contacts.

    Definition Classes
    StaticSystemApi
  44. trait OuterInterfaceBuilder extends AnyRef

    Permalink

    An interface of some object that can collect information about outer interface of a system.

    An interface of some object that can collect information about outer interface of a system. Not only it create contact instances, but it usually transforms and collect them.

    Definition Classes
    SystemBuilderApi
  45. type RedMapLink[-T1, +T2] = core.components.RedMapLink[T1, T2]

    Permalink
    Definition Classes
    ComponentsApi
  46. implicit class RichComponent[T] extends AnyRef

    Permalink
    Definition Classes
    StaticSystemApi
  47. implicit class RichDynamicSystem extends AnyRef

    Permalink
    Definition Classes
    RuntimeSystemApi
  48. implicit class RichRuntimeSystem extends AnyRef

    Permalink
    Definition Classes
    SignalProcessingApi0
  49. implicit class RichRuntimeType[T] extends AnyRef

    Permalink

    Extension methods for any type convertible to StaticSystem.

    Extension methods for any type convertible to StaticSystem. Scalac substitutes identity function for T=StaticSystem.

    Definition Classes
    SystemConvertingApi
  50. implicit class RichSignalList extends AnyRef

    Permalink
    Definition Classes
    SignalsApi
  51. implicit class RichSimpleSignalProcessor extends AnyRef

    Permalink
    Definition Classes
    TrellisApi
  52. implicit class RichStaticSystemType[T] extends AnyRef

    Permalink

    Enriches arbitrary type with implicit converter to StaticSystem.

    Enriches arbitrary type with implicit converter to StaticSystem. Adds a few useful methods.

    Definition Classes
    StaticSystemApi
  53. implicit class RichTotalTrellisProducer extends AnyRef

    Permalink
    Definition Classes
    TrellisApi
  54. sealed trait RuntimeComponent extends Named

    Permalink

    A runtime component that should be processed with pattern matching.

    A runtime component that should be processed with pattern matching.

    Definition Classes
    RuntimeComponentApi
  55. case class RuntimeComponentFlatMap(name: String, input: RuntimeComponentApi.Contact[_], output: RuntimeComponentApi.Contact[_], f: (RuntimeComponentApi.Signal[_]) ⇒ RuntimeComponentApi.SignalCollection[RuntimeComponentApi.Signal[_]]) extends RuntimeComponentTransparent with Product with Serializable

    Permalink

    The most popular runtime component.

    The most popular runtime component. Transforms a signal into other signals. This component is not only FlatMap link. It can represent almost any stateless part of a system.

    f

    - the actual transformation

    Definition Classes
    RuntimeComponentApi
  56. case class RuntimeComponentMultiState(name: String, stateHandles: List[RuntimeComponentApi.Contact[_]], f: RuntimeComponentApi.TotalTrellisProducer) extends RuntimeComponent with Product with Serializable

    Permalink

    The most general processing element.

    The most general processing element. Can depend on a few states.

    Definition Classes
    RuntimeComponentApi
  57. case class RuntimeComponentStateFlatMap[S](name: String, inputContacts: List[RuntimeComponentApi.Contact[_]], outputContacts: List[RuntimeComponentApi.Contact[_]], stateHandle: RuntimeComponentApi.Contact[S], f: (S, RuntimeComponentApi.Signal[_]) ⇒ (S, RuntimeComponentApi.SignalCollection[RuntimeComponentApi.Signal[_]])) extends RuntimeComponentTransparent with Product with Serializable

    Permalink

    Is very similar to the most generic link — StateFlatMap.

    Is very similar to the most generic link — StateFlatMap. This component refers a single stateHandle.

    Definition Classes
    RuntimeComponentApi
  58. sealed trait RuntimeComponentTransparent extends RuntimeComponent

    Permalink
    Definition Classes
    RuntimeComponentApi
  59. case class RuntimeSystem(name: String, signalProcessors: ContactToSubscribersMap, stopContacts: Set[RuntimeSystemApi.Contact[_]], unhandledExceptionHandler: RuntimeSystemApi.UnhandledProcessingExceptionHandler = defaultUnhandledExceptionHandler) extends Product with Serializable

    Permalink

    A runtime system is a representation of the system that is reorganized by Contacts and is ready for direct processing of TrellisElement.

    A runtime system is a representation of the system that is reorganized by Contacts and is ready for direct processing of TrellisElement.

    Definition Classes
    RuntimeSystemApi
  60. type RuntimeSystemToTotalTrellisProducerConverter = (RuntimeSystem) ⇒ core.runtime.RuntimeSystemApi.TotalTrellisProducer

    Permalink
    Definition Classes
    RuntimeSystemApi
  61. type Signal[T] = core.components.Signal[T]

    Permalink
    Definition Classes
    ComponentsApi
  62. type SignalCollection[+T] = Iterable[T]

    Permalink
    Definition Classes
    ComponentsApi
  63. type SignalDist = core.components.SignalDist

    Permalink
    Definition Classes
    ComponentsApi
  64. trait SignalProcessing0 extends AnyRef

    Permalink

    A generic trait for different signal processing methods.

    A generic trait for different signal processing methods. There are two descendants - a tracking one and a simple one. The tracking signal processor keeps track of what signals were produced during processing. The simple one do not save traces. So it requires less memory for processing.

    Keeping traces can greatly help with debugging. One may see which signals and processors have lead to the result. It may be worth to save trellis to dot file.

    Having a common ancestor for both types of processing is advantageous because there will be no code duplication among processors.

    Definition Classes
    SignalProcessingApi0
  65. trait SignalProcessingSimple extends SignalProcessing0

    Permalink

    SignalProcessing without tracking.

    SignalProcessing without tracking.

    Definition Classes
    SignalProcessingSimpleApi
  66. type SimpleComponentConverter = PartialFunction[core.runtime.SystemConvertingApi.Component, core.runtime.SystemConvertingApi.RuntimeComponent]

    Permalink

    A simple converter is for simple components like links that do not require context description.

    A simple converter is for simple components like links that do not require context description. For complex components use ComponentDescriptor

    Definition Classes
    SystemConvertingApi
  67. type SimpleSignalProcessor = (core.runtime.TrellisApi.Signal[_]) ⇒ core.runtime.TrellisApi.SignalCollection[core.runtime.TrellisApi.Signal[_]]

    Permalink

    The simplest signal processor.

    The simplest signal processor. Corresponds to FlatMap.

    Definition Classes
    TrellisApi
  68. type StateHandle[T] = core.components.StateHandle[T]

    Permalink
    Definition Classes
    ComponentsApi
  69. implicit class StateLinkBuilder2Ops[T1, T2, S] extends AnyRef

    Permalink
    Definition Classes
    SystemBuilderDsl
  70. implicit class StateOps[S] extends AnyRef

    Permalink
    Definition Classes
    SystemBuilderDsl
  71. type StateZipLink[S, -T1, +T2 >: T1] = core.components.StateZipLink[S, T1, T2]

    Permalink
    Definition Classes
    ComponentsApi
  72. type StatefulFlatMapLink[S, -T1, +T2] = core.components.StatefulFlatMapLink[S, T1, T2]

    Permalink
    Definition Classes
    ComponentsApi
  73. type StaticSystem = core.components.StaticSystem

    Permalink
    Definition Classes
    ComponentsApi
  74. type StaticSystemExtensionId[+T] = core.components.StaticSystemExtensionId[T]

    Permalink
    Definition Classes
    ComponentsApi
  75. implicit class StaticSystemIndexed extends AnyRef

    Permalink
    Definition Classes
    ContactsIndexExt
  76. implicit class StaticSystemWithUnhandledExceptionHandler extends AnyRef

    Permalink
    Definition Classes
    ExceptionHandlingExt
  77. implicit class StyleableContact[T] extends AnyRef

    Permalink
    Definition Classes
    ContactStyleExt
  78. case class SubsystemDirectSignal[T](subsystemName: String, signal: SignalsApi.Signal[T]) extends SubsystemDirectSignal0 with Product with Serializable

    Permalink

    An encapsulation of the signal that targets a subsystem's internal contact.

    An encapsulation of the signal that targets a subsystem's internal contact.

    Definition Classes
    SignalsApi
  79. sealed trait SubsystemDirectSignal0 extends AnyRef

    Permalink
    Definition Classes
    SignalsApi
  80. case class SubsystemDirectSignalDist(subsystemName: String, signal: SignalsApi.SignalDist) extends SubsystemDirectSignal0 with Product with Serializable

    Permalink
    Definition Classes
    SignalsApi
  81. class SwitcherBuilder[T] extends AnyRef

    Permalink
    Definition Classes
    SwitcherDsl
  82. implicit class SwitcherContactOps[T] extends AnyRef

    Permalink
    Definition Classes
    SwitcherDsl
  83. trait SystemBuilder extends OuterInterfaceBuilder with WithStaticSystem

    Permalink

    DSL for constructing systems.

    DSL for constructing systems.

    This builder supports step-by-step creation of contact system. At the end one must convert it to StaticSystem.

    The builder supports the notion of extensions (much like akka actor system extensions). When we need to store additional information during system construction, we may request an extention instance from the builder. The builder creates the singleton instance if it is not available yet and returns it.

    The builder is used in BaseTypedSystem as a DSL for system's construction.

    Definition Classes
    SystemBuilderApi
  84. class SystemBuilderC extends SystemBuilder

    Permalink
    Definition Classes
    SystemBuilderApi
  85. trait SystemBuilderExtension extends AnyRef

    Permalink

    An extension that adds some additional state to SystemBuilder.

    An extension that adds some additional state to SystemBuilder. It also has an opportunity to adjust the generated StaticSystem via hook #postProcess

    Definition Classes
    SystemBuilderApi
  86. final class SystemBuilderExtensionId[T <: SystemBuilderExtension] extends AnyRef

    Permalink

    ExtensionId for a system builder.

    ExtensionId for a system builder. Every extension can be installed only once on the same SystemBuilder. An instance of the extension is created by the extend method.

    Definition Classes
    SystemBuilderApi
  87. trait SystemImplementation[T] extends AnyRef

    Permalink

    Implements a system of type T.

    Implements a system of type T. Uses external SystemBuilder instance to define internal System's structure.

    Definition Classes
    BaseTypedSystemDsl
  88. type SystemPath = List[String]

    Permalink
    Definition Classes
    ComponentNavigationApi
  89. type SystemPathReversed = List[String]

    Permalink

    The system path that is reversed.

    The system path that is reversed. One can convert to SystemPath with .reverse

    Definition Classes
    ComponentNavigationApi
  90. trait SystemRenderer extends AnyRef

    Permalink
    Definition Classes
    SystemRendererApi
  91. type TotalTrellisProducer = (Context, core.runtime.TrellisApi.Signal[_]) ⇒ TrellisElement

    Permalink

    A function that takes a single signal on input and returns the last trellis element.

    A function that takes a single signal on input and returns the last trellis element. This producer does not store managed state in it.

    Definition Classes
    TrellisApi
  92. case class Trace(signalsReversed: List[RuntimeComponentApi.Signal[_]], processorsReversed: List[RuntimeComponent] = Nil) extends Product with Serializable

    Permalink

    The trace of a signal towards the original one.

    The trace of a signal towards the original one. This class is intended for debug purposes. It can also be used in pattern matching and back tracking algorithm.

    signalsReversed

    a list of signals starting from the last produced one and collecting the signals that have lead to the production of the last signal.

    processorsReversed

    a list of processors that have worked for the production of the current signal. The length of the processors list is usually by one shorter than the length of the signals. However if it is a "lost trace" (the one that didn't produce output), then the last processor is added but the signal is not added. Thus the lengths are the same.

    Definition Classes
    RuntimeComponentApi
  93. type TrellisElement = (Context, core.runtime.TrellisApi.SignalCollection[core.runtime.TrellisApi.Signal[_]])

    Permalink

    A snapshot of a running system at some discrete time moment.

    A snapshot of a running system at some discrete time moment.

    Definition Classes
    TrellisApi
  94. type TrellisProducer = (TrellisElement) ⇒ TrellisElement

    Permalink

    A function that makes single step (or a few steps) over time.

    A function that makes single step (or a few steps) over time.

    Definition Classes
    TrellisApi
  95. implicit class TryContactOps[T] extends AnyRef

    Permalink
    Definition Classes
    TryDsl
  96. implicit class TryFlatMapContactOps[T] extends AnyRef

    Permalink
    Definition Classes
    TryDsl
  97. implicit class TryLinkBuilderOps[T1, T2] extends AnyRef

    Permalink
    Definition Classes
    TryDsl
  98. case class TypedSystem[T](outer: T, staticSystem: BaseTypedSystemDsl.StaticSystem) extends WithStaticSystem with Product with Serializable

    Permalink

    Definition Classes
    BaseTypedSystemDsl
  99. trait TypedSystemConstructor[T] extends (T) ⇒ StaticSystem

    Permalink

    Another way for system's construction is to define inputs and outputs in a separate class/trait and then enumerate them in system builder: sb.inputs(in1, in2, in3) and sb.outputs(out1, out2)

    Another way for system's construction is to define inputs and outputs in a separate class/trait and then enumerate them in system builder: sb.inputs(in1, in2, in3) and sb.outputs(out1, out2)

    class MySystemsInterface { val in1 = new Contact[String]("in1") val in2 = new Contact[String]("in2") val out1 = new Contact[String]("out1") }

    implicit object MySystemImplementation extends TypedSystemConstructor[T] { def apply(outer:T):StaticSystem = {

    } }

    Definition Classes
    BaseTypedSystemDsl
  100. type UnhandledProcessingExceptionHandler = (Throwable, String, core.ext.ExceptionHandlingExt.Signal[_], core.ext.ExceptionHandlingExt.Context) ⇒ core.ext.ExceptionHandlingExt.Context

    Permalink

    The type of a handler that will handle exceptions during signal processing.

    The type of a handler that will handle exceptions during signal processing. If the exception is recoverable, then the handler should provide a new Context for further processing. If not recoverable - throw some exception (or rethrow the original one).

    Definition Classes
    ExceptionHandlingExt
  101. type WithStaticSystem = core.components.WithStaticSystem

    Permalink
    Definition Classes
    ComponentsApi
  102. implicit class WritableString extends AnyRef

    Permalink
    Definition Classes
    FilesApi
  103. implicit class ZippingLinkOps[S, T] extends AnyRef

    Permalink
    Definition Classes
    SystemBuilderDsl

Abstract Value Members

  1. abstract val signalProcessing: SignalProcessing0

    Permalink
    Definition Classes
    SignalProcessingApi0

Concrete Value Members

  1. implicit val AuxContactNumberingExtId: core.ext.AuxNumberingExt.SystemBuilderExtensionId[AuxContactNumberingExt]

    Permalink
    Definition Classes
    AuxNumberingExt
  2. object AuxiliaryContact extends ContactStyle with Product with Serializable

    Permalink
    Definition Classes
    AuxNumberingExt
  3. val Contact: core.components.Contact.type

    Permalink
    Definition Classes
    ComponentsApi
  4. implicit val ContactStyleExtId: core.ext.ContactStyleExt.SystemBuilderExtensionId[ContactStyleExtension]

    Permalink
    Definition Classes
    ContactStyleExt
  5. implicit object ContactStyleStaticExtId extends StaticSystemExtensionId[ContactStyleStaticExtension]

    Permalink
    Definition Classes
    ContactStyleExt
  6. implicit object ContactsIndexExtensionId extends StaticSystemExtensionId[ContactsIndex]

    Permalink
    Definition Classes
    ContactsIndexExt
  7. object DevNullContact extends ContactStyle with Product with Serializable

    Permalink
    Definition Classes
    DevNullExt
  8. implicit val DevNullExtId: core.ext.DevNullExt.SystemBuilderExtensionId[DevNullExtension]

    Permalink
    Definition Classes
    DevNullExt
  9. val FlatMapLink: core.components.FlatMapLink.type

    Permalink
    Definition Classes
    ComponentsApi
  10. implicit val LabellingExtId: core.ext.NextLabelExt.SystemBuilderExtensionId[LabellingExt]

    Permalink
    Definition Classes
    NextLabelExt
  11. val Link: core.components.Link.type

    Permalink
    Definition Classes
    ComponentsApi
  12. val NopLink: core.components.NopLink.type

    Permalink
    Definition Classes
    ComponentsApi
  13. object NormalContact extends ContactStyle with Product with Serializable

    Permalink

    Default style for contact.

    Default style for contact.

    Definition Classes
    ContactStyleExt
  14. val RedMapLink: core.components.RedMapLink.type

    Permalink
    Definition Classes
    ComponentsApi
  15. val Signal: core.components.Signal.type

    Permalink
    Definition Classes
    ComponentsApi
  16. val SignalCollection: Iterable.type

    Permalink
    Definition Classes
    ComponentsApi
  17. val SignalDist: core.components.SignalDist.type

    Permalink
    Definition Classes
    ComponentsApi
  18. object SignalProcessingSimple extends SignalProcessingSimple

    Permalink
    Definition Classes
    SignalProcessingSimpleApi
  19. object SimpleOuterInterfaceBuilder extends OuterInterfaceBuilder

    Permalink
    Definition Classes
    EncapsulationApi
  20. val StateHandle: core.components.StateHandle.type

    Permalink
    Definition Classes
    ComponentsApi
  21. val StateZipLink: core.components.StateZipLink.type

    Permalink
    Definition Classes
    ComponentsApi
  22. val StatefulFlatMapLink: core.components.StatefulFlatMapLink.type

    Permalink
    Definition Classes
    ComponentsApi
  23. val StaticSystem: core.components.StaticSystem.type

    Permalink
    Definition Classes
    ComponentsApi
  24. object SubsystemDirectSignal0

    Permalink
    Definition Classes
    SignalsApi
  25. object SubsystemSpecialAnswerContact extends Contact[SubsystemDirectSignal0]

    Permalink

    This contact is used to process answers of internal system.

    This contact is used to process answers of internal system.

    Definition Classes
    SignalsApi
  26. object SubsystemSpecialContact extends Contact[SubsystemDirectSignal0]

    Permalink

    This contact is used to process signals of internal system.

    This contact is used to process signals of internal system.

    In asynchronous execution the resulting signal should come at the same level of "call stack". However as far as we usually get the signal asynchronously it is processed at top level. So in order to run it in inside the subsystem, we package asynchronous result into Signal(SubsystemSpecialContact, SubsystemDirectSignal( name, actual resulting signal))

    Definition Classes
    SignalsApi
  27. object SystemConverting

    Permalink

    A lot of complex logic.

    A lot of complex logic.

    Definition Classes
    SystemConvertingApi
  28. object SystemRenderer extends SystemRenderer with (StaticSystem) ⇒ String

    Permalink
    Definition Classes
    SystemRendererApi
  29. object TrellisContact extends Contact[SignalCollection[Signal[_]]]

    Permalink

    This contact is used to enable special simultaneous processing of signals.

    This contact is used to enable special simultaneous processing of signals. For instance the contact can be used for debug purposes.

    Definition Classes
    RuntimeSystemApi
  30. implicit object UnhandledExceptionHandlerExtensionId extends StaticSystemExtensionId[UnhandledProcessingExceptionHandler]

    Permalink
    Definition Classes
    ExceptionHandlingExt
  31. val WithStaticSystem: core.components.WithStaticSystem.type

    Permalink
    Definition Classes
    ComponentsApi
  32. def auxContact[T](implicit sb: core.ext.AuxNumberingExt.SystemBuilder): core.ext.AuxNumberingExt.Contact[T]

    Permalink
    Definition Classes
    AuxNumberingExt
  33. def collectSubsystems(system: core.subsystems.StaticSystemApi.StaticSystem): List[(String, core.subsystems.StaticSystemApi.StaticSystem)]

    Permalink

    Recursively finds all subsystems of the system.

    Recursively finds all subsystems of the system. The system is the first element of the result with path = ".$systemName".

    Definition Classes
    StaticSystemApi
  34. def collector[T, TTrigger](name: String, trigger: core.dsl.AccumulationDsl.Contact[TTrigger])(implicit sb: core.dsl.AccumulationDsl.SystemBuilder): (core.dsl.AccumulationDsl.Contact[T], core.dsl.AccumulationDsl.Contact[List[T]])

    Permalink

    Collects all inputs until some other contact not issue control command to pass through all collected data.

    Collects all inputs until some other contact not issue control command to pass through all collected data.

    Definition Classes
    AccumulationDsl
  35. package components

    Permalink
  36. def connect[T1, T2 >: T1](c1: core.dsl.SystemBuilderDsl.Contact[T1], c2: core.dsl.SystemBuilderDsl.Contact[T2], name: String = "")(implicit sb: core.dsl.SystemBuilderDsl.SystemBuilder): core.dsl.SystemBuilderDsl.Contact[T2]

    Permalink
    Definition Classes
    SystemBuilderDsl
  37. def contact[T](name: String): core.components.Contact[T]

    Permalink

    Create a contact with the given name.

    Create a contact with the given name.

    Definition Classes
    ContactsDsl
  38. def createTypedSystem[T](name: String)(implicit outerBuilder: (core.subsystems.BaseTypedSystemDsl.OuterInterfaceBuilder) ⇒ T, systemImplementation: SystemImplementation[T]): TypedSystem[T]

    Permalink
    Definition Classes
    BaseTypedSystemDsl
  39. def debug(msg: ⇒ String): Unit

    Permalink

    To enable debug information one may override #debug that is called within processing algorithms.

    To enable debug information one may override #debug that is called within processing algorithms.

    Attributes
    protected
    Definition Classes
    SystemConvertingApi
  40. val defaultUnhandledExceptionHandler: UnhandledProcessingExceptionHandler

    Permalink
    Definition Classes
    ExceptionHandlingExt
  41. def defineEncapsulation[Outer](en: EncapsulationBuilder[Outer])(implicit sb: core.subsystems.EncapsulationApi.SystemBuilder): Outer

    Permalink

    Usage: class OuterInterface(b:OuterInterfaceBuilder){ def in1 = b.input[Int]("in1") def out1 = b.output[Int]("out1") } class OuterImplementation(name:String) extends EncapsulationBuilder(name)(new OuterInterface){ in1 >> out1 } defineEncapsulation(new OuterImplementation("mySystem1"))

    Usage: class OuterInterface(b:OuterInterfaceBuilder){ def in1 = b.input[Int]("in1") def out1 = b.output[Int]("out1") } class OuterImplementation(name:String) extends EncapsulationBuilder(name)(new OuterInterface){ in1 >> out1 } defineEncapsulation(new OuterImplementation("mySystem1"))

    Definition Classes
    EncapsulationApi
  42. def devNull(implicit sb: core.ext.DevNullExt.SystemBuilder): core.ext.DevNullExt.Contact[Any]

    Permalink

    Special contact for consuming unnecessary data values.

    Special contact for consuming unnecessary data values. It is often used as a sink contact in foreach and exec commands.

    Definition Classes
    DevNullExt
  43. def done[T1, T2](result: Seq[T2]): Continuation[T1, T2]

    Permalink

    Go into the final state

    Go into the final state

    Definition Classes
    ContinuationDsl
  44. def doneFinal[T1, T2]: Continuation[T1, T2]

    Permalink

    Done with empty results.

    Done with empty results.

    Definition Classes
    ContinuationDsl
  45. package dot

    Permalink
  46. package dsl

    Permalink
  47. implicit def enrichConverter(cvt: SimpleComponentConverter): ComponentDescriptorConverter

    Permalink

    Converts one partial function to another.

    Converts one partial function to another.

    Definition Classes
    SystemConvertingApi
  48. package ext

    Permalink
  49. def extension[T <: SystemBuilderExtension](implicit sb: SystemBuilder, extensionInstance: SystemBuilderExtensionId[T]): T

    Permalink

    Usage: extension[LabellingExt].methodInExtension

    Usage: extension[LabellingExt].methodInExtension

    Definition Classes
    SystemBuilderApi
  50. implicit def filenameToFile(filename: String): File

    Permalink
    Definition Classes
    FilesApi
  51. implicit def implicitExtendBasicSystemBuilder[T <: SystemBuilderExtension](sb: SystemBuilder)(implicit extensionInstanceId: SystemBuilderExtensionId[T]): T

    Permalink

    Automatic usage of extensions when an implicit extension id is present in the scope.

    Automatic usage of extensions when an implicit extension id is present in the scope.

    Definition Classes
    SystemBuilderApi
  52. val linkToRuntimeComponent: PartialFunction[core.runtime.RuntimeComponentApi.Component, RuntimeComponent]

    Permalink
    Definition Classes
    RuntimeComponentApi
  53. implicit def managedRichState[S](ms: ManagedStateSnippet[S])(implicit sb: core.dsl.ManagedStatesDsl.SystemBuilder): ManagedRichState[S]

    Permalink
    Definition Classes
    ManagedStatesDsl
  54. def managedState[S](name: String, initialValue: Option[S] = None)(implicit sb: core.dsl.ManagedStatesDsl.SystemBuilder): ManagedStateSnippet[S]

    Permalink
    Definition Classes
    ManagedStatesDsl
  55. def mappedInput[T, T2 >: T](c1: core.dsl.SystemBuilderDsl.Contact[T], c2: core.dsl.SystemBuilderDsl.Contact[T2])(implicit sb: core.dsl.SystemBuilderDsl.SystemBuilder): core.dsl.SystemBuilderDsl.Contact[T2]

    Permalink

    Declares the first contact as input and creates link to the second

    Declares the first contact as input and creates link to the second

    Definition Classes
    SystemBuilderDsl
  56. def mappedOutput[T, T2 >: T](c1: core.dsl.SystemBuilderDsl.Contact[T], c2: core.dsl.SystemBuilderDsl.Contact[T2])(implicit sb: core.dsl.SystemBuilderDsl.SystemBuilder): core.dsl.SystemBuilderDsl.Contact[T]

    Permalink

    Declares the second contact as output and creates link from the first.

    Declares the second contact as output and creates link from the first. NB! Returns inner contact c1.

    Definition Classes
    SystemBuilderDsl
  57. def next[T1, T2](body: FCont[T1, T2]): Continuation[T1, T2]

    Permalink

    Returns some piece of code to run next time the data is passing via the link

    Returns some piece of code to run next time the data is passing via the link

    Definition Classes
    ContinuationDsl
  58. def nextAndPass[T1, T2](body: FCont[T1, T2], intermediateResult: Seq[T2]): Continuation[T1, T2]

    Permalink

    returns both the piece of code to run next time and the data to return this time.

    returns both the piece of code to run next time and the data to return this time.

    Definition Classes
    ContinuationDsl
  59. def orphanContactsRec(system: core.subsystems.StaticSystemApi.StaticSystem): List[(String, Set[core.subsystems.StaticSystemApi.Contact[_]])]

    Permalink

    Recursively finds unconnected contacts within the subsystems of the system.

    Recursively finds unconnected contacts within the subsystems of the system.

    Definition Classes
    StaticSystemApi
  60. implicit def pairToSignal[T](p: (core.components.SignalsApi.Contact[T], T)): core.components.SignalsApi.Signal[T]

    Permalink

    One may use notation (contact -> data) to represent a signal

    One may use notation (contact -> data) to represent a signal

    Definition Classes
    SignalsApi
  61. def passAndNext[T1, T2](intermediateResult: Seq[T2])(body: FCont[T1, T2]): Continuation[T1, T2]

    Permalink

    returns both the piece of code to run next time and the data to return this time.

    returns both the piece of code to run next time and the data to return this time.

    The same as nextAndPass but with different order of arguments.

    Definition Classes
    ContinuationDsl
  62. val rethrowUnhandledExceptionHandler: UnhandledProcessingExceptionHandler

    Permalink
    Definition Classes
    ExceptionHandlingExt
  63. package runtime

    Permalink
  64. implicit def sbToAux(sb: core.ext.AuxNumberingExt.SystemBuilder): AuxContactNumberingExt

    Permalink
    Definition Classes
    AuxNumberingExt
  65. implicit def sbToLabelling(sb: core.ext.NextLabelExt.SystemBuilder): LabellingExt

    Permalink
    Definition Classes
    NextLabelExt
  66. def setSystemName(name: String)(implicit sb: SystemBuilder): Unit

    Permalink
    Definition Classes
    SystemBuilderApi
  67. def state[T](name: String, s0: T)(implicit sb: SystemBuilder): core.ext.SystemBuilderApi.StateHandle[T]

    Permalink
    Definition Classes
    SystemBuilderApi
  68. def subcomponents(component: core.subsystems.ComponentNavigationApi.Component): List[(SystemPathReversed, core.subsystems.ComponentNavigationApi.Component)]

    Permalink

    Recursively finds all components that have inner structure.

    Recursively finds all components that have inner structure. if the component is Named then it's name is added to the path. Otherwise an empty string is added.

    Definition Classes
    ComponentNavigationApi
  69. package subsystems

    Permalink
  70. def systemBuilderTyped(name: String)(_inputs: core.subsystems.BaseTypedSystemDsl.Contact[_]*)(_outputs: core.subsystems.BaseTypedSystemDsl.Contact[_]*): core.subsystems.BaseTypedSystemDsl.SystemBuilder

    Permalink

    A system builder with inputs and outputs given in advance.

    A system builder with inputs and outputs given in advance.

    Definition Classes
    BaseTypedSystemDsl

Inherited from SwitcherDsl

Inherited from BaseTypedSystemApi

Inherited from SystemConvertingApi

Inherited from AutomataDsl

Inherited from ManagedStatesDsl

Inherited from AccumulationDsl

Inherited from ContinuationDsl

Inherited from EncapsulationApi

Inherited from FilesApi

Inherited from ComponentNavigationApi

Inherited from SignalProcessingDsl

Inherited from SignalProcessingSimpleApi

Inherited from SignalProcessingApi0

Inherited from RuntimeSystemApi

Inherited from ContactsIndexExt

Inherited from RuntimeComponentApi

Inherited from StaticSystemApi

Inherited from BaseTypedSystemDsl

Inherited from SystemRendererApi

Inherited from TryDsl

Inherited from SystemBuilderDsl

Inherited from DevNullExt

Inherited from AuxNumberingExt

Inherited from ContactStyleExt

Inherited from NextLabelExt

Inherited from SystemBuilderApi

Inherited from ExceptionHandlingExt

Inherited from TrellisApi

Inherited from SignalsApi

Inherited from ContactsDsl

Inherited from ComponentsApi

Inherited from AnyRef

Inherited from Any

Ungrouped