|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.caltrop.ddi.AbstractDDI
| Red (cxh) |
| Red (cxh) |
| Field Summary |
| Fields inherited from interface ptolemy.actor.Executable |
COMPLETED, NOT_READY, STOP_ITERATING |
| Constructor Summary | |
AbstractDDI()
|
|
| Method Summary | |
int |
iterate(int i)
Invoke a specified number of iterations of the actor. |
void |
stop()
Request that execution of this Executable stop as soon as possible. |
void |
stopFire()
Request that execution of the current iteration complete. |
void |
terminate()
Terminate any currently executing model with extreme prejudice. |
void |
wrapup()
This method is invoked exactly once per execution of an application. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ptolemy.caltrop.ddi.DDI |
getName, isLegalActor, setupActor |
| Methods inherited from interface ptolemy.actor.Executable |
fire, initialize, postfire, prefire, preinitialize |
| Constructor Detail |
public AbstractDDI()
| Method Detail |
public int iterate(int i)
throws IllegalActionException
ExecutableAn implementation of this method is not required to actually invoke prefire(), fire(), and postfire(). An implementation of this method must, however, perform the equivalent operations.
iterate in interface Executablei - The number of iterations to perform.
IllegalActionException - If iterating is not
permitted, or if prefire(), fire(), or postfire() throw it.public void stop()
Executable
stop in interface Executablepublic void stopFire()
Executable
stopFire in interface Executablepublic void terminate()
ExecutableAfter this method completes, all resources in use should be released and any sub-threads should be killed. However, a consistent state is not guaranteed. The topology should probably be recreated before attempting any further operations. This method should not be synchronized because it must happen as soon as possible, no matter what.
terminate in interface Executable
public void wrapup()
throws IllegalActionException
Executable
wrapup in interface ExecutableIllegalActionException - If wrapup is not permitted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||