Packages

class PythonMonitorGenerator extends MonitorGenerator

Generates a monitor from a ModelPlex expression.

Linear Supertypes
MonitorGenerator, CodeGenerator, (Expression) ⇒ (String, String), AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PythonMonitorGenerator
  2. MonitorGenerator
  3. CodeGenerator
  4. Function1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PythonMonitorGenerator(conjunctionsAs: Symbol, defs: Declaration)

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. def andThen[A](g: ((String, String)) ⇒ A): (Expression) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(expr: Expression, stateVars: Set[BaseVariable], inputVars: Set[BaseVariable], modelName: String): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. Symbols in stateVars are treated as mutable states, all others are constant parameters. inputVars is a subset of stateVars whose value is nondeterministically chosen in the original program. The model name modelName is added to the file header comment.

    Definition Classes
    PythonMonitorGeneratorCodeGenerator
  6. def apply(expr: Expression, stateVars: Set[BaseVariable], inputVars: Set[BaseVariable]): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. Symbols in stateVars are treated as mutable states, all others are constant parameters. inputVars is a subset of stateVars whose value is nondeterministically chosen in the original program.

    Definition Classes
    CodeGenerator
  7. def apply(expr: Expression, stateVars: Set[BaseVariable]): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. Symbols in stateVars are treated as mutable states, all others are constant parameters.

    Definition Classes
    CodeGenerator
  8. def apply(expr: Expression): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. All symbols in expr are treated as constant parameters.

    Definition Classes
    CodeGenerator → Function1
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. def compose[A](g: (A) ⇒ Expression): (A) ⇒ (String, String)
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def printMonitor(e: Expression, params: Set[NamedSymbol]): (String, String)

    Compiles the expression e to code as a body of a monitored controller execution function.

    Compiles the expression e to code as a body of a monitored controller execution function. Forwards params to termContainer to distinguish between state variables, inputs, parameters etc.

    Attributes
    protected
    Definition Classes
    MonitorGenerator
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from MonitorGenerator

Inherited from CodeGenerator

Inherited from (Expression) ⇒ (String, String)

Inherited from AnyRef

Inherited from Any

Ungrouped