ptolemy.caltrop.ddi
Class SDFFactory

java.lang.Object
  extended by ptolemy.caltrop.ddi.SDFFactory
All Implemented Interfaces:
DDIFactory

public class SDFFactory
extends java.lang.Object
implements DDIFactory

A factory that creates SDFs.

Since:
Ptolemy II 4.0
Version:
$Id: SDFFactory.java 38798 2005-07-08 20:00:01Z cxh $
Author:
Christopher Chang
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Constructor Summary
SDFFactory()
          Create an SDFFactory.
 
Method Summary
 DDI create(TypedAtomicActor ptActor, caltrop.interpreter.ast.Actor actor, caltrop.interpreter.Context context, caltrop.interpreter.environment.Environment env)
          Create an SDF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDFFactory

public SDFFactory()
Create an SDFFactory.

Method Detail

create

public DDI create(TypedAtomicActor ptActor,
                  caltrop.interpreter.ast.Actor actor,
                  caltrop.interpreter.Context context,
                  caltrop.interpreter.environment.Environment env)
Create an SDF

Specified by:
create in interface DDIFactory
Parameters:
ptActor - The instance of ptolemy.actor.Actor that the plugin will be associated with.
actor - The abstract syntax tree of the CAL source.
context - The context that the plugin will use.
env - The environment that the plugin will use.
Returns:
A DDI for this domain.