public class CSP extends AbstractDDI
| Red (cxh) |
| Red (cxh) |
COMPLETED, NOT_READY, STOP_ITERATING| Constructor and Description |
|---|
CSP(TypedAtomicActor ptActor,
caltrop.interpreter.ast.Actor actor,
caltrop.interpreter.Context context,
caltrop.interpreter.environment.Environment env) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addInitializable, isFireFunctional, isStrict, iterate, removeInitializable, stop, stopFire, terminate, wrapuppublic CSP(TypedAtomicActor ptActor, caltrop.interpreter.ast.Actor actor, caltrop.interpreter.Context context, caltrop.interpreter.environment.Environment env)
public boolean isLegalActor()
DDIpublic void setupActor()
DDIpublic java.lang.String getName()
DDIpublic void fire()
throws IllegalActionException
ExecutableIllegalActionException - If firing is not permitted.public void initialize()
throws IllegalActionException
InitializableIllegalActionException - If execution is not permitted.public boolean postfire()
throws IllegalActionException
ExecutableIllegalActionException - If postfiring is not permitted.public boolean prefire()
throws IllegalActionException
ExecutableIllegalActionException - If prefiring is not permitted.public void preinitialize()
throws IllegalActionException
InitializableIllegalActionException - If initializing is not permitted.