ptolemy.caltrop.ddi
Interface DDIFactory

All Known Implementing Classes:
CSPFactory, DDFFactory, SDFFactory

public interface DDIFactory

The DDIFactory is used to create domain dependent plugins.

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

Method Summary
 DDI create(TypedAtomicActor ptActor, caltrop.interpreter.ast.Actor actor, caltrop.interpreter.Context context, caltrop.interpreter.environment.Environment env)
          Create a domain dependent plugin.
 

Method Detail

create

DDI create(TypedAtomicActor ptActor,
           caltrop.interpreter.ast.Actor actor,
           caltrop.interpreter.Context context,
           caltrop.interpreter.environment.Environment env)
Create a domain dependent plugin.

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.