Packages

package graph

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Act extends Flow
  2. final case class Artifact(key: String, default: Ex[URI] = new URI(null, null, null)) extends WithDefault[URI] with ProductWithAdjuncts with Product with Serializable
  3. final case class ArtifactLocation(key: String, default: Ex[URI] = new URI(null, null, null)) extends WithDefault[URI] with ProductWithAdjuncts with Product with Serializable
  4. final case class Attr[A](key: String)(implicit bridge: Bridge[A]) extends Ex[Option[A]] with Like[A] with ProductWithAdjuncts with Product with Serializable
  5. trait AudioFileSpecPlatform extends AnyRef
  6. trait AuralSystem extends Runner
  7. final case class BinaryOp[A1, A2, A3, A](op: Op[A1, A2, A], a: Ex[A1], b: Ex[A2]) extends Ex[A] with Product with Serializable
  8. trait Bounce extends Runner
  9. trait BouncePlatform extends AnyRef
  10. trait Calendar extends AnyRef
  11. sealed trait CaseDef[A] extends Ex[A] with ProductWithAdjuncts
  12. final case class Changed[A](in: Ex[A]) extends Trig with Product with Serializable
  13. final case class Const[A](value: A) extends Ex[A] with Product with Serializable
  14. trait Control extends Lazy
  15. final case class DebugAct(body: () => Unit) extends Act with Product with Serializable

    A debugging graph element wrapping an action function.

    A debugging graph element wrapping an action function. Warning: Cannot be serialized.

    body

    the code to execute when the action is triggered. Note that this will be executed outside of the transactional context.

  16. trait Delay extends Control with Act with Trig

    Delays a trigger by a given amount of time.

    Delays a trigger by a given amount of time. If a new trigger input arrives before the delay has expired, the previous trigger is cancelled and the delay is rescheduled.

  17. trait Edit extends AnyRef
  18. final case class Else[A](pred: Then[A], default: Ex[A]) extends Ex[A] with Product with Serializable
  19. final case class ElseAct(pred: ThenAct, default: Act) extends Act with Product with Serializable
  20. final case class ElseIf[+A](pred: Then[A], cond: Ex[Boolean]) extends Product with Serializable
  21. final case class ElseIfAct(pred: ThenAct, cond: Ex[Boolean]) extends Product with Serializable
  22. final case class ElseIfThen[+A](pred: Then[A], cond: Ex[Boolean], result: Ex[A]) extends Then[A] with Product with Serializable
  23. final case class ElseIfThenAct(pred: ThenAct, cond: Ex[Boolean], result: Act) extends ThenAct with Product with Serializable
  24. trait Ex[+A] extends Flow
  25. trait FilePlatform extends AnyRef
  26. trait Flow extends Lazy

    An element that participates in data-flow, such as an expression Ex, an action Act, or a trigger Trig.

  27. trait Folder extends Obj

    The representation of a folder within an expression program.

    The representation of a folder within an expression program. It allows to refer to existing folders through "key".attr[Folder] or to create a prototype Folder() which has a make action.

    Note: passing a folder with runWith is not yet implemented.

  28. trait Grapheme extends Obj
  29. final case class If(cond: Ex[Boolean]) extends Product with Serializable

    Beginning of a conditional block.

    Beginning of a conditional block.

    cond

    the condition or predicate for the then branch.

    See also

    IfThen

  30. final case class IfThen[+A](cond: Ex[Boolean], result: Ex[A]) extends Then[A] with Product with Serializable
  31. final case class IfThenAct(cond: Ex[Boolean], result: Act) extends ThenAct with Product with Serializable
  32. final case class It[A](token: Int) extends Ex[A] with Product with Serializable

    A glue element to make map and flatMap work.

  33. final case class Latch[A](in: Ex[A], trig: Trig) extends Ex[A] with Product with Serializable

    Latches the expression based on the trigger argument.

    Latches the expression based on the trigger argument. The initial state of the returned expression corresponds to the initial state of the input expression. Subsequent values are updated and cached only when a trigger occurs.

  34. trait Lazy extends Product
  35. final case class LoadBang() extends Control with Trig with Product with Serializable
  36. trait Obj extends AnyRef
  37. final case class OscMessage(name: String, args: Any*) extends OscPacket with Product with Serializable

    A simplified interface to OSC packets

  38. sealed trait OscNode extends Control
  39. sealed trait OscPacket extends AnyRef
  40. trait OscTcpClient extends OscNode
  41. trait OscTcpServer extends OscNode
  42. trait OscUdpNode extends OscNode
  43. trait OscUdpNodePlatform extends AnyRef
  44. trait Pattern extends Obj
  45. final case class PrintLn(text: Ex[String]) extends Act with Product with Serializable
  46. trait Proc extends Obj
  47. final case class QuaternaryOp[A1, A2, A3, A4, A](op: Op[A1, A2, A3, A4, A], a: Ex[A1], b: Ex[A2], c: Ex[A3], d: Ex[A4]) extends Ex[A] with Product with Serializable
  48. final case class QuinaryOp[A1, A2, A3, A4, A5, A](op: Op[A1, A2, A3, A4, A5, A], a: Ex[A1], b: Ex[A2], c: Ex[A3], d: Ex[A4], e: Ex[A5]) extends Ex[A] with Product with Serializable
  49. final case class Quote[A](in: Ex[A])(implicit fromAny: FromAny[A]) extends CaseDef[A] with Product with Serializable
  50. trait Random extends Control

    A random number generator that can be used for operations such as .until and .range.

    A random number generator that can be used for operations such as .until and .range.

    Example:

    val gen = Random()
    val r100 = gen.until(100)
    Act(
      r100, // draw new number between 0 and 99
      PrintLn("Random number: " ++ r100.toStr)  // print current value
    )
  51. trait Runner extends Control
  52. final case class SocketAddress extends Product with Serializable
  53. trait SocketAddressPlatform extends AnyRef
  54. trait Stream extends Obj
  55. final case class StringFormat(in: Ex[String], args: Seq[Ex[Any]]) extends Ex[String] with Product with Serializable

    Applies 'printf' style formatting.

    Applies 'printf' style formatting.

    The template string may contain fixed text and one or more embedded format specifiers. Consider the following example:

    val n   = "name".attr[String]("?")
    val tmp = "Duke's name: %1$s!"
    PrintLn(tmp.format(n))

    The template contains one format specifier "%1$s" which indicates how the argument should be processed and where it should be inserted in the text. The remaining portions of the template string are fixed text including "Duke's name: " and "!".

    The argument list consists of all arguments passed to the formatter. In the above example, the argument list is of size one and consists of the string expression object n.

    • The format specifiers for general, character, and numeric types have the following syntax:

    %[argument_index$][flags][width][.precision]conversion
    

    The optional argument_index is a decimal integer indicating the position of the argument in the argument list. The first argument is referenced by "1$", the second by "2$", etc.

    The optional flags is a set of characters that modify the output format. The set of valid flags depends on the conversion.

    The optional width is a positive decimal integer indicating the minimum number of characters to be written to the output.

    The optional precision is a non-negative decimal integer usually used to restrict the number of characters. The specific behavior depends on the conversion.

    The required conversion is a character indicating how the argument should be formatted. The set of valid conversions for a given argument depends on the argument's data type.

    • The format specifiers which do not correspond to arguments have the following syntax:

    %[flags][width]conversion
    

    The optional flags and width is defined as above.

    The required conversion is a character indicating content to be inserted in the output.

    Conversions

    Conversions are divided into the following categories:

    • General - may be applied to any argument type
    • Numeric
    • Integral - may be applied to integral types such as: Int and Long.
    • Floating Point - may be applied to the floating-point type Double.
    • Percent - produces a literal '%'
    • Line Separator - produces the platform-specific line separator

    The following table summarizes the supported conversions. Conversions denoted by an upper-case character (i.e. 'B', 'H', 'S', 'C', 'X', 'E', 'G', 'A', and 'T') are the same as those for the corresponding lower-case conversion characters except that the result is converted to upper case.

    Conversion Argument Category Description
    `'b'`, `'B'` general If arg is a `Boolean`, then the result is `"true"` or `"false"`. Otherwise, the result is "true".
    `'s'`, `'S'` general The result is the string representation of the argument.
    `'d'` integral The result is formatted as a decimal integer
    `'o'` integral The result is formatted as an octal integer
    `'x'`, `'X'` integral The result is formatted as a hexadecimal integer
    `'e'`, `'E'` floating point The result is formatted as a decimal number in computerized scientific notation
    `'f'` floating point The result is formatted as a decimal number
    `'g'`, `'G'` floating point The result is formatted using computerized scientific notation or decimal format, depending on the precision and the value after rounding.
    `'a'`, `'A'` floating point The result is formatted as a hexadecimal floating-point number with a significand and an exponent.
    `'%'` percent The result is a literal `'%'` ('\u0025')
    `'n'` line separator The result is the platform-specific line separator
    ==== Flags ==== The following table summarizes the supported flags. y means the flag is supported for the indicated argument types.
    Flag General Character Integral Floating Point Date/Time Description
    '-' y y y y y The result will be left-justified.
    '#' y1 - y3 y - The result should use a conversion-dependent alternate form
    '+' - - y4 y - The result will always include a sign
    '  ' - - y4 y - The result will include a leading space for positive values
    '0' - - y y - The result will be zero-padded
    ',' - - y2 y5 - The result will include locale-specific grouping separators
    '(' - - y4 y5 - The result will enclose negative numbers in parentheses
    1 Depends on the definition of `Formattable`. 2 For `'d'` conversion only. 3 For `'o'`, `'x'`, and `'X'` conversions only. 4 For `'d'`, `'o'`, `'x'`, and `'X'` conversions applied to `BigInteger` or `'d'` applied to `Int`, and `Long`. 5 For `'e'`, `'E'`, `'f'`, `'g'`, and `'G'` conversions only. ==== Width ==== The width is the minimum number of characters to be written to the output. For the line separator conversion, width is not applicable; if it is provided, an exception will be thrown. ==== Precision ==== For general argument types, the precision is the maximum number of characters to be written to the output. For the floating-point conversions `'a'`, `'A'`, `'e'`, `'E'`, and `'f'` the precision is the number of digits after the radix point. If the conversion is `'g'` or `'G'`, then the precision is the total number of digits in the resulting magnitude after rounding. For character, integral, and date/time argument types and the percent and line separator conversions, the precision is not applicable; if a precision is provided, an exception will be thrown. ==== Argument Index ==== The argument index is a decimal integer indicating the position of the argument in the argument list. The first argument is referenced by `"1$"`, the second by `"2$"`, etc. Another way to reference arguments by position is to use the `'<'` ('\u003c') flag, which causes the argument for the previous format specifier to be re-used.

    in

    the template

    args

    the arguments to apply to the template

  56. trait SysPlatform extends AnyRef
  57. final case class TBinaryOp[A](op: Op[A], a: Trig, b: Ex[A]) extends Trig with Product with Serializable
  58. final case class TTBinaryOp(op: Op, a: Trig, b: Trig) extends Trig with Product with Serializable
  59. final case class TernaryOp[A1, A2, A3, A](op: Op[A1, A2, A3, A], a: Ex[A1], b: Ex[A2], c: Ex[A3]) extends Ex[A] with Product with Serializable
  60. sealed trait Then[+A] extends Product
  61. sealed trait ThenAct extends Act
  62. trait ThisRunner extends Control
  63. final case class TimeStamp() extends Ex[Long] with Product with Serializable
  64. final case class Timed[+A] extends Product with Serializable
  65. trait Timeline extends Obj
  66. final case class ToTrig(in: Ex[Boolean]) extends Trig with Product with Serializable
  67. trait Trig extends Flow

    A trigger element.

    A trigger element.

    Important: Implementation inadvertently run into trouble if they do not extend Trig.Lazy to avoid "splitting" of the event paths. The only reason this is not enforced is that implementation may already mixin lazy traits such as Control (and by extension, Widget).

  68. final case class UnaryOp[A1, A](op: Op[A1, A], a: Ex[A1]) extends Ex[A] with Product with Serializable
  69. trait Var[A] extends Ex[A] with CaseDef[A] with graph.Ex.Sink[A] with ProductWithAdjuncts

Deprecated Type Members

  1. case class OptionGet[A](in: Ex[Option[A]]) extends Ex[A] with Product with Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 4.5.1) Use UnaryOp.OptionGet instead

Value Members

  1. object Act extends ProductReader[Act]
  2. object Artifact extends ProductReader[Artifact] with Serializable
  3. object ArtifactLocation extends ProductReader[ArtifactLocation] with Serializable
  4. object Attr extends ProductReader[Attr[_]] with Serializable
  5. object AudioCue extends ProductReader[Ex[proc.AudioCue]]
  6. object AudioFileSpec extends ProductReader[Ex[audiofile.AudioFileSpec]] with AudioFileSpecPlatform
  7. object AuralSystem extends ProductReader[AuralSystem]
  8. object BinaryOp extends ProductReader[BinaryOp[_, _, _, _]] with Serializable
  9. object Bounce extends BouncePlatform with ProductReader[Bounce]
  10. object Calendar extends ProductReader[Ex[Calendar]]
  11. object CaseDef
  12. object Changed extends ProductReader[Changed[_]] with Serializable
  13. object Color extends ProductReader[Ex[proc.ExImport.Color]]
  14. object Const extends Serializable
  15. object Control
  16. object Curve
  17. object Debug
  18. object DebugAct extends Serializable
  19. object Delay extends ProductReader[Delay]
  20. object Edit extends ProductReader[Ex[Edit]]
  21. object Else extends ProductReader[Else[_]] with Serializable
  22. object ElseAct extends ProductReader[ElseAct] with Serializable
  23. object ElseIfThen extends ProductReader[ElseIfThen[_]] with Serializable
  24. object ElseIfThenAct extends ProductReader[ElseIfThenAct] with Serializable
  25. object Ex
  26. object FadeSpec extends ProductReader[Ex[proc.FadeSpec]]
  27. object File extends FilePlatform
  28. object Folder extends ProductReader[Ex[Folder]]
  29. object GPIO
  30. object Grapheme extends ProductReader[Ex[Grapheme]]
  31. object IfThen extends ProductReader[IfThen[_]] with Serializable

    A side effecting conditional block.

    A side effecting conditional block. To turn it into a full if-then-else construction, call Else or ElseIf.

    See also

    Else

    ElseIf

  32. object IfThenAct extends ProductReader[IfThenAct] with Serializable

    A side effecting conditional block.

    A side effecting conditional block. To turn it into a full if-then-else construction, call Else or ElseIf.

    See also

    Else

    ElseIf

  33. object In
  34. object It extends ProductReader[It[_]] with Serializable
  35. object Latch extends ProductReader[Latch[_]] with Serializable
  36. object LoadBang extends ProductReader[LoadBang] with Serializable
  37. object Obj
  38. object OptionGet extends ProductReader[OptionGet[_]] with Serializable
  39. object OscMessage extends ProductReader[Ex[OscMessage]] with Serializable
  40. object OscNode
  41. object OscTcpClient
  42. object OscTcpServer
  43. object OscUdpNode extends ProductReader[OscUdpNode] with OscUdpNodePlatform
  44. object ParamSpec extends ProductReader[Ex[proc.ExImport.ParamSpec]]
  45. object Pattern extends ProductReader[Ex[Pattern]]
  46. object PrintLn extends ProductReader[PrintLn] with Serializable
  47. object Proc extends ProductReader[Ex[Proc]]
  48. object QuaternaryOp extends ProductReader[QuaternaryOp[_, _, _, _, _]] with Serializable
  49. object QuinaryOp extends ProductReader[QuinaryOp[_, _, _, _, _, _]] with Serializable
  50. object Quote extends ProductReader[Quote[_]] with Serializable
  51. object RPi
  52. object Random extends ProductReader[Random]
  53. object Runner extends ProductReader[Runner]
  54. object SocketAddress extends ProductReader[Product] with SocketAddressPlatform with Serializable
  55. object Span extends ProductReader[Ex[span.Span]]
  56. object Stream extends ProductReader[Ex[Stream]]
  57. object StringFormat extends ProductReader[StringFormat] with Serializable
  58. object Sys extends SysPlatform

    Access to operating system functions.

  59. object TBinaryOp extends ProductReader[TBinaryOp[_]] with Serializable
  60. object TTBinaryOp extends ProductReader[TTBinaryOp] with Serializable
  61. object TernaryOp extends ProductReader[TernaryOp[_, _, _, _]] with Serializable
  62. object ThenAct
  63. object ThisRunner extends ProductReader[ThisRunner]
  64. object TimeStamp extends ProductReader[TimeStamp] with Serializable
  65. object Timed extends Serializable
  66. object Timeline extends ProductReader[Ex[Timeline]]
  67. object ToTrig extends ProductReader[ToTrig] with Serializable
  68. object Trig extends ProductReader[Trig]
  69. object UnaryOp extends ProductReader[UnaryOp[_, _]] with Serializable
  70. object Var extends ProductReader[Var[_]]
  71. object Warp

Ungrouped