ptolemy.caltrop.ddi
Interface DDI
- All Superinterfaces:
- Executable, Initializable
- All Known Implementing Classes:
- AbstractDDI, CSP, Dataflow, DataflowWithRates, DDF, SDF
public interface DDI
- extends Executable
An interface for domain dependent interpretation. Each instance of
CalInterpreter
is
associated with its own DDI, which performs tasks needed to
interpret the actor in a specific domain.
Note: this interface is likely to grow larger as more domains
are implemented.
- Since:
- Ptolemy II 4.0
- Version:
- $Id: DDI.java 38798 2005-07-08 20:00:01Z cxh $
- Author:
- Christopher Chang
- Accepted Rating:
- Proposed Rating:
Method Summary |
java.lang.String |
getName()
Get the name of the domain that this DDI implements. |
boolean |
isLegalActor()
Perform static checking on the actor, ensuring its validity in
a given domain. |
void |
setupActor()
Perform any domain dependent setup. |
isLegalActor
boolean isLegalActor()
- Perform static checking on the actor, ensuring its validity in
a given domain.
- Returns:
- True, if the actor is legal.
setupActor
void setupActor()
- Perform any domain dependent setup. This can include hanging
various attributes off of the actor, for example, the rate of
the input and output ports.
getName
java.lang.String getName()
- Get the name of the domain that this DDI implements.
- Returns:
- The name of the domain that this DDI implements.