Ignore:
Timestamp:
Aug 3, 2010, 3:21:35 PM (11 years ago)
Author:
kopal
Message:
  • some bug fixing
  • title bar now shows the file name after new, load, save - operations
  • some more code comments added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/Execution/ExecutionEngine.cs

    r1753 r1755  
    228228                    if (pluginModel.GuiNeedsUpdate)
    229229                    {
    230                         //executionEngine.GuiLogMessage("UpdateGui for \"" + pluginModel.Name + "\"", NotificationLevel.Debug);
    231230                        pluginModel.GuiNeedsUpdate = false;
    232231                        pluginModel.paint();
     
    327326            while (this.executionEngine.IsRunning)
    328327            {
    329                 yield return Receive<MessageExecution>(null, this.HandleExecute);
    330                 //yield return Parallel(1,new PluginWaitReceiver()) & Receive<MessageExecution>(null, this.HandleExecute);
    331                 //yield return new PluginWaitReceiver() + Receive<MessageExecution>(null, this.HandleExecute);
    332                 //yield return Parallel(1,new PluginWaitReceiver()) + Receive<MessageExecution>(null, this.HandleExecute);
     328                yield return Receive<MessageExecution>(null, this.HandleExecute);               
    333329            }
    334330        }
     
    390386    }
    391387
     388    /// <summary>
     389    /// Gears4Net Scheduler. The scheduler only runs protocols which do not have a waiting
     390    /// plugin on the protocol plugins outputs
     391    /// </summary>
    392392    public class WorkspaceManagerScheduler : Scheduler
    393393    {
     
    458458                                        this.waitingProtocols.Enqueue(protocol);
    459459                                        donotrun = true;
    460                                     }
    461                                  
     460                                    }                                 
    462461                                }
    463462                            }               
    464463                        }
    465 
    466464                    }
    467465
     
    493491        }
    494492
     493        /// <summary>
     494        /// Removes a protocol from the internal queue
     495        /// </summary>
     496        /// <param name="protocol"></param>
    495497        public override void RemoveProtocol(ProtocolBase protocol)
    496498        {
     
    503505        }
    504506
     507        /// <summary>
     508        /// Adds a protocol to the internal queue
     509        /// </summary>
     510        /// <param name="protocol"></param>
    505511        public override void AddProtocol(ProtocolBase protocol)
    506512        {
     
    511517        }
    512518
     519        /// <summary>
     520        /// Wakeup this scheduler
     521        /// </summary>
     522        /// <param name="protocol"></param>
    513523        public override void Wakeup(ProtocolBase protocol)
    514524        {
     
    521531        }
    522532
     533        /// <summary>
     534        /// Terminates the scheduler
     535        /// </summary>
    523536        public override void Shutdown()
    524537        {
Note: See TracChangeset for help on using the changeset viewer.