|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object extended byptolemy.caltrop.ddi.AbstractDDI extended byptolemy.caltrop.ddi.CSP
| Field Summary |
| Fields inherited from interface ptolemy.actor.Executable |
COMPLETED, NOT_READY, STOP_ITERATING |
| Constructor Summary | |
CSP(TypedAtomicActor ptActor,
caltrop.interpreter.ast.Actor actor,
caltrop.interpreter.Context context,
caltrop.interpreter.environment.Environment env)
|
|
| Method Summary | |
void |
fire()
Fire the actor. |
java.lang.String |
getName()
Get the name of the domain that this DDI implements. |
void |
initialize()
Begin execution of the actor. |
boolean |
isLegalActor()
Perform static checking on the actor, ensuring its validity in a given domain. |
boolean |
postfire()
This method should be invoked once per iteration, after the last invocation of fire() in that iteration. |
boolean |
prefire()
This method should be invoked prior to each invocation of fire(). |
void |
preinitialize()
This method should be invoked exactly once per execution of a model, before any of these other methods are invoked. |
void |
setupActor()
Perform any domain dependent setup. |
| Methods inherited from class ptolemy.caltrop.ddi.AbstractDDI |
isFireFunctional, isStrict, iterate, stop, stopFire, terminate, wrapup |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ptolemy.actor.Executable |
isFireFunctional, isStrict, iterate, stop, stopFire, terminate, wrapup |
| Constructor Detail |
public CSP(TypedAtomicActor ptActor, caltrop.interpreter.ast.Actor actor, caltrop.interpreter.Context context, caltrop.interpreter.environment.Environment env)
| Method Detail |
public boolean isLegalActor()
DDI
isLegalActor in interface DDIpublic void setupActor()
DDI
setupActor in interface DDIpublic java.lang.String getName()
DDI
public void fire() throws IllegalActionException
Executable
fire in interface ExecutableIllegalActionException - If firing is not permitted.public void initialize() throws IllegalActionException
Executable
initialize in interface ExecutableIllegalActionException - If execution is not permitted.public boolean postfire() throws IllegalActionException
Executable
postfire in interface ExecutableIllegalActionException - If postfiring is not permitted.public boolean prefire() throws IllegalActionException
Executable
prefire in interface ExecutableIllegalActionException - If prefiring is not permitted.public void preinitialize() throws IllegalActionException
Executable
preinitialize in interface ExecutableIllegalActionException - If initializing is not permitted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||