ptolemy.caltrop.ddi
Class DDFFactory

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

public class DDFFactory
extends java.lang.Object
implements DDIFactory

A factory that creates DDFs.

Since:
Ptolemy II 5.2
Version:
$Id: DDFFactory.java 43476 2006-08-21 23:54:24Z cxh $
Author:
Steve Neuendorffer
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

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

Constructor Detail

DDFFactory

public DDFFactory()
Create an DDFFactory.

Method Detail

create

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

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.