ptolemy.actor
Interface TypedActor

All Superinterfaces:
Actor, Executable
All Known Implementing Classes:
FSMActor, TypedAtomicActor, TypedCompositeActor

public interface TypedActor
extends Actor

A TypedActor is an actor whose ports have types. This interface defines the method to get type constraints from an actor. The ports on a TypedActor are constrainted to be TypedIOPorts.

Since:
Ptolemy II 0.2
Version:
$Id: TypedActor.java,v 1.31 2004/04/13 05:12:40 cxh Exp $
Author:
Yuhong Xiong
See Also:
TypedCompositeActor, TypedAtomicActor, TypedIOPort
Accepted Rating:
Green (lmuliadi)
Proposed Rating:
Green (yuhong)

Field Summary
 
Fields inherited from interface ptolemy.actor.Executable
COMPLETED, NOT_READY, STOP_ITERATING
 
Method Summary
 java.util.List typeConstraintList()
          Return the type constraints of this actor.
 
Methods inherited from interface ptolemy.actor.Actor
getDirector, getExecutiveDirector, getFunctionDependency, getManager, inputPortList, newReceiver, outputPortList
 
Methods inherited from interface ptolemy.actor.Executable
fire, initialize, iterate, postfire, prefire, preinitialize, stop, stopFire, terminate, wrapup
 

Method Detail

typeConstraintList

public java.util.List typeConstraintList()
                                  throws IllegalActionException
Return the type constraints of this actor. The constraints is a list of inequalities.

Returns:
a list of Inequality.
Throws:
IllegalActionException - If type conflict is detected during static type checking.
See Also:
Inequality