Packages

package core

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. type Component = core.components.Component
    Definition Classes
    ComponentsApi
  2. type ComponentDescriptorConverter = PartialFunction[ComponentDescriptor, RuntimeComponent]

    ComponentDescriptorConverter is for complex components with internal structure.

    ComponentDescriptorConverter is for complex components with internal structure.

    Definition Classes
    SystemConvertingApi
  3. type ComponentWithInternalStructure = core.components.ComponentWithInternalStructure
    Definition Classes
    ComponentsApi
  4. type Contact[T] = core.components.Contact[T]
    Definition Classes
    ComponentsApi
  5. type ContactToSubscribersMap = Map[Contact[_], List[RuntimeComponent]]

    A dictionary of handlers for signals that appear on contacts.

    A dictionary of handlers for signals that appear on contacts.

    Definition Classes
    RuntimeSystemApi
  6. type Context = Map[Contact[_], _]

    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
  7. type FCont[T1, T2] = (T1) ⇒ Continuation[T1, T2]
    Definition Classes
    ContinuationDsl
  8. type FlatMapLink[-T1, +T2] = core.components.FlatMapLink[T1, T2]
    Definition Classes
    ComponentsApi
  9. type Link[T1, T2, -TL1 >: T1, +TL2 <: T2] = core.components.Link[T1, T2, TL1, TL2]
    Definition Classes
    ComponentsApi
  10. type LinkInfo[-T1, +T2] = core.components.LinkInfo[T1, T2]
    Definition Classes
    ComponentsApi
  11. type Named = core.components.Named
    Definition Classes
    ComponentsApi
  12. type NopLink[-T1, +T2 >: T1] = core.components.NopLink[T1, T2]
    Definition Classes
    ComponentsApi
  13. type RedMapLink[-T1, +T2] = core.components.RedMapLink[T1, T2]
    Definition Classes
    ComponentsApi
  14. type RuntimeSystemToTotalTrellisProducerConverter = (RuntimeSystem) ⇒ TotalTrellisProducer
    Definition Classes
    RuntimeSystemApi
  15. type Signal[T] = core.components.Signal[T]
    Definition Classes
    ComponentsApi
  16. type SignalCollection[+T] = Iterable[T]
    Definition Classes
    ComponentsApi
  17. type SignalDist = core.components.SignalDist
    Definition Classes
    ComponentsApi
  18. type SimpleComponentConverter = PartialFunction[Component, RuntimeComponent]

    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
  19. type SimpleSignalProcessor = (Signal[_]) ⇒ SignalCollection[Signal[_]]

    The simplest signal processor.

    The simplest signal processor. Corresponds to FlatMap.

    Definition Classes
    TrellisApi
  20. type StateHandle[T] = core.components.StateHandle[T]
    Definition Classes
    ComponentsApi
  21. type StateZipLink[S, -T1, +T2 >: T1] = core.components.StateZipLink[S, T1, T2]
    Definition Classes
    ComponentsApi
  22. type StatefulFlatMapLink[S, -T1, +T2] = core.components.StatefulFlatMapLink[S, T1, T2]
    Definition Classes
    ComponentsApi
  23. type StaticSystem = core.components.StaticSystem
    Definition Classes
    ComponentsApi
  24. type StaticSystemExtensionId[+T] = core.components.StaticSystemExtensionId[T]
    Definition Classes
    ComponentsApi
  25. type SystemPath = List[String]
    Definition Classes
    ComponentNavigationApi
  26. type SystemPathReversed = List[String]

    The system path that is reversed.

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

    Definition Classes
    ComponentNavigationApi
  27. type TotalTrellisProducer = (Context, Signal[_]) ⇒ TrellisElement

    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
  28. type TrellisElement = (Context, SignalCollection[Signal[_]])

    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
  29. type TrellisProducer = (TrellisElement) ⇒ TrellisElement

    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
  30. type UnhandledProcessingExceptionHandler = (Throwable, String, Signal[_], Context) ⇒ Context

    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
  31. type WithStaticSystem = core.components.WithStaticSystem
    Definition Classes
    ComponentsApi
  32. implicit class ContactExtractor [T] extends AnyRef

    Extractor of contacts' data from result.

    Extractor of contacts' data from result.

    Definition Classes
    SignalsApi
  33. implicit class RichSignalList extends AnyRef
    Definition Classes
    SignalsApi
  34. case class SubsystemDirectSignal [T](subsystemName: String, signal: SignalsApi.Signal[T]) extends SubsystemDirectSignal0 with Product with Serializable

    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
  35. sealed trait SubsystemDirectSignal0 extends AnyRef
    Definition Classes
    SignalsApi
  36. case class SubsystemDirectSignalDist (subsystemName: String, signal: SignalsApi.SignalDist) extends SubsystemDirectSignal0 with Product with Serializable
    Definition Classes
    SignalsApi
  37. implicit class WritableString extends AnyRef
    Definition Classes
    FilesApi
  38. trait SystemRenderer extends AnyRef
    Definition Classes
    SystemRendererApi
  39. implicit class CollectingContact [T] extends AnyRef
    Definition Classes
    AccumulationDsl
  40. class AutomataBuilder [State] extends AnyRef

    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
  41. implicit class ImplContLinkBuilder [T1, T2] extends AnyRef
    Definition Classes
    ContinuationDsl
  42. implicit class ManagedRichContact [T] extends AnyRef
    Definition Classes
    ManagedStatesDsl
  43. class ManagedRichState [S] extends AnyRef
    Definition Classes
    ManagedStatesDsl
  44. class ManagedStateSnippet [S] extends AnyRef
    Definition Classes
    ManagedStatesDsl
  45. class SwitcherBuilder [T] extends AnyRef
    Definition Classes
    SwitcherDsl
  46. implicit class SwitcherContactOps [T] extends AnyRef
    Definition Classes
    SwitcherDsl
  47. implicit class ContactOps [T] extends AnyRef

    New methods available on contacts that construct links.

    New methods available on contacts that construct links.

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

    Miscellaneous operations with prefixed data.

    Miscellaneous operations with prefixed data.

    Definition Classes
    SystemBuilderDsl
  49. class ContactWithState [T1, S] extends AnyRef
    Definition Classes
    SystemBuilderDsl
  50. implicit class DirectLinkBuilderOps [T1, T2 >: T1] extends AnyRef
    Definition Classes
    SystemBuilderDsl
  51. implicit class LinkBuilderOps [T1, T2] extends AnyRef

    DSL methods for creating links between the two given contacts.

    DSL methods for creating links between the two given contacts.

    Definition Classes
    SystemBuilderDsl
  52. implicit class StateLinkBuilder2Ops [T1, T2, S] extends AnyRef
    Definition Classes
    SystemBuilderDsl
  53. implicit class StateOps [S] extends AnyRef
    Definition Classes
    SystemBuilderDsl
  54. implicit class ZippingLinkOps [S, T] extends AnyRef
    Definition Classes
    SystemBuilderDsl
  55. implicit class ContactTryOps [T] extends AnyRef

    New methods available on contacts that construct links.

    New methods available on contacts that construct links.

    Definition Classes
    TryDsl
  56. implicit class TryContactOps [T] extends AnyRef
    Definition Classes
    TryDsl
  57. implicit class TryFlatMapContactOps [T] extends AnyRef
    Definition Classes
    TryDsl
  58. implicit class TryLinkBuilderOps [T1, T2] extends AnyRef
    Definition Classes
    TryDsl
  59. class AuxContactNumberingExt extends SystemBuilderExtension
    Definition Classes
    AuxNumberingExt
  60. trait ContactStyle extends AnyRef
    Definition Classes
    ContactStyleExt
  61. class ContactStyleExtension extends SystemBuilderExtension
    Definition Classes
    ContactStyleExt
  62. case class ContactStyleStaticExtension (styles: Map[ContactStyleExt.Contact[_], ContactStyle]) extends Product with Serializable
    Definition Classes
    ContactStyleExt
  63. implicit class StyleableContact [T] extends AnyRef
    Definition Classes
    ContactStyleExt
  64. trait ContactsIndex extends AnyRef

    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
  65. case class ContactsIndexImpl (contacts: Seq[ContactsIndexExt.Contact[_]]) extends ContactsIndex with Product with Serializable
    Definition Classes
    ContactsIndexExt
  66. implicit class StaticSystemIndexed extends AnyRef
    Definition Classes
    ContactsIndexExt
  67. class DevNullExtension extends SystemBuilderExtension
    Definition Classes
    DevNullExt
  68. implicit class StaticSystemWithUnhandledExceptionHandler extends AnyRef
    Definition Classes
    ExceptionHandlingExt
  69. class LabellingExt extends SystemBuilderExtension

    An extension that adds easy labelling to System builder.

    An extension that adds easy labelling to System builder.

    Definition Classes
    NextLabelExt
  70. trait OuterInterfaceBuilder extends AnyRef

    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
  71. trait SystemBuilder extends OuterInterfaceBuilder with WithStaticSystem

    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
  72. class SystemBuilderC extends SystemBuilder
    Definition Classes
    SystemBuilderApi
  73. trait SystemBuilderExtension extends AnyRef

    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
  74. final class SystemBuilderExtensionId [T <: SystemBuilderExtension] extends AnyRef

    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
  75. sealed trait RuntimeComponent extends Named

    A runtime component that should be processed with pattern matching.

    A runtime component that should be processed with pattern matching.

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

    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
  77. case class RuntimeComponentMultiState (name: String, stateHandles: List[RuntimeComponentApi.Contact[_]], f: RuntimeComponentApi.TotalTrellisProducer) extends RuntimeComponent with Product with Serializable

    The most general processing element.

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

    Definition Classes
    RuntimeComponentApi
  78. 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

    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
  79. sealed trait RuntimeComponentTransparent extends RuntimeComponent
    Definition Classes
    RuntimeComponentApi
  80. case class Trace (signalsReversed: List[RuntimeComponentApi.Signal[_]], processorsReversed: List[RuntimeComponent] = Nil) extends Product with Serializable

    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
  81. 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

    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
  82. class DynamicSystemBuffered extends AnyRef

    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
  83. implicit class RichDynamicSystem extends AnyRef
    Definition Classes
    RuntimeSystemApi
  84. case class RuntimeSystem (name: String, signalProcessors: ContactToSubscribersMap, stopContacts: Set[RuntimeSystemApi.Contact[_]], unhandledExceptionHandler: RuntimeSystemApi.UnhandledProcessingExceptionHandler = defaultUnhandledExceptionHandler) extends Product with Serializable

    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
  85. implicit class RichRuntimeSystem extends AnyRef
    Definition Classes
    SignalProcessingApi0
  86. trait SignalProcessing0 extends AnyRef

    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
  87. trait SignalProcessingSimple extends SignalProcessing0

    SignalProcessing without tracking.

    SignalProcessing without tracking.

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

    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
  89. class ComponentDescriptorConverterProxy extends ComponentDescriptorConverter

    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
  90. class MutableComponentConverterBuilder extends AnyRef

    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
  91. implicit class RichRuntimeType [T] extends AnyRef

    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
  92. implicit class RichSimpleSignalProcessor extends AnyRef
    Definition Classes
    TrellisApi
  93. implicit class RichTotalTrellisProducer extends AnyRef
    Definition Classes
    TrellisApi
  94. abstract class AbstractTypedSystem extends AnyRef
    Definition Classes
    BaseTypedSystemApi
  95. abstract class BaseTypedSystem extends WithStaticSystem

    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
  96. trait SystemImplementation [T] extends AnyRef

    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
  97. case class TypedSystem [T](outer: T, staticSystem: BaseTypedSystemDsl.StaticSystem) extends WithStaticSystem with Product with Serializable

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

    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
  99. class EmbeddedOuterInterfaceBuilder extends OuterInterfaceBuilder
    Definition Classes
    EncapsulationApi
  100. abstract class EncapsulationBuilder [Outer] extends AnyRef

    Usage: see defineEncapsulation

    Usage: see defineEncapsulation

    Definition Classes
    EncapsulationApi
  101. implicit class OrphanContactsAnalysis extends AnyRef

    Some additional information about the system.

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

    Definition Classes
    StaticSystemApi
  102. implicit class RichComponent [T] extends AnyRef
    Definition Classes
    StaticSystemApi
  103. implicit class RichStaticSystemType [T] extends AnyRef

    Enriches arbitrary type with implicit converter to StaticSystem.

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

    Definition Classes
    StaticSystemApi

Abstract Value Members

  1. abstract val signalProcessing: SignalProcessing0
    Definition Classes
    SignalProcessingApi0

Concrete Value Members

  1. implicit val AuxContactNumberingExtId: SystemBuilderExtensionId[AuxContactNumberingExt]
    Definition Classes
    AuxNumberingExt
  2. val Contact: core.components.Contact.type
    Definition Classes
    ComponentsApi
  3. implicit val ContactStyleExtId: SystemBuilderExtensionId[ContactStyleExtension]
    Definition Classes
    ContactStyleExt
  4. implicit val DevNullExtId: SystemBuilderExtensionId[DevNullExtension]
    Definition Classes
    DevNullExt
  5. val FlatMapLink: core.components.FlatMapLink.type
    Definition Classes
    ComponentsApi
  6. implicit val LabellingExtId: SystemBuilderExtensionId[LabellingExt]
    Definition Classes
    NextLabelExt
  7. val Link: core.components.Link.type
    Definition Classes
    ComponentsApi
  8. val NopLink: core.components.NopLink.type
    Definition Classes
    ComponentsApi
  9. val RedMapLink: core.components.RedMapLink.type
    Definition Classes
    ComponentsApi
  10. val Signal: core.components.Signal.type
    Definition Classes
    ComponentsApi
  11. val SignalCollection: Iterable.type
    Definition Classes
    ComponentsApi
  12. val SignalDist: core.components.SignalDist.type
    Definition Classes
    ComponentsApi
  13. val StateHandle: core.components.StateHandle.type
    Definition Classes
    ComponentsApi
  14. val StateZipLink: core.components.StateZipLink.type
    Definition Classes
    ComponentsApi
  15. val StatefulFlatMapLink: core.components.StatefulFlatMapLink.type
    Definition Classes
    ComponentsApi
  16. val StaticSystem: core.components.StaticSystem.type
    Definition Classes
    ComponentsApi
  17. val WithStaticSystem: core.components.WithStaticSystem.type
    Definition Classes
    ComponentsApi
  18. def auxContact[T](implicit sb: SystemBuilder): Contact[T]
    Definition Classes
    AuxNumberingExt
  19. def collectSubsystems(system: StaticSystem): List[(String, StaticSystem)]

    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
  20. def collector[T, TTrigger](name: String, trigger: Contact[TTrigger])(implicit sb: SystemBuilder): (Contact[T], Contact[List[T]])

    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
  21. def connect[T1, T2 >: T1](c1: Contact[T1], c2: Contact[T2], name: String = "")(implicit sb: SystemBuilder): Contact[T2]
    Definition Classes
    SystemBuilderDsl
  22. def contact[T](name: String): core.components.Contact[T]

    Create a contact with the given name.

    Create a contact with the given name.

    Definition Classes
    ContactsDsl
  23. def createTypedSystem[T](name: String)(implicit outerBuilder: (OuterInterfaceBuilder) ⇒ T, systemImplementation: SystemImplementation[T]): TypedSystem[T]
    Definition Classes
    BaseTypedSystemDsl
  24. def debug(msg: ⇒ String): Unit

    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
  25. val defaultUnhandledExceptionHandler: UnhandledProcessingExceptionHandler
    Definition Classes
    ExceptionHandlingExt
  26. def defineEncapsulation[Outer](en: EncapsulationBuilder[Outer])(implicit sb: SystemBuilder): Outer

    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
  27. def devNull(implicit sb: SystemBuilder): Contact[Any]

    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
  28. def done[T1, T2](result: Seq[T2]): Continuation[T1, T2]

    Go into the final state

    Go into the final state

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

    Done with empty results.

    Done with empty results.

    Definition Classes
    ContinuationDsl
  30. implicit def enrichConverter(cvt: SimpleComponentConverter): ComponentDescriptorConverter

    Converts one partial function to another.

    Converts one partial function to another.

    Definition Classes
    SystemConvertingApi
  31. def extension[T <: SystemBuilderExtension](implicit sb: SystemBuilder, extensionInstance: SystemBuilderExtensionId[T]): T

    Usage: extension[LabellingExt].methodInExtension

    Usage: extension[LabellingExt].methodInExtension

    Definition Classes
    SystemBuilderApi
  32. implicit def filenameToFile(filename: String): File
    Definition Classes
    FilesApi
  33. implicit def implicitExtendBasicSystemBuilder[T <: SystemBuilderExtension](sb: SystemBuilder)(implicit extensionInstanceId: SystemBuilderExtensionId[T]): T

    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
  34. val linkToRuntimeComponent: PartialFunction[Component, RuntimeComponent]
    Definition Classes
    RuntimeComponentApi
  35. implicit def managedRichState[S](ms: ManagedStateSnippet[S])(implicit sb: SystemBuilder): ManagedRichState[S]
    Definition Classes
    ManagedStatesDsl
  36. def managedState[S](name: String, initialValue: Option[S] = None)(implicit sb: SystemBuilder): ManagedStateSnippet[S]
    Definition Classes
    ManagedStatesDsl
  37. def mappedInput[T, T2 >: T](c1: Contact[T], c2: Contact[T2])(implicit sb: SystemBuilder): Contact[T2]

    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
  38. def mappedOutput[T, T2 >: T](c1: Contact[T], c2: Contact[T2])(implicit sb: SystemBuilder): Contact[T]

    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
  39. def next[T1, T2](body: FCont[T1, T2]): Continuation[T1, T2]

    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
  40. def nextAndPass[T1, T2](body: FCont[T1, T2], intermediateResult: Seq[T2]): Continuation[T1, T2]

    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
  41. def orphanContactsRec(system: StaticSystem): List[(String, Set[Contact[_]])]

    Recursively finds unconnected contacts within the subsystems of the system.

    Recursively finds unconnected contacts within the subsystems of the system.

    Definition Classes
    StaticSystemApi
  42. implicit def pairToSignal[T](p: (Contact[T], T)): Signal[T]

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

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

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

    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
  44. val rethrowUnhandledExceptionHandler: UnhandledProcessingExceptionHandler
    Definition Classes
    ExceptionHandlingExt
  45. implicit def sbToAux(sb: SystemBuilder): AuxContactNumberingExt
    Definition Classes
    AuxNumberingExt
  46. implicit def sbToLabelling(sb: SystemBuilder): LabellingExt
    Definition Classes
    NextLabelExt
  47. def setSystemName(name: String)(implicit sb: SystemBuilder): Unit
    Definition Classes
    SystemBuilderApi
  48. def state[T](name: String, s0: T)(implicit sb: SystemBuilder): StateHandle[T]
    Definition Classes
    SystemBuilderApi
  49. def subcomponents(component: Component): List[(SystemPathReversed, Component)]

    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
  50. def systemBuilderTyped(name: String)(_inputs: Contact[_]*)(_outputs: Contact[_]*): SystemBuilder

    A system builder with inputs and outputs given in advance.

    A system builder with inputs and outputs given in advance.

    Definition Classes
    BaseTypedSystemDsl
  51. object SubsystemDirectSignal0
    Definition Classes
    SignalsApi
  52. object SubsystemSpecialAnswerContact extends Contact[SubsystemDirectSignal0]

    This contact is used to process answers of internal system.

    This contact is used to process answers of internal system.

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

    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
  54. object SystemRenderer extends SystemRenderer with (StaticSystem) ⇒ String
    Definition Classes
    SystemRendererApi
  55. object AuxiliaryContact extends ContactStyle with Product with Serializable
    Definition Classes
    AuxNumberingExt
  56. implicit object ContactStyleStaticExtId extends StaticSystemExtensionId[ContactStyleStaticExtension]
    Definition Classes
    ContactStyleExt
  57. object NormalContact extends ContactStyle with Product with Serializable

    Default style for contact.

    Default style for contact.

    Definition Classes
    ContactStyleExt
  58. implicit object ContactsIndexExtensionId extends StaticSystemExtensionId[ContactsIndex]
    Definition Classes
    ContactsIndexExt
  59. object DevNullContact extends ContactStyle with Product with Serializable
    Definition Classes
    DevNullExt
  60. implicit object UnhandledExceptionHandlerExtensionId extends StaticSystemExtensionId[UnhandledProcessingExceptionHandler]
    Definition Classes
    ExceptionHandlingExt
  61. object TrellisContact extends Contact[SignalCollection[Signal[_]]]

    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
  62. object SignalProcessingSimple extends SignalProcessingSimple
    Definition Classes
    SignalProcessingSimpleApi
  63. object SystemConverting

    A lot of complex logic.

    A lot of complex logic.

    Definition Classes
    SystemConvertingApi
  64. object SimpleOuterInterfaceBuilder extends OuterInterfaceBuilder
    Definition Classes
    EncapsulationApi

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