ptolemy.caltrop
Class PtolemyPlatform

java.lang.Object
  extended byptolemy.caltrop.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: PtolemyPlatform.java,v 1.26 2004/04/13 18:36:55 cxh Exp $
Author:
Jörn W. Janneck , Christopher Chang
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Field Summary
static caltrop.interpreter.util.Platform thePlatform
           
 
Constructor Summary
PtolemyPlatform()
           
 
Method Summary
 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
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