예제 #1
0
  /**
   * Report an exception if it occurred in a background run.
   *
   * @exception IllegalActionException If there is no director, or if a background run threw an
   *     exception.
   */
  public void wrapup() throws IllegalActionException {
    super.wrapup();

    if (_throwable != null) {
      Throwable throwable = _throwable;
      _throwable = null;
      throw new IllegalActionException(this, throwable, "Background run threw an exception");
    }
  }
예제 #2
0
파일: GRActor.java 프로젝트: sf577/Project
 /**
  * Reset this actor back to uninitialized state to prepare for the next execution.
  *
  * @exception IllegalActionException If the base class throws it.
  */
 public void wrapup() throws IllegalActionException {
   super.wrapup();
   _isSceneGraphInitialized = false;
 }
예제 #3
0
 /**
  * Wrapup execution. Derived classes should override this method to release access to the audio
  * resources.
  *
  * @exception IllegalActionException May be thrown by derived classes.
  */
 public void wrapup() throws IllegalActionException {
   super.wrapup();
   _isExecuting = false;
 }
예제 #4
0
 /**
  * @Function: void wrapup() --------------------------- @Input: none @Output: none @Description:
  */
 public void wrapup() throws IllegalActionException {
   super.wrapup();
   System.out.println("Simulation over, get your results and enjoy it :-)");
 }