Packages

c

com.jafpl.graph

LoopStart

abstract class LoopStart extends ContainerStart

A looping container.

Loops need buffers when they read from steps outside the loop.

In practice, containers are represented by a start and an end.

Linear Supertypes
ContainerStart, Node, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoopStart
  2. ContainerStart
  3. Node
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LoopStart(graph: Graph, end: ContainerEnd, userLabel: Option[String])

    A container in the pipeline graph.

    A container in the pipeline graph.

    graph

    The graph into which this node is to be inserted.

    end

    The end of this container.

    userLabel

    An optional user-defined label.

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. val _staticBindings: HashMap[Binding, Message]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  5. def addAtomic(step: Step, label: Option[String]): Node

    Add a new atomic step to this container.

    Add a new atomic step to this container.

    step

    The step implementation.

    label

    An optional, user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  6. def addAtomic(step: Step, label: String): Node

    Add a new atomic step to this container.

    Add a new atomic step to this container.

    step

    The step implementation.

    label

    A user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  7. def addAtomic(step: Step): Node

    Add a new atomic step to this container.

    Add a new atomic step to this container.

    step

    The step implementation.

    returns

    The node added.

    Definition Classes
    ContainerStart
  8. def addChild(node: Node): Unit
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    ContainerStart
  9. def addChoose(label: Option[String]): ChooseStart

    Add a new choose/when container to this container.

    Add a new choose/when container to this container.

    label

    An optional, user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  10. def addChoose(label: String): ChooseStart

    Add a new choose/when container to this container.

    Add a new choose/when container to this container.

    label

    A user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  11. def addChoose(): ChooseStart

    Add a new choose/when container to this container.

    Add a new choose/when container to this container.

    returns

    The node added.

    Definition Classes
    ContainerStart
  12. def addEmptySource(): EmptySource
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    ContainerStart
  13. def addFor(label: Option[String], countFrom: Long, countTo: Long, countBy: Long, manifold: ManifoldSpecification): LoopForStart

    Add a new for-loop container to this container.

    Add a new for-loop container to this container.

    label

    An optional, user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  14. def addFor(label: String, countFrom: Long, countTo: Long, countBy: Long, manifold: ManifoldSpecification): LoopForStart
    Definition Classes
    ContainerStart
  15. def addFor(countFrom: Long, countTo: Long, countBy: Long, manifold: ManifoldSpecification): LoopForStart
    Definition Classes
    ContainerStart
  16. def addFor(label: String, countFrom: Long, countTo: Long, manifold: ManifoldSpecification): LoopForStart
    Definition Classes
    ContainerStart
  17. def addFor(countFrom: Long, countTo: Long, manifold: ManifoldSpecification): LoopForStart
    Definition Classes
    ContainerStart
  18. def addFor(label: String, countTo: Long, manifold: ManifoldSpecification): LoopForStart

    Add a new for-loop container to this container.

    Add a new for-loop container to this container.

    label

    A user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  19. def addFor(countTo: Long, manifold: ManifoldSpecification): LoopForStart

    Add a new for-loop container to this container.

    Add a new for-loop container to this container.

    returns

    The node added.

    Definition Classes
    ContainerStart
  20. def addForEach(label: Option[String], manifold: ManifoldSpecification): LoopEachStart

    Add a new for-each container to this container.

    Add a new for-each container to this container.

    label

    An optional, user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  21. def addForEach(label: String, manifold: ManifoldSpecification): LoopEachStart

    Add a new for-each container to this container.

    Add a new for-each container to this container.

    label

    A user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  22. def addForEach(manifold: ManifoldSpecification): LoopEachStart

    Add a new for-each container to this container.

    Add a new for-each container to this container.

    returns

    The node added.

    Definition Classes
    ContainerStart
  23. def addGroup(label: Option[String], manifold: ManifoldSpecification): ContainerStart

    Add a new group container to this container.

    Add a new group container to this container.

    label

    An optional, user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  24. def addGroup(label: String, manifold: ManifoldSpecification): ContainerStart

    Add a new group container to this container.

    Add a new group container to this container.

    label

    A user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  25. def addGroup(manifold: ManifoldSpecification): ContainerStart

    Add a new group container to this container.

    Add a new group container to this container.

    returns

    The node added.

    Definition Classes
    ContainerStart
  26. def addInputInjectable(injectable: PortInjectable): Unit
    Definition Classes
    Node
  27. def addJoiner(mode: JoinMode): Joiner
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    ContainerStart
  28. def addOption(name: String, expression: Any, params: BindingParams): OptionBinding

    FIXME: WRITE THIS

    FIXME: WRITE THIS

    name

    The option name

    expression

    The default initializer for the option

    returns

    The binding

    Definition Classes
    ContainerStart
  29. def addOption(name: String, expression: Any): Binding

    Add a option to this container.

    Add a option to this container.

    This method inserts an option binding into the container. This binding is effectively the source of a options's value. Other steps may connect to this binding in order to read its computed value at runtime.

    Option bindings consist of a name and an expression. The name and expression are arbitrary. At runtime the com.jafpl.runtime.ExpressionEvaluator provided as part of the com.jafpl.runtime.GraphRuntime must understand how to evaluate the expression.

    Unlike a variable, an option value can be supplied at runtime which will be used *instead* of evaluating the expression.

    At runtime, the computed values are provided to steps through binding edges.

    returns

    The node added.

    Definition Classes
    ContainerStart
  30. def addOutputInjectable(injectable: PortInjectable): Unit
    Definition Classes
    Node
  31. def addSink(): Sink
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    ContainerStart
  32. def addSplitter(): Splitter
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    ContainerStart
  33. def addStepInjectable(injectable: StepInjectable): Unit
    Definition Classes
    Node
  34. def addTryCatch(label: Option[String]): TryCatchStart

    Add a new try/catch container to this container.

    Add a new try/catch container to this container.

    label

    An optional, user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  35. def addTryCatch(label: String): TryCatchStart

    Add a new try/catch container to this container.

    Add a new try/catch container to this container.

    label

    A user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  36. def addTryCatch(): TryCatchStart

    Add a new try/catch container to this container.

    Add a new try/catch container to this container.

    returns

    The node added.

    Definition Classes
    ContainerStart
  37. def addUntil(comparator: ItemComparator, returnAll: Boolean, label: Option[String], manifold: ManifoldSpecification): LoopUntilStart

    Add a new until container to this container.

    Add a new until container to this container.

    comparator

    The comparator.

    label

    An optional, user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  38. def addUntil(comparator: ItemComparator, returnAll: Boolean, label: String, manifold: ManifoldSpecification): LoopUntilStart

    Add a new until container to this container.

    Add a new until container to this container.

    comparator

    The comparator.

    label

    A user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  39. def addUntil(comparator: ItemComparator, returnAll: Boolean, manifold: ManifoldSpecification): LoopUntilStart

    Add a new until container to this container.

    Add a new until container to this container.

    comparator

    The comparator.

    returns

    The node added.

    Definition Classes
    ContainerStart
  40. def addVariable(name: String, expression: Any): Binding

    Add a variable to this container.

    Add a variable to this container.

    This method inserts a variable binding into the container. This binding is effectively the source of a variable's value. Other steps may connect to this binding in order to read its computed value at runtime.

    Variable bindings consist of a name and an expression. The name and expression are arbitrary. At runtime the com.jafpl.runtime.ExpressionEvaluator provided as part of the com.jafpl.runtime.GraphRuntime must understand how to evaluate the expression.

    At runtime, the computed values are provided to steps through binding edges.

    returns

    The node added.

    Definition Classes
    ContainerStart
  41. def addViewport(composer: ViewportComposer, label: Option[String]): ViewportStart

    Add a new viewport container to this container.

    Add a new viewport container to this container.

    label

    An optional, user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  42. def addViewport(composer: ViewportComposer, label: String): ViewportStart

    Add a new viewport container to this container.

    Add a new viewport container to this container.

    label

    A user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  43. def addViewport(composer: ViewportComposer): ViewportStart

    Add a new viewport container to this container.

    Add a new viewport container to this container.

    returns

    The node added.

    Definition Classes
    ContainerStart
  44. def addWhile(tester: ItemTester, returnAll: Boolean, label: Option[String], manifold: ManifoldSpecification): LoopWhileStart

    Add a new while container to this container.

    Add a new while container to this container.

    tester

    The test evaluator.

    label

    An optional, user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  45. def addWhile(tester: ItemTester, returnAll: Boolean, label: String, manifold: ManifoldSpecification): LoopWhileStart

    Add a new while container to this container.

    Add a new while container to this container.

    tester

    The test evaluator.

    label

    A user-defined label.

    returns

    The node added.

    Definition Classes
    ContainerStart
  46. def addWhile(tester: ItemTester, returnAll: Boolean, manifold: ManifoldSpecification): LoopWhileStart

    Add a new while container to this container.

    Add a new while container to this container.

    tester

    The test evaluator.

    returns

    The node added.

    Definition Classes
    ContainerStart
  47. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  48. def bindings: Set[String]

    The names of this step's variable bindings.

    The names of this step's variable bindings.

    This method returns the names of the variables for which this step will receive bindings at runtime.

    returns

    The variable names.

    Definition Classes
    Node
  49. def children: List[Node]

    The children of this container.

    The children of this container.

    Definition Classes
    ContainerStart
  50. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  51. def containerEnd: ContainerEnd
    Attributes
    protected[com.jafpl]
    Definition Classes
    ContainerStart
  52. def dependsOn(node: Node): Unit

    Add a dependency edge.

    Add a dependency edge.

    This method asserts that the current node depends on another node. Ordinarily, data flow establishes dependencies automatically. If step A consumes the output of step B, the pipeline will assure that step B runs before step A.

    In cases where there is no data flow dependency, but it's still necessary to force an order, you can impose one by saying that A.dependsOn(B).

    node

    The node in the graph which must be run before this one

    Definition Classes
    Node
  53. def dumpClosed(depth: Int): Elem
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    Node
  54. def dumpClosedChildren(depth: Int): scala.xml.Node
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    ContainerStartNode
  55. def dumpOpen(depth: Int): Elem
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    Node
  56. def dumpOpenChildren(depth: Int): scala.xml.Node
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    ContainerStartNode
  57. val end: ContainerEnd
    Attributes
    protected
    Definition Classes
    LoopStartContainerStart
  58. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  60. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  61. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  62. val graph: Graph
    Definition Classes
    LoopStartContainerStartNode
  63. def hasOutputEdge(port: String): Boolean
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  64. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  65. val id: String

    A unique identifier for this node.

    A unique identifier for this node.

    Every node has a unique identifier.

    Definition Classes
    Node
  66. val inputCardinalities: HashMap[String, Long]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  67. def inputEdge(port: String): Edge
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  68. val inputInjectables: ListBuffer[PortInjectable]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  69. def inputs: Set[String]

    The names of this step's input ports.

    The names of this step's input ports.

    returns

    The input port names.

    Definition Classes
    Node
  70. def internal_name: String
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    Node
  71. def internal_name_=(newname: String): Unit
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    Node
  72. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  73. def iterationPosition: Long
  74. def iterationPosition_=(pos: Long): Unit
    Attributes
    protected[com.jafpl]
  75. def iterationSize: Long
  76. def iterationSize_=(size: Long): Unit
    Attributes
    protected[com.jafpl]
  77. def label: String

    The node label.

    The node label.

    Labels are used in output to help identify the node in question. The id of the node is always appended to the label.

    Definition Classes
    Node
  78. def location: Option[Location]

    The node's location.

    The node's location.

    The node location will be used for reporting (for example in errors).

    Definition Classes
    Node
  79. def location_=(loc: Location): Unit
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  80. val logger: Logger
    Attributes
    protected
    Definition Classes
    Node
  81. def manifold: Option[ManifoldSpecification]
    Definition Classes
    Node
  82. def manifold_=(man: ManifoldSpecification): Unit
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  83. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  84. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  85. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  86. val outputCardinalities: HashMap[String, Long]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  87. def outputEdge(port: String): Edge
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  88. val outputInjectables: ListBuffer[PortInjectable]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  89. def outputs: Set[String]

    The names of this step's output ports.

    The names of this step's output ports.

    returns

    The output port names.

    Definition Classes
    Node
  90. def parent: Option[ContainerStart]

    This node's parent.

    This node's parent.

    returns

    This node's parent.

    Definition Classes
    Node
  91. def state: NodeState
    Definition Classes
    Node
  92. def stateTransition(newState: NodeState): Unit
    Definition Classes
    Node
  93. def staticBindings: Map[Binding, Message]
    Definition Classes
    Node
  94. def staticBindings_=(bindings: Map[Binding, Message]): Unit

    Specify the static bindings that are in scope for this node.

    Specify the static bindings that are in scope for this node.

    Static bindings are known at "compile time" and don't appear in the graph. (You aren't required to have statics in your graph.)

    This method provides the node with the set of static bindings that are in-scope.

    bindings

    The static bindings that are in-scope for this node.

    Definition Classes
    Node
  95. val step: Option[Step]
    Definition Classes
    Node
  96. val stepInjectables: ListBuffer[StepInjectable]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  97. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  98. def toString(): String

    A string representation of this node.

    A string representation of this node.

    Definition Classes
    Node → AnyRef → Any
  99. val userLabel: Option[String]
    Definition Classes
    LoopStartContainerStartNode
  100. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  101. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ContainerStart

Inherited from Node

Inherited from AnyRef

Inherited from Any

Ungrouped