package ptolemy.apps.apes; import java.util.HashMap; import java.util.Iterator; import java.util.List; import ptolemy.actor.Actor; import ptolemy.actor.CompositeActor; import ptolemy.actor.util.Time; import ptolemy.data.expr.Parameter; import ptolemy.data.expr.StringParameter; import ptolemy.kernel.CompositeEntity; import ptolemy.kernel.util.IllegalActionException; import ptolemy.kernel.util.NameDuplicationException; import ptolemy.kernel.util.Workspace; public class InterruptServiceRoutine extends CTask { /** Construct an actor in the default workspace with an empty string * as its name. The object is added to the workspace directory. * Increment the version number of the workspace. * @throws NameDuplicationException * @throws IllegalActionException */ public InterruptServiceRoutine() throws IllegalActionException, NameDuplicationException { super(); } /** Construct an actor in the specified workspace with an empty * string as a name. You can then change the name with setName(). * If the workspace argument is null, then use the default workspace. * The object is added to the workspace directory. * Increment the version number of the workspace. * @param workspace The workspace that will list the entity. * @throws NameDuplicationException * @throws IllegalActionException */ public InterruptServiceRoutine(Workspace workspace) throws IllegalActionException, NameDuplicationException { super(workspace); } /** Create a new actor in the specified container with the specified * name. The name must be unique within the container or an exception * is thrown. The container argument must not be null, or a * NullPointerException will be thrown. * * @param container The container. * @param name The name of this actor within the container. * @exception IllegalActionException If this actor cannot be contained * by the proposed container (see the setContainer() method). * @exception NameDuplicationException If the name coincides with * an entity already in the container. */ public InterruptServiceRoutine(CompositeEntity container, String name) throws IllegalActionException, NameDuplicationException { super(container, name); } }