Inheritance: ProcessBaseCore
Example #1
0
		public void ExecuteTree()
		{
			if (State == State.Ended) return;

			CurrentExecutingProcess = this;

			this.ExecuteTreeBefore();
			//Console.WriteLine("<Execute " + this + ">");
			this.SwitchTo();
			//Console.WriteLine("</Execute " + this + ">");
			this.ExecuteTreeAfter();
		}
        public void ExecuteTree()
        {
            if (State == State.Ended)
            {
                return;
            }

            CurrentExecutingProcess = this;

            this.ExecuteTreeBefore();
            //Console.WriteLine("<Execute " + this + ">");
            this.SwitchTo();
            //Console.WriteLine("</Execute " + this + ">");
            this.ExecuteTreeAfter();
        }
Example #3
0
		protected override void _Remove()
		{
			Parent = null;
			_AllProcesses.Remove(this);
			base._Remove();
		}
Example #4
0
		public ProcessBase() : base()
		{
			_AllProcesses.AddLast(this);
			Childs = new LinkedList<ProcessBase>();
			Parent = CurrentExecutingProcess;
		}
 protected override void _Remove()
 {
     Parent = null;
     _AllProcesses.Remove(this);
     base._Remove();
 }
 public ProcessBase() : base()
 {
     _AllProcesses.AddLast(this);
     Childs = new LinkedList <ProcessBase>();
     Parent = CurrentExecutingProcess;
 }