Class PtolemyPlatform

  • All Implemented Interfaces:
    caltrop.interpreter.util.Platform

    public class PtolemyPlatform
    extends java.lang.Object
    implements caltrop.interpreter.util.Platform
    The PtolemyPlatform class contains code that configures the CAL interpreter infrastructure for use inside the Ptolemy II software. In particular, it contains a context and a method that creates the global environment to be used with Ptolemy.
    Since:
    Ptolemy II 4.0
    Version:
    $Id$
    Author:
    Jörn W. Janneck, Christopher Chang, Steve Neuendorffer
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Yellow (neuendor)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static caltrop.interpreter.util.Platform thePlatform
      The singleton platform.
    • Constructor Summary

      Constructors 
      Constructor Description
      PtolemyPlatform()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      caltrop.interpreter.Context context()  
      caltrop.interpreter.environment.Environment createGlobalEnvironment()  
      caltrop.interpreter.environment.Environment createGlobalEnvironment​(caltrop.interpreter.environment.Environment parent)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • thePlatform

        public static final caltrop.interpreter.util.Platform thePlatform
        The singleton platform.
    • Constructor Detail

      • PtolemyPlatform

        public PtolemyPlatform()
    • Method Detail

      • context

        public caltrop.interpreter.Context context()
        Specified by:
        context in interface caltrop.interpreter.util.Platform
      • createGlobalEnvironment

        public caltrop.interpreter.environment.Environment createGlobalEnvironment()
        Specified by:
        createGlobalEnvironment in interface caltrop.interpreter.util.Platform
      • createGlobalEnvironment

        public caltrop.interpreter.environment.Environment createGlobalEnvironment​(caltrop.interpreter.environment.Environment parent)
        Specified by:
        createGlobalEnvironment in interface caltrop.interpreter.util.Platform