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:
- Proposed Rating:
|
Method Summary |
java.util.List |
typeConstraintList()
Return the type constraints of this actor.
|
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