Class CSPFactory

  • All Implemented Interfaces:
    DDIFactory

    public class CSPFactory
    extends java.lang.Object
    implements DDIFactory
    Since:
    Ptolemy II 4.0
    Version:
    $Id$
    Author:
    Christopher Chang
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Constructor Summary

      Constructors 
      Constructor Description
      CSPFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DDI create​(TypedAtomicActor ptActor, caltrop.interpreter.ast.Actor actor, caltrop.interpreter.Context context, caltrop.interpreter.environment.Environment env)
      Create a domain dependent plugin.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CSPFactory

        public CSPFactory()
    • Method Detail

      • create

        public DDI create​(TypedAtomicActor ptActor,
                          caltrop.interpreter.ast.Actor actor,
                          caltrop.interpreter.Context context,
                          caltrop.interpreter.environment.Environment env)
        Description copied from interface: DDIFactory
        Create a domain dependent plugin.
        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.