Package ptolemy.caltrop
Class PtolemyPlatform
- java.lang.Object
-
- ptolemy.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$
- 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)
-
-
-
Method Detail
-
context
public caltrop.interpreter.Context context()
- Specified by:
context
in interfacecaltrop.interpreter.util.Platform
-
createGlobalEnvironment
public caltrop.interpreter.environment.Environment createGlobalEnvironment()
- Specified by:
createGlobalEnvironment
in interfacecaltrop.interpreter.util.Platform
-
createGlobalEnvironment
public caltrop.interpreter.environment.Environment createGlobalEnvironment(caltrop.interpreter.environment.Environment parent)
- Specified by:
createGlobalEnvironment
in interfacecaltrop.interpreter.util.Platform
-
-