Inheritance: ProcessBaseCore
Exemplo n.º 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();
		}
Exemplo n.º 2
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();
        }
Exemplo n.º 3
0
		protected override void _Remove()
		{
			Parent = null;
			_AllProcesses.Remove(this);
			base._Remove();
		}
Exemplo n.º 4
0
		public ProcessBase() : base()
		{
			_AllProcesses.AddLast(this);
			Childs = new LinkedList<ProcessBase>();
			Parent = CurrentExecutingProcess;
		}
Exemplo n.º 5
0
 protected override void _Remove()
 {
     Parent = null;
     _AllProcesses.Remove(this);
     base._Remove();
 }
Exemplo n.º 6
0
 public ProcessBase() : base()
 {
     _AllProcesses.AddLast(this);
     Childs = new LinkedList <ProcessBase>();
     Parent = CurrentExecutingProcess;
 }