- Timestamp:
- 11/28/08 11:41:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.SequentialEngine/SequentialEngine.cs
r2 r851 27 27 28 28 namespace HeuristicLab.SequentialEngine { 29 /// <summary> 30 /// Represents an engine that executes its steps sequentially, also if they could be executed 31 /// in parallel. 32 /// </summary> 29 33 public class SequentialEngine : EngineBase, IEditable { 30 34 private IOperator currentOperator; 31 35 36 /// <summary> 37 /// Creates a new instance of <see cref="SequentialEngineEditor"/>. 38 /// </summary> 39 /// <returns>The created view as <see cref="SequentialEngineEditor"/>.</returns> 32 40 public override IView CreateView() { 33 41 return new SequentialEngineEditor(this); 34 42 } 43 44 /// <summary> 45 /// Creates a new instance of <see cref="SequentialEngineEditor"/>. 46 /// </summary> 47 /// <returns>The created editor as <see cref="SequentialEngineEditor"/>.</returns> 35 48 public virtual IEditor CreateEditor() { 36 49 return new SequentialEngineEditor(this); 37 50 } 38 51 52 /// <summary> 53 /// Aborts the current operator. 54 /// </summary> 55 /// <remarks>Calls <see cref="EngineBase.Abort"/> of base class <see cref="EngineBase"/> and 56 /// <see cref="IOperator.Abort"/> of the current <see cref="IOperator"/>.</remarks> 39 57 public override void Abort() { 40 58 base.Abort(); … … 43 61 } 44 62 63 /// <summary> 64 /// Deals with the next operation, if it is an <see cref="AtomicOperation"/> it is executed, 65 /// if it is a <see cref="CompositeOperation"/> its single operations are pushed on the execution stack. 66 /// </summary> 67 /// <remarks>If an error occurs during the execution the operation is aborted and the operation 68 /// is pushed on the stack again.<br/> 69 /// If the execution was successful <see cref="EngineBase.OnOperationExecuted"/> is called.</remarks> 45 70 protected override void ProcessNextOperation() { 46 71 IOperation operation = myExecutionStack.Pop();
Note: See TracChangeset
for help on using the changeset viewer.